diff --git a/CHANGELOG.md b/CHANGELOG.md index 15ad9ea0..e5c96c20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,35 @@ # Changelog +## [0.11.0](https://www.github.com/ethersphere/bee-js/compare/v0.10.0...v0.11.0) (2021-06-09) + +This release mainly brings internal improvements as we have attacked head-on our backlog with outstanding issues. But several changes introduce breaking changes so be aware and continue reading on! + +### 🔎 Input validation + +We implemented thorough input validation to catch problems even before sending requests to Bee and give better errors on what is wrong. + +### ⚠ BREAKING CHANGES + +- Methods `Bee.pin()`, `Bee.unpin()`, `Bee.pssSend()` now return `Promise` (#342) +- Methods `Bee.setJsonFeed()`, `SocWriter.upload()`, `FeedWriter.upload()` now return directly the reference hash (string) instead of it being wrapped in object (#341) +- The new input validation might require more thorough types specification + +### Features + +* input validation ([#343](https://www.github.com/ethersphere/bee-js/issues/343)) ([1a33932](https://www.github.com/ethersphere/bee-js/commit/1a33932233f255d7d89d8b6336ab1191f9946484)) + + +### Reverts + +* empty test data ([#339](https://www.github.com/ethersphere/bee-js/issues/339)) ([ffecd9f](https://www.github.com/ethersphere/bee-js/commit/ffecd9fbc1e2a2e8a1e9b757af6a0346b826951f)) + + +### Code Refactoring + +* no generic BeeResponse returned from Bee class ([#342](https://www.github.com/ethersphere/bee-js/issues/342)) ([d2a65ee](https://www.github.com/ethersphere/bee-js/commit/d2a65ee31b42eed70685a62085164c39caf092c0)) +* no single-property object returned ([#341](https://www.github.com/ethersphere/bee-js/issues/341)) ([572253c](https://www.github.com/ethersphere/bee-js/commit/572253c173b4acc8c2e515677f66a68c8e5076b0)) + +--- + ## [0.10.0](https://www.github.com/ethersphere/bee-js/compare/v0.9.0...v0.10.0) (2021-06-01) We would like to introduce you to a new release that brings access to other new features of `0.6.0` Bee release and several other improvements. This version is compatible with `0.6.2` version of Bee. diff --git a/package-lock.json b/package-lock.json index bc9c50c9..c9e44699 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ethersphere/bee-js", - "version": "0.10.0", + "version": "0.11.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@ethersphere/bee-js", - "version": "0.10.0", + "version": "0.11.0", "license": "BSD-3-Clause", "dependencies": { "axios": "^0.21.1", diff --git a/package.json b/package.json index b8b2f229..ec1e9383 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ethersphere/bee-js", - "version": "0.10.0", + "version": "0.11.0", "description": "Javascript client for Bee", "keywords": [ "bee",