Development updates

Bee Version 2.8.4 Pre-release Notice

Bee v2.8.4 includes security fixes, and all node operators should upgrade as soon as it is released on December 9th, 2026. It also makes uploads more reliable and downloads more efficient, and introduces PubSub for real-time messaging between apps. A few API changes need attention from developers, so please read the API notes before upgrading.

Security Fixes

Bee v2.8.4 includes security fixes. To protect nodes that have not yet upgraded, Swarm Foundation is holding back the details until operators have had time to move to the new version. They will be added to this post later.

What Is Changing

Alongside security fixes, the headline of Bee v2.8.4 is reliability. Uploads no longer report success for chunks that were never stored, downloads go to closer peers, which proved to sharply cut failed requests, and transactions cope better with an unreliable RPC connection. The release also introduces PubSub, which lets apps send each other messages in real time, helps full nodes that are expanding their reserve take part in the redistribution game, and adds a single node-mode option for choosing the node type.

Danger

Upgrade to v2.8.4 as soon as it is released on December 9th. This release includes security fixes that every node operator should apply.

Warning

Developers: some API behavior changes in this release. Most apps are unaffected, but check your integration if you:

  • use the /chunks/stream WebSocket endpoint, poll feeds with the after parameter, or use epoch-type feeds. See "API & Developer Changes" section below.
  • write to a node from a web app served on a different origin. Such requests (POST, PUT, PATCH, DELETE) now get 403 unless the app's origin is listed in cors-allowed-origins. See "API & Developer Changes" section below.
  • rely on uploads reporting success, for example when updating feeds, or wait for stamp purchases and stake transactions to finish. See "More Reliable Uploads" and "More Reliable Transactions" sections below.

Info

For node operators, the upgrade is non-disruptive. Bee v2.8.4 includes no breaking p2p protocol changes and needs no manual migration, and existing configurations keep working. Nevertheless, we recommend switching your configuration to the new node-mode option now; see "Choosing Your Node Type with node-mode" section below.

More Reliable Uploads

Until now, an upload could report success even when no node in the chunk's neighborhood had kept a copy, so some chunks could later go missing. Bee v2.8.4 closes that gap. A chunk now only counts as uploaded once a node in its neighborhood confirms it is storing it. A node outside the chunk's neighborhood that cannot pass it on no longer stores the chunk itself, where other nodes would never find it, so the upload tries another peer instead. To keep uploads fast, your node also remembers which peers deliver reliably to each neighborhood and sends chunks there first.

In the team's mainnet tests with 100 MB uploads, these changes reduced the chunks left without a confirmed copy from 115–152 per upload to none, and made uploads about 16% cheaper.

Warning

Uploads can now report failures they used to hide. When no node in a chunk's neighborhood accepts it, direct uploads now fail with HTTP 500. This covers POST /chunks and POST /soc sent without a tag (feed updates use these), and /bytes or /bzz sent with Swarm-Deferred-Upload: false. Deferred uploads, the default for /bytes and /bzz, still return a reference straight away, but those chunks are never counted as synced in the upload's tag. Bee does not retry them later, so upload the data again.

Faster, More Reliable Downloads

A node retrieving data now asks the closest peer it can reach, instead of preferring peers it had marked as healthy even when they were farther away. Peer selection for forwarding has been tightened as well. In the team's mainnet test, downloading a 100 MB file took about half as many requests to peers (about 33,000 instead of 69,000), and failed chunk requests dropped from 344–416 to 2. This was a single test run.

More Reliable Transactions

  • Transactions survive RPC connection drops. If the connection to your RPC endpoint dropped after a transaction had already reached the network, Bee used to report a failure and lose track of it. It now keeps tracking the transaction.
  • Stamp and stake calls no longer wait forever. Buying, topping up or diluting a postage batch, and staking operations, now wait at most 120 seconds for confirmation, then return 504 with the transaction hash. The transaction may still go through, so check its status on-chain before retrying.
  • Resending a stuck transaction works. POST /transactions/{hash} now sends a replacement with a higher fee, and returns the new transaction hash.
  • Optional fee tiers. Transactions can be priced in three tiers, low, market and aggressive, based on recent network fees. Developers choose a tier with the Fee-Priority header, and operators can set one for redistribution transactions with redistribution-game-fee-priority. Nothing changes unless you use them.

