-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix: update package dependencies (major) #39
base: main
Are you sure you want to change the base?
Conversation
|
|
5a7ab8d
to
bef405e
Compare
9a9ad6d
to
672c2e6
Compare
bd906f1
to
fdd29f3
Compare
6973805
to
2d878f5
Compare
1f01db9
to
9aceaa9
Compare
9aceaa9
to
718384c
Compare
e914a48
to
cc967d1
Compare
34a44e1
to
23919b5
Compare
9f9578c
to
cc94bee
Compare
cc94bee
to
a7e3a72
Compare
| datasource | package | from | to | | ---------- | ---------------- | ------- | ------- | | npm | @adbayb/stack | 1.16.1 | 2.20.0 | | npm | @types/react | 18.3.12 | 19.0.10 | | npm | @types/react-dom | 18.3.1 | 19.0.4 | | npm | react | 18.3.1 | 19.0.0 | | npm | react-dom | 18.3.1 | 19.0.0 |
a7e3a72
to
c2d07b0
Compare
This PR contains the following updates:
1.16.1
->2.20.0
18.3.12
->19.0.10
18.3.1
->19.0.4
^18.3.1
->^19.0.0
^18.3.1
->^19.0.0
Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
adbayb/stack (@adbayb/stack)
v2.20.0
Compare Source
Minor Changes
b978ac8
Thanks @renovate[bot]! - Update dependencies.b978ac8
Thanks @renovate[bot]! - Updated dependency@stylistic/eslint-plugin
to^4.1.0
.Updated dependency
@vitest/eslint-plugin
to1.1.36
.Updated dependency
eslint-config-prettier
to^10.0.2
.Updated dependency
eslint-plugin-react-hooks-extra
to^1.28.0
.Updated dependency
eslint-plugin-react-web-api
to^1.28.0
.Updated dependency
turbo
to^2.4.4
.Updated dependency
typescript-eslint
to^8.25.0
.v2.19.0
Compare Source
Minor Changes
4da7c72
Thanks @adbayb! - Update template to allow private package tag and version management by Changesets.86186df
Thanks @adbayb! - Update dependencies including eslint and prettier.9ab8a09
Thanks @adbayb! -@adbayb/stack/eslint
: disable@typescript-eslint/no-unnecessary-type-arguments
rule.v2.18.0
Compare Source
Minor Changes
b4182bc
Thanks @adbayb! - Update dependencies.861fcae
Thanks @adbayb! - Update template to disable unused code editor autofix.v2.17.1
Compare Source
Patch Changes
6c844b5
Thanks @adbayb! - Fix corepack error while creating a new project.v2.17.0
Compare Source
Minor Changes
f366c38
Thanks @adbayb! - Update dependencies.v2.16.0
Compare Source
Minor Changes
89c138a
Thanks @adbayb! - Stash automatically files after fix.v2.15.0
Compare Source
Minor Changes
bb12fc2
Thanks @adbayb! - Update template to include new editor code actions (including removing unused imports).b1bf753
Thanks @adbayb! - Update dependencies.f1346b3
Thanks @adbayb! - Improve the way the package manager is enforced to avoid external contributor errors with uncompliant engine definition (e.g. proto users).Patch Changes
06abf09
Thanks @adbayb! - Use proper lifecycle step to apply stack install.c066f8e
Thanks @adbayb! - Do not add unstaged files automatically on pre-commit git hook.v2.14.0
Compare Source
Minor Changes
7c8d608
Thanks @adbayb! - Update dependencies.Patch Changes
400d90f
Thanks @adbayb! - Enable React ESLint check for js and ts extensions (for hooks checks).v2.13.0
Compare Source
Minor Changes
2e5f625
Thanks @adbayb! - Update template to not make test fails if no test file.Patch Changes
184fcc6
Thanks @adbayb! - Include missing type test file for ESLint vitest check.v2.12.0
Compare Source
Minor Changes
ef282d9
Thanks @adbayb! - Review sonar and typescript ESLint rules.Patch Changes
f8bba1c
Thanks @adbayb! - Fix prettier formatting on template files.v2.11.0
Compare Source
Minor Changes
343e0e5
Thanks @adbayb! - Configure typescript-eslint no-unused-vars to follow TypeScript noUnusedLocals behavior.949e218
Thanks @adbayb! - Update template to Git ignore Vitest type check artifact.v2.10.0
Compare Source
Minor Changes
4df72a5
Thanks @adbayb! - Enable type testing feature.v2.9.0
Compare Source
Minor Changes
f5db4d8
Thanks @adbayb! - Minor updates including:package.json
prettier plugin.b5c484b
Thanks @adbayb! - Update dependencies.v2.8.0
Compare Source
Minor Changes
6d1495c
Thanks @adbayb! - AcceptCHANGELOG.md
files to be fixed by Prettier.v2.7.0
Compare Source
Minor Changes
387517b
Thanks @adbayb! - To ease indentation readability, updatetabWidth
Prettier and Editorconfig setting from 2 spaces to 4.v2.6.2
Compare Source
Patch Changes
c00acf0
Thanks @adbayb! - Remove beginning line break for check and fix logs.v2.6.1
Compare Source
Patch Changes
fa0735e
Thanks @adbayb! - Disable Unicorn ESLint rule prefer-export-from if the export variable is already used.v2.6.0
Compare Source
Minor Changes
389cf5e
Thanks @adbayb! - Do not build examples while preparing the project.f1ca685
Thanks @adbayb! - Make git hooks installation cross platform and add feedback for currently checked files.v2.5.0
Compare Source
Minor Changes
a66d467
Thanks @adbayb! - Add ESLint rule to forbid unecessary backticks.fd6185e
Thanks @adbayb! - Addeslint-plugin-unicorn
rules.4a1a044
Thanks @adbayb! - Makeclean
command cross platform.0f6c3a3
Thanks @adbayb! - Add react-x eslint rules and update dependencies.Patch Changes
711fb0a
Thanks @adbayb! - Fix ESLint React version warning by removing sonar-react-related rules.v2.4.0
Compare Source
Minor Changes
c6840d7
Thanks @adbayb! - Update dependencies.03de63d
Thanks @adbayb! - Addeslint-plugin-depend
to foster modern alternatives based on https://github.com/es-tooling/module-replacements.v2.3.1
Compare Source
Patch Changes
c6727b1
Thanks @adbayb! - Fix flaky builds due after cleaning a project by removing turbo cached files.v2.3.0
Compare Source
Minor Changes
2465bfc
Thanks @adbayb! - Update eslint-plugin-n version and remove n/hashbang rule.v2.2.0
Compare Source
Minor Changes
ab05550
Thanks @adbayb! - Reversecreate
command order to set Node package manager first before installing dependencies.v2.1.0
Compare Source
Minor Changes
b487c31
Thanks @adbayb! - Improvecreate
command output to give more visibility on each granular steps and allow better error reporting.The installation step has been fixed as well.
Patch Changes
81b54cb
Thanks @adbayb! - Invalid created symlink formulti-projects
template.v2.0.0
Compare Source
Major Changes
513249d
Thanks @adbayb! - Encapsulate@adbayb/eslint-config
,@adbayb/prettier-config
, and@adbayb/ts-config
configurations inside@adbayb/stack
.Minor Changes
#95
513249d
Thanks @adbayb! - Update TypeScript config.moduleResolution
is now set toBundler
to allowexports
package.json field resolution.target
andmodule
are now set toESNext
to support, for example, syntaxes that can be used exclusively withESNext
module target (for example, import attributes). It should be fine since:ece28ab
Thanks @adbayb! - Addpackage.json
files check.2ad39fd
Thanks @adbayb! - Review all TSConfig rules.74da2e5
Thanks @adbayb! - Review all Prettier rules.a1aa6ca
Thanks @adbayb! - Update template to add pre-release workflow and hoist type-like package by default (to prevent such issue with, for example,tsc
runs from where the recursive command has been initiated leading to omission of recursive packages dependencies).9c647dc
Thanks @adbayb! - Update ESLint rules.4a5e303
Thanks @adbayb! - Update@adbayb/stack/eslint
to configure Node ESLint plugin.2a0b6a2
Thanks @adbayb! - Allow multiple template flavors by introducingsingle-project
andmulti-projects
templates.9478e34
Thanks @adbayb! - Update@adbayb/stack/eslint
config to useeslint-plugin-import-x
and review import configs.023d8d0
Thanks @adbayb! - Update template to use new stack modules.912a585
Thanks @adbayb! - Add and configure ESLint Stylistic.Patch Changes
513249d
Thanks @adbayb! - Fixcheck
command not being able to resolve each package dependency locally (@types/*
packages must be installed globally at the monorepo root level as a quick-and-dirty fix) by runningtsc
command locally on each package with proper current working directory resolution.facebook/react (react)
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)<Context>
to mean<Context.Provider>
(#28226 by @gaearon)info
,group
, andgroupCollapsed
in StrictMode logging (#25172 by @timneutkens)useSyncExternalStore()
hydration in StrictMode (#26791 by @sophiebits)componentWillUnmount()
in StrictMode (#26842 by @tyao1)useState()
anduseReducer()
initializer functions in StrictMode (#28248 by @eps1lon)useId()
in StrictMode (#25713 by @gnoff)act()
no longer checksshouldYield
which can be inaccurate in test environments (#26317 by @acdlite)react.element
symbol toreact.transitional.element
(#28813 by @sebmarkbage)useSyncExternalStore()
re-render (#27199 by @acdlite)useSyncExternalStore()
dropped update when state is dispatched in render phase (#25578 by @pandaiolo)RefreshRuntime.findAffectedHostInstances
(#30538 by @gaearon)cache()
API (#27977, #28250 by @acdlite and @gnoff)propTypes
(#28324, #28326 by @gaearon)defaultProps
support, except for classes (#28733 by @acdlite)createFactory
(#27798 by @kassens)React DOM
useFormStatus()
hook to provide status information of the last form submission (#26719, #26722, #26788, #29019, #28728, #28413 by @acdlite and @eps1lon)preinit
,preinitModule
,preconnect
,prefetchDNS
,preload
, andpreloadModule
APIs.Configuration
📅 Schedule: Branch creation - "* 0-3 1 * *" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.