diff --git a/.changeset/cuddly-fans-drum.md b/.changeset/cuddly-fans-drum.md deleted file mode 100644 index f9e01eae..00000000 --- a/.changeset/cuddly-fans-drum.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@vocab/cli': patch ---- - -Remove unused dependency on `form-data` npm package diff --git a/.changeset/great-poems-explode.md b/.changeset/great-poems-explode.md deleted file mode 100644 index dec15a96..00000000 --- a/.changeset/great-poems-explode.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@vocab/phrase': patch ---- - -Update user-agent when calling Phrase to reference Vocab repository diff --git a/.changeset/strange-candles-develop.md b/.changeset/strange-candles-develop.md deleted file mode 100644 index d8ce60df..00000000 --- a/.changeset/strange-candles-develop.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@vocab/phrase': patch ---- - -Fix forbidden errors when pushing translations - -Migrate from `form-data` npm package to the native [Node FormData class](https://nodejs.org/api/globals.html#class-formdata) to ensure compatibility with the earlier move to native Fetch. - -Mixing the two was causing some consumers to receive 503 Forbidden errors when pushing translations to Phrase. diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index bd0a328b..9e8a9c4d 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,14 @@ # @vocab/cli +## 2.0.1 + +### Patch Changes + +- [#254](https://github.com/seek-oss/vocab/pull/254) [`17cc753`](https://github.com/seek-oss/vocab/commit/17cc7536d148030607cd047314388571a08c9810) Thanks [@jahredhope](https://github.com/jahredhope)! - Remove unused dependency on `form-data` npm package + +- Updated dependencies [[`f0b80de`](https://github.com/seek-oss/vocab/commit/f0b80de146d1a4c565bda0302ef53b0e07657559), [`17cc753`](https://github.com/seek-oss/vocab/commit/17cc7536d148030607cd047314388571a08c9810)]: + - @vocab/phrase@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index a1ef1009..4fe24562 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@vocab/cli", - "version": "2.0.0", + "version": "2.0.1", "repository": { "type": "git", "url": "https://github.com/seek-oss/vocab.git", diff --git a/packages/phrase/CHANGELOG.md b/packages/phrase/CHANGELOG.md index bec1f369..457385b7 100644 --- a/packages/phrase/CHANGELOG.md +++ b/packages/phrase/CHANGELOG.md @@ -1,5 +1,17 @@ # @vocab/phrase +## 2.0.1 + +### Patch Changes + +- [#255](https://github.com/seek-oss/vocab/pull/255) [`f0b80de`](https://github.com/seek-oss/vocab/commit/f0b80de146d1a4c565bda0302ef53b0e07657559) Thanks [@jahredhope](https://github.com/jahredhope)! - Update user-agent when calling Phrase to reference Vocab repository + +- [#254](https://github.com/seek-oss/vocab/pull/254) [`17cc753`](https://github.com/seek-oss/vocab/commit/17cc7536d148030607cd047314388571a08c9810) Thanks [@jahredhope](https://github.com/jahredhope)! - Fix forbidden errors when pushing translations + + Migrate from `form-data` npm package to the native [Node FormData class](https://nodejs.org/api/globals.html#class-formdata) to ensure compatibility with the earlier move to native Fetch. + + Mixing the two was causing some consumers to receive 503 Forbidden errors when pushing translations to Phrase. + ## 2.0.0 ### Major Changes @@ -69,12 +81,15 @@ const vocabConfig = { devLanguage: 'en', - language: ['en', 'fr'], + language: ['en', 'fr'] }; await pull( - { branch: 'myBranch', errorOnNoGlobalKeyTranslation: true }, - vocabConfig, + { + branch: 'myBranch', + errorOnNoGlobalKeyTranslation: true + }, + vocabConfig ); ``` @@ -215,10 +230,13 @@ const vocabConfig = { devLanguage: 'en', - language: ['en', 'fr'], + language: ['en', 'fr'] }; - await push({ branch: 'myBranch', deleteUnusedKeys: true }, vocabConfig); + await push( + { branch: 'myBranch', deleteUnusedKeys: true }, + vocabConfig + ); ``` ### Patch Changes diff --git a/packages/phrase/package.json b/packages/phrase/package.json index ce9c89e7..20973420 100644 --- a/packages/phrase/package.json +++ b/packages/phrase/package.json @@ -1,6 +1,6 @@ { "name": "@vocab/phrase", - "version": "2.0.0", + "version": "2.0.1", "repository": { "type": "git", "url": "https://github.com/seek-oss/vocab.git",