faststream

FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis.

APACHE-2.0 License

Downloads
160.6K
Stars
1.8K
Committers
15

Bot releases are visible (Hide)

faststream - v0.3.2

Published by davorrunje 11 months ago

What's Changed

New features:

Chore:

Full Changelog: https://github.com/airtai/faststream/compare/0.3.1...0.3.2

faststream - v0.3.1

Published by davorrunje 11 months ago

What's Changed

Features:

Bug fixes:

Documentation:

New Contributors

Full Changelog: https://github.com/airtai/faststream/compare/0.3.0...0.3.1

faststream - v0.3.0

Published by davorrunje 11 months ago

What's Changed

The main feature of the 0.3.0 release is added Redis support by @Lancetnik in https://github.com/airtai/faststream/pull/1003

You can install it by the following command:

pip install "faststream[redis]"

Other features

  • feat: show reload directories with --reload flag by @Lancetnik in https://github.com/airtai/faststream/pull/981
  • feat: implement validate and no_ack subscriber options (#926) by @mihail8531 in https://github.com/airtai/faststream/pull/988
  • other features by @Lancetnik in https://github.com/airtai/faststream/pull/1003
    • Improve error logs (missing CLI arguments, undefined starting)
    • Add faststream docs serve --reload ... option for documentation hotreload
    • Add faststream run --reload-extension .env option to watch by changes in such files
    • Support faststream run -k 1 -k 2 ... as k=["1", "2"] extra options
    • Add subscriber, publisher and router include_in_schema: bool argument to disable AsyncAPI render
    • remove watchfiles from default distribution
    • Allow create broker.publisher with already running broker
    • FastAPI-like lifespan FastStream application context manager
    • automatic TestBroker(connect_only=...) argument based on AST
    • add NatsMessage.in_progress() method

Testing

Documentation

Chore

New Contributors

Full Changelog: https://github.com/airtai/faststream/compare/0.2.15...0.3.0

faststream - v0.3.0rc0

Published by davorrunje 11 months ago

What's Changed

The main feature of the 0.3.x release is added Redis support by @Lancetnik in https://github.com/airtai/faststream/pull/1003

You can install it manually:

pip install faststream==0.3.0rc0 && pip install "faststream[redis]"

Other features

  • feat: show reload directories with --reload flag by @Lancetnik in https://github.com/airtai/faststream/pull/981
  • Improve error logs (missing CLI arguments, undefined starting)
  • Add faststream docs serve --reload ... option for documentation hotreload
  • Add faststream run --reload-extension .env option to watch by changes in such files
  • Support faststream run -k 1 -k 2 ... as k=["1", "2"] extra options
  • Add subscriber, publisher and router include_in_schema: bool argument to disable AsyncAPI render
  • remove watchfiles from default distribution
  • Allow create broker.publisher with already running broker
  • FastAPI-like lifespan FastStream application context manager
  • automatic TestBroker(connect_only=...) argument based on AST
  • add NatsMessage.in_progress() method

Testing

Documentation

Chore

New Contributors

Full Changelog: https://github.com/airtai/faststream/compare/0.2.15...0.3.0rc0

faststream - v0.2.15

Published by davorrunje 11 months ago

What's Changed

Bug fixes

Documentation

Misc

Full Changelog: https://github.com/airtai/faststream/compare/0.2.14...0.2.15

faststream - v0.2.14

Published by davorrunje 11 months ago

What's Changed

Bug fixes

Documentation

Misc

Full Changelog: https://github.com/airtai/faststream/compare/0.2.13...0.2.14

faststream - v0.2.13

Published by davorrunje 11 months ago

What's Changed

*chore: rRemove uvloop python 3.12 restriction from pyproject by @sternakt in https://github.com/airtai/faststream/pull/914

Full Changelog: https://github.com/airtai/faststream/compare/0.2.12...0.2.13

faststream - v0.2.12

Published by davorrunje 11 months ago

What's Changed

Full Changelog: https://github.com/airtai/faststream/compare/0.2.11...0.2.12

faststream - v0.2.11

Published by davorrunje 12 months ago

What's Changed

Bug fixes

Documentation

New Contributors

Full Changelog: https://github.com/airtai/faststream/compare/0.2.10...0.2.11

faststream - v0.2.10

Published by davorrunje 12 months ago

What's Changed

Now, you can hide your connection secrets in the AsyncAPI schema by manually setting up the server URL:

broker = RabbitBroker(
    "amqp://guest:guest@localhost:5672/",  # Connection URL
    asyncapi_url="amqp://****:****@localhost:5672/",  # Public schema URL
)

Additionally, the RabbitMQ AsyncAPI schema has been improved, adding support for faststream.security, and the connection scheme is now defined automatically.

RabbitMQ connection parameters are now merged, allowing you to define the main connection data as a URL string and customize it using kwargs:

broker = RabbitBroker(
    "amqp://guest:guest@localhost:5672/",
    host="127.0.0.1",
)

# amqp://guest:[email protected]:5672/ - The final URL

Full Changelog: https://github.com/airtai/faststream/compare/0.2.9...0.2.10

faststream - v0.2.9

Published by davorrunje 12 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/airtai/faststream/compare/0.2.8...0.2.9

faststream - v0.2.8

Published by davorrunje about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/airtai/faststream/compare/0.2.7...0.2.8

faststream - v0.2.7

Published by davorrunje about 1 year ago

What's Changed

Full Changelog: https://github.com/airtai/faststream/compare/0.2.6...0.2.7

faststream - v0.2.6

Published by davorrunje about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/airtai/faststream/compare/0.2.5...0.2.6

faststream - v0.2.5

Published by davorrunje about 1 year ago

What's Changed

Full Changelog: https://github.com/airtai/faststream/compare/0.2.4...0.2.5

faststream - v0.2.4

Published by davorrunje about 1 year ago

What's Changed

Full Changelog: https://github.com/airtai/faststream/compare/0.2.3...0.2.4

faststream - v0.2.3

Published by davorrunje about 1 year ago

What's Changed

Full Changelog: https://github.com/airtai/faststream/compare/0.2.2...0.2.3

faststream - v0.2.2

Published by davorrunje about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/airtai/faststream/compare/0.2.1...0.2.2

faststream - v0.2.1

Published by davorrunje about 1 year ago

What's Changed

Full Changelog: https://github.com/airtai/faststream/compare/0.2.0...0.2.1

faststream - v0.2.0

Published by davorrunje about 1 year ago

What's Changed

Full Changelog: https://github.com/airtai/faststream/compare/0.1.6...0.2.0