# What changed in faststream

> 46 changes in faststream 0.7 from its official release notes, upgrade guides and advisories: 1 breaking, 13 new APIs and options. Each one cited. Sources checked 2026-10-21. HTML: https://unstale.sh/pypi/faststream/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## faststream 0.7

### Breaking changes

- Stops the subscriber on terminal stream errors instead of restarting. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)

### New APIs and options

- Adds assert_called_once_with for subscribers and publishers in testing. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Adds assert_called_with and assert_any_call for subscribers and publishers in testing. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Adds StreamSub claim_min_idle_time support for XREADGROUP CLAIM. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Adds annotations for the native Confluent consumer and MQTT client. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Exposes the Redis stream delivery count. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Adds a Confluent Topic schema for configuring topic creation. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Renders the Address template in the generated schema. (0.7.5) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.5)
- Adds batch stream message annotation support for Redis. (0.7.5) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.5)
- Adds ContextRepo composition. (0.7.5) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.5)
- Adds a correlation_id factory function at broker creation time, for example to generate ULIDs. (0.7.5) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.5)
- Adds an MQTT DSN as an alternative to setting direct URL attributes. (0.7.5) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.5)
- Adds support for MQTT Will messages. (0.7.5) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.5)
- Adds a declare option to StreamSub. (0.7.5) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.5)

### Performance

- Uses one context scope object per consumed message. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)

### Behavior and default changes

- Typing now accepts every broker annotated as BrokerUsecase[Any, Any]. (0.7.7) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.7)
- Addresses across all brokers support literal braces. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)

### Tooling

- Emulates Redis Stream PEL to route messages to min_idle_time subscribers. (0.7.5) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.5)

### Fixes and other changes

- Declared __slots__ now take effect in subclasses too. (0.7.7) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.7)
- In the 3.0 schema, the address field carries the address. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Publishes an empty message when a batch publisher has nothing to send. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Warns when a batch subscriber drops max_workers. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Resolves batch subscribers and publishers to one type rather than a Union. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Opens a concurrent subscriber's queue on start and closes it on stop. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Fixes brace escaping so it reaches consumers that read the declaration. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- YAML and AsyncAPI errors are surfaced by docs serve. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Fixes the supervisor deadlock during shutdown. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- NATS AsyncAPI channels now render filter_subjects. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Keeps a handler's declared call separate from its composed call. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Accepts KafkaPublishMessage in batch publish signatures. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Accepts a plain str as the License and Contact url. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Redis stream subscribers can use MANUAL ack_policy with max_workers. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Stops warning that no_ack has no effect with a Redis consumer group. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Types a plain Confluent publish() as the message rather than a Future. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Types the NATS pull consumer callback as a coroutine function. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Keeps the group read cursor in get_one and iterator. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Corrects the types of RedisClusterBroker ssl_* options. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- A router prefix is included in the address it decorates. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- A subscriber over several addresses is represented as several channels. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Corrects MQTT subscriber typing so a decorated handler stays typed by max_workers. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Fixes TelemetryMiddleware. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Tells users to install the extra when zmqtt is missing. (0.7.6) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.6)
- Skips the acknowledgement action when a handler is cancelled. (0.7.5) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.5)
- Prevents an instant resubscribe loop on a broken zmqtt 0.2.0 connection and adds new options. (0.7.5) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.5)
- Corrects partition assignment strategy type hints. (0.7.5) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.5)
- New Redis Stream groups consume existing entries. (0.7.5) — [release notes](https://github.com/ag2ai/faststream/releases/tag/0.7.5)
