diff --git a/CHANGELOG.md b/CHANGELOG.md index d5768e5a..511d6ef8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +# [6.12.0](https://github.com/uploadcare/uploadcare-js-api-clients/compare/v6.11.1...v6.12.0) (2023-12-22) + +### Deprecations + +* `UploadcareNetworkError` is deprecated. Please use `NetworkError` instead. +* `UploadClientError` is deprecated. Please use `UploadError` instead. + +### Features + +* **api-client-utils:** add base class `UploadcareError` for the errors ([766586a](https://github.com/uploadcare/uploadcare-js-api-clients/commit/766586a0df8cdae367c74a14cceb9ae3c34dcc35)) +* **rest-client:** export `UploadcareError` and `RestClientError` from the package module ([6432653](https://github.com/uploadcare/uploadcare-js-api-clients/commit/643265303f097c3fb74d5a5733908d149ccdea6c)) +* **upload-client:** export `CancelError` from the package ([7adf799](https://github.com/uploadcare/uploadcare-js-api-clients/commit/7adf799e967c92d6421ad18341d4ca758ad45276)) +* **upload-client:** rename `UploadcareNetworkError` export to the `NetworkError`. `UploadcareNetworkError` is deprecated but still exported. ([62cc416](https://github.com/uploadcare/uploadcare-js-api-clients/commit/62cc416a09554df9dc2df3c1f0256959ccf263c9)) +* **upload-client:** rename `UploadClientError` export to the `UploadError`. `UploadClientError` is deprecated but still exported. ([7c03c3d](https://github.com/uploadcare/uploadcare-js-api-clients/commit/7c03c3d7311e9c43b360861f736dda27c1e1f140)) + + ## [6.11.1](https://github.com/uploadcare/uploadcare-js-api-clients/compare/v6.11.0...v6.11.1) (2023-12-19) diff --git a/package-lock.json b/package-lock.json index 9ff39910..ec831676 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@uploadcare/api-clients", - "version": "6.11.1", + "version": "6.12.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@uploadcare/api-clients", - "version": "6.11.1", + "version": "6.12.0", "license": "MIT", "workspaces": [ "packages/api-client-utils", @@ -12216,12 +12216,12 @@ }, "packages/api-client-utils": { "name": "@uploadcare/api-client-utils", - "version": "6.11.1", + "version": "6.12.0", "license": "MIT" }, "packages/rest-client": { "name": "@uploadcare/rest-client", - "version": "6.11.1", + "version": "6.12.0", "license": "MIT", "dependencies": { "blueimp-md5": "^2.19.0", @@ -12230,13 +12230,13 @@ "devDependencies": { "@types/blueimp-md5": "^2.18.0", "@types/node-fetch": "^2.6.2", - "@uploadcare/upload-client": "^6.11.1", + "@uploadcare/upload-client": "^6.12.0", "ts-node": "^10.8.1" } }, "packages/signed-uploads": { "name": "@uploadcare/signed-uploads", - "version": "6.11.1", + "version": "6.12.0", "license": "MIT", "devDependencies": { "ts-node": "^10.8.1" @@ -12244,7 +12244,7 @@ }, "packages/upload-client": { "name": "@uploadcare/upload-client", - "version": "6.11.1", + "version": "6.12.0", "license": "MIT", "dependencies": { "form-data": "^4.0.0", @@ -12256,7 +12256,7 @@ "@types/express-serve-static-core": "^4.17.28", "@types/koa": "2.13.4", "@types/ws": "8.5.3", - "@uploadcare/api-client-utils": "^6.11.1", + "@uploadcare/api-client-utils": "^6.12.0", "chalk": "^4.1.2", "data-uri-to-buffer": "3.0.1", "dataurl-to-blob": "0.0.1", @@ -14110,7 +14110,7 @@ "requires": { "@types/blueimp-md5": "^2.18.0", "@types/node-fetch": "^2.6.2", - "@uploadcare/upload-client": "^6.11.1", + "@uploadcare/upload-client": "^6.12.0", "blueimp-md5": "^2.19.0", "node-fetch": "^2.6.9", "ts-node": "^10.8.1" @@ -14130,7 +14130,7 @@ "@types/express-serve-static-core": "^4.17.28", "@types/koa": "2.13.4", "@types/ws": "8.5.3", - "@uploadcare/api-client-utils": "^6.11.1", + "@uploadcare/api-client-utils": "^6.12.0", "chalk": "^4.1.2", "data-uri-to-buffer": "3.0.1", "dataurl-to-blob": "0.0.1", diff --git a/package.json b/package.json index 3d62f2e7..dbcbecbc 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@uploadcare/api-clients", "private": true, "type": "module", - "version": "6.11.1", + "version": "6.12.0", "license": "MIT", "workspaces": [ "packages/api-client-utils", diff --git a/packages/api-client-utils/package.json b/packages/api-client-utils/package.json index 5f504e5e..9cf8963f 100644 --- a/packages/api-client-utils/package.json +++ b/packages/api-client-utils/package.json @@ -1,6 +1,6 @@ { "name": "@uploadcare/api-client-utils", - "version": "6.11.1", + "version": "6.12.0", "type": "module", "main": "./dist/cjs/index.browser.cjs", "module": "./dist/esm/index.browser.mjs", diff --git a/packages/api-client-utils/src/version.ts b/packages/api-client-utils/src/version.ts index 4c069ed6..a49ccea2 100644 --- a/packages/api-client-utils/src/version.ts +++ b/packages/api-client-utils/src/version.ts @@ -1 +1 @@ -export default '6.11.1' +export default '6.12.0' diff --git a/packages/rest-client/package.json b/packages/rest-client/package.json index fcfc5f0f..dd496c36 100644 --- a/packages/rest-client/package.json +++ b/packages/rest-client/package.json @@ -1,6 +1,6 @@ { "name": "@uploadcare/rest-client", - "version": "6.11.1", + "version": "6.12.0", "description": "Library for work with Uploadcare Rest API", "type": "module", "main": "./dist/cjs/index.node.cjs", @@ -56,7 +56,7 @@ "devDependencies": { "@types/blueimp-md5": "^2.18.0", "@types/node-fetch": "^2.6.2", - "@uploadcare/upload-client": "^6.11.1", + "@uploadcare/upload-client": "^6.12.0", "ts-node": "^10.8.1" }, "dependencies": { diff --git a/packages/rest-client/src/version.ts b/packages/rest-client/src/version.ts index 4c069ed6..a49ccea2 100644 --- a/packages/rest-client/src/version.ts +++ b/packages/rest-client/src/version.ts @@ -1 +1 @@ -export default '6.11.1' +export default '6.12.0' diff --git a/packages/signed-uploads/package.json b/packages/signed-uploads/package.json index 3dd39a71..ee75b851 100644 --- a/packages/signed-uploads/package.json +++ b/packages/signed-uploads/package.json @@ -1,6 +1,6 @@ { "name": "@uploadcare/signed-uploads", - "version": "6.11.1", + "version": "6.12.0", "description": "Library for work with Uploadcare Signed Uploads", "type": "module", "main": "./dist/cjs/index.node.cjs", diff --git a/packages/upload-client/package.json b/packages/upload-client/package.json index 2f78b467..3b37d46f 100644 --- a/packages/upload-client/package.json +++ b/packages/upload-client/package.json @@ -1,6 +1,6 @@ { "name": "@uploadcare/upload-client", - "version": "6.11.1", + "version": "6.12.0", "description": "Library for work with Uploadcare Upload API", "type": "module", "module": "./dist/esm/index.node.mjs", @@ -90,7 +90,7 @@ "koa-body": "5.0.0", "mock-socket": "9.0.3", "start-server-and-test": "1.14.0", - "@uploadcare/api-client-utils": "^6.11.1", + "@uploadcare/api-client-utils": "^6.12.0", "chalk": "^4.1.2" }, "dependencies": { diff --git a/packages/upload-client/src/version.ts b/packages/upload-client/src/version.ts index 4c069ed6..a49ccea2 100644 --- a/packages/upload-client/src/version.ts +++ b/packages/upload-client/src/version.ts @@ -1 +1 @@ -export default '6.11.1' +export default '6.12.0'