Skip to content

Releases: restatedev/sdk-rust

v0.3.0

10 Sep 07:17
Compare
Choose a tag to compare

Breaking changes

  • The ctx.run API now does not require name as first parameter anymore
  • Renamed Endpoint.with_service to Endpoint.bind
  • This SDK is compatible only with Restate >= 1.1

New features

What's Changed

Full Changelog: v0.2.0...v0.3.0

v0.2.0

22 Aug 08:12
Compare
Choose a tag to compare

New features

  • Generated clients from the respective service/object/workflow macros. To use them, just use context.service_client::<MyTraitClient>() et al.
  • You can now use the hyper integration alone, without using our HttpServer that depends on tokio, by enabling the feature hyper and disabling the feature http_server
  • Now the context methods are defined in traits
  • Add ctx.rand() and ctx.rand_uuid() for deterministic random number/uuid generation
  • Add ctx.headers() and ctx.headers_mut() to access the ingress headers
  • Add identity verification

Breaking changes

  • Renamed HyperServer to HttpServer
  • Removed context send, send_delay and call, replaced with ctx.request(..).send() and ctx.request(..).call() (in future this Request struct will allow to configure some parameters of the request, such as headers)

Full Changelog: v0.1.0...v0.2.0