Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: restrict node versions to 18 || 20 #29676

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

Hotell
Copy link
Contributor

@Hotell Hotell commented Oct 27, 2023

Previous Behavior

New Behavior

Related Issue(s)

@Hotell Hotell changed the title chore: restrict node versions to 18 ||| 20 chore: restrict node versions to 18 || 20 Oct 27, 2023
@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 27, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 55ad2ce:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@Hotell Hotell marked this pull request as ready for review October 27, 2023 13:48
@Hotell Hotell requested a review from a team as a code owner October 27, 2023 13:48
@Hotell Hotell force-pushed the hotell/node-18-migration-engines branch from 03f1656 to 55ad2ce Compare October 31, 2023 10:26
@Hotell
Copy link
Contributor Author

Hotell commented Oct 31, 2023

/azp run

Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
FluentProviderWithTheme virtual-rerender 66 69 10 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 637 641 5000
Button mount 310 312 5000
Field mount 1134 1120 5000
FluentProvider mount 683 730 5000
FluentProviderWithTheme mount 87 67 10
FluentProviderWithTheme virtual-rerender 66 69 10 Possible regression
FluentProviderWithTheme virtual-rerender-with-unmount 71 67 10
MakeStyles mount 851 835 50000
Persona mount 1743 1726 5000
SpinButton mount 1345 1404 5000

@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react-northstar)

⚠️ 1 potential perf regressions detected

Potential regressions comparing to master

Scenario Current PR Ticks Baseline Ticks Ratio Regression Analysis
ButtonMinimalPerf.default 76 86 0.88:1 analysis
Perf tests with no regressions
Scenario Current PR Ticks Baseline Ticks Ratio
AttachmentMinimalPerf.default 86 75 1.15:1
ImageMinimalPerf.default 230 208 1.11:1
LoaderMinimalPerf.default 200 184 1.09:1
PortalMinimalPerf.default 86 79 1.09:1
AccordionMinimalPerf.default 83 77 1.08:1
DropdownManyItemsPerf.default 399 371 1.08:1
SkeletonMinimalPerf.default 209 194 1.08:1
CardMinimalPerf.default 319 299 1.07:1
CarouselMinimalPerf.default 262 245 1.07:1
FormMinimalPerf.default 220 208 1.06:1
SplitButtonMinimalPerf.default 2338 2205 1.06:1
AnimationMinimalPerf.default 297 284 1.05:1
LayoutMinimalPerf.default 214 203 1.05:1
ListCommonPerf.default 389 371 1.05:1
HeaderMinimalPerf.default 215 207 1.04:1
ProviderMinimalPerf.default 209 201 1.04:1
IconMinimalPerf.default 384 371 1.04:1
TreeWith60ListItems.default 86 83 1.04:1
CheckboxMinimalPerf.default 1154 1116 1.03:1
DialogMinimalPerf.default 451 436 1.03:1
RadioGroupMinimalPerf.default 267 259 1.03:1
StatusMinimalPerf.default 396 384 1.03:1
AlertMinimalPerf.default 160 157 1.02:1
AvatarMinimalPerf.default 107 105 1.02:1
ItemLayoutMinimalPerf.default 724 708 1.02:1
MenuMinimalPerf.default 488 477 1.02:1
TextMinimalPerf.default 197 194 1.02:1
DividerMinimalPerf.default 203 201 1.01:1
GridMinimalPerf.default 195 193 1.01:1
HeaderSlotsPerf.default 462 457 1.01:1
InputMinimalPerf.default 529 522 1.01:1
ProviderMergeThemesPerf.default 646 639 1.01:1
RefMinimalPerf.default 108 107 1.01:1
SliderMinimalPerf.default 740 734 1.01:1
TableManyItemsPerf.default 1122 1106 1.01:1
TreeMinimalPerf.default 472 469 1.01:1
AttachmentSlotsPerf.default 659 662 1:1
ButtonOverridesMissPerf.default 649 648 1:1
ChatMinimalPerf.default 412 411 1:1
DatepickerMinimalPerf.default 3495 3479 1:1
TableMinimalPerf.default 231 230 1:1
ChatDuplicateMessagesPerf.default 157 158 0.99:1
DropdownMinimalPerf.default 1406 1424 0.99:1
FlexMinimalPerf.default 154 156 0.99:1
LabelMinimalPerf.default 210 213 0.99:1
ListNestedPerf.default 309 312 0.99:1
RosterPerf.default 1548 1563 0.99:1
PopupMinimalPerf.default 349 351 0.99:1
ToolbarMinimalPerf.default 521 528 0.99:1
BoxMinimalPerf.default 191 194 0.98:1
ButtonSlotsPerf.default 296 302 0.98:1
EmbedMinimalPerf.default 1832 1867 0.98:1
MenuButtonMinimalPerf.default 946 966 0.98:1
CustomToolbarPrototype.default 1434 1470 0.98:1
ListMinimalPerf.default 302 312 0.97:1
TextAreaMinimalPerf.default 272 281 0.97:1
ReactionMinimalPerf.default 209 218 0.96:1
TooltipMinimalPerf.default 1217 1262 0.96:1
SegmentMinimalPerf.default 193 204 0.95:1
VideoMinimalPerf.default 418 438 0.95:1
ChatWithPopoverPerf.default 184 200 0.92:1
ListWith60ListItems.default 345 374 0.92:1

