Releases: restatedev/sdk-python
Releases · restatedev/sdk-python
v0.7.1
What's Changed
- Trigger building docker by @igalshilman in #92
- Asgi recv() on lambda should hang when there are no more events by @igalshilman in #93
- Add an explicit HTTP input closed event by @igalshilman in #94
Full Changelog: v0.7.0...v0.7.1
v0.7.0
What's Changed
- Fix DefaultSerde with_type_hint by @igalshilman in #79
- Make the restate app mountable by @igalshilman in #80
- [test] Use single element tuples by @igalshilman in #81
- Rename created Docker image into test-services-python by @tillrohrmann in #77
- [docs] Add types to the attributes section by @igalshilman in #82
- Introduce attempt completion event by @igalshilman in #83
- Auto cancel tasks when an attempt is over by @igalshilman in #84
- Support concurrent side effects more robustly by @igalshilman in #86
- Fix task error is ignored by @igalshilman in #87
- Catch asyncio.CancelledError during attempt tear down by @igalshilman in #88
- Wait for the side effect to complete by @igalshilman in #89
- Use stable rust in rust-toolchain.toml by @slinkydeveloper in #91
- Separate the ASGI types from the restate types by @igalshilman in #90
Full Changelog: v0.6.0...v0.7.0
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
v0.5.1
What's Changed
- Infer basic json schema by @igalshilman in #28
- Use test suite 2.4 by @jackkleeman in #31
- Add test harness by @igalshilman in #36
- Make test_harness a conditional import by @igalshilman in #37
- Bumped shared core and bumped pyo3 by @slinkydeveloper in #38
- Fix delay by @slinkydeveloper in #41
New Contributors
- @jackkleeman made their first contribution in #31
Full Changelog: v0.4.1...v0.5.1
v0.4.1
What's Changed
- Convert stringized annotations to real types by @igalshilman in #27
Full Changelog: v0.4.0...v0.4.1
v0.4.0
0.3.0
Breaking changes
This SDK is compatible only with Restate >= 1.1
New features
- It is now possible to configure the max number of retry attempts/max duration of retries for
ctx.run
What's Changed
- Add x-restate-server to the response headers by @igalshilman in #20
- Add side effect retry by @igalshilman in #21
- Run retry e2e tests by @slinkydeveloper in #22
Full Changelog: v0.2.1...v0.3.0
0.2.0
New features
- AWS Lambda support. Develop your service as usual and when deploying on AWS Lambda set the handler name to the variable containing
restate.app
. - Implement request verification, to secure your service when interacting with Restate cloud: https://docs.restate.dev/deploy/cloud#http
- Implement
ctx.state_keys()
andctx.clear_all()
What's Changed
- We now test the SDK with the new SDK test tool
Full Changelog: v0.1.1...v0.2.0