Tip

Setting redistribution-game-fee-priority: aggressive raises the amount of xDAI your node needs to take part in a round, and a node below that amount skips rounds.

PubSub: Real-Time Messaging

Bee v2.8.4 introduces PubSub, a way for apps to send each other messages in real time over Swarm, without polling. A channel is identified by its owner's address and a topic. The owner publishes to it and can name other addresses that may publish too, and anyone who knows the channel can listen. A broker, a full node that relays the channel, passes each message to every listener as soon as it arrives. Every message is signed by its publisher and checked on delivery, so a broker can drop messages but cannot forge them.

This suits anything that needs to reach people live: notifications, live scores and price tickers, chat and presence, multiplayer game state, or commands between devices and agents. A message holds up to 4 KB, so send a Swarm reference for anything larger.

Apps can join a channel through their own Bee node by opening a WebSocket on its API. The node must be connected to the broker first:

GET /bps/feeds/subscribe/{principal}/{topic}?broker={broker-overlay}

The feeds in the path refers to how each message travels, as a signed feed update.

Info

Messages are live only and not stored. Listeners receive what is sent while they are connected, and delivery is not guaranteed, so keep anything that needs to last in a regular feed. Support in bee-js is in development; until then, the message format is in the OpenAPI specification.

Full-node operators can run a broker by setting bps-broker: true (--bps-broker, BEE_BPS_BROKER). A broker uses bandwidth, but it stores nothing and spends no postage.

What comes next. This release is the first step for PubSub. Extensions planned in the protocol's design include message history, so listeners can catch up on what they missed; relaying across several nodes, so listeners do not need a direct connection to the broker; and automatic broker discovery, so apps no longer need to know a broker in advance.

Redistribution While Your Reserve Grows

Full nodes using reserve-capacity-doubling store data for a larger area than their own neighborhood, and filling that extra area can take hours. Until now, a node that was still syncing sat out every redistribution round. With v2.8.4, it only needs to be synced in the part of its reserve that a round samples, so it can keep taking part while the extra area fills. All full nodes also become eligible again sooner once syncing stops: about 10 minutes after the last new chunk arrives, instead of up to 20.

Choosing Your Node Type with node-mode

Bee v2.8.4 adds a single node-mode option to choose your node type. Existing configurations keep working, but we recommend switching now: the old way of choosing the node type is deprecated, and from v2.11.0 node-mode will be required.

Node type Set Replaces Also turns on
Full node-mode: full full-node: true SWAP, chequebook and storage incentives
Light node-mode: light full-node: false with blockchain-rpc-endpoint Nothing
Ultra-light node-mode: ultra-light No blockchain-rpc-endpoint Nothing
Bootnode node-mode: bootnode full-node: true and bootnode-mode: true Nothing

Every mode except ultra-light still needs blockchain-rpc-endpoint. Anything a mode turns on can still be switched off, and a light node still needs swap-enable: true and a funded chequebook to go beyond the free bandwidth allowance. A full node, for example:

node-mode: full
blockchain-rpc-endpoint: "https://your-gnosis-rpc"

Tip

Until you set node-mode, Bee logs a warning at startup that lists exactly which options to set and remove so your node keeps working the same way. Follow it rather than only adding node-mode. For example, a full node running without SWAP also needs swap-enable: false; otherwise node-mode: full turns SWAP on and deploys a chequebook, which costs gas.

Invalid configurations, such as reserve-capacity-doubling on a node that is not full, now stop the node with an error (exit status 1) instead of exiting normally.

API & Developer Changes

Warning

