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

Update borsh requirement from 0.9.3 to 0.10.0 in /crates/ibc #366

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 23, 2023

Updates the requirements on borsh to permit the latest version.

Release notes

Sourced from borsh's releases.

v0.10.0

  • Fix no-std feature (some of the imports incorrectly used std:: instead of crate::maybestd::)
  • Fix borsh-schema derives with for bounds
  • Implemented BorshSchema for HashSet
  • Add support for isize, usize types
  • Delete schema for char
  • Implement ser/de and schema for (T,)
  • Add clone impls to borsh schema types
  • Remove unnecessary trait bounds requirements for array
  • BREAKING CHANGE: BorshDeserialize now works by receiving an &mut std::io::Read instead of a &mut &[u8]. This is a breaking change for code that provides custom implementations of BorshDeserialize; there is no impact on code that uses only the derive macro.
  • Added BorshDeserialize::try_from_reader and BorshDeserialize::deserialize_reader.
  • Upgrade hashbrown version to be >=0.11,<0.14 to allow wider range of versions.

Crate Links

Changelog

Sourced from borsh's changelog.

[0.10.0] - 2023-01-19

  • Fix no-std feature (some of the imports incorrectly used std:: instead of crate::maybestd::)
  • Fix borsh-schema derives with for bounds
  • Implemented BorshSchema for HashSet
  • Add support for isize, usize types
  • Delete schema for char
  • Implement ser/de and schema for (T,)
  • Add clone impls to borsh schema types
  • Remove unnecessary trait bounds requirements for array
  • BREAKING CHANGE: BorshDeserialize now works by receiving an &mut std::io::Read instead of a &mut &[u8]. This is a breaking change for code that provides custom implementations of BorshDeserialize; there is no impact on code that uses only the derive macro.
  • Added BorshDeserialize::try_from_reader and BorshDeserialize::deserialize_reader.
  • Upgrade hashbrown version to be >=0.11,<0.14 to allow wider range of versions.

[0.9.3] - 2022-02-03

  • Fix no_std compatibility.
  • Reduce code bloat in derived BorshSerialize impl for enums.

[0.9.2] - 2022-01-25

  • Upgrade hashbrown from 0.9 to 0.11. This can breakage in the rare case that you use borsh schema together with no-std support and rely on a specific version hashbrown of SchemaContainer. This is considered to be obscure enough to not warrant a semver bump.

[0.9.1] - 2021-07-14

  • Eliminated unsafe code from both ser and de of u8 (#26)
  • Implemented ser/de for reference count types (#27)
  • Added serialization helpers to improve api ergonomics (#34)
  • Implemented schema for arrays and fix box bounds (#36)
  • Implemented (de)ser for PhantomData (#37)
  • Implemented const-generics under feature (#38)
  • Added an example of direct BorshSerialize::serialize usage with vector and slice buffers (#29)

[0.9.0] - 2021-03-18

  • BREAKING CHANGE: is_u8 optimization helper is now unsafe since it may cause undefined behavior if it returns true for the type that is not safe to Copy (#21)
  • Extended the schema impls to support longer arrays to match the de/serialization impls (#22)

[0.8.2] - 2021-03-04

  • Avoid collisions of imports due to derive-generated code (#14)

... (truncated)

Commits

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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [borsh](https://github.com/near/borsh-rs) to permit the latest version.
- [Release notes](https://github.com/near/borsh-rs/releases)
- [Changelog](https://github.com/near/borsh-rs/blob/master/CHANGELOG.md)
- [Commits](near/borsh-rs@v0.9.3...v0.10.0)

---
updated-dependencies:
- dependency-name: borsh
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the S: deps Scope: related to dependencies label Jan 23, 2023
@plafer
Copy link
Contributor

plafer commented Jan 23, 2023

blocked on cosmos/ibc-proto-rs#57

@plafer plafer added the A: blocked Admin: blocked by another (internal/external) issue or PR label Jan 23, 2023
@plafer plafer closed this Feb 9, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 9, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/crates/ibc/borsh-0.10.0 branch February 9, 2023 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: blocked Admin: blocked by another (internal/external) issue or PR S: deps Scope: related to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant