Releases: jembi/openhim-core-js
v7.1.0
What's Changed
- Fix openhim transaction status by @bradsawadye in #1148
- OHM-1052: Add Dockerfile for building core image by @MattyJ007 in #1149
- OHM-1090 Add github actions config to build and push docker image by @MattyJ007 in #1150
- Plat 249 reduce rerun time by @bradsawadye in #1165
Full Changelog: v7.0.2...v7.1.0
v7.0.2
v6.0.0-alpha.4
Bug fix and dependency update
- Fixed the audit input bug that crashed the core is non-alphanumeric characters were passed in
- Updated minor node dependencies
v7.0.1
Bug fix
Request Matching
The OpenHIM had a bug where the request HTTP method was not being considered in matching the channel to the request. Channels with the same URL pattern but different HTTP methods were being treated as the same channel, resulting in requests matching to the incorrect channels.
v6.0.0-alpha.3
Bug fix
Request Matching
The OpenHIM had a bug where the request HTTP method was not being considered in matching the channel to the request. Channels with the same URL pattern but different HTTP methods were being treated as the same channel, resulting in requests matching to the incorrect channels.
v7.0.0
Upgrade supported Node.js and dependencies
- All the outdated dependencies have been updated to remove most of the vulnerabilities
- The supported Node.js versions have been updated to
12.14 < 13 || 14.16 < 15
Upgrade note
When upgrading from Core version 5.x.x skip version 6 as that is an alpha release with experimental features.
v6.0.0-alpha.2
Upgrade supported Node.js and dependencies
- All the outdated dependencies have been updated to remove most of the vulnerabilities
- The supported Node.js versions have been updated to
12.14 < 13 || 14.16 < 15
v6.0.0-alpha.1
Routing Refactors
The routing refactoring changes made various changes to how the routing engine works within the OpenHIM. Previously, all payload messages were kept in memory while routing the transaction through to its destinations. While for small transactions this is fine when bigger transactions are processed the OpenHIM can run out of memory and cause performance issues.
The OpenHIM also had to wait for the entire message to be read into memory before continuing the routing process, and the same applies to the response. They would need to be processed completely before responding to the client.
To combat these issues, we are not reading the entire incoming/outgoing payload into memory, but instead streaming it directly into MongoDB GridFS. This also allows us to remove the body truncate limit for storing payloads as the MongoDB limit of 16mb no longer applies.
Note: Some features have been temporarily dropped while developing these refactoring changes and will be coming back in the future, proved there is still a need for them.
v5.4.2
v5.4.1
Updated dependencies + Bug fix
- All the outdated dependencies have been updated to remove most of the vulnerabilities
- A bug fix has also been applied where adding a client for channel was allowed when the clientId and role were the same, however isnt allowed and prevented the record from being updated correctly