The /chunks/stream WebSocket protocol has been replaced, and old clients stop working. It is now a two-way protocol that mixes chunk downloads and uploads on one connection, with a status reply for each request. Apps and gateways that use it must move to the new protocol, described in the OpenAPI specification. Tagged and deferred uploads are no longer supported on the stream; use POST /chunks or POST /bytes for those. bee-js does not use this endpoint, so apps built on bee-js are not affected.

Feeds:

  • after on GET /feeds/{owner}/{topic} now returns the latest update with 200 when there is no update at the given index, where earlier versions returned 404. If your app polls for the next update with after, use the new index parameter instead, which returns exactly that update, or 404 until it exists.
  • Epoch feeds are no longer supported, and an epoch-type feed manifest now returns 404 on /bzz. Bee has always created sequence feeds, so this only affects manifests made with other tools.
  • Other parameters of GET and POST /feeds/{owner}/{topic} have changed as well. If your app uses them, check the OpenAPI specification.

Other changes:

  • Browser apps on a different origin can no longer upload or change data on a node unless their origin is in cors-allowed-origins; they get 403 instead. Reading data and clients outside a browser are not affected.
  • Downloads return 404 when content is not found on the network, 503 when no peer could be reached, and 400 straight away for an invalid reference. Access-controlled downloads now follow the same codes instead of returning 500.
  • GET /tags lists tags in the text order of their IDs (1, 10, 11, 2, …), with a new after parameter for paging.
  • Browser apps can now send the Swarm-Cache header in cross-origin requests.

Tip

The OpenAPI specification moves to version 9.3.0. Developers using generated clients should regenerate them.

Other Improvements

  • ENSv2 names resolve. Bee now resolves ENS names through the ENS Universal Resolver. Names that rely on off-chain resolution (CCIP-Read) are not supported and return 503. If you set a contract address in resolver-options, Bee now treats it as a Universal Resolver address, so replace a pinned ENS registry address with 0xeEeEEEeE14D718C2B47D9923Deab1335E144EeEe or remove it to use the default.
  • Postage snapshot from a file. The new postage-snapshot-file option loads postage data from a file created with batch-export instead of the snapshot built into Bee. Nodes recovering from an unclean shutdown now rebuild postage data from the snapshot instead of syncing it again from the chain.
  • Fewer failed stamp purchases. Postage transactions use a higher minimum gas limit, and postage and staking transactions retry once if they run out of gas.
  • Faster cheque issuing for busy light nodes and gateways, which no longer make two RPC calls per cheque.
  • Faster stewardship checks. GET /stewardship/{address} now checks up to 32 chunks at a time.
  • Inbound connection leak. go-libp2p is updated to v0.52.0, which includes a fix for a leak in how inbound connections were accounted for.
  • Caller information in logs. Set log-caller: true to add the source file and line to each log line, for development use.

Monitoring and Alerts

  • bee_pusher_total_synced now counts only chunks that were actually synced, where it used to count failed attempts too, so expect a drop in that panel.
  • isFullySynced (GET /redistributionstate) and pullsyncRate (GET /status and bee_puller_pullsync_rate) now cover only the node's storage radius. A node can take part in a round while isFullySynced reads false.
  • New metrics for uploads (bee_pusher_*, bee_pushsync_*), PubSub (bee_bps_*), fees, feeds, the chequebook and the chunk stream.
  • Fixed: the libp2p_rcmgr_* metrics no longer drop to zero intermittently, and bee_api_response_code_count no longer creates a new series for every unusual HTTP method.

Bug Fixes & Maintenance

This release also includes smaller fixes, such as cleaner WebSocket shutdowns, and corrections to the OpenAPI specification. Bee is now built with Go 1.27.4 (needed if you build from source), and this release lays the groundwork for future staking and redistribution contract upgrades, which needs no action now.

Full Changelog

For the complete list of changes, see the Bee v2.8.4 release notes on GitHub (live on release day).

Need Help?

If you're a node operator or developer with questions about upgrading or the new features, join the #node-operators channel on the Swarm Discord.


Bee v2.8.4 is scheduled for release on December 9th, 2026. This post will be updated when it goes live. Plan to upgrade on release day.