Skip to content

v0.5.0

Latest
Compare
Choose a tag to compare
@slinkydeveloper slinkydeveloper released this 29 Apr 13:52

What's Changed

Schema generation

By enabling the optional dependency schemars, the SDK will generate and propagate JSON schemas of your handlers input/output, which will be available in the generated OpenAPI and in the Restate Playground. For more details on the schema generation, and info on how to tune it, check the https://docs.rs/restate-sdk/latest/restate_sdk/serde/trait.PayloadMetadata.html documentation.

Thanks to @hxphsts for the contribution!

New restate-sdk-testcontainers module

We've released a first version of the testcontainers integration, that simplifies testing locally your restate service. Check https://github.com/restatedev/sdk-rust/blob/main/testcontainers/tests/test_container.rs for a full example.

Thanks to @kpwebb for the contribution.

Full Changelog: v0.4.0...v0.5.0