diff --git a/.changeset/chatty-lizards-stare.md b/.changeset/chatty-lizards-stare.md deleted file mode 100644 index 16c292fe..00000000 --- a/.changeset/chatty-lizards-stare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'better-ajv-errors': patch ---- - -Bump ws from 5.2.2 to 5.2.3 diff --git a/.changeset/cuddly-seas-walk.md b/.changeset/cuddly-seas-walk.md deleted file mode 100644 index 941ed418..00000000 --- a/.changeset/cuddly-seas-walk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'better-ajv-errors': patch ---- - -Bump tar from 4.4.10 to 4.4.19 diff --git a/.changeset/dirty-mugs-punch.md b/.changeset/dirty-mugs-punch.md deleted file mode 100644 index e1125899..00000000 --- a/.changeset/dirty-mugs-punch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'better-ajv-errors': patch ---- - -Bump path-parse from 1.0.6 to 1.0.7 diff --git a/.changeset/grumpy-hats-work.md b/.changeset/grumpy-hats-work.md deleted file mode 100644 index 59c7a2be..00000000 --- a/.changeset/grumpy-hats-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'better-ajv-errors': patch ---- - -Bump tmpl from 1.0.4 to 1.0.5 diff --git a/.changeset/honest-baboons-occur.md b/.changeset/honest-baboons-occur.md deleted file mode 100644 index a845151c..00000000 --- a/.changeset/honest-baboons-occur.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/honest-guests-destroy.md b/.changeset/honest-guests-destroy.md deleted file mode 100644 index 5a8023da..00000000 --- a/.changeset/honest-guests-destroy.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -'better-ajv-errors': major ---- - -:package: better-ajv-errors v1 - -### Breaking Changes - -- Dropped support for Node.js `< 12.13.0` -- Default import in CommonJS format no longer supported - - **:no_entry_sign: Wrong** - - ```js - const betterAjvErrors = require('better-ajv-errors'); - ``` - - **:white_check_mark: Correct** - - ```js - 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`)_ - - https://github.com/atlassian/better-ajv-errors/pull/101#issuecomment-963129931 -- Bumped all `dependencies` & `devDependencies` diff --git a/.changeset/new-beans-speak.md b/.changeset/new-beans-speak.md deleted file mode 100644 index 26e7691b..00000000 --- a/.changeset/new-beans-speak.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'better-ajv-errors': major ---- - -:nail_care: Improve typings and add test -### Breaking Changes - -- New TypeScript types are not fully backward compatible diff --git a/.changeset/nice-seals-chew.md b/.changeset/nice-seals-chew.md deleted file mode 100644 index a845151c..00000000 --- a/.changeset/nice-seals-chew.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/ninety-hats-pay.md b/.changeset/ninety-hats-pay.md deleted file mode 100644 index 840375bc..00000000 --- a/.changeset/ninety-hats-pay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'better-ajv-errors': patch ---- - -Bump color-string from 1.5.3 to 1.6.0 diff --git a/.changeset/rude-sloths-heal.md b/.changeset/rude-sloths-heal.md deleted file mode 100644 index a845151c..00000000 --- a/.changeset/rude-sloths-heal.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/smart-jars-compete.md b/.changeset/smart-jars-compete.md deleted file mode 100644 index a845151c..00000000 --- a/.changeset/smart-jars-compete.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/spotty-swans-pump.md b/.changeset/spotty-swans-pump.md deleted file mode 100644 index 8d22b9e7..00000000 --- a/.changeset/spotty-swans-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'better-ajv-errors': patch ---- - -Bump lodash from 4.17.10 to 4.17.21 diff --git a/.changeset/ten-lemons-end.md b/.changeset/ten-lemons-end.md deleted file mode 100644 index ea6abe5f..00000000 --- a/.changeset/ten-lemons-end.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'better-ajv-errors': patch ---- - -Bump browserslist from 4.7.0 to 4.17.6 diff --git a/.changeset/tender-schools-approve.md b/.changeset/tender-schools-approve.md deleted file mode 100644 index a845151c..00000000 --- a/.changeset/tender-schools-approve.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/CHANGELOG.md b/CHANGELOG.md index 0edd8318..2b32f47b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,53 @@ # better-ajv-errors +## 1.0.0 + +### Major Changes + +- 146a859: :package: better-ajv-errors v1 + + ### Breaking Changes + + - Dropped support for Node.js `< 12.13.0` + - Default import in CommonJS format no longer supported + + **:no_entry_sign: Wrong** + + ```js + const betterAjvErrors = require('better-ajv-errors'); + ``` + + **:white_check_mark: Correct** + + ```js + 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`)_ + - https://github.com/atlassian/better-ajv-errors/pull/101#issuecomment-963129931 + - Bumped all `dependencies` & `devDependencies` + +- ad60e6b: :nail_care: 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 + ## 0.8.2 ### Patch Changes diff --git a/package.json b/package.json index d4a45919..3d6421f2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "better-ajv-errors", - "version": "0.8.2", + "version": "1.0.0", "description": "JSON Schema validation for Human", "repository": "atlassian/better-ajv-errors", "main": "./lib/cjs/index.js",