@fabricteam
Copy link
Collaborator

🕵 FluentUIV0 No visual regressions between this PR and main

@fabricteam
Copy link
Collaborator

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
global-context
createContext
510 B
330 B
global-context
createContextSelector
537 B
342 B
priority-overflow
createOverflowManager
4.341 kB
1.81 kB
react-accordion
Accordion (including children components)
92.983 kB
28.418 kB
react-alert
Alert
84.293 kB
23.456 kB
react-avatar
Avatar
50.534 kB
15.923 kB
react-avatar
AvatarGroup
20.064 kB
7.894 kB
react-avatar
AvatarGroupItem
65.19 kB
20.259 kB
react-badge
Badge
27.264 kB
8.808 kB
react-badge
CounterBadge
28.165 kB
9.101 kB
react-badge
PresenceBadge
25.67 kB
9.313 kB
react-button
Button
40.074 kB
11.292 kB
react-button
CompoundButton
47.43 kB
12.787 kB
react-button
MenuButton
44.848 kB
12.668 kB
react-button
SplitButton
52.862 kB
14.254 kB
react-button
ToggleButton
57.122 kB
13.194 kB
react-calendar-compat
Calendar Compat
141.324 kB
36.821 kB
react-card
Card - All
92.955 kB
26.977 kB
react-card
Card
87.781 kB
25.462 kB
react-card
CardFooter
13.423 kB
5.481 kB
react-card
CardHeader
15.666 kB
6.235 kB
react-card
CardPreview
14.374 kB
5.854 kB
react-checkbox
Checkbox
37.505 kB
12.327 kB
react-combobox
Combobox (including child components)
91.781 kB
29.935 kB
react-combobox
Dropdown (including child components)
90.223 kB
29.601 kB
react-components
react-components: Button, FluentProvider & webLightTheme
70.002 kB
20.161 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
207.417 kB
59.289 kB
react-components
react-components: FluentProvider & webLightTheme
42.286 kB
14 kB
react-datepicker-compat
DatePicker Compat
212.494 kB
59.326 kB
react-dialog
Dialog (including children components)
94.473 kB
28.28 kB
react-divider
Divider
21.179 kB
7.839 kB
react-field
Field
22.788 kB
8.639 kB
react-image
Image
16.096 kB
6.317 kB
react-infobutton
InfoButton
130.729 kB
41.194 kB
react-infobutton
InfoLabel
134.413 kB
42.351 kB
react-input
Input
27.247 kB
9.194 kB
react-jsx-runtime
Classic Pragma
1.049 kB
531 B
react-jsx-runtime
JSX Dev Runtime
4.14 kB
1.741 kB
react-jsx-runtime
JSX Runtime
4.734 kB
1.983 kB
react-label
Label
14.508 kB
5.857 kB
react-link
Link
17.4 kB
6.977 kB
react-menu
Menu (including children components)
140.176 kB
43.004 kB
react-menu
Menu (including selectable components)
142.862 kB
43.51 kB
react-message-bar
MessageBar (all components)
25.54 kB
9.102 kB
react-overflow
hooks only
12.598 kB
4.754 kB
react-persona
Persona
57.425 kB
17.798 kB
react-popover
Popover
119.46 kB
37.714 kB
react-portal
Portal
12.4 kB
4.541 kB
react-portal-compat
PortalCompatProvider
6.651 kB
2.252 kB
react-positioning
usePositioning
25.305 kB
9.162 kB
react-progress
ProgressBar
17.788 kB
6.986 kB
react-provider
FluentProvider
22.831 kB
8.429 kB
react-radio
Radio
31.266 kB
10.267 kB
react-radio
RadioGroup
15.704 kB
6.35 kB
react-select
Select
28.968 kB
10.269 kB
react-slider
Slider
38.349 kB
12.595 kB
react-spinbutton
SpinButton
37.133 kB
11.856 kB
react-spinner
Spinner
23.762 kB
8.556 kB
react-switch
Switch
33.731 kB
10.899 kB
react-table
DataGrid
157.084 kB
43.906 kB
react-table
Table (Primitives only)
43.941 kB
13.76 kB
react-table
Table as DataGrid
130.165 kB
35.174 kB
react-table
Table (Selection only)
75.777 kB
20.477 kB
react-table
Table (Sort only)
74.384 kB
20.075 kB
react-tags
InteractionTag
15.618 kB
6.152 kB
react-tags
Tag
30.341 kB
9.505 kB
react-tags
TagGroup
73.816 kB
22.097 kB
react-text
Text - Default
17.065 kB
6.645 kB
react-text
Text - Wrappers
20.237 kB
6.965 kB
react-textarea
Textarea
31.306 kB
10.549 kB
react-theme
Single theme token import
69 B
89 B
react-theme
Teams: all themes
34.611 kB
7.295 kB
react-theme
Teams: Light theme
19.282 kB
5.486 kB
react-toast
Toast (including Toaster)
92.725 kB
27.876 kB
react-tooltip
Tooltip
52.466 kB
18.466 kB
react-utilities
SSRProvider
180 B
159 B
🤖 This report was generated against cc35c6608ad5d55c4f0312e688eb4a87aa487937

