From e928f6d792beade9eeb0e9f406ef84970fa10abb Mon Sep 17 00:00:00 2001 From: bee-worker <70210089+bee-worker@users.noreply.github.com> Date: Thu, 28 Jul 2022 15:43:11 +0200 Subject: [PATCH] chore(master): release 5.0.0 (#744) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Adam Uhlíř --- CHANGELOG.md | 39 +++++++++++++++++++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 42 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 363cacd6..ad047be1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,45 @@ # Changelog +## [5.0.0](https://github.com/ethersphere/bee-js/compare/v4.1.1...v5.0.0) (2022-07-28) + +This is a breaking release that brings support for Bee 1.7 and cleans up some long awaiting breaking changes that we had lined up: + +- We have removed interfaces `DebugPostageBatch` (for `PostageBatch`) and `NodesInfo` (for `NodeInfo`). +- We have changed the `cid` property of the `UploadResultWithCid` interface to be a function instead of getter as this property is not available for encrypted references which caused some troubles when serializing the whole object. +- We have enabled by default waiting for the newly created postage batches to be usable (originally the `waitForUsable` property of the `BeeDebug.createPostageBatch()` defaulted to `false`, now it is `true`). +- We have added support for the `Bee. createFeedManifest()` to return object instead of directly reference that also has support for getting CID with the `.cid()` function. + +### ⚠ BREAKING CHANGES + +* enable waiting for postage batch to be usable by default (#746) +* adds support for Feed Manifest CID (#745) +* drop node 12 support (#741) +* drop DebugPostageBatch in favor of PostageBatch inteface (#743) +* drop NodesInfo in favor of NodeInfo inteface (#742) +* convert cid getter to function (#740) + +### Features + +* adds support for Feed Manifest CID ([#745](https://github.com/ethersphere/bee-js/issues/745)) ([37c5b55](https://github.com/ethersphere/bee-js/commit/37c5b552544a7d239de934b064726c2861de83ff)) +* enable waiting for postage batch to be usable by default ([#746](https://github.com/ethersphere/bee-js/issues/746)) ([cb05d22](https://github.com/ethersphere/bee-js/commit/cb05d220998f39e214684cf9e24d0005c4adc96d)) + + +### Bug Fixes + +* convert cid getter to function ([#740](https://github.com/ethersphere/bee-js/issues/740)) ([0b46862](https://github.com/ethersphere/bee-js/commit/0b4686299b2de320220c5beafb2e4c13c64bad80)) + + +### Code Refactoring + +* drop DebugPostageBatch in favor of PostageBatch inteface ([#743](https://github.com/ethersphere/bee-js/issues/743)) ([3f66764](https://github.com/ethersphere/bee-js/commit/3f66764dcabd724c6a29612bcb7f9e0f5122d77f)) +* drop NodesInfo in favor of NodeInfo inteface ([#742](https://github.com/ethersphere/bee-js/issues/742)) ([acddb14](https://github.com/ethersphere/bee-js/commit/acddb14d85698a7dc26ea2ed183a13732b8c8d95)) + + +### Miscellaneous Chores + +* drop node 12 support ([#741](https://github.com/ethersphere/bee-js/issues/741)) ([f79eb3f](https://github.com/ethersphere/bee-js/commit/f79eb3fcc9d51fcc6cb57f89cb30b1377b07c5d4)) + ### [4.1.1](https://github.com/ethersphere/bee-js/compare/v4.1.0...v4.1.1) (2022-05-26) This is a hotfix release to our build setup that published bee-js with a broken package structure. diff --git a/package-lock.json b/package-lock.json index 9469fec8..303b666f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ethersphere/bee-js", - "version": "4.1.1", + "version": "5.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@ethersphere/bee-js", - "version": "4.1.1", + "version": "5.0.0", "license": "BSD-3-Clause", "dependencies": { "@ethersphere/swarm-cid": "^0.1.0", diff --git a/package.json b/package.json index 320eed94..1595d864 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ethersphere/bee-js", - "version": "4.1.1", + "version": "5.0.0", "description": "Javascript client for Bee", "keywords": [ "bee",