Skip to content

v11.0.0 Release

Compare
Choose a tag to compare
@mdebarros mdebarros released this 14 May 09:59
· 29 commits to master since this release
df4528f

Changes

  • feat(2151)!: helm-release-v12.1.0
    • Updated dependencies
    • Added lint scripts to package.json
    • Updated standard to use ts-standard
    • Updated type definitions to match latest prom-client changes
    • Standardised tsconfig
    • Updated unit tests and fixed code-coverage
    • Major version bump

BREAKING CHANGE: Metrics.getMetricsForPrometheus is now an async function and returns a Promise<string>. The following error will be displays when hitting a /metrics on existing Mojaloop services (e.g. Central-Ledger) end-point if the promise is not handled (awaited):

{
    "errorInformation": {
        "errorCode": "2001",
        "errorDescription": "Internal server error - Cannot wrap a promise"
    }
}