Skip to content

Commit fd3024d

Browse files
Chore: Update fluent packages and add Node 24 (#4851)
Fluent-ui upgrade completed along with snapshot upgrades - Updated `fluentui-rc` to pickup latest fluent packages - Updated `ci.yml` to add node 22, remove `v5` and old builds without docs - Updated `CHANGELOG.md` accordingly
1 parent a3870e7 commit fd3024d

File tree

8 files changed

+595
-603
lines changed

8 files changed

+595
-603
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ name: CI
22

33
on:
44
push:
5-
branches: [main, v5]
5+
branches: [main]
66
pull_request:
7-
branches: [main, v5]
7+
branches: [main]
88

99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node-version: [20.x, 22.x]
14+
node-version: [20.x, 22.x, 24.x]
1515

1616
steps:
1717
- uses: actions/checkout@v5
@@ -35,17 +35,6 @@ jobs:
3535
env:
3636
NODE_OPTIONS: --max_old_space_size=4096
3737

38-
# Docusaurus doesn't support Node 14. These tasks can be removed once Node 14 is EOL (May 2023)
39-
- name: Build with Netlify badge (no docs)
40-
run: npx nx run-many --target=build --exclude=@rjsf/docs --parallel=false
41-
env:
42-
VITE_SHOW_NETLIFY_BADGE: true
43-
NODE_OPTIONS: --max_old_space_size=4096
44-
- name: Build (no docs)
45-
run: npx nx run-many --target=build --exclude=@rjsf/docs --parallel=false
46-
env:
47-
NODE_OPTIONS: --max_old_space_size=4096
48-
4938
- if: matrix.node-version == '22.x'
5039
uses: actions/upload-artifact@v5
5140
with:
@@ -57,6 +46,7 @@ jobs:
5746
name: docs
5847
path: packages/docs/build
5948
- run: npm test
49+
6050
deploy_playground_and_docs:
6151
runs-on: ubuntu-latest
6252
if: github.ref == 'refs/heads/main'

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ should change the heading of the (upcoming) version to include a major version b
7070

7171
- Updated the `OptionsDrawer` of the playground to add `idPrefix` and `idSeparator` fields
7272
- Updated test files to switch to using the React Testing library instead of `react-test-renderer`, updating all snapshots accordingly
73+
- Updated Fluent libraries to latest, with updated snapshots
74+
- Added Node 24 to `ci.yml`, removing `v5` and old Node 14 non-docs builds
7375

7476
# 6.0.1
7577

package-lock.json

Lines changed: 527 additions & 527 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/fluentui-rc/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@
7373
"react": ">=18"
7474
},
7575
"devDependencies": {
76-
"@fluentui/react-components": "^9.72.3",
76+
"@fluentui/react-components": "^9.72.4",
7777
"@fluentui/react-icons": "^2.0.313",
78-
"@fluentui/react-migration-v0-v9": "^9.6.11",
78+
"@fluentui/react-migration-v0-v9": "^9.6.12",
7979
"@rjsf/core": "^6.x",
8080
"@rjsf/snapshot-tests": "^6.x",
8181
"@rjsf/utils": "^6.x",

packages/fluentui-rc/test/__snapshots__/Array.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1695,7 +1695,7 @@ exports[`nameGenerator bracketNameGenerator fixed array 1`] = `
16951695
class="fui-Field ___keyyzl0_1dbn5sh f13qh94s"
16961696
>
16971697
<span
1698-
class="fui-Checkbox r1q22k1j ___13877ya_6gg83z0 f19n0e5 f35ds98 f12mnkne fei9a8h fix56y3 f1bcv2js f7dr4go f1r5cpua"
1698+
class="fui-Checkbox r1nzur1d ___13877ya_6gg83z0 f19n0e5 f35ds98 f12mnkne fei9a8h fix56y3 f1bcv2js f7dr4go f1r5cpua"
16991699
>
17001700
<input
17011701
aria-describedby="root_2__error root_2__description root_2__help"

packages/fluentui-rc/test/__snapshots__/Form.test.tsx.snap

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ exports[`nameGenerator bracketNameGenerator array of objects 1`] = `
117117
class="fui-Field ___keyyzl0_1dbn5sh f13qh94s"
118118
>
119119
<span
120-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
120+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
121121
>
122122
<input
123123
aria-describedby="root_tasks_0_done__error root_tasks_0_done__description root_tasks_0_done__help"
@@ -300,7 +300,7 @@ exports[`nameGenerator bracketNameGenerator array of objects 1`] = `
300300
class="fui-Field ___keyyzl0_1dbn5sh f13qh94s"
301301
>
302302
<span
303-
class="fui-Checkbox r1q22k1j ___13877ya_6gg83z0 f19n0e5 f35ds98 f12mnkne fei9a8h fix56y3 f1bcv2js f7dr4go f1r5cpua"
303+
class="fui-Checkbox r1nzur1d ___13877ya_6gg83z0 f19n0e5 f35ds98 f12mnkne fei9a8h fix56y3 f1bcv2js f7dr4go f1r5cpua"
304304
>
305305
<input
306306
aria-describedby="root_tasks_1_done__error root_tasks_1_done__description root_tasks_1_done__help"
@@ -848,7 +848,7 @@ exports[`nameGenerator bracketNameGenerator checkboxes field 1`] = `
848848
class="fui-Flex ___1ccp5kb_1s932w9 f22iagw f1vx9l62"
849849
>
850850
<span
851-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
851+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
852852
>
853853
<input
854854
aria-describedby="root_choices__error root_choices__description root_choices__help"
@@ -869,7 +869,7 @@ exports[`nameGenerator bracketNameGenerator checkboxes field 1`] = `
869869
</label>
870870
</span>
871871
<span
872-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
872+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
873873
>
874874
<input
875875
aria-describedby="root_choices__error root_choices__description root_choices__help"
@@ -890,7 +890,7 @@ exports[`nameGenerator bracketNameGenerator checkboxes field 1`] = `
890890
</label>
891891
</span>
892892
<span
893-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
893+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
894894
>
895895
<input
896896
aria-describedby="root_choices__error root_choices__description root_choices__help"
@@ -1457,7 +1457,7 @@ exports[`nameGenerator bracketNameGenerator simple fields 1`] = `
14571457
class="fui-Field ___keyyzl0_1dbn5sh f13qh94s"
14581458
>
14591459
<span
1460-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
1460+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
14611461
>
14621462
<input
14631463
aria-describedby="root_active__error root_active__description root_active__help"
@@ -1676,7 +1676,7 @@ exports[`nameGenerator dotNotationNameGenerator array of objects 1`] = `
16761676
class="fui-Field ___keyyzl0_1dbn5sh f13qh94s"
16771677
>
16781678
<span
1679-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
1679+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
16801680
>
16811681
<input
16821682
aria-describedby="root_tasks_0_done__error root_tasks_0_done__description root_tasks_0_done__help"
@@ -1859,7 +1859,7 @@ exports[`nameGenerator dotNotationNameGenerator array of objects 1`] = `
18591859
class="fui-Field ___keyyzl0_1dbn5sh f13qh94s"
18601860
>
18611861
<span
1862-
class="fui-Checkbox r1q22k1j ___13877ya_6gg83z0 f19n0e5 f35ds98 f12mnkne fei9a8h fix56y3 f1bcv2js f7dr4go f1r5cpua"
1862+
class="fui-Checkbox r1nzur1d ___13877ya_6gg83z0 f19n0e5 f35ds98 f12mnkne fei9a8h fix56y3 f1bcv2js f7dr4go f1r5cpua"
18631863
>
18641864
<input
18651865
aria-describedby="root_tasks_1_done__error root_tasks_1_done__description root_tasks_1_done__help"
@@ -2798,7 +2798,7 @@ exports[`nameGenerator dotNotationNameGenerator simple fields 1`] = `
27982798
class="fui-Field ___keyyzl0_1dbn5sh f13qh94s"
27992799
>
28002800
<span
2801-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
2801+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
28022802
>
28032803
<input
28042804
aria-describedby="root_active__error root_active__description root_active__help"
@@ -2850,7 +2850,7 @@ exports[`single fields checkbox field 1`] = `
28502850
class="fui-Field ___keyyzl0_1dbn5sh f13qh94s"
28512851
>
28522852
<span
2853-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
2853+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
28542854
>
28552855
<input
28562856
aria-describedby="root__error root__description root__help"
@@ -2902,7 +2902,7 @@ exports[`single fields checkbox field with description in schema and FieldTempla
29022902
This is a checkbox description
29032903
</span>
29042904
<span
2905-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
2905+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
29062906
>
29072907
<input
29082908
aria-describedby="root__error root__description root__help"
@@ -2950,7 +2950,7 @@ exports[`single fields checkbox field with label 1`] = `
29502950
class="fui-Field ___keyyzl0_1dbn5sh f13qh94s"
29512951
>
29522952
<span
2953-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
2953+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
29542954
>
29552955
<input
29562956
aria-describedby="root__error root__description root__help"
@@ -3004,7 +3004,7 @@ exports[`single fields checkbox field with label and description 1`] = `
30043004
test description
30053005
</span>
30063006
<span
3007-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
3007+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
30083008
>
30093009
<input
30103010
aria-describedby="root__error root__description root__help"
@@ -3066,7 +3066,7 @@ exports[`single fields checkbox field with label and rich text description 1`] =
30663066
</span>
30673067
</span>
30683068
<span
3069-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
3069+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
30703070
>
30713071
<input
30723072
aria-describedby="root__error root__description root__help"
@@ -3123,7 +3123,7 @@ exports[`single fields checkboxes field 1`] = `
31233123
class="fui-Flex ___1ccp5kb_1s932w9 f22iagw f1vx9l62"
31243124
>
31253125
<span
3126-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
3126+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
31273127
>
31283128
<input
31293129
aria-describedby="root__error root__description root__help"
@@ -3144,7 +3144,7 @@ exports[`single fields checkboxes field 1`] = `
31443144
</label>
31453145
</span>
31463146
<span
3147-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
3147+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
31483148
>
31493149
<input
31503150
aria-describedby="root__error root__description root__help"
@@ -3165,7 +3165,7 @@ exports[`single fields checkboxes field 1`] = `
31653165
</label>
31663166
</span>
31673167
<span
3168-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
3168+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
31693169
>
31703170
<input
31713171
aria-describedby="root__error root__description root__help"
@@ -3186,7 +3186,7 @@ exports[`single fields checkboxes field 1`] = `
31863186
</label>
31873187
</span>
31883188
<span
3189-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
3189+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
31903190
>
31913191
<input
31923192
aria-describedby="root__error root__description root__help"
@@ -3244,7 +3244,7 @@ exports[`single fields checkboxes widget with custom options and labels 1`] = `
32443244
class="fui-Flex ___1gzszts_10anl4a f22iagw"
32453245
>
32463246
<span
3247-
class="fui-Checkbox r1q22k1j ___13877ya_6gg83z0 f19n0e5 f35ds98 f12mnkne fei9a8h fix56y3 f1bcv2js f7dr4go f1r5cpua"
3247+
class="fui-Checkbox r1nzur1d ___13877ya_6gg83z0 f19n0e5 f35ds98 f12mnkne fei9a8h fix56y3 f1bcv2js f7dr4go f1r5cpua"
32483248
>
32493249
<input
32503250
aria-describedby="root__error root__description root__help"
@@ -3281,7 +3281,7 @@ exports[`single fields checkboxes widget with custom options and labels 1`] = `
32813281
</label>
32823282
</span>
32833283
<span
3284-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
3284+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
32853285
>
32863286
<input
32873287
aria-describedby="root__error root__description root__help"
@@ -3302,7 +3302,7 @@ exports[`single fields checkboxes widget with custom options and labels 1`] = `
33023302
</label>
33033303
</span>
33043304
<span
3305-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
3305+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
33063306
>
33073307
<input
33083308
aria-describedby="root__error root__description root__help"
@@ -3377,7 +3377,7 @@ exports[`single fields checkboxes widget with required field 1`] = `
33773377
class="fui-Flex ___1ccp5kb_1s932w9 f22iagw f1vx9l62"
33783378
>
33793379
<span
3380-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
3380+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
33813381
>
33823382
<input
33833383
aria-describedby="root__error root__description root__help"
@@ -3398,7 +3398,7 @@ exports[`single fields checkboxes widget with required field 1`] = `
33983398
</label>
33993399
</span>
34003400
<span
3401-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
3401+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
34023402
>
34033403
<input
34043404
aria-describedby="root__error root__description root__help"
@@ -3419,7 +3419,7 @@ exports[`single fields checkboxes widget with required field 1`] = `
34193419
</label>
34203420
</span>
34213421
<span
3422-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
3422+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
34233423
>
34243424
<input
34253425
aria-describedby="root__error root__description root__help"
@@ -9103,7 +9103,7 @@ exports[`single fields select field multiple choice enumDisabled using checkboxe
91039103
class="fui-Flex ___1ccp5kb_1s932w9 f22iagw f1vx9l62"
91049104
>
91059105
<span
9106-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
9106+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
91079107
>
91089108
<input
91099109
aria-describedby="root__error root__description root__help"
@@ -9124,7 +9124,7 @@ exports[`single fields select field multiple choice enumDisabled using checkboxe
91249124
</label>
91259125
</span>
91269126
<span
9127-
class="fui-Checkbox r1q22k1j ___8i7d4u0_1q3ajh0 f158kwzp f1s2aq7o f1w7mfl5 fcoafq6 f1dcs8yz fxb3eh3"
9127+
class="fui-Checkbox r1nzur1d ___8i7d4u0_1q3ajh0 f158kwzp f1s2aq7o f1w7mfl5 fcoafq6 f1dcs8yz fxb3eh3"
91289128
>
91299129
<input
91309130
aria-describedby="root__error root__description root__help"
@@ -9146,7 +9146,7 @@ exports[`single fields select field multiple choice enumDisabled using checkboxe
91469146
</label>
91479147
</span>
91489148
<span
9149-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
9149+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
91509150
>
91519151
<input
91529152
aria-describedby="root__error root__description root__help"
@@ -9167,7 +9167,7 @@ exports[`single fields select field multiple choice enumDisabled using checkboxe
91679167
</label>
91689168
</span>
91699169
<span
9170-
class="fui-Checkbox r1q22k1j ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
9170+
class="fui-Checkbox r1nzur1d ___1v6wcsu_941lme0 f3p8bqa fium13f f1r2dosr f1729es6"
91719171
>
91729172
<input
91739173
aria-describedby="root__error root__description root__help"

0 commit comments

Comments
 (0)