Skip to content

Releases: hso-nn/d365-cli

Bugfixes for deployment

25 Jan 16:20
Compare
Choose a tag to compare

The hso-d365 update command resulted in invalid webpack.config.js

Update internal CLI code

10 Feb 09:30
Compare
Choose a tag to compare

Updating internal CLI code to Webpack 5, etc.
Will not affect projects.

Webpack upgrade

21 Dec 12:07
Compare
Choose a tag to compare

This update will upgrade your project to Webpack 5, Typescript 4, eslint 7 and many other package updates.
Please update @hso/d365-cli and update your project:

npm install -g @hso/d365-cli
hso-d365 update

Entity.service.ts file imported interfaces

16 Dec 10:19
Compare
Choose a tag to compare

When generating an Entity the .service.ts file had interfaces imported, which is not needed anymore

Deploy command --force option

15 Dec 14:27
Compare
Choose a tag to compare

The Deploy command skips unmodified files. Neverthelesss if you want to force unmodified files as well use the --force option.

hso-d365 deploy --force

For this verion you need to update your project. This will remove your project tools/deploy.js file.

hso-d365 update

Remove locales.resx

15 Dec 13:38
Compare
Choose a tag to compare

Removing dependencies missed removing the locales.resx file due to bug in RegEx

Webresource translation support

14 Dec 15:13
Compare
Choose a tag to compare

Webresources support translation.
You need to update your project:

hso-d365 update

Now when deploying dependencies will be set on Webresources when their related script uses Translation.

Small improvements

23 Nov 10:22
Compare
Choose a tag to compare
  • Geolocation util class
  • tsconfig.json moved to project root
  • Fix checking for enum string in update command
  • Login will show better error during login

Interfaces without need for export/import

06 Nov 10:20
Compare
Choose a tag to compare

Typescript and interfaces

In Typescript, definition files define classes, interfaces, etc and are global available. Luckily this is also the case when having interfaces and types in a Typescript file without export statements. Not exporting and importing interfaces/types is the topic of version 2.0.0.

Entity.model.ts

The x.model.ts files contained exported interfaces and types, but also enums. Enums are not typings, so they still need to be exported and imported and thus they had to be extracted to another file: x.enum.ts.

Update your project

The update command will do the project update for you. Only updating enums was too hard. That's why this is the first major release.

Major release

As mentioned above updating enums usage was too hard. That's why this is the first major release. After update the enums will miss imports. Fixing them is easy.
We recommend following steps for upgrading to 2.0.0:

npm install -g @hso/d365-cli@1.8.3
hso-d365 update
npm install -g @hso/d365-cli@latest
hso-d365 update

Then add the missing enum imports.

Tenant support

29 Oct 10:35
Compare
Choose a tag to compare

Support for tenant added.
In the crm.json you can add the "tenant" property to the "adal" config object.