Version 3
This release contains major updates to dependencies (TypeScript, Angular, IDS Enterprise Components and more). It also contains a new (experimental) way of signing in to multi-tenant environments during development.
See Changelog for more info.
Upgrading
Existing projects can be updated with ng update
. The process may differ depending on how the project is set up, and what other dependencies are installed. For a typical project using the IDS Angular Components, the following should do most of the work:
ng update @infor-up/m3-odin @infor-up/m3-odin-angular @angular/core@9 @angular/cli@9 ids-enterprise-ng codelyzer [email protected]
Don't forget to install the latest @infor-up/m3-odin-cli
.
The IDS Angular Components may require changes to angular.json
. See https://github.com/infor-design/enterprise-ng/blob/master/docs/QUICKSTART.md
Further update instructions are given by the ng update
command and https://update.angular.io/
You may also need to install NodeJS 12.x (LTS).
Features
- cli: New
experimental-login
command for multi-tenant login - angular: Possibility to configure
IonApiService
using the injectableIonApiConfig
Bug fixes
- angular:
IonApiService
no longer usesXMLHttpRequest.withCredentials
by default. This was causing CORS issues in some environments #41 - cli: The development proxy will not forward CSRF requests and headers when proxying M3 requests to ION API.
- cli: The development proxy will modify the Origin header so that POST requests are accepted by ION API.
Dependency updates
- cli: Upgrade to Angular 9
- cli: Requires NodeJS 12.x (LTS)
- cli: No longer uses
node-sass
, which was not working on newer NodeJS versions.
BREAKING CHANGES
There have been major version updates to many dependencies. These require NodeJS 12.x (LTS) to be installed.
The IDS Angular Components require changes to angular.json
to properly fetch assets, styles and scripts. New projects will not need to be changed, but older ones do. See Upgrading section above.