Skip to content

v0.2.0

Compare
Choose a tag to compare
@slinkydeveloper slinkydeveloper released this 22 Aug 08:12
· 14 commits to main since this release

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