Skip to content

Releases: mendix/widgets-tools

Pluggable Widgets Generator v9.24.2

09 Jun 11:53
Compare
Choose a tag to compare

Fixed

  • We fixed a problem preventing typescript templates with e2e tests from being generated.

Pluggable Widgets Generator v9.24.1

03 Apr 15:40
Compare
Choose a tag to compare

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

31 Mar 14:22
Compare
Choose a tag to compare

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 the onChange action of an association property. In this case, the action 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 of null when no icon is selected. This change was done for compatibility with the Icon 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

31 Mar 14:24
Compare
Choose a tag to compare

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

07 Mar 13:24
Compare
Choose a tag to compare

Fixed

  • We fixed an issue with jest configuration which was causing pluggable-widgets-tools test:unit, pluggable-widgets-tools test:unit:web and pluggable-widgets-tools test:unit:native to fail incorrectly.

Pluggable Widgets Tools v9.23.1

03 Mar 15:45
Compare
Choose a tag to compare

Fixed

  • We fixed an issue that prevented pluggable-widgets-tools commands to execute on 9.23.0.

Pluggable Widgets Tools v9.23.0

01 Mar 16:02
Compare
Choose a tag to compare

Changed

  • We updated the Mendix package to version 9.23.621.

Pluggable Widgets Tools v9.20.0

13 Dec 08:40
Compare
Choose a tag to compare

Changed

  • We updated the @author in the typings generator from Mendix UI Content Team to Mendix 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

13 Dec 08:40
Compare
Choose a tag to compare

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

28 Oct 15:12
Compare
Choose a tag to compare

Removed

  • We removed cypress dependencies from the pluggable-widgets-tools and the script test:e2e. In case if you want to continue using Cypress, please install the dependencies manually.