@wordpress/views 1.23.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/package.json +25 -11
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 2.0.0 (2026-10-07)
6
+
7
+ ### Breaking Changes
8
+
9
+ - Upgrade React to v19 ([#83941](https://github.com/WordPress/gutenberg/pull/83941)).
10
+
11
+ ### Bug Fixes
12
+
13
+ - Declare `react`, `react-dom`, and their types as peer dependencies, forwarding the peers of `@wordpress/element`, so strict package managers such as Yarn PnP can resolve them ([#83765](https://github.com/WordPress/gutenberg/pull/83765)).
14
+
5
15
  ## 1.23.0 (2026-09-23)
6
16
 
7
17
  ## 1.22.0 (2026-09-10)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/views",
3
- "version": "1.23.0",
3
+ "version": "2.0.0",
4
4
  "description": "View persistence and management for WordPress DataViews.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -40,22 +40,36 @@
40
40
  },
41
41
  "types": "build-types",
42
42
  "dependencies": {
43
- "@wordpress/core-data": "^8.1.0",
44
- "@wordpress/data": "^10.56.0",
45
- "@wordpress/dataviews": "^19.1.0",
46
- "@wordpress/element": "^8.8.0",
47
- "@wordpress/preferences": "^4.56.0",
48
- "@wordpress/private-apis": "^1.56.0",
43
+ "@wordpress/core-data": "^8.2.0",
44
+ "@wordpress/data": "^10.57.0",
45
+ "@wordpress/dataviews": "^20.0.0",
46
+ "@wordpress/element": "^9.0.0",
47
+ "@wordpress/preferences": "^4.57.0",
48
+ "@wordpress/private-apis": "^2.0.0",
49
49
  "dequal": "^2.0.3"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@testing-library/react": "^16.3.3",
53
- "react": "^18.3.1",
54
- "react-dom": "^18.3.1",
55
- "vitest": "^5.0.0"
53
+ "react": "^19.3.0",
54
+ "react-dom": "^19.3.0",
55
+ "vitest": "^5.0.3"
56
+ },
57
+ "peerDependencies": {
58
+ "@types/react": "^18 || ^19",
59
+ "@types/react-dom": "^18 || ^19",
60
+ "react": "^18 || ^19",
61
+ "react-dom": "^18 || ^19"
62
+ },
63
+ "peerDependenciesMeta": {
64
+ "@types/react": {
65
+ "optional": true
66
+ },
67
+ "@types/react-dom": {
68
+ "optional": true
69
+ }
56
70
  },
57
71
  "publishConfig": {
58
72
  "access": "public"
59
73
  },
60
- "gitHead": "56d8058eda6e30c4cc8bfc37818fa6ed972f7dc2"
74
+ "gitHead": "12441e2520c78b2254a792a8cba40c34110be060"
61
75
  }