Releases: restatedev/sdk-python
Releases · restatedev/sdk-python
v0.10.2
Removed typing_extensions
dependency.
Full Changelog: v0.10.1...v0.10.2
v0.10.1
What's Changed
- Add better closed error by @slinkydeveloper in #131
Full Changelog: v0.10.0...v0.10.1
v0.10.0
Invocation retry policy
When used with Restate 1.5, you can now configure the invocation retry policy from the SDK directly. See https://github.com/restatedev/restate/releases/tag/v1.5.0 for more details on the new invocation retry policy configuration.
What's Changed
- Retry Policy by @slinkydeveloper in #126
- Clarify ctx.run max attempts by @slinkydeveloper in #127
- Bring back Python 3.10 support by @slinkydeveloper in #129
Full Changelog: v0.9.1...v0.10.0
v0.9.1
What's Changed
- Add
always_replay
flag to test harness by @slinkydeveloper in #124 - Add
disable_retries
flag to test harness by @slinkydeveloper in #125
Full Changelog: v0.9.0...v0.9.1
v0.9.0
New features ✨
ctx.random()
andctx.uuid()
for deterministic random and uuid. by @slinkydeveloper in #120- Add
ctx.time()
as wrapper aroundctx.run(time.time)
by @slinkydeveloper in #121 - Integration with standard library
logging
module: replay aware logging filterrestate.RestateLoggingFilter
and log factoryrestate.getLogger()
by @slinkydeveloper in #122
Full Changelog: v0.8.1...v0.9.0
v0.8.1
What's Changed
- enhancement: Add support for function args & kwargs type hints in ctx.run. by @objecthuman in #109
- Bump PyO3 version, this required few changes by @slinkydeveloper in #110
- Update pyproject.toml to include correct license metadata by @tillrohrmann in #111
New Contributors
- @objecthuman made their first contribution in #109
Full Changelog: v0.8.0...v0.8.1
v0.8.0
- Introduce new Service/Object/Workflow constructor fields and the decorator fields
inactivity_timeout
,abort_timeout
,journal_retention
,idempotency_retention
,ingress_private
,workflow_retention
. Please note these work only from Restate 1.4 onward. Check the in-code documentation for more details. - Improved error messages
What's Changed
- Discovery manifest V3 by @slinkydeveloper in #103
- Bump shared core by @slinkydeveloper in #106
- Use shared core 0.4 by @slinkydeveloper in #107
New Contributors
- @muhamadazmy made their first contribution in #101
Full Changelog: v0.7.3...v0.8.0
v0.7.2
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