Commit b0f63e1
authored
Publish New Versions (#98)
# Version Updates
Merging this PR will release new versions of the following packages
based on your change files.
# qubit-macros
## [1.0.0-beta.0]
- 91b3375 Generate better spans for errors in the `handler` macro,
including UI tests to verify error
messages.
- 3287e96 correct invalid generated handler ident when using `name`
attribute.
- cd128d6 No longer require handlers to be `async`. The macro will
automatically convert all handlers into
async functions upon expansion.
- 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.
- c67ced6 Update `ts-rs` to `11.0.0`
# qubit
## [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`11 files changed
Lines changed: 1305 additions & 779 deletions
File tree
- .changes
- crates/qubit-macros
- examples
- authentication
- chaos
- chat-room-react/src-rust
- counter
- hello-world
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
4 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
3 | 20 | | |
4 | 21 | | |
5 | 22 | | |
| |||
0 commit comments