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
ctx.run
retry policy is now supported:
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
orsignal
(#451)
Notable changes
- Minimum Restate version is
>= 1.1
- Breaking: Cloudflare workers now MUST use the module
restate-sdk-cloudflare-workers
, rather thanrestate-sdk
. The module is identical torestate-sdk
, except some patches required to use the SDK on cloudflare workers.
Full changelog
- Add options in ingress client to accept
timeout
orsignal
(#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)