v4.0.0
4.0.0 (2022-05-18)
This release brings several new features and one ad-hoc breaking fix that is passed on from the new Bee version 1.6.0, but affects only the BeeDebug.getReserveState()
method.
💮 ENS support
Bee supports ENS for resolution of ENS domains into Swarm references. bee-js
was until now refusing ENS domains with the input validation. Now we are bringing support for all the download*
methods and a few other ones as well.
🗂. Get Feed's specific update
The FeedReader.download()
function now accepts an option index
where you can specify which of the feed's updates you want to download.
❓ Is Feed Retrievable?
There is a new method Bee.isFeedRetrievable()
that helps you to check whether a given feed is available.
It operates in two modes. If you know the last index of the feed update then you can use it as an optional parameter and then be sure that this update is present in the network. If you won't specify the index
parameter, then it will check for the "latest" update by traversing all the known updates from the start. This does not guarantee though that the found "latest" update is indeed the latest one though and hence provides a weaker guarantee.
⚠ BREAKING CHANGES
- updated interface returned by
BeeDebug.getReserveState()
based on Bee 1.6.0 (#675)
Features
- ens support for download methods (#659) (e72c4b4)
- fetch specific feed index update (#629) (a4672dc)
- is feed retrievable support (#641) (e1071b0)