Skip to content

chore(deps): Bump faststream from 0.6.7 to 0.7.1#56

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/faststream-0.7.1
Open

chore(deps): Bump faststream from 0.6.7 to 0.7.1#56
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/faststream-0.7.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor

Bumps faststream from 0.6.7 to 0.7.1.

Release notes

Sourced from faststream's releases.

v0.7.1

What's Changed

TestBroker.aenter was typed to return Broker | list[Broker]. That union is wrong for both usage shapes: mypy rejects .publish() on the single-broker result (the list arm has no such method) and rejects unpacking the multi-broker result (the Broker arm is not iterable).

# Before — both lines fail under `mypy`:
async with TestKafkaBroker(KafkaBroker()) as br:
    await br.publish(None, "test")
    # error: Item "list[KafkaBroker]" of "KafkaBroker | list[KafkaBroker]" has no attribute "publish"  [union-attr]
async with TestKafkaBroker(KafkaBroker(), KafkaBroker()) as (br1, br2):
# error: "KafkaBroker" object is not iterable  [misc]
...
Aftermypy infers the precise type:
async with TestKafkaBroker(KafkaBroker()) as br:
reveal_type(br)            # KafkaBroker
await br.publish(None, "test")
async with TestKafkaBroker(KafkaBroker(), KafkaBroker()) as (br1, br2):
reveal_type(br1)           # tuple[KafkaBroker, ...] -> KafkaBroker
await br1.publish(None, "test")
await br2.publish(None, "test")

Full Changelog: ag2ai/faststream@0.7.0...0.7.1

v0.7.0

What's Changed

🚀 MQTT Support

FastStream now includes a full-featured MQTT broker, installable via pip install faststream[mqtt]. It supports wildcard topic filters, path parameter capture via Path(), QoS levels, per-subscriber ack_policy, and AsyncAPI schema generation.

from faststream import FastStream, Path
from faststream.mqtt import MQTTBroker, MQTTMessage, QoS
broker = MQTTBroker("localhost:1883")
app = FastStream(broker)
@​broker.subscriber(
"sensors/{device_id}/temperature",
</tr></table>

... (truncated)

Commits
  • 5948d1f fix(testing): type TestBroker context result via init overloads (#2903)
  • 2ab5a2f docs: Clarify FastStream description (#2901)
  • b30a174 chore(deps): bump the github-actions group with 2 updates (#2900)
  • 06a81a3 fix(docs): export *ParserType aliases at runtime (#2898)
  • 4717d1e Update Release Notes for 0.7.0 (#2897)
  • 7cb9390 docs: add multiple brokers support page (#2896)
  • 7391890 feat(docs): add json endpoint and fix content-type header (#2894)
  • f5b12e6 fix(rabbit): default RabbitQueue and RabbitExchange to durable=True (#2892)
  • 37942df fix: consistent hashing and equality for RabbitMQ schemas (#2796)
  • bbe5ec6 feat: add multibrokers support (#2867)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [faststream](https://github.com/ag2ai/FastStream) from 0.6.7 to 0.7.1.
- [Release notes](https://github.com/ag2ai/FastStream/releases)
- [Commits](ag2ai/faststream@0.6.7...0.7.1)

---
updated-dependencies:
- dependency-name: faststream
  dependency-version: 0.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: automated, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants