Skip to content

Releases: jembi/openhim-core-js

v5.0.0

08 Feb 11:51
032f1ab
Compare
Choose a tag to compare

Version 5 release

The is version 5.0.0 of the OpenHIM which includes various bug fixes / code refactoring and dependency upgrades.

Bug Fixes

  • Fix channel filtering for non-admins
  • Handle responses without timestamps
  • Updated a metrics check that verifies the timestamp value to check that its a object (Date) instead of a number
    • Replace the verification mechanism to be instance of Date instead of type of
  • Add a shebang character to the url of the transaction link
    • Add missing ! to links
  • update the 'update' object which is checked when creating metrics so that metrics are created with mediators
  • Include time in filter dates
  • Determine user access level using channel permission groups (non-admin user can retrieve transaction body when requesting multiple transactions - reporting as no admin user)

Code Cleanup

  • Don't set secureProtocol - already supported in supported versions of Node.js
  • Remove the harmony flag for start up
  • Remove the load testing code run by Artillery
  • Remove un-used packages
  • Remove the declaration of the Log model schema as this is only used within the tests
  • Remove package script command that isnt being used
  • Remove the use of StatsD
  • Remove the out-dated Vagrant script for development

Upgrades

  • Upgrading of dependencies to latest versions. This ensures that no vulnerabilities exist within the codebase
  • Generate new test certificates
  • Added workaround for broken dependency in winston logger
  • Replace the "mongoose-patch-history" dependency with a version Jembi forked

Additional Features / Enhancements

  • Reporting utcOffset config variable for setting the timezone of the reports being generated
  • update the report template to include full timestamps
    • will vertically align the "from" and "to" timestamps of the report
    • add the "from" and "to" dates to the plain channel report template and also make the requested changes
  • Add the roadmap page to OpenHIM docs
  • Update supported Node/MongoDB versions to README

Internal Refactoring

  • Handle promise rejections asynchronously
  • Body Culling: Change the time between task running from 5 to 60 minutes
  • Don't watch for file changes in production. This is a development feature
  • Make MongoDB filter out channel audit change entries logged by the body-culling job
  • Clean up transaction status handling
  • Ensure mongo connection string is properly encoded when creating the connection
  • Ensure the test starts with a clean database to ensure the assertations are correct and valid
  • Updated the mongo options object structure to be one level up.
  • Updated mongo options to make use of the new URL parser for mongo
  • Updated the deprecated mongo functions with the appropriate alternative (.remove / .count / .insert / .ensureIndex)

OpenHIM v5.0.0-rc.2

22 Jan 13:26
e7d9af4
Compare
Choose a tag to compare
OpenHIM v5.0.0-rc.2 Pre-release
Pre-release

Release candidate version bump due to incorrectly released version

An incorrect version has been released which required this release version bump. Re-built the package-lock file to generate latest package dependencies

OpenHIM v5.0.0-rc.1

21 Jan 14:33
f5c0e30
Compare
Choose a tag to compare
OpenHIM v5.0.0-rc.1 Pre-release
Pre-release

The is a pre-release candidate for version 5.0.0 of the OpenHIM which includes various bug fixes / code refactoring and dependency upgrades.

Bug Fixes

  • Fix channel filtering for non-admins
  • Handle responses without timestamps
  • Updated a metrics check that verifies the timestamp value to check that its a object (Date) instead of a number
    • Replace the verifification mechanism to be instanceof Date instead of typeof
  • Add a shebang character to the url of the transaction link
    • Add missing ! to links
  • update the 'update' object which is checked when creating metrics so that metrics are created with mediators
  • Include time in filter dates
  • Determine user access level using channel permission groups (non-admin user can retrieve transaction body when requesting multiple transactions - reporting as no admin user)

Code Cleanup

  • Don't set secureProtocol - already supported in supported versions of Node.js
  • Remove the harmony flag for start up
  • Remove the load testing code run by Artillery
  • Remove un-used packages
  • Remove the declaration of the Log model schema as this is only used within the tests
  • Remove package script command that isnt being used
  • Remove the use of StatsD
  • Remove the out-dated Vagrant script for development

Upgrades

  • Upgrading of dependencies to latest versions. This ensures that no vulnerabilities exist within the codebase
  • Generate new test certificates
  • Added workaround for broken dependency in winston logger
  • Replace the "mongoose-patch-history" dependency with a version Jembi forked

Additional Features / Enhancements

  • Reporting utcOffset config variable for setting the timezone of the reports being generated
  • update the report template to include full timestamps
    • will vertically align the "from" and "to" timestamps of the report
    • add the "from" and "to" dates to the plain channel report template and also make the requested changes
  • Add the roadmap page to OpenHIM docs
  • Update supported Node/MongoDB versions to README

Internal Refactoring

  • Handle promise rejections asynchronously
  • Body Culling: Change the time between task running from 5 to 60 minutes
  • Don't watch for file changes in production. This is a development feature
  • Make MongoDB filter out channel audit change entries logged by the body-culling job
  • Clean up transaction status handling
  • Ensure mongo connection string is properly encoded when creating the connection
  • Ensure the test starts with a clean database to ensure the assertations are correct and valid
  • Updated the mongo options object structure to be one level up.
  • Updated mongo options to make use of the new URL parser for mongo
  • Updated the deprecated mongo functions with the appropriate alternative (.remove / .count / .insert / .ensureIndex)

OpenHIM v4.0.5

24 Aug 08:25
Compare
Choose a tag to compare

This is a patch release that fixes:

  • An issue where the NODE_ENV was not correctly passed to workers in some cases

OpenHIM v4.0.4

17 Aug 08:08
Compare
Choose a tag to compare

This is a patch release that:

  • Fixes polling channel manual triggers getting stuck in processing
  • Improves email alerting log messages

v4.0.3

26 Mar 07:43
Compare
Choose a tag to compare

Resolved bug affecting the daily reports.

v4.0.1

26 Jan 08:22
Compare
Choose a tag to compare

Updates:

Includes CentOS RPM package

(v4.0.0 release used the wrong version number in the package.json)

v4.0.0

25 Jan 14:57
Compare
Choose a tag to compare

New minor bugs fixed:

  • Display of deleted clients when creating new Channel
  • Changing Role name throws an error message
  • Unable to create Role for a Client
  • Hover over phone number help does not display helper message
  • Reset password redirecting to login
  • Fixed flaky tests

Changes:

  • Increased responsiveness of dashboard under high load
  • Add option to remove the transaction bodies for configured channels
  • Remove Q package dependency
  • Accept channel timeout
  • Modify router to use channel timeout if available
  • Modify channel to have optional timeout information
  • Allow migration of record metrics for existing transactions
  • Return new metrics

v4.0.0 release candidate 5

15 Nov 07:48
Compare
Choose a tag to compare
Pre-release

New minor Openhim release contains:

  • Update node to version 9
  • Update Travis autodeploy
  • Remove unnecessary dependencies that broke with Node upgrade
  • Add HTTP Channel type method selector feature

4.0.0-rc.4 Release Candidate 4

02 Nov 14:57
d044071
Compare
Choose a tag to compare
Pre-release

This is a new minor release of the OpenHIM. This release contains the following:

  • Add Audit-trail for changes to the endpoints.