Releases: mendix/widgets-tools
Pluggable Widgets Generator v9.24.2
Fixed
- We fixed a problem preventing typescript templates with e2e tests from being generated.
Pluggable Widgets Generator v9.24.1
Fixed
- We fixed the broken package.json templates for native and web when generating widgets without unit/e2e tests
Pluggable Widgets Tools v9.24.0
Added
-
We added support to the typings generator for the data source caption (
{caption: string}
), introduced in version 9.24.0. This feature will give widget developers the ability to display the same caption for a data source, that Mendix uses in the Page Explorer, within a widget preview. -
We've added an option to automatically migrate known libraries to versions compatible with Studio Pro 9.24
-
We added
@types/react
,@types/react-dom
and@types/react-native
as direct dependencies of the Pluggable Widgets Tools
Changed
-
We updated the Mendix package to version 9.24.2965.
-
We bumped the pinned version of TypeScript to 4.9.5.
-
We updated the typings generator for icon properties to support icon collections, introduced in Mendix 9.24.
Fixed
- We fixed the output of the typings generator for
action
properties that are specified as theonChange
action of anassociation
property. In this case, theaction
property is not exported as a separate property to the widget, but the typings suggested otherwise.
Removed
- We removed the dependency for react-hot-loader as it's not being used since Pluggable Widgets Tools v9.0.0.
Breaking changes
-
Icon properties now use
undefined
instead ofnull
when no icon is selected. This change was done for compatibility with theIcon
component in the pluggable widgets API. -
We've updated our library versions (React and React Native), please be aware this might break your widgets. New libraries versions: React: 18.0.2, React-Native: 0.70.7. This is necessary due to breaking changes introduced in Studio Pro 9.24.0.
Pluggable Widgets Generator v9.24.0
Changed
-
We've updated our templates to support the new version of Pluggable Widgets Tools containing new React and React Native versions. This is necessary due to breaking changes introduced in Studio Pro 9.24.0.
-
We've updated our templates to remove
@types/react
,@types/react-dom
and@types/react-native
from the generated widget's package.json since those dependencies will be part of the Pluggable Widgets Tools 9.24.
Pluggable Widgets Tools v9.23.2
Fixed
- We fixed an issue with jest configuration which was causing
pluggable-widgets-tools test:unit
,pluggable-widgets-tools test:unit:web
andpluggable-widgets-tools test:unit:native
to fail incorrectly.
Pluggable Widgets Tools v9.23.1
Fixed
- We fixed an issue that prevented pluggable-widgets-tools commands to execute on 9.23.0.
Pluggable Widgets Tools v9.23.0
Changed
- We updated the Mendix package to version 9.23.621.
Pluggable Widgets Tools v9.20.0
Changed
-
We updated the @author in the typings generator from
Mendix UI Content Team
toMendix Widgets Framework Team
. -
We updated babel-jest configuration to prevent warnings during unit test execution.
Added
- We added support to the typings generator for the
assignableTo
return type of an expression property, introduced in Mendix 9.20. This feature allows the expected return type of the expression to be derived from an attribute property.
Pluggable Widgets Generator v9.20.0
Changed
-
We have updated the signature of the structure mode preview function to include the Studio Pro version, which is passed in Mendix 9.20 and above (and in 9.18.3+, but not 9.19).
-
We have added support to the
DropZoneProps
type for the ability to make dropzone headers in structure mode previews optional, which was added in Mendix 9.20.
Pluggable Widgets Tools v9.18.0
Removed
- We removed
cypress
dependencies from the pluggable-widgets-tools and the scripttest:e2e
. In case if you want to continue using Cypress, please install the dependencies manually.