Dispatch-py

Latest version: v0.8.0

Safety actively analyzes 682487 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.4.2

<!-- Release notes generated using configuration in .github/release.yml at v0.4.2 -->

With this patch release, programs that run on Python 3.8 can now use Dispatch.

What's Changed
Other changes
* Python 3.8 support by chriso in https://github.com/stealthrocket/dispatch-py/pull/143
* Don't test ./examples by default by chriso in https://github.com/stealthrocket/dispatch-py/pull/144


**Full Changelog**: https://github.com/stealthrocket/dispatch-py/compare/v0.4.1...v0.4.2

0.4.1

<!-- Release notes generated using configuration in .github/release.yml at v0.4.1 -->

This patch release brings compatibility with Python 3.9 and 3.10.

Prior to this update, the Python SDK for Dispatch was only compatible with Python 3.11+, which caused a lot of issues due to default Python installations often being older on OSX and Ubuntu (usually 3.9). This caused a lot of friction for users who tried Dispatch but didn't have a supported version pre-installed.

What's Changed
Bug fixes
* v0.4.1: fix build by achille-roussel in https://github.com/stealthrocket/dispatch-py/pull/139
* Add MANIFEST.in by chriso in https://github.com/stealthrocket/dispatch-py/pull/141
Other changes
* Minor UX improvements by chriso in https://github.com/stealthrocket/dispatch-py/pull/138
* Python 3.10 support by chriso in https://github.com/stealthrocket/dispatch-py/pull/136
* Python 3.9 support by chriso in https://github.com/stealthrocket/dispatch-py/pull/140


**Full Changelog**: https://github.com/stealthrocket/dispatch-py/compare/v0.4.0...v0.4.1

0.4.0

<!-- Release notes generated using configuration in .github/release.yml at v0.4.0 -->

This is an important release with new concurrency APIs to compose more advanced applications powered by Dispatch.

The release also includes new default integrations for errors raised by popular services like Slack and OpenAI, so dispatch functions can automatically handle retries when executing requests to those APIs.

What's Changed

New features
* Concurrency primitives: any, all, race by chriso in https://github.com/stealthrocket/dispatch-py/pull/131
* Remote endpoints by chriso in https://github.com/stealthrocket/dispatch-py/pull/134
* Slack integration by chriso in https://github.com/stealthrocket/dispatch-py/pull/132
* OpenAI integration by chriso in https://github.com/stealthrocket/dispatch-py/pull/133

Other changes
* Fix registration of synchronous functions by chriso in https://github.com/stealthrocket/dispatch-py/pull/129
* mock server: show more info when a call fails by chriso in https://github.com/stealthrocket/dispatch-py/pull/128
* Promote docopt dependency by chriso in https://github.com/stealthrocket/dispatch-py/pull/130
* Promote httpx dependency by chriso in https://github.com/stealthrocket/dispatch-py/pull/137

**Full Changelog**: https://github.com/stealthrocket/dispatch-py/compare/v0.3.0...v0.4.0

0.3.0

<!-- Release notes generated using configuration in .github/release.yml at v0.3.0 -->
v0.3.0 introduces a new SDK feature called `batch`, allowing you to build a batch of functions to be dispatched and executed concurrently.

python
dispatch.function
def funcA(): ...

dispatch.function
def funcB(someargs): ...

batch = dispatch.batch()
batch.add(funcA)
batch.add(funcB, someargs)

batch.dispatch()


Take a look at the documentation to learn about the different SDK features: [Workflow as code](https://docs.dispatch.run/developing/workflow-as-code)!

Happy building!

What's Changed
New features
* Batch submit by chriso in https://github.com/stealthrocket/dispatch-py/pull/127
* Improve UX around verification keys by chriso in https://github.com/stealthrocket/dispatch-py/pull/120
* Mock server by chriso in https://github.com/stealthrocket/dispatch-py/pull/126
Documentation
* Add section describing serialization and its quirks by chriso in https://github.com/stealthrocket/dispatch-py/pull/118
* Update README by chriso in https://github.com/stealthrocket/dispatch-py/pull/125
Other changes
* Fix a mypy 1.9 error by chriso in https://github.com/stealthrocket/dispatch-py/pull/119



**Full Changelog**: https://github.com/stealthrocket/dispatch-py/compare/v0.2.1...v0.3.0

0.2.1

<!-- Release notes generated using configuration in .github/release.yml at v0.2.1 -->

What's Changed
Bug fixes
* remove httpx dependency from dispatch.fastapi module by achille-roussel in https://github.com/stealthrocket/dispatch-py/pull/114
Other changes
* update python.stealthrocket.cloud to python.dispatch.run by achille-roussel in https://github.com/stealthrocket/dispatch-py/pull/104


**Full Changelog**: https://github.com/stealthrocket/dispatch-py/compare/v0.2.0...v0.2.1

0.2.0

<!-- Release notes generated using configuration in .github/release.yml at v0.2.0 -->

What's Changed
Breaking changes
* Improve type safety with ParamSpec by chriso in https://github.com/stealthrocket/dispatch-py/pull/100
* Improve type checking of call results by chriso in https://github.com/stealthrocket/dispatch-py/pull/101
Documentation
* doc: add example using gather by Pryz in https://github.com/stealthrocket/dispatch-py/pull/83
Other changes
* migrate from stealthrocket.cloud to dispatch.run by achille-roussel in https://github.com/stealthrocket/dispatch-py/pull/102
* fix repositories in fanount example by achille-roussel in https://github.com/stealthrocket/dispatch-py/pull/103


**Full Changelog**: https://github.com/stealthrocket/dispatch-py/compare/v0.1.0...v0.2.0

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.