Skip to content

docs: update Python SDK docs for releases v0.9.0–v1.0.2#357

Closed
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/3d11570e
Closed

docs: update Python SDK docs for releases v0.9.0–v1.0.2#357
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/3d11570e

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Updates Python SDK documentation to cover user-facing features shipped across the v0.9.0–v1.0.2 release series.

New features documented:

  • Signals (v1.0.0): New ctx.signal / ctx.resolve_signal / ctx.reject_signal API that lets any invocation wait for a named signal from any other handler. Added a dedicated section with examples to external-events.mdx. Requires restate-server 1.7 with protocol v7 enabled.
  • TerminalError metadata (v1.0.0): TerminalError now accepts an optional metadata dict to attach structured, machine-readable context to terminal failures. Documented with example in error-handling.mdx.
  • Replay-aware logging (v0.9.0): New restate.getLogger() and restate.RestateLoggingFilter suppress duplicate log output during handler replays. Added a new logging.mdx page (with nav entry in docs.json).
  • Named sleeps (v0.11.0): ctx.sleep now accepts an optional name parameter visible in the Restate UI. Added to durable-timers.mdx.
  • Invocation context managers (v0.13.0): Handlers can declare invocation_context_managers to set up and tear down resources (connections, spans, DI) per attempt. Documented with example in services.mdx.
  • pytest fixture harness and typed client (v0.12.0): restate.create_test_harness as an async context manager for pytest fixtures, with the typed SDK client for calling handlers directly. Updated testing.mdx to cover both the sync and async harness patterns, plus always_replay / disable_retries flags (v0.9.1).

@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@mintlify

mintlify Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
restatedev 🟢 Ready View Preview Jul 20, 2026, 7:15 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@gvdongen gvdongen closed this Jul 21, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant