8000 0.6.0 by Lancetnik · Pull Request #1779 · ag2ai/faststream · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

0.6.0 #1779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in 8000 to your account

Draft
wants to merge 311 commits into
base: main
Choose a base branch
from
Draft

0.6.0 #1779

wants to merge 311 commits into from

Conversation

Lancetnik
Copy link
Collaborator
@Lancetnik Lancetnik commented Sep 10, 2024

Description

Please include a summary of the change and specify which issue is being addressed. Additionally, provide relevant motivation and context.

fixes #1742 close #1228, close #980, fixes #1742, #1895 feature, fixes #1954, close #1646, fixes #1625, close #1904, close #1507, close #2056, close #1308, close #1901, close #2029, close #2094, close #1881

Breaking changes:

  1. Drop Python3.8 support
  2. @broker.subscriber(..., filters=...) removed
  3. message.decoded_body removed, use await message.decode() instead
  4. publish(..., rpc=True) removed, use broker.request() instead
  5. RabbitMQ @broker.subscriber(..., reply_config=...) removed, use Response instead
  6. Context("broker") and Context("logger") moved to local context. They can not be accessed in lifespan hooks anymore
  7. FastStream(broker) is positional-only argument now (preparing to FastStream(*brokers) support)
  8. FastStream(**asyncapi_options) doesn't work anymore. Now, you have to create special AsyncAPI(broker, **asyncapi_options) to render documentation
  9. FastStream(broker) is POSITIONAL-ONLY option now. FastStream(broker=broker) doesn't work anymore
  10. broker.subscriber(..., retry=True) removed, use ack_policy instead

ApostolFet and others added 16 commits January 6, 2025 19:59
* fix: Non-threadsafe operations in AsyncConfluentProducer.

* fix: Unbound error in AsyncConfluentProducer.publish method.

* fix: AsyncConfluentFastProducer type hints.
* feat: Mypy tests for broker middleware.

* refactor: Move BaseMiddleware to _internal module.

* fix: Added missed second type variable to BrokerMiddleware protocol.

* fix: Broker middleware mypy issues.

* fix: Added missed type vars to base prometheus middleware classes.

* fix: Redis prometheus middleware type hints.

* fix: Rabbit prometheus middleware type hints.

* fix: Nats prometheus middleware type-hints.

* fix: Kafka broker public middleware contract.

* fix: Confluent broker middleware public contract.

* fix: Confluent prometheus middleware type hints.

* fix: Kafka pometheus middleware type hints.

* fix: Linter issues.
* chore: merge main

* tests: new Listener tests

* chore: refactor CincurrentBetwwenPartitionsSubscriber

* chore: refactor CincurrentBetwwenPartitionsSubscriber

* fix: correct ConcurrentManualAckSubscriber behavior

* tests: increase timeout in kafka concurrent tests

* refactor: change ListenerProxy logic

* tests: increase workers number for kafka
@CLAassistant
Copy link
CLAassistant commented Apr 1, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
6 out of 7 committers have signed the CLA.

✅ spataphore1337
✅ roma-frolov
✅ ApostolFet
✅ Lancetnik
✅ DABND19
✅ Flosckow
❌ fdsflksdk777
You have signed the CLA already but the status is still pending? Let us recheck it.

Lancetnik and others added 11 commits April 1, 2025 22:53
* feat: rabbit subscriber iterator

* test: rabbit subscriber iterator

* test: use async for loop for test async iterator

* feat: add __aiter__ method in SubscriberProto

* fix: return RabbitMessage everytime, ignore override

* feat: kafka subscriber iterator

* feat: add subscriber iterator for nats

* feat: add subscriber iterator for redis

* feat: add subscriber iterator for confluent

* fix: type hint fixes and formatting

* fix: type hint fixes and formatting

* test: add test iterator in base consume

* test: add test iterator for nats js, kv, os and etc

* test: add test iterator for redis list and stream

* chore: fix typo

---------

Co-authored-by: Pastukhov Nikita <nikita@pastukhov-dev.ru>
@Lancetnik
Copy link
Collaborator Author

@fdsflksdk777 can you sign the CLA – #1779 (comment) please?
This is required to merge the PR

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