-
Notifications
You must be signed in to change notification settings - Fork 45
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 react dependencies (major) #1094
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/major-react-dependencies
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
20 times, most recently
from
October 27, 2022 16:39
22ce80f
to
5a681b4
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
9 times, most recently
from
November 4, 2022 08:46
ca1783f
to
639cd7f
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
October 11, 2024 14:26
a206cd2
to
f8d688a
Compare
github-actions
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
October 11, 2024 14:26
f8d688a
to
97399ca
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
October 21, 2024 16:57
97399ca
to
ad68522
Compare
github-actions
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
October 21, 2024 16:57
ad68522
to
70d557c
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
October 22, 2024 08:13
70d557c
to
2570b24
Compare
github-actions
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
October 22, 2024 08:13
2570b24
to
166212a
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
October 22, 2024 10:47
166212a
to
7926511
Compare
github-actions
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
October 22, 2024 10:47
7926511
to
2f2e5d8
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
October 30, 2024 19:30
2f2e5d8
to
0ea8922
Compare
github-actions
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
October 30, 2024 19:30
0ea8922
to
a2bd5a4
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 4, 2024 16:54
a2bd5a4
to
bdf8d81
Compare
github-actions
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 4, 2024 16:55
bdf8d81
to
2f744e7
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 4, 2024 23:33
2f744e7
to
5a20237
Compare
github-actions
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 4, 2024 23:34
5a20237
to
2998c1a
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 5, 2024 07:54
2998c1a
to
57cf4ca
Compare
github-actions
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 5, 2024 07:55
57cf4ca
to
172b726
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 6, 2024 08:20
172b726
to
256b553
Compare
github-actions
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 6, 2024 08:20
256b553
to
8ac1e0a
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 12, 2024 13:06
8ac1e0a
to
1ac80f0
Compare
github-actions
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 12, 2024 13:08
1ac80f0
to
34f40fa
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 13, 2024 10:53
34f40fa
to
59f55b7
Compare
github-actions
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 13, 2024 10:55
59f55b7
to
6407d08
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 18, 2024 08:04
6407d08
to
9ebdcc7
Compare
github-actions
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 18, 2024 08:05
9ebdcc7
to
c7fd2b1
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 22, 2024 08:39
c7fd2b1
to
bfc7bd9
Compare
github-actions
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 22, 2024 08:40
bfc7bd9
to
612fdca
Compare
renovate
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 22, 2024 17:44
612fdca
to
d74e6f1
Compare
github-actions
bot
force-pushed
the
renovate/major-react-dependencies
branch
from
November 22, 2024 17:45
d74e6f1
to
35ad4e1
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
13.4.0
->16.0.1
4.6.0
->5.0.0
3.1.0
->4.1.0
6.11.8
->7.6.2
1.3.0
->2.0.5
6.16.0
->7.0.1
Release Notes
testing-library/react-testing-library (@testing-library/react)
v16.0.1
Compare Source
v16.0.0
Compare Source
Features
@testing-library/dom
and@types/react-dom
to peer dependencies (#1305) (a4744fa)BREAKING CHANGES
@testing-library/dom
was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of@testing-library/dom
installed that frequently caused bugs when used with@testing-library/user-event
. We will also be able to allow new versions of@testing-library/dom
being used without a SemVer major release of@testing-library/react
by just widening the peer dependency.@types/react-dom
needs to be installed if you're typechecking files using@testing-library/react
.v15.0.7
Compare Source
v15.0.6
Compare Source
v15.0.5
Compare Source
v15.0.4
Compare Source
v15.0.3
Compare Source
Bug Fixes
document
(#1304) (067d0c6)v15.0.2
Compare Source
v15.0.1
Compare Source
v15.0.0
Compare Source
v14.3.1
Compare Source
Bug Fixes
v14.3.0
Compare Source
v14.2.2
Compare Source
v14.2.1
Compare Source
Bug Fixes
v14.2.0
Compare Source
Features
reactStrictMode
option to enable strict mode render (#1241) (0880eba)v14.1.2
Compare Source
Bug Fixes
v14.1.1
Compare Source
Bug Fixes
v14.1.0
Compare Source
Features
v14.0.0
Compare Source
Bug Fixes
Features
@testing-library/dom
to 9.0.0 (#1177) (6653c23)BREAKING CHANGES
facebook/react (eslint-plugin-react-hooks)
v5.0.0
Compare Source
_Button
or_component
are no longer valid. (@kassens) in #25162useActionState
stable. (@eps1lon in #29665)as
expression in callback. (@StyleShit in #28202)as
expressions in deps array. (@StyleShit in #28189)React.use()
the same asuse()
. (@kassens in #27769)use()
lint to non-experimental. (@kassens in #27768)as
expressions. (@cpojer in #27590)useEffect(fn, undefined)
. (@kassens in #27525)useEvent
touseEffectEvent
. (@sebmarkbage in #25881)useEvent
functions in dependency lists. (@poteto in #25512)useEvent
references instead. (@poteto in #25319)RulesOfHooks
withuseEvent
rules. (@poteto in #25285)v4.6.2
Compare Source
v4.6.1
Compare Source
zpao/qrcode.react (qrcode.react)
v4.1.0
Compare Source
Added
boostLevel
prop, allowing the disabling of the underlying encoder's default of automatically boosting the ECL. (#374)value
, which enables encoding of each part into independent segments. (#374)v4.0.1
Compare Source
Fixed
"moduleResolution": "Bundler"
or"module": "ESNext"
. (#368)v4.0.0
Compare Source
Added
ref
, enabling direct access for underlyingcanvas
orsvg
nodes. This also resulted in much more accurate type defitions. (#202)marginSize
prop, replacing the now deprecatedincludeMargin
. This enables margins of any value, not just0
or4
. (#281)imageSettings.opacity
(#292)minVersion
prop to give better control over QR Code generated (#323)cross-origin
for embedded images viaimageSettings.crossOrigin
. (#324)Changed
QRCodeSVG
by rendering a<title>
node instead of setting atitle
attribute. (#284)role
set on rendered SVG and Canvas. (#321)Deprecated
includeMargin
prop has been deprecated in favor ofmarginSize
. (#281)Removed
style
prop. This still works identically as it was passed through and the type definitions are unaffected as they were improved via theref
changes (#357)Fixed
href
in place ofxlink:href
for embedded images. (#336)v3.2.0
Compare Source
Fixed
Changed
@deprecated
JSDoc to default export for additional visibility in editors to TypeScript users.jbetancur/react-data-table-component (react-data-table-component)
v7.6.2
Compare Source
What's Changed
Full Changelog: jbetancur/react-data-table-component@v7.6.1...v7.6.2
v7.6.1
Compare Source
What's Changed
Full Changelog: jbetancur/react-data-table-component@v7.6.0...v7.6.1
v7.6.0
Compare Source
What's Changed
New Contributors
Full Changelog: jbetancur/react-data-table-component@v7.5.4...v7.6.0
v7.5.4
Compare Source
Fixes #1154 - thank you @HendrikPetertje !
v7.5.3
Compare Source
Fixes
v7.5.2
Compare Source
Fixes
setState
or useState hooks withinonSort
v7.5.1
Compare Source
Features
onSort
v7.5.0
Compare Source
Features
v7.4.7
Compare Source
v7.4.6
Compare Source
Bug Fixes
Maintenance
v7.4.5
Compare Source
🥃 Features 🥃
selectableRowsSingle
should now work withselectableRowSelected
, however if you have more than one match only the first match will be selected.v7.4.4
Compare Source
🥃 Features 🥃
ExpanderComponentProps
TypeScript type. You can now:v7.4.3
Compare Source
🐞 Fixes 🐞
TypeError: Attempting to change configurable attribute of unconfigurable
on thedata
prop for certain use casesv7.4.2
Compare Source
🐞 Fixes 🐞
onSelectedRowsChange
no longer causes infinite loop when updating tabledata
withinonSelectedRowsChange
expandableRowsComponent
typesv7.4.1
Compare Source
🐞 Fixes 🐞
createTheme
no longer requires an inherited themev7.4.0
Compare Source
🥃 Features 🥃
lodash.orderBy
has been removed and replaced with native sorting.lodash
was a bit heavy weight as a dependency (the bundle should be smaller now) and slower than native sort in some of our performance tests (basically negligible). If you want really miss thelodash.orderBy
sorting behavior you can installlodash
yourself and use sortFunction to re-implementorderBy
.🐞 Fixes 🐞
createTheme
you may now specify one of the default themes to inherit from. This is useful if you only need to tweak a thing or 2 in each theme. See the custom theming for more detailsv7.3.1
Compare Source
🐞 Fixes 🐞
v7.3.0
Compare Source
🥃 New Features 🥃
🐞 Fixes 🐞
data
changes. Sort behavior should now be preservedv7.2.1
Compare Source
🐞 Fixes 🐞
column.name
is a componentv7.2.0
Compare Source
🐞 Fixes 🐞
TableRow
. This should no longer be the case.v7.1.0
Compare Source
🥃 New Features 🥃
v7.0.2
Compare Source
🐞 Fixes 🐞
v7.0.1
Compare Source
🐞 Bug Fixes 🐞
defaultSortFieldId
now works properlyIDataTableRow
(which is nowTableRow
to make migrating from v6 to v7 easier🥃 New Features 🥃
TableRow
type📜 Documentation 📜
🏡 Housekeeping 🏡
TypeScript Projects with React Data Table
React Data Table is built with TypeScript so typings are buit in. Let's implement React Data Table in a TypeScript project:
First, we'll need to define our data type (or interface):
Alternatively, if you want to define
DataRow
as an interface you will need to extend the built inTableRow
type:Next, we can create our columns.
TableColumn
is an interface representing a column definition that takes a generic parameter. By passingTableColumn<DataRow>[]
we now have access to ourdataRow
props on any property in our tablecolumns
for any propery that accesses our data:Finally, we can implement our TypeScript component that uses
DataTable
:Alternatively, if you prefer using
React.FC
:Putting it all together:
v7.0.0
Compare Source
After several long months Version 7.0.0 is now available. The most notable change is that RDT 7 has been ported over to TypeScript which as it turns out resolved a number of bugs both unknown and long standing. This however, introduced some breaking changes to the API which are noted below. Also RDT v7 introduces several new features such as draggable columns, single row selection and the ability to pass props to expander components as well as vastly improved documentation.
Thank you all for your patience and to those that contributed PR's and/or feedback!
🔥 🔥 BREAKING CHANGES 🔥 🔥
expandableRowsComponent
no longer accepts JSX and must now be passed in as a function/class. e.g.:GOOD:
expandableRowsComponent={MyExpander}
BAD:
expandableRowsComponent={<MyExpander />}
sortFunction
prop signature has changed, This was necessary because RDT is moving to function only selectors which are more flexible and performant. Additionally, this allows the API user greater control over how they sort. See the README for details Custom Sort Function.defaultSortfField
is nowdefaultSortFieldId
where you use a column ID instead of a name.If you do not assign an
id
to each of your column definitions RDT will add a number basedid
starting with 1,2,3,...overflowY
andoverflowYOffset
have been removed from the API as they were problematic when usingfixedHeader
. These were originally created to deal menu overlays that did not use dynamic positioning - causing a menu to be truncated at the bottom of the table. Most UI libraries should support dynamically positioned menus, but in any case this is no longer the responsibility of RDT to manage.🥃 🥃 New Features 🥃 🥃
selectableRowsSingle
. If you want to change the built in checkbox to a radio button you can passselectableRowsComponentProps={{ type: 'radio' }}
or pass in your own custom/ui library Radio button using bothselectableRowsComponent
andselectableRowsComponentProps
expandableRowsComponentProps
now allows you to pass extra props to your customexpandableRowsComponent
.🐞 🐞 Fixes 🐞 🐞
fixedHeader
scroll bar no longer offsets table columns. Note thatfixedHeader
relies on browsers that support sticky positioning.conditionalCells
andconditionalRows
sortServer
should now disable internal sorting as it did in v6fixedHeader
only show scroll bars when neededfontWeight
when using custom styles in headCellssortFunction
and pagination together would result in broken sorting. This is now fixed.📜📜 Documentation 📜📜
👋 👋 Deprecations 👋 👋
row => row.name
. This not only allows for typing but also no longer requires an expensive regex/reduce function to loop through a row to "get' the propstaylor/react-helmet-async (react-helmet-async)
v2.0.5
Compare Source
v2.0.4
Compare Source
v2.0.3
Compare Source
v2.0.2
Compare Source
v2.0.1
Compare Source
v2.0.0
Compare Source
remix-run/react-router (react-router-dom)
v7.0.1
Compare Source
Patch Changes
react-router@7.0.1
v7.0.0
Compare Source
Major Changes
Remove the original
defer
implementation in favor of using raw promises via single fetch andturbo-stream
. This removes these exports from React Router: (#11744)defer
AbortedDeferredError
type TypedDeferredData
UNSAFE_DeferredData
UNSAFE_DEFERRED_SYMBOL
,Use
createRemixRouter
/RouterProvider
inentry.client
instead ofRemixBrowser
(#11469)Remove single_fetch future flag. (#11522)
Remove
future.v7_startTransition
flag (#11696)Remove
future.v7_normalizeFormMethod
future flag (#11697)Allow returning
undefined
from actions and loaders (#11680)update minimum node version to 18 (#11690)
Remove
future.v7_prependBasename
from the ionternalized@remix-run/router
package (#11726)Remove
future.v7_throwAbortReason
from internalized@remix-run/router
package (#11728)Add
exports
field to all packages (#11675)node package no longer re-exports from react-router (#11702)
updates the minimum React version to 18 (#11689)
future.v7_partialHydration
flag (#11725)<RouterProvider fallbackElement>
propfallbackElement
to ahydrateFallbackElement
/HydrateFallback
on your root routefuture.v7_partialHydration
(when usingfallbackElement
),state.navigation
was populated during the initial loadfuture.v7_partialHydration
,state.navigation
remains in an"idle"
state during the initial loadRemove
future.v7_fetcherPersist
flag (#11731)Minor Changes
Link
/NavLink
when using Remix SSR (#11402)ScrollRestoration
so it can restore properly on an SSR'd document load (#11401)RouterProvider
. When running from a Remix-SSR'd HTML payload with the properwindow
variables (__remixContext
,__remixManifest
,__remixRouteModules
), you don't need to pass arouter
prop andRouterProvider
will create therouter
for you internally. (#11396) (#11400)Patch Changes
RouterProvider
internals to reduce uneccesary re-renders (#11817)react-router@7.0.0
v6.28.0
Compare Source
Minor Changes
json
/defer
in favor of returning raw objectsPatch Changes
react-router@6.28.0
@remix-run/router@1.21.0
v6.27.0
Compare Source
v6.26.2
Compare Source
v6.26.1
Compare Source
v6.26.0
Compare Source
Minor Changes
replace(url, init?)
alternative toredirect(url, init?)
that performs ahistory.replaceState
instead of ahistory.pushState
on client-side navigation redirects (#11811)Patch Changes
future.v7_partialHydration
along withunstable_patchRoutesOnMiss
(#11838)router.state.matches
will now include any partial matches so that we can render ancestorHydrateFallback
components@remix-run/router@1.19.0
react-router@6.26.0
v6.25.1
Compare Source
Patch Changes
RouterProvider
internals to reduce unnecessary re-renders (#11803)react-router@6.25.1
v6.25.0
Compare Source
Minor Changes
Stabilize
future.unstable_skipActionErrorRevalidation
asfuture.v7_skipActionErrorRevalidation
(#11769)Response
with a4xx
/5xx
status codeshouldRevalidate
shouldRevalidate
'sunstable_actionStatus
parameter toactionStatus
Patch Changes
react-router@6.25.0
@remix-run/router@1.18.0
v6.24.1
Compare Source
Patch Changes
polyfill.io
reference from warning message because the domain was sold and has since been determined to serve malware (#11741)NavLinkRenderProps
type for easier typing of customNavLink
callback (#11553)@remix-run/router@1.17.1
react-router@6.24.1
v6.24.0
Compare Source
Minor Changes
Add support for Lazy Route Discovery (a.k.a. Fog of War) (#11626)
unstable_patchRoutesOnMiss
docs: https://reactrouter.com/en/main/routers/create-browser-routerPatch Changes
fetcher.submit
types - remove incorrectnavigate
/fetcherKey
/unstable_viewTransition
options because they are only relevant foruseSubmit
(#11631)location.state
values passed to<StaticRouter>
(#11495)react-router@6.24.0
@remix-run/router@1.17.0
v6.23.1
Compare Source
Patch Changes
document
existence when checkingstartViewTransition
(#11544)react-router-dom/server
import back toreact-router-dom
instead ofindex.ts
(#11514)@remix-run/router@1.16.1
react-router@6.23.1
v6.23.0
Compare Source
Minor Changes
unstable_dataStrategy
configuration option (#11098)Patch Changes
@remix-run/router@1.16.0
react-router@6.23.0
v6.22.3
Compare Source
Patch Changes
@remix-run/router@1.15.3
react-router@6.22.3
v6.22.2
Compare Source
Patch Changes
@remix-run/router@1.15.2
react-router@6.22.2
v6.22.1
Compare Source
v6.22.0
Compare Source
Minor Changes
window__reactRouterVersion
tag for CWV Report detection (#11222)Patch Changes
@remix-run/router@1.15.0
react-router@6.22.0
v6.21.3
Compare Source
Patch Changes
NavLink
isPending
when abasename
is used (#11195)unstable_
prefix fromBlocker
/BlockerFunction
types (#11187)react-router@6.21.3
v6.21.2
Compare Source
v6.21.1
Compare Source
Patch Changes
react-router@6.21.1
@remix-run/router@1.14.1
v6.21.0
Compare Source
Minor Changes
Add a new
future.v7_relativeSplatPath
flag to implement a breaking bug fix to relative routing when inside a splat route. (#11087)This fix was originally added in [#10983](https://redi
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 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.