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

chore: update rust crate rkyv to 0.8.0 #1110

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 1, 2024

This PR contains the following updates:

Package Type Update Change
rkyv dependencies minor 0.7.41 -> 0.8.0

Release Notes

rkyv/rkyv (rkyv)

v0.8.8

Compare Source

  • Fixes auto copy optimization referring to generated types with as = ...

Full Changelog: rkyv/rkyv@0.8.7...0.8.8

v0.8.7

Compare Source

  • Removes an unused lifetime from the high- and low-level API serializer types.

Full Changelog: rkyv/rkyv@0.8.6...0.8.7

v0.8.6

Compare Source

What's Changed

New Contributors

Full Changelog: rkyv/rkyv@0.8.5...0.8.6

v0.8.5

Compare Source

This bugfix release only includes performance optimizations.

Full Changelog: rkyv/rkyv@0.8.4...0.8.5

v0.8.4

Compare Source

What's Changed

  • Support missing enum variants on remote derives by @​MaxOhn in https://github.com/rkyv/rkyv/pull/553
  • Removed a stale reference to ArchivedAlignedVec
  • Fixed a panic caused by serializing hashmaps of large elements
  • Reduced branching when writing inline strings (~15% ser improvement on log benchmark)

Full Changelog: rkyv/rkyv@0.8.3...0.8.4

v0.8.3

Compare Source

What's Changed

New Contributors

Full Changelog: rkyv/rkyv@0.8.2...0.8.3

v0.8.2

Compare Source

This bugfix release addresses the following issues:

  • #​548 Makes the AsVec wrapper compatible with any choice of hasher
  • #​549 Access pointer validation fails for nested HashMaps

v0.8.1

Compare Source

This bugfix release corrects an infinite loop in hash map probing.

v0.8.0

It's finally here! A ton of stuff has changed, so here are some highlights:

  • API free functions are now more ergonomic and consistently-named. See to_bytes, from_bytes, access, and everything else!
  • rkyv now provides separate "API levels" for high-level Rust code and low-level Rust code.
  • Error handling has been completely overhauled with the introduction of rancor. Validation, serialization, and deserialization all now accept error type parameters so you can choose how you want errors to accumulate.
  • rkyv now supports remote derive! Read all about it in the book.
  • Unaligned primitives are now supported via the unaligned feature. If you choose, no more worrying about buffer alignment!
  • Native endianness is no more. rkyv now defaults to little-endian, aligned, and 32-bit relative pointers. Use the format control features to change them if you want.
  • A few semver-affecting soundness issues have been fixed. rkyv should now really truly and always generate cross-platform buffers.
  • The archived hash map and b-tree map implementations have been overhauled for better space-efficiency and performance.
  • Macro attributes have been overhauled to make them significantly more cohesive and ergonomic.
  • rkyv's mutable API has been overhauled for improved soundness and ease of use.
  • rkyv's internal APIs have been overhauled for improved ease of use.
  • Many serialization and deserialization types and traits have been renamed for shortness and clarity.
  • Copy optimizations are now stable for many basic primitive types.
  • The Most Unhelpful Error no longer occurs (the compiler mentions With<_, _> when you try to deserialize)
  • AlignedVec now supports custom alignments
  • No more strict feature, rkyv is always in strict mode now
  • Lots and lots and lots of tech debt cleanup

... and much more! Try it out yourself after I release this new version on-stage at RustConf.

Reminder: this is a major version bump, and data previously serialized with rkyv 0.7 or below will not be compatible with 0.8. Any data you serialize in 0.8 is guaranteed to be compatible for the lifetime of the 0.8 releases.

v0.7.43: 0.7.43

Compare Source

This bugfix release closes a number of issues:

  • Fix documentation typo (#​433)
  • Add a with_capacity constructor for SharedSerializeMap, SharedDeserializeMap, DefaultValidator, and SharedValidator (#​432)
  • Fix tinyvec/alloc feature cfg and docs (#​428)
  • Use the Entry API to avoid double hash lookups (#​426)
  • Preallocate HashMap/HashSet data on deserialize (#​427)
  • Fix documentation typo (#​422)
  • Add support for VecDeque (#​414)
  • Add smol_str support (#​411)
  • Add some ergonomic APIs to Option and Result (#​413)
  • Add tokio Bytes suport (#​408)

Thanks to everyone who helped contribute to this release: @​gz, @​monoid, @​b8591340, @​alvra, @​blp, @​al8n, @​cholcombe973, and @​FallingSnow.


Configuration

📅 Schedule: Branch creation - "after 10am on the first day of the month" (UTC), 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Dec 1, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path cynic-codegen/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `rkyv`.
    ... required by package `cynic-codegen v3.9.0 (/tmp/renovate/repos/github/obmarg/cynic/cynic-codegen)`
    ... which satisfies path dependency `cynic-codegen` (locked to 3.9.0) of package `cynic-examples v3.4.0 (/tmp/renovate/repos/github/obmarg/cynic/examples)`
versions that meet the requirements `^0.8.0` are: 0.8.9, 0.8.8, 0.8.7, 0.8.6, 0.8.5, 0.8.4, 0.8.3, 0.8.2, 0.8.1, 0.8.0

the package `cynic-codegen` depends on `rkyv`, with features: `validation` but `rkyv` does not have these features.


failed to select a version for `rkyv` which could resolve this conflict

Copy link

netlify bot commented Dec 1, 2024

Deploy Preview for cynic-querygen-web canceled.

Name Link
🔨 Latest commit 97e3ebb
🔍 Latest deploy log https://app.netlify.com/sites/cynic-querygen-web/deploys/674c3b36ddf0610008d41467

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants