Node 15 support
Node has been giving a warning for peer dependencies for a long time. Node 15 will fail on npm packages having peer dependencies, which are not installed. For this we had to remove and replace some packages, which are archived or not maintained at the moment. This makes the cli up-to-date and future proof.
Breaking changes
I18next
I18next is not supported anymore. Translations will be in the Dynamics CE recommended way: resx files.
If you need to migrate on this point, please follow migration steps below and run following command:
hso-d365 extractTranslations
For more info: extractTranslations
dlf-core package.json
This was too HSO specific code and logic. After update the programmer should check the package.json diff and reinstall dlf-core.
Fixes
Coverage fixed
Code coverage needed a node 15 compatible plugin and it was broken when cli introduced webpack 5.
Migration steps
- Update to version 2.4.2 and update
npm install -g @hso/d365-cli@2.4.2
hso-d365 update
- Update to version >2.4.2
npm install -g @hso/d365-cli@latest
hso-d365 update