Skip to content

TypeScript SDK v1.15.0 documentation#321

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/a831f9d6
Open

TypeScript SDK v1.15.0 documentation#321
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/a831f9d6

Conversation

@mintlify

@mintlify mintlify Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Documents user-facing features shipped in TypeScript SDK v1.15.0.

What's new

Signals and InvocationReference (develop/ts/service-communication.mdx)

  • ctx.signal(name) — wait for a named signal on the current invocation
  • ctx.invocation(id) — get an InvocationReference to send signals, cancel, or attach to any invocation by ID
  • The old ctx.cancel() / ctx.attach() are now deprecated in favour of ctx.invocation(id).cancel() / .attach()

PauseError (develop/ts/error-handling.mdx)

  • New restate.PauseError that can be thrown inside a ctx.run closure to explicitly pause an invocation instead of retrying it

onJournalMismatchErrors option (services/configuration.mdx)

  • New service/handler option to control what happens on a journal mismatch (non-determinism) error: "retry" (default), "pause", or "fail"

Flow control: ctx.scope() SDK API (services/flow-control.mdx)

  • Documents the new ctx.scope(scopeKey) method that routes outgoing calls through a named flow-control scope from within a handler
  • Also documents the limitKey option for hierarchical concurrency limits

@restatedev/restate-sdk-gen preview package (new page: develop/ts/sdk-gen.mdx)

  • New generator-based API for authoring handlers with concurrent durable tasks via spawn
  • Covers: gen/execute, run, all/race/any/allSettled/select, spawn/interrupt, cooperative cancellation with channels, contextLocal, service clients, and common pitfalls

@restatedev/restate-sdk-tunnel preview package (new page: services/deploy/tunnel.mdx)

  • Reverse-tunnel client for Restate Cloud: serves a deployment over an outbound connection, no public ingress required
  • Covers setup, zero-config Kubernetes operator mode, graceful shutdown, and comparison with restate.serve()

All preview features require restate-server 1.7 with the relevant experimental flags enabled (noted inline).

@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 Jun 22, 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 Jun 22, 2026, 7:56 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants