Skip to content

Releases: mendix/widgets-tools

Pluggable Widgets Tools v11.12.0

Choose a tag to compare

Changed

  • We replaced ts-jest with @swc/jest as the Jest transform (3–5× faster for TSX-heavy test suites) and switched the test runner from jest-jasmine2 to jest-circus.

  • Breaking: The jest-jasmine2 runner has been removed. Tests using Jasmine-specific globals (jasmine.createSpy(), jasmine.objectContaining(), etc.) will throw ReferenceError: jasmine is not defined. Replace with Jest equivalents: jest.fn(), expect.objectContaining().

  • Breaking: Consumers who extended the base config with globals['ts-jest'] options must migrate those settings to the @swc/jest transform config.

Fixed

  • We fixed an issue on Windows where the generated .mpk was missing the widget's .xml files and icon/tile PNGs.

  • We fixed an error thrown by the audit command on windows. It would fail when looking up available versions for vulnerable packages.

  • We updated the type generator to format types according to prettier. Inconsistencies would block the release command.

Pluggable Widgets Tools v11.11.0

Choose a tag to compare

Added

  • We added support for the allowUpload attribute on image properties in native widgets, generating EditableImageValue<NativeImage> when enabled, introduced in Mendix 11.11.

  • We added support for single object datasource properties, introduced in Mendix 11.11.

  • We added the audit command. It will scan the dependencies of pluggable-widgets-tools for vulnerable packages and suggest overrides. Currently only npm is supported.

Changed

  • We changed the order of imports in generated widget prop types to match that of the eslint sort-imports rule.

  • We silenced the Sass legacy JS API deprecation warning that appeared during widget bundling.

  • We updated outdated and vulnerable dependencies. This required major upgrades of several dependencies, including eslint@9, jest@30, and rollup@4.

Pluggable Widgets Generator v11.11.0

Choose a tag to compare

Changed

  • We updated the version of cypress when e2e tests are generated.

  • We renamed the initial e2e tests so they match cypress' default specPattern.

Pluggable Widgets Tools v11.8.1

Choose a tag to compare

Fixed

  • We fixed the bundling of Javascript widgets which broke in 11.6.0 after migrating to React 17's JSX Transform. (Ticket 270777)

Pluggable Widgets Tools v11.8.0

Choose a tag to compare

Added

  • We added support for editable image and file properties, introduced in Mendix 11.8.

Changed

  • We updated the Mendix package to 11.8.

Pluggable Widgets Tools v11.6.0

Choose a tag to compare

Changed

  • We upgraded the Pluggable Widgets Tools to React 19 and React Native 0.78.2. After installation upgrade all dependencies by running npm run build.

  • We updated the Mendix package to 11.6.

Pluggable Widgets Generator v11.6.0

Choose a tag to compare

Changed

  • We upgraded React to version 19 and React Native to version 0.78.2 for generated widgets.

Pluggable Widgets Tools v11.3.1

Choose a tag to compare

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-free command has been removed; use test:unit:web instead.

Changed

  • We fixed an issue where require was not transformed to import for the es output 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 widgetName in 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

Choose a tag to compare

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

Choose a tag to compare

Changed

  • We added @d11/react-native-fast-image as an external native dependency in rollup config.