v0.6.0
We are pleased to announce the release of the Python SDK 0.6.0, in combination with Restate 1.3.
Check out the announcement blog post for more details about Restate 1.3 and the new SDK features: https://restate.dev/blog/announcing-restate-1.3/
Check out the docs and examples to learn about the latest features:
https://docs.restate.dev/category/python-sdk/
What's Changed
- Service Protocol V4 by @slinkydeveloper in #33
- [tests] Add Docker GHA for test-services by @igalshilman in #42
- [verification] Move the interpreter to test-services/ by @igalshilman in #43
- Protocol V5 by @slinkydeveloper in #44
- Offload synchronous actions in ctx.run via asyncio.to_thread to prevent event loop blocking by @ouatu-ro in #47
- Export Public API via all in init.py by @ouatu-ro in #49
- Add CLA automation by @tillrohrmann in #50
- Expose new SDK features by @igalshilman in #51
- Pass call headers in call/send by @igalshilman in #52
- Use a custom future by @igalshilman in #53
- Feature/general serde by @ouatu-ro in #48
- Add invocation_id to a call promise by @igalshilman in #54
- Lazy create the run() coroutine by @igalshilman in #55
- Add additional features by @igalshilman in #56
- Support ctx.run combinators by @igalshilman in #58
- Rename combinators to asyncio by @igalshilman in #59
- Add sleep future by @igalshilman in #60
- Use RestateDurableFuture in workflow methods by @igalshilman in #61
- Add
select
future combinator by @igalshilman in #62 - Chore/fix type hints and general clarity by @ouatu-ro in #57
- Try to auto deduce the types provided for ctx.run() by @igalshilman in #63
- Use DefaultSerde in more places by @igalshilman in #64
- Add optional args= param to ctx.run by @igalshilman in #65
- Notify the VM about a transient error by @igalshilman in #66
- Update test suite to 3.0 by @slinkydeveloper in #68
- Rename cancel_invocation by @slinkydeveloper in #69
- Add health check by @igalshilman in #70
- Fix discovery information for void args by @igalshilman in #71
- Fix type inference in PyCharm for ctx.run(). by @igalshilman in #72
- Add a shortcut f.cancel_invocation() by @igalshilman in #73
- Support dataclasses serde by @igalshilman in #74
- Cleanup the concurrent example by @igalshilman in #75
- Bump shared core by @slinkydeveloper in #76
New Contributors
- @ouatu-ro made their first contribution in #47
- @tillrohrmann made their first contribution in #50
Full Changelog: v0.5.1...v0.6.0