v0.5.0
github-actions
released this
09 Feb 07:41
·
1736 commits
to master
since this release
Release notes v0.5.0
This Bee release is a breaking release. We kindly ask all node operators to update their nodes as soon as possible to ensure continuity of the network.
Breaking changes:
- A new testnet token is deployed and used by the node. This redeployment happened to facilitate integration with the new Bzzaar and means that new nodes won't connect to old nodes.
- The default values for any token-related configuration has changed since the new gBZZ token has 16 decimals instead of zero. If you start Bee with a custom configuration, please ensure that you base your configuration on the right default values.
- The handshake protocol version was updated from 1 to 2 and the signed payload is now prefixed with
bee-handshake
so that the security properties of the signing module can be improved. You will be seeingincompatible stream: protocol not supported
error messages in your terminal output until all nodes in the network have been upgraded. - the
/chunks
endpoint has two notable breaking changes: i) it will only accept content-addressed chunk uploads, and ii) it does not require a precalculated BMT hash in order to upload a chunk. The node will calculate the BMT hash for the given span and chunk content, and will return the BMT hash in the response. For uploading single-owner chunks, please refer to the/soc
endpoint documentation in our OpenAPI spec.
Non-breaking changes/additions:
- Bee now supports swarm feeds. You can now use feeds from your ENS entry and have automatic feed indirection using the
/bzz
endpoint. - We made it easier to follow the progress of your upload by revamping
tags
. - The pushsync protocol is refactored and we worked out some rough edges. This improves protocol resilience.
- Tags will no longer be auto-generated on the
/chunks
endpoint. Please create your custom tag and attach it to all chunks that belong to a single upload. - We added the
/blocklist
debugAPI endpoint which shows what peers are banned from interacting with your node. - The boot-up sequence now detects when you connect to an Ethereum node that is not synced and pauses the Bee node until the Ethereum node is synced.
- The boot-up sequence now waits for bee-clef to boot up instead of immediately returning an error.
- We improved the observability of the retrieval protocol with better metrics.
- We improved the observability of the libp2p networking stack by adding metrics.
- We added metrics to track the availableBalance, which makes it possible to programmatically create warnings when your node running out of token balance.
- The retrieval protocol now sends preemptive retrieve requests when a certain peer appears to be slow, resulting in improved resilience of the protocol.
- The logs are improved to enhance understanding of what the node is doing.
- The default address for IPv6 was changed to be aligned with the default address of IPv4.