Changelog
July 2, 2024
Today we are releasing the first version of our Go SDK. The SDK offers the same set of features than our Python SDK, in a Go idiomatic way. Leveraging our coroutine library, you can easily create transactional applications and compose durable workflows.
Check out our dedicated wiki page to get started: github.com/dispatchrun/dispatch-go/wiki!
Here is a quick example:
May 16, 2024
This release improves the TUI experience:
- Adds a detail page for function calls (to try it out, press s to select a function call).
- Fixes colors when a light terminal background is used.
- Fixes various rendering issues.
New features
Improvements
- Improve formatting of Python input/output values by @chriso in #50
- Improve log output by @chriso in #49
Bug fixes
- Color fixes by @chriso in #41
- Fix minor rendering issues by @chriso in #44
- Fix how auth errors are displayed in TUI mode by @chriso in #45
- Prevent one row from being truncated by @chriso in #48
- Kill child process if CLI panics by @chriso in #47
Full changelog: v0.1.0...v0.2.0
A new Python SDK v0.7.1 was also released.
This version fixes a few minor issues from the previous release.
Improvements
- Simplify registration of error/output to status mappings by @chriso in #166
- Add top-level
dispatch.batch
helper function by @chriso in #165
Full changelog: v0.7.0...v0.7.1
May 3, 2024
Python SDK v0.7.0 was released.
This version fixes bugs that were uncovered by more robust type checking. It also adds new APIs to support integrations with the newly released Dispatch CLI.
Improvements
- Add dedicated error types for each of the error statuses by @chriso in #158
- Creation/expiration time by @chriso in #157
- Upgrade
mypy
to 1.10.0 by @achille-roussel in #156
Full changelog: v0.6.0...v0.7.0
April 22, 2024
Python SDK v0.6.0 was released.
This version brings a lot of new and powerful APIs to the SDK.
The main change that v0.6 brings is enabling the integration of Dispatch in applications that are not based on FastAPI. The top-level dispatch package can now be used to create vanilla Dispatch applications:
New features
- Use Dispatch without FastAPI by @achille-roussel in #154
Improvements
- Don’t print verification key warning when running under Dispatch CLI by @chriso in #152
- Extract new proto fields by @chriso in #153
Full changelog: v0.5.1...v0.6.0
April 11, 2024
Python SDK v0.5.1 of the Python SDK was released.
This version adds multiple bug fixes, including one that prevented dispatch functions from running concurrently within a single application instance (distributing concurrent calls across multiple instances was unaffected).
Improvements
- Run Dispatch functions in a thread executor by @chriso in #146
- Add experimental Lambda integration by @Pryz in #142
Bug fixes
Full changelog: v0.5.0...v0.5.1
April 2, 2024
Python SDK v0.5.0 was released.
This version introduces a new Reset error type, which when raised or returned, replaces the function being run by a different call.
New features
- Add special
Reset
class to implement tail calls by @achille-roussel in #145
Full changelog: v0.4.2...v0.5.0
March 28, 2024
Python SDK v0.4.2 was released.
With this patch release, programs that run on Python 3.8 can now use Dispatch.
Improvements
Full changelog: v0.4.1...v0.4.2
March 26, 2024
Python SDK v0.4.1 was released.
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.
New features
Improvements
Full changelog: v0.4.0...v0.4.1
March 26, 2024
Python SDK v0.4.0 was released.
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.
New features
- Concurrency primitives: any, all, race by @chriso in #131
- Remote endpoints by @chriso in #134
- Slack integration by @chriso in #132
- OpenAI integration by @chriso in #133
Bug fixes
Full changelog: v0.3.0...v0.4.0
March 18, 2024
Python SDK v0.3.0 was released.
SDK v0.3.0 introduces a new feature: dispatch.batch
. With batch
, you can construct batches of functions to be dispatched and executed concurrently. This new feature is perfect if you are building things like a data pipeline where you will want to process multiple chunks of data at once to increase your system throughput.
New features
Improvements
Documentation
Bug fixes
Full changelog: v0.2.1...v0.3.0