Skip to content

Releases: restatedev/sdk-typescript

1.0.1: ESM, better FaaS Support

21 Jun 16:11
Compare
Choose a tag to compare

This release adds ESM support, as well as a new importable component fetch (import * as restate from "@restatedev/restate-sdk/fetch") which enable usage from FaaS platforms like Cloudflare without having http2 in the import tree. There is also a new lambda component, but the old way of calling lambdaHandler() continues to work (but is deprecated).

Restate 1.0

07 Jun 08:38
Compare
Choose a tag to compare

We're happy to announce that Restate has reached the 1.0 milestone!

Check the Restate 1.0 release for more details.

Workflow API

We have introduced a new API to simplify building workflows, check out the documentation: https://docs.restate.dev/develop/ts/workflows

Shared handlers for Virtual Objects

You can now define shared handlers on virtual objects, check out the documentation: https://docs.restate.dev/develop/ts/overview#virtual-objects

What's Changed

Full Changelog: v0.9.2...v1.0.0

0.9.2: Fix CombineablePromise

03 May 18:05
Compare
Choose a tag to compare
  • Avoid transform after invoke, which appears to break CombineablePromise (#340) (81888ce)
  • Fix a warning about ?? (#341) (46d2ec9)
  • [clients] Add an example of calling via an interface (#342) (ddc01a7)

0.9.1: Fix logging related issues

29 Apr 14:43
Compare
Choose a tag to compare

v0.9.0: New DevEx

25 Apr 09:57
Compare
Choose a tag to compare

This release features a completely overhauled development experience. We suggest checking out the new documentation for more details and the new examples.

What's Changed

New Contributors

Full Changelog: v0.8.1...v0.9.0

Release 0.8.1

04 Mar 08:41
Compare
Choose a tag to compare

Release 0.8.0

01 Mar 09:21
Compare
Choose a tag to compare
  • DurablePromise#reject and Export TimeoutError (#268) (59dff97)
  • Add src/ directory to the restate-sdk package (1a5e235)
  • Some feedback about workflow api (#261) (04dd951)
  • Use .endpoint() in the examples/ (ac43e6c)
  • Remove old API (ffce6ee)
  • Introduce new endpoint() API (8b48e49)
  • Bump protocol version (dde607a)
  • Context interface rework (#257) (d17655b)
  • Add new ctx methods (5a69ec6)
  • Add a temporary comment about running the workflow example (ad1f1fd)
  • Clean up workflows and simplify some names (eb4bd4f)
  • Set retention to one week for now (09412fd)
  • Restructure external clients and add comments (b67fcac)
  • Use ServiceBundle for nicer registration. (877e66d)
  • Export workflows in pubic API (a41d78b)
  • Temporarily remove methods for message subscription (01ab378)
  • Rename client to workflow_client (21d1d01)
  • Add license headers to new files (a3ab41a)
  • First draft of workflow API (c1aaa6f)
  • Add ctx.stateKeys() (#256) (9aab80d)
  • Add ctx.clearAll() (#253) (d2494af)
  • Check protocol version (#250) (a0d271d)
  • Some sanity checking for service names. Rejects empty strings and strings containing a slash '/'. (7651249)
  • Make service registration extensible. (6cdb3fd)
  • Update copyright header for 2024 (c48f9bf)
  • Adjust example scripts in package.json to - use less verbose logging by default - avoid respawn, since they don't exit (9bd4a07)
  • Structure package.json by nodejs property ordering conventions. (c44372b)
  • Upgrade minimum node version and node types (78b1a78)
  • Add ability to pass cause to TerminalError (b33a8dd)
  • Clean up utility examples in the SDK (e858218)
  • Fix .vscode profile files (1a110cb)
  • Fix format checking and linting during builds (#241) (e4f6e95)
  • Fix bug wrt suspension in CombineablePromise (#247) (9844cad)
  • Properly export 'Rand' and 'RestateGrpcChannel' in the public API. (36d9bc3)
  • Export CombineablePromise in the public api (#246) (caeefcf)
  • Client returns CombineablePromise (#237) (33ad948)
  • Introduce orTimeout(millis) API, to easily combine a CombineablePromise with a sleep to implement timeouts. (#234) (56a00bf)
  • Deterministic promise combinators (#231) (309ccc9)
  • Remove redundant buf setup action. (9e0be25)
  • Properly pass RetrySettings parameter in the functional rpc API. (a747319)
  • Introduce ctx.console to provide logging utilities (#233) (63017c8)
  • Awakeable identifiers following the new ID scheme (#238) (5245539)
  • Update README.md (766a642)
  • Add guard for RestateContext.sideEffect await (#227) (66e82fe)

Release 0.7.0

12 Jan 15:20
cce4fa0
Compare
Choose a tag to compare
  • Service endpoint -> Deployment (#212) (bd64480)
  • [WIP] Allow printing stacktrace when invocations finish with an error (#226) (0d4d58a)
  • Server API ergonomics (#221) (31e2c9e)
  • Minor logging changes (#225) (799761a)
  • Remove cause from TerminalError, as it's not supported by the protocol (#224) (68f58bf)
  • Fix missing undefined check (#223) (50f1e5e)
  • Introduce EndMessage (#216) (a5c8aaf)
  • Add failure variant for GetState, PollInputStream and SleepEntryMessage (1785bd4)
  • Convert rpc handler responses into a JSON-safe 'any' type (#203) (a687a91)
  • Use the new REQUIRES_ACK flag and the EntryAckMessage (#195) (ae50697)
  • Use BufferedConnection in the http_connection (a18b44c)
  • Add documentation to update buf.lock (c3d84ac)

0.6.0

13 Dec 09:04
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.2...v0.6.0

Release 0.5.2

12 Dec 09:28
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.1...v0.5.2