Skip to content

Releases: restatedev/sdk-typescript

1.4.0

21 Oct 15:47
Compare
Choose a tag to compare

Important for existing users: Upgrading to 1.4.0 requires re-discovery of the service, due to the updated service protocol. For more details, check out https://docs.restate.dev/operate/registration and https://docs.restate.dev/operate/upgrading#service-compatibility

New features

await ctx.run("make a payment", async () => {
  // Do payment
}, {
  // Bound the run to be retried for a max number of attempts
  maxRetryAttempts: 10
});
  • Add options in ingress client to accept timeout or signal (#451)

Notable changes

  • Minimum Restate version is >= 1.1
  • Breaking: Cloudflare workers now MUST use the module restate-sdk-cloudflare-workers, rather than restate-sdk. The module is identical to restate-sdk, except some patches required to use the SDK on cloudflare workers.

Full changelog

  • Add options in ingress client to accept timeout or signal (#451) (3e7e7f5)
  • Add 1.4 in compatibility matrix (#450) (d59dba7)
  • Add run retry feature (#448) (ebcf898)
  • Remove e2e repo tests (#449) (677d892)
  • Require triple equals via eslint (#447) (5451ca5)
  • Avoid null coercion to undefined (#446) (0cac0a2)
  • Build test services Docker image (#444) (fd92190)
  • [e2e] Add verification runner (#443) (2492321)
  • Add nightly verification test GHA workflow (#442) (adb64d9)
  • Add the implementation of the e2e interpreter/helper services (#441) (1c88738)
  • Improve errors, propagating the error code (#440) (9d9254a)
  • Bump to test suite 2.1 (#439) (61e60c1)
  • Use request identity verification from shared core (#438) (e4fe954)
  • Fix cloudflare workers (#437) (1b13f15)
  • New core (#435) (df7f511)
  • Normalise incoming paths before checking them against signature (#434) (9c73979)
  • Added release note for SDK typescript and latest runtime release. (#433) (479936f)
  • Improve type inference for workflows defied from an interface (#432) (e7d271c)
  • Update compatibility matrix (e931fd8)

v1.3.3

14 Oct 09:03
Compare
Choose a tag to compare
  • Avoid null coercion to undefined in serde implementation #446

Full Changelog: v1.3.2...v1.3.3

1.3.2

04 Oct 07:53
Compare
Choose a tag to compare
  • Normalise incoming paths before checking them against signature (#434) (9c73979)
  • Added release note for SDK typescript and latest runtime release. (#433) (479936f)
  • Improve type inference for workflows defied from an interface (#432) (e7d271c)
  • Update compatibility matrix (e931fd8)

1.3.1

09 Sep 09:03
Compare
Choose a tag to compare

1.3.0

28 Aug 13:54
Compare
Choose a tag to compare

New features

  • It is now possible to plug custom ser/de in many places, by implementing the Serde interface. The Serde interface is accepted in all the APIs where the SDK needs to perform serialization/deserializaiton, including the handlers input/output, the clients, state access methods, run, awakeables and promises. For more details on the usage, see https://docs.restate.dev/develop/ts/serialization/

Full Changelog: v1.2.1...v1.3.0

1.2.1

09 Aug 07:17
Compare
Choose a tag to compare

Full Changelog: v1.2.0...v1.2.1

1.2.0

08 Aug 14:00
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.2...v1.2.0

1.1.2

19 Jul 07:13
Compare
Choose a tag to compare

Bug fix:

  • [workflow] Pass JSON deserializer in workflowClient() (#408) (4d25f6c)

1.1.1

16 Jul 12:35
Compare
Choose a tag to compare
  • Fix service handler options propagation (#405) (f89e2f7)

Release 1.1.0

15 Jul 09:56
Compare
Choose a tag to compare

New features:

  • [client] Add 'raw' opt/sendOpt to skip JSON serde (#404) (3a866f9)
  • Custom logger support (#400) (abdd44d)
  • It is now possible to provide some type information when accessing Object/Workflow state (#401) (59b2047)

Other changes:

Thanks to everyone providing feedback and contributing to the project! We're very grateful for that and we look forward to more!

Full Changelog: v1.0.1...v1.1.0