Releases: mendix/widgets-tools
Pluggable Widgets Tools v11.3.1
Breaking changes
- We removed Enzyme testing library and associated dependencies from pluggable-widgets-tools. Tests using Enzyme should be updated to use React Testing Library. See the migration guide for more information. The
test:unit:web:enzyme-freecommand has been removed; usetest:unit:webinstead.
Changed
-
We fixed an issue where
requirewas not transformed toimportfor theesoutput format which could result in an error when the widget was used in a project with React client enabled. -
We now enforce the same validation for the
widgetNamein the widget bundler as we do in the generator. Validation is now also enforced for the organization name (packagePath).
Pluggable Widgets Generator v11.3.1
Changed
-
We migrated the generated unit tests to use React Testing Library instead of enzyme.
-
We changed the copyright prompt to prefill the current year.
-
We now enforce validation when choosing an organization name for a widget.
Pluggable Widgets Tools v11.3.0
Changed
- We added @d11/react-native-fast-image as an external native dependency in rollup config.
Pluggable Widgets Tools v10.24.0
Changed
-
We migrated to pnpm as our package manager. Users of the widgets tools should be able to continue using their package manager of choice.
-
We updated React Native to version 0.77.3 to align with the Native Widgets project requirements.
-
We updated Jest configuration for React Native testing to use the recommended preset and removed Enzyme support for improved compatibility and performance.
Pluggable Widgets Generator v10.24.0
Changed
-
We upgraded React Native to version 0.77.3 for generated widgets.
-
We updated the required Node.js version to 20 or newer for the generator and generated widget projects.
-
We switched from Enzyme to React Native Testing Library for generated widget tests.
Pluggable Widgets Tools v10.21.2
Changed
- We fixed an issue with unit tests failing when files contain modern JavaScript features.
Pluggable Widgets Tools v10.21.1
Added
- We added enzyme-free unit test command in scripts.
Pluggable Widgets Generator v10.15.1
Changed
- We improved the startup time when using the generator with
npx.
Fixed
- We fixed the error message when attempting to generate a widget in a non-empty directory. (Issue #123)
Security
- We updated dependencies to recent security patches.
Pluggable Widgets Tools v10.21.0
Added
- We added support for action variables, introduced in Mendix 10.21.
Changed
- We updated the Mendix package to 10.21.64362.
Pluggable Widgets Tools v10.18.2
Fixed
- We fixed an issue with loading custom rollup configs.