Skip to content

Commit

Permalink
chore: release v5.0.0 (#432)
Browse files Browse the repository at this point in the history
* chore: release v5.0.0

* Update CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aleksandr Grenishin <[email protected]>
  • Loading branch information
3 people authored Sep 13, 2022
1 parent 292531e commit 95ecfcc
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 18 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# [5.0.0](https://github.com/uploadcare/uploadcare-js-api-clients/compare/v4.3.1...v5.0.0) (2022-09-13)


* refactor(upload-client)!: drop `multipartMaxAttempts` option ([178436e](https://github.com/uploadcare/uploadcare-js-api-clients/commit/178436e83c956a2b428e11bc4d76af27b627bcdb))


### Features

* **api-client-utils:** add `UploadcareNetworkError` ([0e917d2](https://github.com/uploadcare/uploadcare-js-api-clients/commit/0e917d29cfeb151c2484d89d5b69ba9eafaf31e9))
* **upload-client:** add `retryNetworkErrorMaxTimes` option to specify retries count on network errors ([400fedd](https://github.com/uploadcare/uploadcare-js-api-clients/commit/400fedd0e4a143ca4a18cf79d7b1385e797396a8))
* **upload-client:** throw `UploadcareNetworkError` instead of `Error` ([f7e3f55](https://github.com/uploadcare/uploadcare-js-api-clients/commit/f7e3f55626e047e214bce0d18e4ff34fc7445509))


### BREAKING CHANGES

* option `multipartMaxAttempts` is dropped. Use `retryNetworkErrorMaxTimes` instead. It will affect all the requests, not only multipart uploads.



## [4.3.1](https://github.com/uploadcare/uploadcare-js-api-clients/compare/v4.3.0...v4.3.1) (2022-08-24)


Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@uploadcare/api-clients",
"private": true,
"type": "module",
"version": "4.3.1",
"version": "5.0.0",
"license": "MIT",
"workspaces": [
"packages/api-client-utils",
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uploadcare/api-client-utils",
"version": "4.3.1",
"version": "5.0.0",
"type": "module",
"main": "dist/index.browser.js",
"module": "dist/index.browser.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client-utils/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '4.3.1'
export default '5.0.0'
4 changes: 2 additions & 2 deletions packages/rest-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uploadcare/rest-client",
"version": "4.3.1",
"version": "5.0.0",
"description": "Library for work with Uploadcare Rest API",
"type": "module",
"module": "./dist/index.node.js",
Expand Down Expand Up @@ -37,7 +37,7 @@
"keywords": ["uploadcare", "file", "rest", "api"],
"devDependencies": {
"@types/blueimp-md5": "^2.18.0",
"@uploadcare/upload-client": "^4.3.1",
"@uploadcare/upload-client": "^5.0.0",
"ts-node": "^10.8.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/rest-client/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '4.3.1'
export default '5.0.0'
4 changes: 2 additions & 2 deletions packages/upload-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uploadcare/upload-client",
"version": "4.3.1",
"version": "5.0.0",
"description": "Library for work with Uploadcare Upload API",
"type": "module",
"module": "./dist/index.node.js",
Expand Down Expand Up @@ -65,7 +65,7 @@
"koa-body": "5.0.0",
"mock-socket": "9.0.3",
"start-server-and-test": "1.14.0",
"@uploadcare/api-client-utils": "^4.3.1",
"@uploadcare/api-client-utils": "^5.0.0",
"chalk": "^4.1.2"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/upload-client/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '4.3.1'
export default '5.0.0'

0 comments on commit 95ecfcc

Please sign in to comment.