Releases: welldone-software/why-did-you-render
Releases · welldone-software/why-did-you-render
Minor update
- Updated all packages, besides eslint (8->9) because it was a pretty big update. I might do it later.
- Fix #286 - set defaultProps to undefined when it's not present in the original to not have the warning "Support for defaultProps will be removed from function components in a future major release" by @Hypnosphi. Thank you!
- Readme updates by myself @vzaidman and @sergeylaptev. Thank you!
v8.0.1
Breaking changes
- Now only support
React 18
since it differs quite a lot from previous versions when monkey patching. by @vzaidman- For older versions use @^7
- Renamed the internal property that checks if React is monkey patched from
React.isWDYR
toReact.__IS_WDYR__
by @vzaidman
Non-breaking changes
- Add support for
useSyncExternalStore
by @iamakulov in #283 - Updated all packages to latest versions and adjusted tests, builds and dev server
- no more
yarn audit
vulnerabilities by @vzaidman
- no more
Docs updates
- Smaller logo in README.md by @alex-page in #248
- Add an example for using named imports with trackExtraHooks by @xepozz in #245
- fix simple typos by @lpmi-13 in #282
- Fix sentence by @busybox11 in #275
New Contributors
- @alex-page made their first contribution in #248
- @xepozz made their first contribution in #245
- @iamakulov made their first contribution in #283
- @lpmi-13 made their first contribution in #282
- @busybox11 made their first contribution in #275
v8.0.0
v7.0.1
- fixed the reference to React 18 in
peerDependencies
inpackage.json
. Thank you @jussikinnula!
React 18
- Added support to React 18! Thank you @jussikinnula!
- Upgraded all packages
- Improved race conditions in E2E tests that caused them to fail in the latest Chrome versions
- It also made the tests clearer and faster
maintenance
- Update all packages
- Fixed tests for new versions
- Fixed eslint for new versions
- Added some TS types. Thank you @bduff9.
- Improved the readme