Skip to content

Releases: atlassian/better-ajv-errors

v1.2.0

12 Apr 08:31
Compare
Choose a tag to compare

Minor Changes

  • 3918d58: Add integration with ajv-errors

Patch Changes

  • 6120105: Remove for...in loop to prevent possible enumeration errors

v1.1.2

26 Nov 16:40
Compare
Choose a tag to compare

Patch Changes

v1.1.1

19 Nov 03:47
Compare
Choose a tag to compare

Patch Changes

  • 7c83bf6: πŸ› Fix cli return type

v1.1.0

13 Nov 10:45
Compare
Choose a tag to compare

Minor Changes

  • ade58e0: πŸ“¦ Swap json-to-ast with momoa

    json-to-ast momoa
    Small JSON 23B 254,556 ops/sec 329,012 ops/sec
    Medium JSON 55KB 226 ops/sec 246 ops/sec
    Large JSON 25MB 0.19 ops/sec 0.29 ops/sec

Patch Changes

  • abee681: πŸ“¦ Restrict leven version to < 4

    leven@4 only ships esm module which is not compatible with this library.

v1.0.0

10 Nov 14:04
Compare
Choose a tag to compare

Major Changes

  • 146a859: πŸ“¦ better-ajv-errors v1

    Breaking Changes

    • Dropped support for Node.js < 12.13.0

    • Default import in CommonJS format no longer supported

      🚫 Wrong

      const betterAjvErrors = require('better-ajv-errors');

      βœ… Correct

      const betterAjvErrors = require('better-ajv-errors').default;
      // Or
      const { default: betterAjvErrors } = require('better-ajv-errors');

    Other Changes

    • Added ESM support
    • Moved from babel to esbuild (99% faster build: from 2170ms to 20ms)
    • Bumped all dependencies & devDependencies
  • ad60e6b: πŸ’… Improve typings and add test

    Breaking Changes

    • New TypeScript types are not fully backward compatible

Patch Changes

  • 768ce0f: Bump ws from 5.2.2 to 5.2.3
  • dc45eb7: Bump tar from 4.4.10 to 4.4.19
  • 5ef7b1e: Bump path-parse from 1.0.6 to 1.0.7
  • 3ef2bbc: Bump tmpl from 1.0.4 to 1.0.5
  • 46b57d3: Bump color-string from 1.5.3 to 1.6.0
  • d568784: Bump lodash from 4.17.10 to 4.17.21
  • e71f114: Bump browserslist from 4.7.0 to 4.17.6

v0.8.2

07 Nov 16:41
Compare
Choose a tag to compare

Patch Changes

v0.8.1

07 Nov 16:09
Compare
Choose a tag to compare

Patch Changes

v0.8.0

03 Nov 12:56
Compare
Choose a tag to compare

Minor Changes

v0.7.0

06 Jan 16:29
Compare
Choose a tag to compare

Minor Changes

  • 4e6e4c7: Support json option to get accurate line/column listings

better-ajv-errors@0.6.7

21 Sep 17:45
Compare
Choose a tag to compare

Patch Changes

  • 234c01d: Handle primitive values in EnumValidationError