Releases: birdofpreyru/react-utils
Releases · birdofpreyru/react-utils
v1.35.2
- [#346] Exports
BaseButton
(the base, non-themed version of Button component). - [#351] Patch of snapshot() method in Jest Utils.
- [#349][#350] Updates of dependencies, and documentation .
v1.35.1
- [#345] Jest utils: Improves snapshot() implementation.
- Update of dependencies.
v1.35.0
Breaking Change
- Changes the way Jest Utils are exported from the library (see their updated documentation for details).
v1.34.1
- Improves
exports
declaration inpackage.json
.
v1.34.0
Breaking Changes
-
The following methods are removed from Jest Utils because of deprecations and recommendations associated with the upcoming React v19 release:
-
.render() — Migrate to render() provided by @testing-library/react.
-
.shallowRender() and .shallowSnapshot() — avoid shallow rendering in tests.
-
.simulate — Migrate to @testing-library/user-event, or the lower-level fireEvent provided by @testing-library/dom.
-
-
For the same reason the .snapshot() method from Jest Utils changed its behavior (snapshots a different render representation of provided element, requires & modifies a virtual DOM in test environment, returns a different representation of provided element).
Other Updates
- Update of dependencies.
- In particular, React v18.2.0 ⇒ v18.3.1 (pay attention to release notes for v18.3.0).
v1.33.4
- CustomDropdown, Dropdown, Switch — Updated typings to allow for number values.
- Updates dependencies.
v1.33.3
- Minor fix of server-side utils export & typings.
v1.33.2
v1.33.1
v1.33.0
Breaking Changes
- [#334] CustomDropdown: Patched to stop propagation of all events handled by the component.
- Update of css-loader to v7.0.0 might be potentially breaking (although, the Webpack config provided by react-utils have been updated to avoid such breaking changes).
Other Updates
- Updates dependencies.