Skip to content

Node 15 support

Compare
Choose a tag to compare
@nsteenbeek nsteenbeek released this 05 Feb 14:57
· 547 commits to master since this release

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

  1. Update to version 2.4.2 and update
npm install -g @hso/d365-cli@2.4.2
hso-d365 update
  1. Update to version >2.4.2
npm install -g @hso/d365-cli@latest
hso-d365 update