-
Notifications
You must be signed in to change notification settings - Fork 42
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 |
22ce80f
to
5a681b4
Compare
ca1783f
to
639cd7f
Compare
8c9051c
to
9175695
Compare
9175695
to
2aeb1d4
Compare
2aeb1d4
to
63ec362
Compare
63ec362
to
fad9a9d
Compare
fad9a9d
to
0e45555
Compare
0e45555
to
dbe4b9e
Compare
dbe4b9e
to
81027cb
Compare
81027cb
to
24503fd
Compare
24503fd
to
1b77b5c
Compare
1b77b5c
to
ba67868
Compare
ba67868
to
a003bb7
Compare
a003bb7
to
5a265bf
Compare
5a265bf
to
5969e40
Compare
5969e40
to
5f7476d
Compare
5f7476d
to
27c6b36
Compare
27c6b36
to
ad7cc14
Compare
ad7cc14
to
a996bfe
Compare
a996bfe
to
17eb8c3
Compare
17eb8c3
to
a9bb5c1
Compare
a9bb5c1
to
d837edf
Compare
d837edf
to
9467aa3
Compare
9467aa3
to
79eb8d7
Compare
79eb8d7
to
f6e024b
Compare
f6e024b
to
1bfe3e7
Compare
1bfe3e7
to
02afa86
Compare
02afa86
to
dc73db3
Compare
dc73db3
to
63dc3ed
Compare
63dc3ed
to
163467f
Compare
163467f
to
c0b22ff
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.0
6.11.8
->7.6.2
1.3.0
->2.0.5
Release Notes
testing-library/react-testing-library (@testing-library/react)
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
.Co-authored-by: Matan Borenkraout matanbobi@gmail.com
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
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
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 has been generated by Mend Renovate. View repository job log here.