Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.0.0
->10.0.0
Release Notes
Aleph-Alpha/ts-rs (ts-rs)
v10.1.0
Compare Source
Features
tokio
(featuretokio-impl
)Fixes
serde_json::Value
v10.0.0
Compare Source
Breaking
HashMap<K, V>
is represented in TypeScript. The resulting bindings ({ [key in K]?: V }
instead of{ [key: K]: V }
) are more accurate and flexible.Features
#[ts(export_to = "...")]
attribute and be exported to the same file (#316)bson-uuid-impl
feature now supportsbson::oid::ObjectId
as well (#340)smol_str
behind cargo featuresmol_str-impl
(#350)#[ts(as = "...")]
and#[ts(type = "...")]
on enum variants (#384)Fixes
v9.0.1
Compare Source
Fixes
#[ts(flatten)]
on fields using generic parameters (#336)v9.0.0
Compare Source
Breaking
#[serde(with = "...")]
requires the use of#[ts(as = "...")]
or#[ts(type = "...")]
(#280)snake_case
,kebab-case
andSCREAMING_SNAKE_CASE
(#298)#[ts(rename_all = "...")]
no longer accepts variations in the string's casing, dashes and underscores to make behavior consistent with serde (#298)TypeList
, and replaceTS::dependency_types
/TS::generics
withTS::visit_dependencies
/TS::visit_generics
.This finally resolves "overflow evaluating the requirement", "reached the recursion limit" errors.
Also, compile times should benefit. This is a technically breaking change for those interacting with the
TS
traitdirectly. For those just using
#[derive(TS)]
and#[ts(...)]
, nothing changes!Features
#[ts(type = "..")]
directly on structs and enums (#286)#[ts(as = "..")]
directly on structs and enums (#288)#[ts(rename_all = "SCREAMING-KEBAB-CASE")]
(#298)_
in#[ts(type = "..")]
to refer to the type of the field (#299)Fixes
#[ts(rename_all_fields = "...")]
on enums containing tuple or unit variants (#287)TS_RS_EXPORT_DIR
paths (#323)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.