Skip to content

Latest commit

 

History

History
266 lines (146 loc) · 9.06 KB

File metadata and controls

266 lines (146 loc) · 9.06 KB

Changelog

[1.0.0-beta.1]

  • a976e91 Handle disconnects raising unhandled DisconnectError

[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

  • Upgraded to qubit-macros@1.0.0-beta.0

[0.10.3]

  • a5f1638 Update Axum to 0.8, and other dependencies (#94, thanks @epatters).

Dependencies

  • Upgraded to qubit-macros@0.6.5

[0.10.2]

  • 1aec8be Enable the util feature on tower to close #82

[0.10.1]

  • 6998257 Alter router type generation to re-export all types.
  • 88ef762 (#84) Update ts-rs to 10.1.0 (thanks @epatters)

[0.10.0]

feat

  • 7fe1372 Add /* eslint-disable */ to generated bindings (#77, thanks @lucasavila00!)
  • 7fe1372 Upgrade ts-rs to latest version (#76, thanks @lucasavila00!)

[0.9.5]

Dependencies

  • Upgraded to qubit-macros@0.6.4

feat

  • 1fb61ac (#69) return parameter deserialising errors if they are encountered (close #69)

[0.9.4]

feat

  • 886106b support GET for queries in client
  • 3f6b12b include // @ts-nocheck at top of generated files

[0.9.3]

Dependencies

  • Upgraded to qubit-macros@0.6.3

feat

  • e17bbf0 refactor client to introduct plugins, simplify types, and prepare for future work

[0.9.2]

Dependencies

  • Upgraded to qubit-macros@0.6.2

feat

  • e426945 allow for query handlers to be accessed via GET as well as POST

[0.9.1]

Dependencies

  • Upgraded to qubit-macros@0.6.1

fix

  • dbf8fd5 update readme with correct instructions

[0.9.0]

Dependencies

  • Upgraded to qubit-macros@0.6.0

feat

  • 9543d12 (BREAKING) pass single cloneable ctx to builder instead of closure that accepts a request
  • 7274cb0 BREAKING replace FromContext with FromRequestExtensions to build ctx from request information (via tower middleware)

fix

  • 111db0a fix incorrect handling of deeply nested routers

[0.8.0]

  • cb95f67 fix example dependency versions in README

feat

  • 64913a8 provide mutable reference to request parts, instead of the entire request to the context builder.

[0.7.0]

  • 69669f4 update to jsonrpsee 0.23.0

Dependencies

  • Upgraded to qubit-macros@0.5.1

fix

  • fe5fd40 bring README back up to date

[0.6.1]

Dependencies

  • Upgraded to qubit-macros@0.5.0

[0.6.0]

feat

  • 57e124f add on_close callback to to_service, which will be run when the client connection closes (close #44)

[0.5.2]

fix

  • 0bb7ac9 (#41) fix exporting tuple types returned from handlers (close #41)

[0.5.1]

Dependencies

  • Upgraded to qubit-macros@0.4.1

minor

  • a57ec51 update crate description to match repository

[0.5.0]

Dependencies

  • Upgraded to qubit-macros@0.4.0

feat

  • 625df36 remove ExportType macro, to now only rely on ts-rs::TS (close #26)

[0.4.0]

  • ea54e2b change exported server type to QubitServer (close #28)
  • 3f015f9 pass all CI checks

Dependencies

  • Upgraded to qubit-macros@0.3.0

[0.3.0]

fix

  • 55f4b31 allow for to_service to return a future which produces the context

feat

  • be65ee3 add HashSet, BTreeSet, and BTreeMap to types that implement ExportType

[0.2.1]

  • 3840c3b automatically dervie ExportType for f32 and f64

Dependencies

  • Upgraded to qubit-macros@0.2.1

[0.2.0]

Dependencies

  • Upgraded to qubit-macros@0.2.0

feat

  • 0758fe3 alter FromContext trait to be async

[0.1.0]

Dependencies

  • Upgraded to qubit-macros@0.1.0
  • a5f8e49 update dependencies

refactor

  • 99c8fd3 refactor TypeDependencies trait into ExportType trait

feat

  • 2aafe80 switch over to TypeRegistry to export client, and now optionally export Stream as required

[0.0.10]

fix

  • 43eb9c4 Make sure that the subscription and channel are both still active before attempting to send data down them.

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

0.0.9 - 2024-05-23

Other

  • bump client version
  • synchronously return unsubscribe function from client
  • improve build script for client lib
  • rename proc macro implementation for TypeDependencies
  • turn exported_type into a proc macro
  • properly generate TypeDependencies trait for built-in generic types

0.0.8 - 2024-05-22

Fixed

  • properly handle unit return type from handlers

Other

  • remove whitespace in readme
  • add badges to readme

0.0.7 - 2024-05-22

Fixed

  • make some sub-modules with documentation public

Other

  • try add github actions
  • continue adding documentation and re-factoring
  • begin refactoring and moving files into more reasonable layout