Releases: infor-cloud/m3-h5-sdk
7.1.0
7.0.0
6.0.0
5.0.0
4.0.0
3.0.2
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 typescript@3.8
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.
3.0.0-next.5
Note: Pre-releases may be unstable and contain unknown breaking changes. There may be breaking changes between this pre-release and the next stable release. Use for testing purposes only.
Bug fixes
IonApiService
no longer usesXMLHttpRequest.withCredentials
by default. This should resolve a CORS issue in some environments. #42 #41
Features
IonApiService
can now be configured with theIonApiConfig
injection token. This can be used to for instance force it to usewithCredentials
. See https://github.com/infor-cloud/m3-h5-sdk#-ion-api-configuration
3.0.0-next.4
Note: Pre-releases may be unstable and contain unknown breaking changes. There may be breaking changes between this pre-release and the next stable release. Use for testing purposes only.
Bug fixes
- The proxy will set the
Origin
header to the same as the proxy target. This should prevent an error where ION API would reject POST requests with an invalid Origin header. #18
3.0.0-next.3
Note: Pre-releases may be unstable and contain unknown breaking changes. There may be breaking changes between this pre-release and the next stable release. Use for testing purposes only.
Bug fixes
- Samples and new projects uses a relative path to fetch
assets/...
. The previous/assets/...
path would lead to 404 errors in deployed applications.