Copy link

size-auditor bot commented Oct 31, 2023

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: cc35c6608ad5d55c4f0312e688eb4a87aa487937 (build)

@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
BaseButton mount 619 636 5000
Breadcrumb mount 1641 1651 1000
Checkbox mount 1703 1707 5000
CheckboxBase mount 1495 1461 5000
ChoiceGroup mount 2880 2987 5000
ComboBox mount 663 670 1000
CommandBar mount 6174 6165 1000
ContextualMenu mount 13364 13078 1000
DefaultButton mount 764 747 5000
DetailsRow mount 2169 2154 5000
DetailsRowFast mount 2191 2187 5000
DetailsRowNoStyles mount 1983 2056 5000
Dialog mount 2785 2668 1000
DocumentCardTitle mount 234 221 1000
Dropdown mount 1978 1958 5000
FocusTrapZone mount 1155 1146 5000
FocusZone mount 1049 1049 5000
GroupedList mount 41892 42095 2
GroupedList virtual-rerender 19990 20022 2
GroupedList virtual-rerender-with-unmount 50792 50513 2
GroupedListV2 mount 220 217 2
GroupedListV2 virtual-rerender 212 220 2
GroupedListV2 virtual-rerender-with-unmount 233 230 2
IconButton mount 1073 1073 5000
Label mount 331 335 5000
Layer mount 2712 2752 5000
Link mount 403 394 5000
MenuButton mount 938 941 5000
MessageBar mount 21360 21344 5000
Nav mount 1950 1911 1000
OverflowSet mount 779 789 5000
Panel mount 1801 1817 1000
Persona mount 738 740 1000
Pivot mount 849 888 1000
PrimaryButton mount 849 853 5000
Rating mount 4599 4554 5000
SearchBox mount 898 940 5000
Shimmer mount 1856 1862 5000
Slider mount 1349 1311 5000
SpinButton mount 2993 2850 5000
Spinner mount 390 379 5000
SplitButton mount 1825 1859 5000
Stack mount 401 397 5000
StackWithIntrinsicChildren mount 855 875 5000
StackWithTextChildren mount 2614 2627 5000
SwatchColorPicker mount 6184 6009 5000
TagPicker mount 1457 1475 5000
Text mount 381 379 5000
TextField mount 935 904 5000
ThemeProvider mount 821 821 5000
ThemeProvider virtual-rerender 577 580 5000
ThemeProvider virtual-rerender-with-unmount 1285 1262 5000
Toggle mount 615 616 5000
buttonNative mount 195 193 5000

@fabricteam
Copy link
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

@Hotell Hotell merged commit 58c9eb6 into microsoft:master Oct 31, 2023
@Hotell Hotell deleted the hotell/node-18-migration-engines branch October 31, 2023 16:24
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 31, 2023
* master: (34 commits)
  Remove redundant pipeline yaml. It is now replaced iwth azure-pipelines-ci.yml and azure-pipelines-pr.yml (microsoft#29706)
  chore(TimePicker-compat): preview release with added stories and docs (microsoft#29677)
  Enable 1ES PT to be compliant for all production pipelines (microsoft#29702)
  chore: restrict  node versions to 18 ||| 20 (microsoft#29676)
  chore(TimePicker-compat): renames and code polish (microsoft#29695)
  chore: remove animation from test environments (microsoft#29692)
  applying package updates
  docs: fix defaultSelectedOptions for Dropdown and Combobox examples (microsoft#29700)
  revert accidentally pushed changes (microsoft#29696)
  Added scale factor to minHeight logic (microsoft#29653)
  Fixing the mistake in useArrowNavigationGroup - axis values in the doc (microsoft#29667)
  applying package updates
  🧪
  🧪
  🧪
  🧪
  🧪
  Rever accidentally pushed pipeline changes (microsoft#29685)
  applying package updates
  🧪
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants