Nxtend Ionic React v4 includes typical quality of life fixes with dependency updates, but has some breaking changes to the API. These changes will improve the maintainability of this project and will help prepare the plugin for future capabilities. For more details on these changes, read below.
Features
- update Ionic to 5.4.1
- add
ionic.config.json
to application - update starter template
BREAKING CHANGES
- don't install and configure Cypress Testing Library
- removed
disableSanitizer
flag fromapplication
schematic
One of the major changes of this release is that @nxtend/ionic-react
will no longer add and configure Cypress Testing Library dependencies. We are big fans of the project, but maintaining the dependencies and breaking changes has become more effort than it's worth for this plugin. If you are generating a new project then I would highly recommend you configure this yourself. If you need help getting started, then please visit the official documentation.
The latest updates from the Ionic React blank starter template have also been added to the plugin.
The disableSanitizer
flag has been removed from the application
schematic. This plugin supports many permutations due to the amount of configuration options when generating an application, and as many of these permutations are end-to-end testing as much as possible. Every new option that is added increases the level of maintenance required as well as the test times, and at this point, it does not seem worth it to continue supporting the disableSanitizer
flag. The built-in Ionic sanitizer should only be disabled unless it explicitely needs to, and this process is well documented in the official Ionic documentation.
Nxtend Capacitor has also been updated, so it is recommended you update that plugin as well.
For information on upgrading the plugin, visit the nxtend upgrades documentation.
Top comments (0)