Skip to content

Releases: UN-OCHA/hpc-api-core

Add more utility methods

25 Jun 08:55
7963527
Compare
Choose a tag to compare
  • Introduce project deleting util method, that also allows deleting projects with multiple versions (#119)
  • Add utility method getProjectVersionImplementationStatus (#150)

Remove entitiesAssociation model and its usages

07 Jun 12:35
9228e3a
Compare
Choose a tag to compare

⚠️ BREAKING CHANGES ⚠️

  • Remove entitiesAssociation model (#147)
  • Refactor getAndValidateAllPlanEntities() to stop relying on removed entitiesAssociation model (#147)

Full Changelog: v7.7.0...v8.0.0

Add `isCommentPublic` field to `measurement` model

13 May 10:09
0e47bc1
Compare
Choose a tag to compare
  • Add isCommentPublic to measurement model (#145)

Full Changelog: v7.6.0...v7.7.0

New `legacy` model and change to `planEntity` model

23 Apr 15:33
9ce00ca
Compare
Choose a tag to compare
  • Add legacy model (#132)
  • Remove 'delete' option from endpointLog edit types (#143)
  • Add parentGoverningEntityId field to planEntity model (#144)

Respect provided `version` and allow skipping validation

11 Mar 15:46
509f4e5
Compare
Choose a tag to compare

Respect provided version and allow skipping validation (#140)

Add `visibilityPreferences` to `planVersion` model

06 Mar 09:20
abaa2b4
Compare
Choose a tag to compare

Add visibilityPreferences to planVersion model (#137)

Add new permissions for project comments

05 Mar 14:59
85eaf74
Compare
Choose a tag to compare
  • Add new permissions for project comments (#136)
  • Setup unit tests with Jest and Docker (#26)

Changing models to support new OCT bridges

16 Feb 10:58
bd0865c
Compare
Choose a tag to compare
  • Introduced new OCT System IDs (OCT-CERF, OCT-CBPF and OCT-OCHA) to externalData model (138)
  • Introduced lookup model to support new OCT bridges (138)
  • Added v4 definition to existing reportDetail and reportFile model (138)
  • Changed externalReference model (138)

Improvements for deletion

21 Nov 11:18
33756b1
Compare
Choose a tag to compare

⚠️ BREAKING CHANGES ⚠️

  • Method createToken() has renamed its models parameter to database, in order to standardize with other similar usages

This release is focused on improving deletion of plans and entities in auth tables.

  • Add new permission DELETE_ANY_PLAN, which is granted to HPC and RPM admins
  • Allow to provide a transaction to authGrant.create and authGrant.update. This method is heavily-reliant on changes happening in transaction that we now enable specifying external transaction object
  • Introduce auth target deletion util method deleteAuthTarget() and deprecate direct usage of authTarget.destroy()

Upgrade to Node.js v20

02 Nov 13:45
9aeb13a
Compare
Choose a tag to compare

⚠️ BREAKING CHANGES ⚠️

  • Minimal supported Node.js 18 version is raised to >=18.18.2 (#131)

Other changes

  • Minimal supported Node.js 20 version is >=20.9.0 (#131)
  • Minimal supported NPM 10 version is >=10.2.2 (#131)
  • Package pg got updated to v8.11.3 (#131)