---
title: "restate-sdk 0.18.0 Breaking Changes on PyPI | Since.dev"
description: "What each restate-sdk release removed, renamed or changed: 34 breaking changes in 6 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/restate-sdk
last_updated: 2026-12-04
---

# restate-sdk breaking changes

restate-sdk 0.18.0 (May 13, 2026) is its newest release with breaking changes, 7 of them. The first: Removed restate.ext.openai.LlmRetryOpts. Every breaking API change we have recorded in restate-sdk on PyPI: 34 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.5.5`, released November 24, 2026. [Source repository](https://github.com/restatedev/sdk-python)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.13.0](#v-0-13-0) to [0.18.0](#v-0-18-0): 16 breaking changes in 5 versions.

## restate-sdk 0.18.0 breaking changes

restate-sdk 0.18.0, released May 13, 2026: 7 breaking changes.

- **Removed** `restate.ext.openai.LlmRetryOpts`  

restate.ext.openai.LlmRetryOpts was removed in restate-sdk 0.18.0 [pypi.org](https://pypi.org/project/restate-sdk/0.18.0/)
- **Removed** `restate.ext.openai.runner_wrapper.RestateModelWrapper.llm_retry_opts`  

RestateModelWrapper.llm_retry_opts was removed in restate-sdk 0.18.0 [pypi.org](https://pypi.org/project/restate-sdk/0.18.0/)
- **Default changed**  

Agent integrations no longer retry failed calls by default. Configure retries explicitly if your code relies on them. [github.com](https://github.com/restatedev/sdk-python/releases/tag/v0.18.0)
- **Signature changed** `restate.ext.adk.RestatePlugin.__init__`  

Was def \_\_init\_\_(self, \*, max_model_call_retries: int = 10); now def \_\_init\_\_(self, \*, run_options: restate.RunOptions | None = None). [pypi.org](https://pypi.org/project/restate-sdk/0.18.0/)
- **Signature changed** `restate.ext.openai.DurableRunner.run`  

Was @staticmethod async def run(starting_agent: Agent\[TContext\], input: str | list\[TResponseInputItem\], \*, use_restate_session: bool = False, \*\*kwargs) -> RunResult; now @staticmethod async def run(starting_agent: Agent\[TContext\], input... [pypi.org](https://pypi.org/project/restate-sdk/0.18.0/)
- **Signature changed** `restate.ext.openai.runner_wrapper.DurableModelCalls.__init__`  

Was def \_\_init\_\_(self, state: State, llm_retry_opts: LlmRetryOpts | None = None); now def \_\_init\_\_(self, state: State, llm_retry_opts: RunOptions). [pypi.org](https://pypi.org/project/restate-sdk/0.18.0/)
- **Signature changed** `restate.ext.openai.runner_wrapper.RestateModelWrapper.__init__`  

Was def \_\_init\_\_(self, model: Model, state: State, llm_retry_opts: LlmRetryOpts | None = None); now def \_\_init\_\_(self, model: Model, state: State, llm_run_options: RunOptions). [pypi.org](https://pypi.org/project/restate-sdk/0.18.0/)

## restate-sdk 0.17.0 breaking changes

restate-sdk 0.17.0, released April 7, 2026: 1 breaking change.

- **Signature changed** `restate.server_context.VMWrapper.notify_error`  

Was def notify_error(self, error: str, stacktrace: str); now def notify_error(self, error: str, stacktrace: str, delay_override: Optional\[timedelta\] = None). [pypi.org](https://pypi.org/project/restate-sdk/0.17.0/)

## restate-sdk 0.16.0 breaking changes

restate-sdk 0.16.0, released March 17, 2026: 5 breaking changes.

- **Behavior changed** `ctx.run`  

Tools used with the Pydantic AI integration are no longer automatically wrapped when called in ctx.run. Code relying on the autowrapping must wrap tools explicitly. [github.com](https://github.com/restatedev/sdk-python/releases/tag/v0.16.0)
- **Default changed**  

The default retry strategy for LLM calls is now 10 attempts with a 1 second minimum interval. Code that depends on the previous retry defaults must set its retry behavior explicitly. [github.com](https://github.com/restatedev/sdk-python/releases/tag/v0.16.0)
- **Signature changed** `restate.ext.pydantic.RestateAgent.__init__`  

Was def \_\_init\_\_(self, wrapped: AbstractAgent\[AgentDepsT, OutputDataT\], \*, event_stream_handler: EventStreamHandler\[AgentDepsT\] | None = None, disable_auto_wrapping_tools: bool = False, run_options: RunOptions | None = None); now def... [pypi.org](https://pypi.org/project/restate-sdk/0.16.0/)
- **Signature changed** `restate.ext.pydantic.RestateAgent.run`  

Was async def run(self, user_prompt: str | Sequence\[UserContent\] | None = None, \*, output_type: OutputSpec\[RunOutputDataT\] | None = None, message_history: Sequence\[ModelMessage\] | None = None, deferred_tool_results: DeferredToolResults |... [pypi.org](https://pypi.org/project/restate-sdk/0.16.0/)
- **Signature changed** `restate.ext.pydantic.RestateAgent.run_stream`  

Was async def run_stream(self, user_prompt: str | Sequence\[UserContent\] | None = None, \*, output_type: OutputSpec\[RunOutputDataT\] | None = None, message_history: Sequence\[ModelMessage\] | None = None, deferred_tool_results... [pypi.org](https://pypi.org/project/restate-sdk/0.16.0/)

## restate-sdk 0.15.0 breaking changes

restate-sdk 0.15.0, released February 19, 2026: 1 breaking change.

- **Signature changed** `restate.aws_lambda.ResponseCollector.__init__`  

Was def \_\_init\_\_(self); now def \_\_init\_\_(self, accept_encoding: str = ''). [pypi.org](https://pypi.org/project/restate-sdk/0.15.0/)

## restate-sdk 0.14.0 breaking changes

restate-sdk 0.14.0, released January 8, 2026: 2 breaking changes.

- **Removed** `restate.ext.adk.RestatePlugin.close`  

RestatePlugin.close was removed in restate-sdk 0.14.0 [pypi.org](https://pypi.org/project/restate-sdk/0.14.0/)
- **Behavior changed**  

The ADK plugin now avoids global state. Code relying on shared global state across plugin instances may need to be adjusted. [github.com](https://github.com/restatedev/sdk-python/releases/tag/v0.14.0)

## restate-sdk 0.13.0 breaking changes

restate-sdk 0.13.0, released December 9, 2025: 18 breaking changes.

- **Removed** `restate.discovery.TypeHint.is_pydantic`  

TypeHint.is_pydantic was removed in restate-sdk 0.13.0 [pypi.org](https://pypi.org/project/restate-sdk/0.13.0/)
- **Removed** `restate.server_context.JsonSerde`  

restate.server_context.JsonSerde was removed in restate-sdk 0.13.0 [pypi.org](https://pypi.org/project/restate-sdk/0.13.0/)
- **Behavior changed**  

The typed ingress client now uses HttpError for failures, so code catching the previous exception types may need to catch HttpError instead. [github.com](https://github.com/restatedev/sdk-python/releases/tag/v0.13.0)
- **Default changed** `promise`  

The default serde for promise() changed from JsonSerde to DefaultSerde, so code relying on JSON serialization of promise values may now serialize differently. [github.com](https://github.com/restatedev/sdk-python/releases/tag/v0.13.0)
- **Signature changed** `restate.asyncio.ServerInvocationContext.promise`  

Was def promise(self, name: str, serde: typing.Optional\[Serde\[T\]\] = JsonSerde(), type_hint: Optional\[typing.Type\[T\]\] = None) -> DurablePromise\[T\]; now def promise(self, name: str, serde: typing.Optional\[Serde\[T\]\] = DefaultSerde()... [pypi.org](https://pypi.org/project/restate-sdk/0.13.0/)
- **Signature changed** `restate.discovery.TypeHint.__init__`  

Was def \_\_init\_\_(self, annotation: Optional\[T\] = None, is_pydantic: bool = False, is_void: bool = False) -> None; now def \_\_init\_\_(self, annotation: Optional\[T\] = None, is_void: bool = False, generate_json_schema: Callable\[\[\], Dict\[str... [pypi.org](https://pypi.org/project/restate-sdk/0.13.0/)
- **Signature changed** `restate.handler.Handler.__init__`  

Was def \_\_init\_\_(self, service_tag: ServiceTag, handler_io: HandlerIO\[I, O\], kind: Optional\[Literal\['exclusive', 'shared', 'workflow'\]\], name: str, fn: Callable\[\[Any, I\], Awaitable\[O\]\] | Callable\[\[Any\], Awaitable\[O\]\], arity: int... [pypi.org](https://pypi.org/project/restate-sdk/0.13.0/)
- **Signature changed** `restate.handler.make_handler`  

Was def make_handler(service_tag: ServiceTag, handler_io: HandlerIO\[I, O\], name: str | None, kind: Optional\[Literal\['exclusive', 'shared', 'workflow'\]\], wrapped: Any, signature: Signature, description: Optional\[str\] = None, metadata... [pypi.org](https://pypi.org/project/restate-sdk/0.13.0/)
- **Signature changed** `restate.object.make_handler`  

Was def make_handler(service_tag: ServiceTag, handler_io: HandlerIO\[I, O\], name: str | None, kind: Optional\[Literal\['exclusive', 'shared', 'workflow'\]\], wrapped: Any, signature: Signature, description: Optional\[str\] = None, metadata... [pypi.org](https://pypi.org/project/restate-sdk/0.13.0/)
- **Signature changed** `restate.Service.__init__`  

Was def \_\_init\_\_(self, name: str, description: typing.Optional\[str\] = None, metadata: typing.Optional\[typing.Dict\[str, str\]\] = None, inactivity_timeout: typing.Optional\[timedelta\] = None, abort_timeout: typing.Optional\[timedelta\] = None... [pypi.org](https://pypi.org/project/restate-sdk/0.13.0/)

And 8 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
