-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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: upgrade react-aria / React 19 & Next.js 15 support #3732
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,13 +42,13 @@ | |
"dependencies": { | ||
"@nextui-org/react-utils": "workspace:*", | ||
"@nextui-org/shared-utils": "workspace:*", | ||
"@internationalized/date": "^3.5.4", | ||
"@react-aria/datepicker": "3.10.1", | ||
"@react-aria/i18n": "3.11.1", | ||
"@react-stately/datepicker": "3.9.4", | ||
"@react-types/datepicker": "3.7.4", | ||
"@react-types/shared": "3.23.1", | ||
"@react-aria/utils": "3.24.1" | ||
"@internationalized/date": "3.5.5", | ||
"@react-aria/datepicker": "3.11.2", | ||
"@react-aria/i18n": "3.12.2", | ||
"@react-stately/datepicker": "3.10.2", | ||
"@react-types/datepicker": "3.8.2", | ||
"@react-types/shared": "3.24.1", | ||
"@react-aria/utils": "3.25.2" | ||
Comment on lines
+45
to
+51
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Potential semver violation detected The PR objectives mention breaking changes (layoutNode property deprecation), but all dependency updates use minor version bumps. According to semver, breaking changes should increment the major version. Please verify:
|
||
}, | ||
"devDependencies": { | ||
"@nextui-org/system": "workspace:*", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,14 +22,8 @@ export const DateInputSegment: React.FC<DateInputSegmentProps> = ({ | |
...otherProps | ||
}) => { | ||
const ref = useRef(null); | ||
|
||
let {segmentProps} = useDateSegment(segment, state, ref); | ||
|
||
// @ts-expect-error autoCapitalize is not a valid prop | ||
// Removing autoCapitalize as it causes bugs in Firefox. | ||
// See: https://github.com/adobe/react-spectrum/issues/5599 | ||
delete segmentProps.autoCapitalize; | ||
Comment on lines
-28
to
-31
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since the |
||
|
||
return ( | ||
<div | ||
{...mergeProps(segmentProps, otherProps)} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π‘ Codebase verification
React-aria dependencies are not in sync across the workspace
The verification reveals version inconsistencies in react-aria related packages across the workspace:
@react-aria/[email protected]
, but there's an instance of3.24.1
@react-aria/focus
has both3.18.2
and3.17.1
versions@react-aria/interactions
has both3.22.2
and3.21.1
versions@react-aria/ssr
has both3.9.5
and3.9.4
versionsThese version mismatches could lead to potential compatibility issues. Consider updating all react-aria related dependencies to their latest compatible versions to maintain consistency across the workspace.
π Analysis chain
Verify completeness of react-aria upgrade.
The PR objective mentions upgrading react-aria, but only @react-types/shared is updated. Let's verify if other related dependencies need updating.
Let me generate another script to check the specific versions of react-aria related packages:
This will help us verify if there are any version mismatches or outdated packages in the workspace.
π Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 16654
Script:
Length of output: 9023