Skip to content

Commit 73690c0

Browse files
authored
Merge branch 'main' into create-factory
2 parents f368123 + 6cd6ba7 commit 73690c0

File tree

272 files changed

+10334
-7583
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

272 files changed

+10334
-7583
lines changed

.github/stale.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ exemptLabels:
1212
- "Type: Discussion"
1313
- "Type: Needs Investigation"
1414
- "Type: Regression"
15+
- "Type: Feature Request"
1516
# Label to use when marking an issue as stale
1617
staleLabel: "Resolution: Stale"
1718
issues:

CHANGELOG-canary.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## March 22, 2024 (18.3.0-canary-670811593-20240322)
2+
3+
## React
4+
- Added `useActionState` to replace `useFormState` and added `pending` value ([#28491](https://github.com/facebook/react/pull/28491)).
5+
16
## October 5, 2023 (18.3.0-canary-546178f91-20231005)
27

38
### React

ReactVersions.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
//
88
// The @latest channel uses the version as-is, e.g.:
99
//
10-
// 18.3.0
10+
// 19.0.0
1111
//
1212
// The @canary channel appends additional information, with the scheme
1313
// <version>-<label>-<commit_sha>, e.g.:
1414
//
15-
// 18.3.0-canary-a1c2d3e4
15+
// 19.0.0-canary-a1c2d3e4
1616
//
1717
// The @experimental channel doesn't include a version, only a date and a sha, e.g.:
1818
//
1919
// 0.0.0-experimental-241c4467e-20200129
2020

21-
const ReactVersion = '18.3.0';
21+
const ReactVersion = '19.0.0';
2222

2323
// The label used by the @canary channel. Represents the upcoming release's
2424
// stability. Most of the time, this will be "canary", but we may temporarily
@@ -29,20 +29,20 @@ const ReactVersion = '18.3.0';
2929
const canaryChannelLabel = 'canary';
3030

3131
const stablePackages = {
32-
'eslint-plugin-react-hooks': '5.0.0',
33-
'jest-react': '0.15.0',
32+
'eslint-plugin-react-hooks': '5.1.0',
33+
'jest-react': '0.16.0',
3434
react: ReactVersion,
3535
'react-art': ReactVersion,
3636
'react-dom': ReactVersion,
3737
'react-server-dom-webpack': ReactVersion,
3838
'react-server-dom-turbopack': ReactVersion,
3939
'react-is': ReactVersion,
40-
'react-reconciler': '0.30.0',
41-
'react-refresh': '0.15.0',
40+
'react-reconciler': '0.31.0',
41+
'react-refresh': '0.16.0',
4242
'react-test-renderer': ReactVersion,
43-
'use-subscription': '1.9.0',
44-
'use-sync-external-store': '1.3.0',
45-
scheduler: '0.24.0',
43+
'use-subscription': '1.10.0',
44+
'use-sync-external-store': '1.4.0',
45+
scheduler: '0.25.0',
4646
};
4747

4848
// These packages do not exist in the @canary or @latest channel, only

fixtures/art/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"@babel/preset-env": "^7.10.4",
66
"@babel/preset-react": "^7.10.4",
77
"babel-loader": "^8.1.0",
8-
"react": "^18.2.0",
9-
"react-art": "^18.2.0",
10-
"react-dom": "^18.2.0",
8+
"react": "^19.0.0",
9+
"react-art": "^19.0.0",
10+
"react-dom": "^19.0.0",
1111
"webpack": "^1.14.0"
1212
},
1313
"scripts": {

fixtures/dom/yarn.lock

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2679,16 +2679,17 @@ es-to-primitive@^1.2.1:
26792679
is-date-object "^1.0.1"
26802680
is-symbol "^1.0.2"
26812681

2682-
es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.50, es5-ext@~0.10.14:
2683-
version "0.10.53"
2684-
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.53.tgz#93c5a3acfdbef275220ad72644ad02ee18368de1"
2685-
integrity sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==
2682+
es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.50, es5-ext@^0.10.62, es5-ext@~0.10.14:
2683+
version "0.10.63"
2684+
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.63.tgz#9c222a63b6a332ac80b1e373b426af723b895bd6"
2685+
integrity sha512-hUCZd2Byj/mNKjfP9jXrdVZ62B8KuA/VoK7X8nUh5qT+AxDmcbvZz041oDVZdbIN1qW6XY9VDNwzkvKnZvK2TQ==
26862686
dependencies:
2687-
es6-iterator "~2.0.3"
2688-
es6-symbol "~3.1.3"
2689-
next-tick "~1.0.0"
2687+
es6-iterator "^2.0.3"
2688+
es6-symbol "^3.1.3"
2689+
esniff "^2.0.1"
2690+
next-tick "^1.1.0"
26902691

2691-
es6-iterator@^2.0.3, es6-iterator@~2.0.1, es6-iterator@~2.0.3:
2692+
es6-iterator@^2.0.3, es6-iterator@~2.0.1:
26922693
version "2.0.3"
26932694
resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7"
26942695
integrity sha1-p96IkUGgWpSwhUQDstCg+/qY87c=
@@ -2733,7 +2734,7 @@ [email protected]:
27332734
d "1"
27342735
es5-ext "~0.10.14"
27352736

2736-
es6-symbol@^3.1.1, es6-symbol@~3.1.1, es6-symbol@~3.1.3:
2737+
es6-symbol@^3.1.1, es6-symbol@^3.1.3, es6-symbol@~3.1.1:
27372738
version "3.1.3"
27382739
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18"
27392740
integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==
@@ -2912,6 +2913,16 @@ [email protected]:
29122913
table "^4.0.1"
29132914
text-table "~0.2.0"
29142915

2916+
esniff@^2.0.1:
2917+
version "2.0.1"
2918+
resolved "https://registry.yarnpkg.com/esniff/-/esniff-2.0.1.tgz#a4d4b43a5c71c7ec51c51098c1d8a29081f9b308"
2919+
integrity sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==
2920+
dependencies:
2921+
d "^1.0.1"
2922+
es5-ext "^0.10.62"
2923+
event-emitter "^0.3.5"
2924+
type "^2.7.2"
2925+
29152926
espree@^3.5.1:
29162927
version "3.5.4"
29172928
resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.4.tgz#b0f447187c8a8bed944b815a660bddf5deb5d1a7"
@@ -2964,7 +2975,7 @@ etag@~1.8.1:
29642975
resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
29652976
integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=
29662977

2967-
event-emitter@~0.3.5:
2978+
event-emitter@^0.3.5, event-emitter@~0.3.5:
29682979
version "0.3.5"
29692980
resolved "https://registry.yarnpkg.com/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39"
29702981
integrity sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=
@@ -5444,10 +5455,10 @@ neo-async@^2.5.0, neo-async@^2.6.0:
54445455
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
54455456
integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==
54465457

5447-
next-tick@~1.0.0:
5448-
version "1.0.0"
5449-
resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c"
5450-
integrity sha1-yobR/ogoFpsBICCOPchCS524NCw=
5458+
next-tick@^1.1.0:
5459+
version "1.1.0"
5460+
resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb"
5461+
integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==
54515462

54525463
no-case@^2.2.0:
54535464
version "2.3.2"
@@ -7845,6 +7856,11 @@ type@^2.0.0:
78457856
resolved "https://registry.yarnpkg.com/type/-/type-2.1.0.tgz#9bdc22c648cf8cf86dd23d32336a41cfb6475e3f"
78467857
integrity sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA==
78477858

7859+
type@^2.7.2:
7860+
version "2.7.2"
7861+
resolved "https://registry.yarnpkg.com/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0"
7862+
integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==
7863+
78487864
typedarray@^0.0.6:
78497865
version "0.0.6"
78507866
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"

fixtures/fizz/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"concurrently": "^5.3.0",
1616
"express": "^4.17.1",
1717
"nodemon": "^2.0.6",
18-
"react": "^18.2.0",
19-
"react-dom": "^18.2.0",
18+
"react": "^19.0.0",
19+
"react-dom": "^19.0.0",
2020
"react-error-boundary": "^3.1.3",
2121
"resolve": "1.12.0",
2222
"rimraf": "^3.0.2",

fixtures/flight/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"terser-webpack-plugin": "^5.2.5",
6060
"undici": "^5.20.0",
6161
"webpack": "^5.64.4",
62-
"webpack-dev-middleware": "^5.3.1",
62+
"webpack-dev-middleware": "^5.3.4",
6363
"webpack-hot-middleware": "^2.25.3",
6464
"webpack-manifest-plugin": "^4.0.2"
6565
},

fixtures/flight/yarn.lock

Lines changed: 6 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -6183,52 +6183,18 @@ micromatch@^4.0.4:
61836183
braces "^3.0.2"
61846184
picomatch "^2.3.1"
61856185

6186-
6187-
version "1.40.0"
6188-
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32"
6189-
integrity sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==
6190-
6191-
6192-
version "1.44.0"
6193-
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10c5a6272f92"
6194-
integrity sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==
6195-
61966186
[email protected], "mime-db@>= 1.43.0 < 2":
61976187
version "1.52.0"
61986188
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70"
61996189
integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==
62006190

6201-
mime-db@~1.36.0:
6202-
version "1.36.0"
6203-
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.36.0.tgz#5020478db3c7fe93aad7bbcc4dcf869c43363397"
6204-
6205-
mime-types@^2.1.12:
6206-
version "2.1.20"
6207-
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.20.tgz#930cb719d571e903738520f8470911548ca2cc19"
6208-
dependencies:
6209-
mime-db "~1.36.0"
6210-
6211-
mime-types@^2.1.27:
6212-
version "2.1.27"
6213-
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.27.tgz#47949f98e279ea53119f5722e0f34e529bec009f"
6214-
integrity sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==
6215-
dependencies:
6216-
mime-db "1.44.0"
6217-
6218-
mime-types@^2.1.31, mime-types@~2.1.34:
6191+
mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.24, mime-types@~2.1.34:
62196192
version "2.1.35"
62206193
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a"
62216194
integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==
62226195
dependencies:
62236196
mime-db "1.52.0"
62246197

6225-
mime-types@~2.1.24:
6226-
version "2.1.24"
6227-
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81"
6228-
integrity sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==
6229-
dependencies:
6230-
mime-db "1.40.0"
6231-
62326198
mimic-fn@^2.1.0:
62336199
version "2.1.0"
62346200
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
@@ -7720,7 +7686,7 @@ schema-utils@^2.6.5:
77207686
ajv "^6.12.4"
77217687
ajv-keywords "^3.5.2"
77227688

7723-
schema-utils@^3.0.0:
7689+
schema-utils@^3.0.0, schema-utils@^3.1.0, schema-utils@^3.1.1:
77247690
version "3.3.0"
77257691
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.3.0.tgz#f50a88877c3c01652a15b622ae9e9795df7a60fe"
77267692
integrity sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==
@@ -7729,15 +7695,6 @@ schema-utils@^3.0.0:
77297695
ajv "^6.12.5"
77307696
ajv-keywords "^3.5.2"
77317697

7732-
schema-utils@^3.1.0, schema-utils@^3.1.1:
7733-
version "3.1.1"
7734-
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.1.tgz#bc74c4b6b6995c1d88f76a8b77bea7219e0c8281"
7735-
integrity sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==
7736-
dependencies:
7737-
"@types/json-schema" "^7.0.8"
7738-
ajv "^6.12.5"
7739-
ajv-keywords "^3.5.2"
7740-
77417698
schema-utils@^4.0.0:
77427699
version "4.0.0"
77437700
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.0.0.tgz#60331e9e3ae78ec5d16353c467c34b3a0a1d3df7"
@@ -8485,10 +8442,10 @@ webidl-conversions@^6.1.0:
84858442
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514"
84868443
integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==
84878444

8488-
webpack-dev-middleware@^5.3.1:
8489-
version "5.3.3"
8490-
resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz#efae67c2793908e7311f1d9b06f2a08dcc97e51f"
8491-
integrity sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==
8445+
webpack-dev-middleware@^5.3.4:
8446+
version "5.3.4"
8447+
resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.4.tgz#eb7b39281cbce10e104eb2b8bf2b63fce49a3517"
8448+
integrity sha512-BVdTqhhs+0IfoeAf7EoH5WE+exCmqGerHfDM0IL096Px60Tq2Mn9MAbnaGUe6HiMa41KMCYF19gyzZmBcq/o4Q==
84928449
dependencies:
84938450
colorette "^2.0.10"
84948451
memfs "^3.4.3"

fixtures/ssr/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"ignore-styles": "^5.0.1",
1313
"import-export": "^1.0.1",
1414
"node-fetch": "^1.6.3",
15-
"react": "^18.2.0",
16-
"react-dom": "^18.2.0"
15+
"react": "^19.0.0",
16+
"react-dom": "^19.0.0"
1717
},
1818
"scripts": {
1919
"predev": "cp -r ../../build/oss-experimental/* ./node_modules/",

fixtures/ssr2/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"concurrently": "^5.3.0",
1616
"express": "^4.17.1",
1717
"nodemon": "^2.0.6",
18-
"react": "^18.2.0",
19-
"react-dom": "^18.2.0",
18+
"react": "^19.0.0",
19+
"react-dom": "^19.0.0",
2020
"react-error-boundary": "^3.1.3",
2121
"resolve": "1.12.0",
2222
"rimraf": "^3.0.2",

0 commit comments

Comments
 (0)