Skip to content

qubit v1.0.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 20 Aug 13:33
b0f63e1

[1.0.0-beta.0]

  • 3287e96 correct invalid generated handler ident when using name attribute.
  • bf34c4c Expose ts-rs::TS functionality via ts attribute macro. To migrate, replace any instances of
    #[derive(ts_rs::TS)] with #[qubit::ts], and remove ts-rs from package dependencies.
  • c4cd986 Rewrite handler macro to be easier to maintain and test. This isn't inherently a breaking change,
    however there's no guarentee that the previous implementation wasn't broken or inconsistent in some
    way.
  • 0b46323 (BREAKING) Refactor router to separate RPC functionality from type generation functionality.
    Now, use router.as_codegen().write_type(path, TypeScript::new()) to generate types, and
    router.as_rpc(ctx).into_service() to build the service.
  • c67ced6 Update ts-rs to 11.0.0

Dependencies