Skip to content

Releases: restatedev/sdk-go

v0.13.1

26 Nov 11:36
0951df2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.12.0...v0.13.0

v0.12.0

08 Nov 11:34
88adcef
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.11.0...v0.12.0

v0.11.0

23 Aug 13:32
Compare
Choose a tag to compare

This PR breaks essentially the entire API, as methods have been moved from Context.Run et all to restate.Run(ctx) et all, which is much more pleasant.

Serialisation issues will now always panic - this allows us to take error return values out of various api calls that don't need them.

The semantics of .Get() have changed - the zero value is now always returned if the key isn't found. You can check explicitly for this case by providing a pointer type eg *string. Get will now only return errors in the case of cancellation, which will also only happen if eager state is disabled, which is not the default. As such, errors from gets are now very unlikely and you can just return them without another thought.

It is also notable that you can now provide many more method signatures to .Reflect().

What's Changed

Full Changelog: v0.10.0...v0.11.0

v0.10.0

16 Aug 09:23
Compare
Choose a tag to compare

There are several breaking changes in this release:

  1. NewServiceRouter et al -> NewService
  2. restate.Service and restate.Object -> restate.Reflect
  3. Sleep now returns an error, which is returned in the case of invocation cancellation

There is also a significant new feature; code generation. For other changes, see below

What's Changed

New Contributors

Full Changelog: v0.9.1...v0.10.0

v0.9.1

19 Jul 16:09
460d0cd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.9.0...v0.9.1

v0.9.0

17 Jul 07:53
Compare
Choose a tag to compare

With v0.9.0, this repository is compatible with Restate v1, and is much closer to feature complete with other repos. Correctness has been validated using the Restate verification tests in restatedev/e2e. A 1.0 release will come when we have API stability, which will not come until we have some feedback from users.

What's Changed

New Contributors

Full Changelog: v0.8.2...v0.9.0