Skip to content

4.0.0

Compare
Choose a tag to compare
@autorelease3 autorelease3 released this 03 Jun 14:47
· 45 commits to master since this release
4.0.0
f42c952

💥 Breaks

  • Update serde-smile requirement from 0.1.2 to 0.2.0 (#254)
  • Added a new argument to Conjure endpoints to enable future runtime behavior customization. (#258)
  • Streaming request bodies are now passed by value to the client. (#268)
  • Update http requirement from 0.2.5 to 1.0.0 (#272)
  • The async conjure-http traits no longer use the #[async_trait] macro. (#280)
  • Async custom clients and endpoints no longer use the #[async_trait] macro. (#281)
  • Convert endpoint codegen over to conjure-macros (#292)
  • The Conjure binary type is now backed by bytes::Bytes. (#345)
  • Removed support for fallible builders. (#346)
  • Object builders are now generated with #[staged_builder]. Constructors now ignore optional fields. (#349)
  • Switch from failure to anyhow (#350)

✨ Features

  • Add #[conjure_endpoints] for custom server endpoints (#248)
  • Aliases now implement From<T> where T is their fully-dealiased type, and FromIterator when the aliased type does. (#287)

🐛 Fixes

  • Codegen succeeds for error type args that reference objects (#264)
  • Fix codegen for map<T, double> (#302)
  • Fix codegen for empty unions (#343)

💡 Improvements

  • Disable chrono's time 0.1 dependency (#255)