-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Update all dependencies (major) #4677
base: main
Are you sure you want to change the base?
Conversation
Here's the code health analysis summary for commits Analysis Summary
|
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.
Great job, @renovate[bot]! 🎉 Thank you for submitting your pull request to CodeHarborHub. We appreciate your contribution and enthusiasm! Our team will review it soon. If you have any questions or need further assistance, feel free to reach out. Thanks for contributing!
⚡️ Lighthouse Report for the Deploy Preview of this PR 🚀🔗 Site: CodeHarborHub | Live Site
|
ef2533b
to
f56326c
Compare
|
This PR contains the following updates:
^18.3.9
->^19.0.0
^18.3.0
->^19.0.0
^4.18.2
->^5.0.0
14
->22
^18.0.0
->^19.0.0
^18.0.0
->^19.0.0
^3.4.12
->^4.0.0
Release Notes
expressjs/express (express)
v5.1.0
Compare Source
========================
Uint8Array
inres.send()
res.sendFile()
res.links()
setprototypeof
safe-buffer
utils-merge
methods
depd
debug@^4.4.0
body-parser@^2.2.0
router@^2.2.0
content-type@^1.0.5
finalhandler@^2.1.0
qs@^6.14.0
[email protected]
[email protected]
v5.0.1
Compare Source
==========
cookie
semver lock to address CVE-2024-47764v5.0.0
Compare Source
=========================
path-is-absolute
dependency - usepath.isAbsolute
insteadres.status()
accepts only integers, and input must be greater than 99 and less than 1000RangeError: Invalid status code: ${code}. Status code must be greater than 99 and less than 1000.
for inputs outside this rangeTypeError: Invalid status code: ${code}. Status code must be an integer.
for non integer inputsres.redirect('back')
andres.location('back')
is no longer a supported magic string, explicitly usereq.get('Referrer') || '/'
.res.clearCookie
will ignore user providedmaxAge
andexpires
optionsapplication/javascript
=>text/javascript
actions/node-versions (node)
v22.14.0
: 22.14.0Compare Source
Node.js 22.14.0
v22.13.1
: 22.13.1Compare Source
Node.js 22.13.1
v22.13.0
: 22.13.0Compare Source
Node.js 22.13.0
v22.12.0
: 22.12.0Compare Source
Node.js 22.12.0
v22.11.0
: 22.11.0Compare Source
Node.js 22.11.0
v22.10.0
: 22.10.0Compare Source
Node.js 22.10.0
v22.9.0
: 22.9.0Compare Source
Node.js 22.9.0
v22.8.0
: 22.8.0Compare Source
Node.js 22.8.0
v22.7.0
: 22.7.0Compare Source
Node.js 22.7.0
v22.6.0
: 22.6.0Compare Source
Node.js 22.6.0
v22.5.1
: 22.5.1Compare Source
Node.js 22.5.1
v22.5.0
: 22.5.0Compare Source
Node.js 22.5.0
v22.4.1
: 22.4.1Compare Source
Node.js 22.4.1
v22.4.0
: 22.4.0Compare Source
Node.js 22.4.0
v22.3.0
: 22.3.0Compare Source
Node.js 22.3.0
v22.2.0
: 22.2.0Compare Source
Node.js 22.2.0
v22.1.0
: 22.1.0Compare Source
Node.js 22.1.0
v22.0.0
: 22.0.0Compare Source
Node.js 22.0.0
v20.19.0
: 20.19.0Compare Source
Node.js 20.19.0
v20.18.3
: 20.18.3Compare Source
Node.js 20.18.3
v20.18.2
: 20.18.2Compare Source
Node.js 20.18.2
v20.18.1
: 20.18.1Compare Source
Node.js 20.18.1
v20.18.0
: 20.18.0Compare Source
Node.js 20.18.0
v20.17.0
: 20.17.0Compare Source
Node.js 20.17.0
v20.16.0
: 20.16.0Compare Source
Node.js 20.16.0
v20.15.1
: 20.15.1Compare Source
Node.js 20.15.1
v20.15.0
: 20.15.0Compare Source
Node.js 20.15.0
v20.14.0
: 20.14.0Compare Source
Node.js 20.14.0
v20.13.1
: 20.13.1Compare Source
Node.js 20.13.1
v20.13.0
: 20.13.0Compare Source
Node.js 20.13.0
v20.12.2
: 20.12.2Compare Source
Node.js 20.12.2
v20.12.1
: 20.12.1Compare Source
Node.js 20.12.1
v20.12.0
: 20.12.0Compare Source
Node.js 20.12.0
v20.11.1
: 20.11.1Compare Source
Node.js 20.11.1
v20.11.0
: 20.11.0Compare Source
Node.js 20.11.0
v20.10.0
: 20.10.0Compare Source
Node.js 20.10.0
v20.9.0
: 20.9.0Compare Source
Node.js 20.9.0
v20.8.1
: 20.8.1Compare Source
Node.js 20.8.1
v20.8.0
: 20.8.0Compare Source
Node.js 20.8.0
v20.7.0
: 20.7.0Compare Source
Node.js 20.7.0
v20.6.1
: 20.6.1Compare Source
Node.js 20.6.1
v20.6.0
: 20.6.0Compare Source
Node.js 20.6.0
v20.5.1
: 20.5.1Compare Source
Node.js 20.5.1
v20.5.0
: 20.5.0Compare Source
Node.js 20.5.0
v20.4.0
: 20.4.0Compare Source
Node.js 20.4.0
v20.3.1
: 20.3.1Compare Source
Node.js 20.3.1
v20.3.0
: 20.3.0Compare Source
Node.js 20.3.0
v20.2.0
: 20.2.0Compare Source
Node.js 20.2.0
v20.1.0
: 20.1.0Compare Source
Node.js 20.1.0
v20.0.0
: 20.0.0Compare Source
Node.js 20.0.0
v18.20.8
: 18.20.8Compare Source
Node.js 18.20.8
v18.20.7
: 18.20.7Compare Source
Node.js 18.20.7
v18.20.6
: 18.20.6Compare Source
Node.js 18.20.6
v18.20.5
: 18.20.5Compare Source
Node.js 18.20.5
v18.20.4
: 18.20.4Compare Source
Node.js 18.20.4
v18.20.3
: 18.20.3Compare Source
Node.js 18.20.3
v18.20.2
: 18.20.2Compare Source
Node.js 18.20.2
v18.20.1
: 18.20.1Compare Source
Node.js 18.20.1
v18.20.0
: 18.20.0Compare Source
Node.js 18.20.0
v18.19.1
: 18.19.1Compare Source
Node.js 18.19.1
v18.19.0
: 18.19.0Compare Source
Node.js 18.19.0
v18.18.2
: 18.18.2Compare Source
Node.js 18.18.2
v18.18.1
: 18.18.1Compare Source
Node.js 18.18.1
v18.18.0
: 18.18.0Compare Source
Node.js 18.18.0
v18.17.1
: 18.17.1Compare Source
Node.js 18.17.1
v18.17.0
: 18.17.0Compare Source
Node.js 18.17.0
v18.16.1
: 18.16.1Compare Source
Node.js 18.16.1
v18.16.0
: 18.16.0Compare Source
Node.js 18.16.0
v18.15.0
: 18.15.0Compare Source
Node.js 18.15.0
v18.14.2
: 18.14.2Compare Source
Node.js 18.14.2
v18.14.1
: 18.14.1Compare Source
Node.js 18.14.1
v18.14.0
: 18.14.0Compare Source
Node.js 18.14.0
v18.13.0
: 18.13.0Compare Source
Node.js 18.13.0
v18.12.1
: 18.12.1Compare Source
Node.js 18.12.1
v18.12.0
: 18.12.0Compare Source
Node.js 18.12.0
v18.11.0
: 18.11.0Compare Source
Node.js 18.11.0
v18.10.0
: 18.10.0Compare Source
Node.js 18.10.0
v18.9.1
: 18.9.1Compare Source
Node.js 18.9.1
v18.9.0
: 18.9.0Compare Source
Node.js 18.9.0
v18.8.0
: 18.8.0Compare Source
Node.js 18.8.0
v18.7.0
: 18.7.0Compare Source
Node.js 18.7.0
v18.6.0
: 18.6.0Compare Source
Node.js 18.6.0
v18.5.0
: 18.5.0Compare Source
Node.js 18.5.0
v18.4.0
: 18.4.0Compare Source
Node.js 18.4.0
v18.3.0
: 18.3.0Compare Source
Node.js 18.3.0
v18.2.0
: 18.2.0Compare Source
Node.js 18.2.0
v18.1.0
: 18.1.0Compare Source
Node.js 18.1.0
v18.0.0
: 18.0.0Compare Source
Node.js 18.0.0
v16.20.2
: 16.20.2Compare Source
Node.js 16.20.2
v16.20.1
: 16.20.1Compare Source
Node.js 16.20.1
v16.20.0
: 16.20.0Compare Source
Node.js 16.20.0
v16.19.1
: 16.19.1Compare Source
Node.js 16.19.1
v16.19.0
: 16.19.0Compare Source
Node.js 16.19.0
v16.18.1
: 16.18.1Compare Source
Node.js 16.18.1
v16.18.0
: 16.18.0Compare Source
Node.js 16.18.0
v16.17.1
: 16.17.1Compare Source
Node.js 16.17.1
v16.17.0
: 16.17.0Compare Source
Node.js 16.17.0
v16.16.0
: 16.16.0Compare Source
Node.js 16.16.0
v16.15.1
: 16.15.1Compare Source
Node.js 16.15.1
v16.15.0
: 16.15.0Compare Source
Node.js 16.15.0
v16.14.2
: 16.14.2Compare Source
Node.js 16.14.2
v16.14.1
: 16.14.1Compare Source
Node.js 16.14.1
v16.14.0
: 16.14.0Compare Source
Node.js 16.14.0
v16.13.2
: 16.13.2Compare Source
Node.js 16.13.2
v16.13.1
: 16.13.1Compare Source
Node.js 16.13.1
v16.13.0
: 16.13.0Compare Source
Node.js 16.13.0
v16.12.0
: 16.12.0Compare Source
Node.js 16.12.0
v16.11.1
: 16.11.1Compare Source
Node.js 16.11.1
v16.11.0
: 16.11.0Compare Source
Node.js 16.11.0
v16.10.0
: 16.10.0Compare Source
Node.js 16.10.0
v16.9.1
: 16.9.1Compare Source
Node.js 16.9.1
v16.9.0
: 16.9.0Compare Source
Node.js 16.9.0
v16.8.0
: 16.8.0Compare Source
Node.js 16.8.0
v16.7.0
: 16.7.0Compare Source
Node.js 16.7.0
v16.6.2
: 16.6.2Compare Source
Node.js 16.6.2
v16.6.1
: 16.6.1Compare Source
Node.js 16.6.1
v16.6.0
: 16.6.0Compare Source
Node.js 16.6.0
v16.5.0
: 16.5.0Compare Source
Node.js 16.5.0
v16.4.2
: 16.4.2Compare Source
Node.js 16.4.2
v16.4.1
: 16.4.1Compare Source
Node.js 16.4.1
v16.4.0
: 16.4.0Compare Source
Node.js 16.4.0
v16.3.0
: 16.3.0Compare Source
Node.js 16.3.0
v16.2.0
: 16.2.0Compare Source
Node.js 16.2.0
v16.1.0
: 16.1.0Compare Source
Node.js 16.1.0
v16.0.0
: 16.0.0Compare Source
Node.js 16.0.0
facebook/react (react)
v19.1.0
Compare Source
v19.0.0
Compare Source
Below is a list of all new features, APIs, deprecations, and breaking changes. Read React 19 release post and React 19 upgrade guide for more information.
New Features
React
startTransition
can now accept async functions. Functions passed tostartTransition
are called “Actions”. A given Transition can include one or more Actions which update state in the background and update the UI with one commit. In addition to updating state, Actions can now perform side effects including async requests, and the Action will wait for the work to finish before finishing the Transition. This feature allows Transitions to include side effects likefetch()
in the pending state, and provides support for error handling, and optimistic updates.useActionState
: is a new hook to order Actions inside of a Transition with access to the state of the action, and the pending state. It accepts a reducer that can call Actions, and the initial state used for first render. It also accepts an optional string that is used if the action is passed to a formaction
prop to support progressive enhancement in forms.useOptimistic
: is a new hook to update state while a Transition is in progress. It returns the state, and a set function that can be called inside a transition to “optimistically” update the state to expected final value immediately while the Transition completes in the background. When the transition finishes, the state is updated to the new value.use
: is a new API that allows reading resources in render. In React 19,use
accepts a promise or Context. If provided a promise,use
will suspend until a value is resolved.use
can only be used in render but can be called conditionally.ref
as a prop: Refs can now be used as props, removing the need forforwardRef
.React DOM Client
<form> action
prop: Form Actions allow you to manage forms automatically and integrate withuseFormStatus
. When a<form> action
succeeds, React will automatically reset the form for uncontrolled components. The form can be reset manually with the newrequestFormReset
API.<button> and <input> formAction
prop: Actions can be passed to theformAction
prop to configure form submission behavior. This allows using different Actions depending on the input.useFormStatus
: is a new hook that provides the status of the parent<form> action
, as if the form was a Context provider. The hook returns the values:pending
,data
,method
, andaction
.<head>
section of the document.<head>
on the client before revealing the content of a Suspense boundary that depends on that stylesheet.preinit
,preload
,prefetchDNS
, andpreconnect
APIs to optimize initial page loads by moving discovery of additional resources like fonts out of stylesheet loading. They can also be used to prefetch resources used by an anticipated navigation.React DOM Server
prerender
andprerenderToNodeStream
APIs for static site generation. They are designed to work with streaming environments like Node.js Streams and Web Streams. UnlikerenderToString
, they wait for data to load for HTML generation.React Server Components
Deprecations
element.ref
access: React 19 supports ref as a prop, so we’re deprecatingelement.ref
in favor ofelement.props.ref
. Accessing will result in a warning.react-test-renderer
: In React 19, react-test-renderer logs a deprecation warning and has switched to concurrent rendering for web usage. We recommend migrating your tests to @testing-library/react or @testing-library/react-nativeBreaking Changes
React 19 brings in a number of breaking changes, including the removals of long-deprecated APIs. We recommend first upgrading to
18.3.1
, where we've added additional deprecation warnings. Check out the upgrade guide for more details and guidance on codemodding.React
onUncaughtError
andonCaughtError
methods tocreateRoot
andhydrateRoot
to customize this error handling.propTypes
: UsingpropTypes
will now be silently ignored. If required, we recommend migrating to TypeScript or another type-checking solution.defaultProps
for functions: ES6 default parameters can be used in place. Class components continue to supportdefaultProps
since there is no ES6 alternative.contextTypes
andgetChildContext
: Legacy Context for class components has been removed in favor of thecontextType
API.React.createFactory
: Now that JSX is broadly supported, allcreateFactory
usage can be migrated to JSX components.react-test-renderer/shallow
: This has been a re-export of react-shallow-renderer since React 18. If needed, you can continue to use the third-party package directly. We recommend using @testing-library/react or @testing-library/react-native instead.React DOM
react-dom/test-utils
: We’ve movedact
fromreact-dom/test-utils
to react. All other utilities have been removed.ReactDOM
.render
,ReactDOM
.hydrate
: These have been removed in favor of the concurrent equivalents:ReactDOM
.createRoot
andReactDOM.hydrateRoot
.unmountComponentAtNode
: Removed in favor ofroot.unmount()
.ReactDOM
.findDOMNode
: You can replaceReactDOM
.findDOMNode
with DOM Refs.Notable Changes
React
<Context>
as a provider: You can now render<Context>
as a provider instead of<Context.Provider>
.useDeferredValue
initial value argument: When provided,useDeferredValue
will return the initial value for the initial render of a component, then schedule a re-render in the background with thedeferredValue
returned.useMemo
anduseCallback
will now reuse the memoized results from the first render, during the second render. Additionally, StrictMode will now double-invoke ref callback functions on initial mount.React DOM
TypeScript Changes
The most common changes can be codemodded with
npx types-react-codemod@latest preset-19 ./path-to-your-react-ts-files
.ReactChild
(replacement:React.ReactElement | number | string)
ReactFragment
(replacement:Iterable<React.ReactNode>
)ReactNodeArray
(replacement:ReadonlyArray<React.ReactNode>
)ReactText
(replacement:number | string
)VoidFunctionComponent
(replacement:FunctionComponent
)VFC
(replacement:FC
)prop-types
:Requireable
,ValidationMap
,Validator
,WeakValidationMap
create-react-class
:ClassicComponentClass
,ClassicComponent
,ClassicElement
,ComponentSpec
,Mixin
,ReactChildren
,ReactHTML
,ReactSVG
,SFCFactory
useRef
: The initial argument is now required to matchuseState
,createContext
etcuseRef()
are now always mutable instead of sometimes being immutable. This feature was too confusing for users and conflicted with legit cases where refs were managed by React and manually written to.ReactElement
typing: The props of React elements now default tounknown
instead ofany
if the element is typed asReactElement
JSX
namespace is removed to improve interoperability with other libraries using JSX. Instead, the JSX namespace is available from the React package:import { JSX } from 'react'
useReducer
typings: MostuseReducer
usage should not require explicit type arguments.For example,
All Changes
React
useActionState()
hook to update state based on the result of a Form Action (#27270, #27278, #27309, #27302, #27307, #27366, #27370, #27321, #27374, #27372, #27397, #27399, #27460, #28557, #27570, #27571, #28631, #28788, #29694, #29695, #29694, #29665, #28232, #28319 by @acdlite, @eps1lon, and @rickhanlonii)use()
API to read resources in render (#25084, #25202, #25207, #25214, #25226, #25247, #25539, #25538, #25537, #25543, #25561, #25620, #25615, #25922, #25641, #25634, #26232, #26536, #26739, #28233 by @acdlite, @MofeiZ, @sebmarkbage, @sophiebits, @eps1lon, and @hansottowirtz)useOptimistic()
hook to display mutated state optimistically during an async mutation (#26740, #26772, #27277, #27453, #27454, #27936 by @acdlite)initialValue
argument touseDeferredValue()
hook (#27500, #27509, #27512, #27888, #27550 by @acdlite)element.ref
access (#28348, #28464, #28731 by @acdlite)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.