a976e91Handle disconnects raising unhandled DisconnectError
3287e96correct invalid generated handler ident when usingnameattribute.bf34c4cExposets-rs::TSfunctionality viatsattribute macro. To migrate, replace any instances of#[derive(ts_rs::TS)]with#[qubit::ts], and removets-rsfrom package dependencies.c4cd986Rewritehandlermacro 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, userouter.as_codegen().write_type(path, TypeScript::new())to generate types, androuter.as_rpc(ctx).into_service()to build the service.c67ced6Updatets-rsto11.0.0
- Upgraded to
qubit-macros@1.0.0-beta.0
a5f1638Update Axum to 0.8, and other dependencies (#94, thanks @epatters).
- Upgraded to
qubit-macros@0.6.5
1aec8beEnable theutilfeature ontowerto close #82
6998257Alter router type generation to re-export all types.88ef762(#84) Updatets-rsto 10.1.0 (thanks @epatters)
7fe1372Add/* eslint-disable */to generated bindings (#77, thanks @lucasavila00!)7fe1372Upgradets-rsto latest version (#76, thanks @lucasavila00!)
- Upgraded to
qubit-macros@0.6.4
- Upgraded to
qubit-macros@0.6.3
e17bbf0refactor client to introduct plugins, simplify types, and prepare for future work
- Upgraded to
qubit-macros@0.6.2
e426945allow forqueryhandlers to be accessed viaGETas well asPOST
- Upgraded to
qubit-macros@0.6.1
dbf8fd5update readme with correct instructions
- Upgraded to
qubit-macros@0.6.0
9543d12(BREAKING) pass single cloneable ctx to builder instead of closure that accepts a request7274cb0BREAKING replaceFromContextwithFromRequestExtensionsto build ctx from request information (via tower middleware)
111db0afix incorrect handling of deeply nested routers
cb95f67fix example dependency versions in README
64913a8provide mutable reference to request parts, instead of the entire request to the context builder.
69669f4update to jsonrpsee 0.23.0
- Upgraded to
qubit-macros@0.5.1
fe5fd40bring README back up to date
- Upgraded to
qubit-macros@0.5.0
57e124faddon_closecallback toto_service, which will be run when the client connection closes (close #44)
- Upgraded to
qubit-macros@0.4.1
a57ec51update crate description to match repository
- Upgraded to
qubit-macros@0.4.0
625df36removeExportTypemacro, to now only rely onts-rs::TS(close #26)
- Upgraded to
qubit-macros@0.3.0
55f4b31allow forto_serviceto return a future which produces the context
be65ee3addHashSet,BTreeSet, andBTreeMapto types that implementExportType
3840c3bautomatically dervieExportTypeforf32andf64
- Upgraded to
qubit-macros@0.2.1
- Upgraded to
qubit-macros@0.2.0
0758fe3alterFromContexttrait to beasync
- Upgraded to
qubit-macros@0.1.0 a5f8e49update dependencies
99c8fd3refactorTypeDependenciestrait intoExportTypetrait
2aafe80switch over toTypeRegistryto export client, and now optionally exportStreamas required
43eb9c4Make 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.
0.0.9 - 2024-05-23
- bump client version
- synchronously return unsubscribe function from client
- improve build script for client lib
- rename proc macro implementation for
TypeDependencies - turn
exported_typeinto a proc macro - properly generate
TypeDependenciestrait for built-in generic types
0.0.8 - 2024-05-22
- properly handle unit return type from handlers
- remove whitespace in readme
- add badges to readme
0.0.7 - 2024-05-22
- make some sub-modules with documentation public
- try add github actions
- continue adding documentation and re-factoring
- begin refactoring and moving files into more reasonable layout