Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps(core_lib): bump ts-rs from 9.0.1 to 10.0.0 in /core_lib in the dependencies group across 1 directory #208

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 2, 2024

Bumps the dependencies group with 1 update in the /core_lib directory: ts-rs.

Updates ts-rs from 9.0.1 to 10.0.0

Release notes

Sourced from ts-rs's releases.

v10.0.0

While v10.0.0 is a technically breaking change, we expect it to be a drop-in replacement for almost all users.

Changes to HashMap<K, V> (& friends)

In this release, we've changed how HashMap<K, V> is represented in TypeScript.
Before v10, ts-rs generated { [key: K]: V }. This was never technically correct, resulting in tsc accepting some code which it should not have. Additionally, this resulted in issues when e.g trying to use an enum as key.
With v10, we now generate { [key in K]?: V } instead.

What's New?

  • Multiple types can be exported to the same file using #[ts(export_to = "..")]
  • #[ts(as = "..")] and #[ts(type = "..")] now also work on enum variants
  • Support for more crates (bson, smol_str)

Full changelog

New Contributors

Changelog

Sourced from ts-rs's changelog.

master

Breaking

  • Change how 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

  • Allow multile types to have the same #[ts(export_to = "...")] attribute and be exported to the same file (#316)
  • The bson-uuid-impl feature now supports bson::oid::ObjectId as well (#340)
  • Add support for types from smol_str behind cargo feature smol_str-impl (#350)
  • Support #[ts(as = "...")] and #[ts(type = "...")] on enum variants (#384)

Fixes

  • Properly handle block doc comments (#342)
  • Fix error in internally tagged enums with flattened fields (#344)
  • Always use forward slash on import paths (#346)
Commits
  • 0d92a2b release v10.0
  • 9763ca0 Support #[ts(as = "...")] and #[ts(type = "...")] on enum variants (#284)
  • 6651d92 Fix smol_str-impl feature name in lib.rs
  • fb47428 Fix smol_str-impl feature name in test
  • 61a6d6a Fix smol_str-impl feature name
  • 7577aca feature: support smol_str (#350)
  • 78591a2 Always use forward slash on import paths (#346)
  • 5cbc740 feat: Allow multiple types to set #[ts(export_to = "...")] to the same file...
  • 5c3b8c9 Fix error in internally tagged enums with flattened fields (#344)
  • 7ee0cbc Update CHANGELOG
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Martichou and others added 2 commits October 2, 2024 23:24
Bumps the dependencies group with 1 update in the /core_lib directory: [ts-rs](https://github.com/Aleph-Alpha/ts-rs).


Updates `ts-rs` from 9.0.1 to 10.0.0
- [Release notes](https://github.com/Aleph-Alpha/ts-rs/releases)
- [Changelog](https://github.com/Aleph-Alpha/ts-rs/blob/main/CHANGELOG.md)
- [Commits](Aleph-Alpha/ts-rs@v9.0.1...v10.0.0)

---
updated-dependencies:
- dependency-name: ts-rs
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 2, 2024
@Martichou Martichou force-pushed the master branch 2 times, most recently from 90e9775 to d683001 Compare October 3, 2024 18:50
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 7, 2024

Looks like ts-rs is updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Oct 7, 2024
@dependabot dependabot bot deleted the dependabot/cargo/core_lib/dependencies-bc720e0adf branch October 7, 2024 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant