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 ahash requirement from 0.7.0 to 0.8.0 #5700

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 15, 2022

Updates the requirements on ahash to permit the latest version.

Release notes

Sourced from ahash's releases.

Version 0.8.0

  • Improve the API from 0.7 and may require code changes for some applications.
  • Removes the build time detection of the availability of a runtime random number generator and instead relies on a cargo feature runtime-rng which is on by default.
  • There are no changes to the hashing algorithm
Commits
  • 24491f6 Simplify interface (#121)
  • 76dd8d2 Issue #117: Support compiling without min_specialization and stdsimd
  • 4c340f5 fix aes acceleration on aarch64 (#116)
  • cc927da Update LICENSE-MIT
  • fbd7485 Improve codegen for mixing in length (#112)
  • e745544 Merge branch 'master' of github.com:tkaitchuck/aHash
  • 2c1daf1 More pre-mixing to guard against partially weak keys
  • f2aecc0 Implement deserialize_in_place() in Deserialize for AHashMap and AHashSet (#110)
  • 5e55048 Add type-alias feature to make it more of a drop in replacement for std Hash[...
  • c069bdc Added From<array> for AHashSet & AHashMap. (#109)
  • See full diff in compare view

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Updates the requirements on [ahash](https://github.com/tkaitchuck/ahash) to permit the latest version.
- [Release notes](https://github.com/tkaitchuck/ahash/releases)
- [Commits](tkaitchuck/aHash@v0.7.6...v0.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the C-Dependencies A change to the crates that Bevy depends on label Aug 15, 2022
@cart cart added the S-Blocked This cannot move forward until something else changes label Aug 30, 2022
@cart
Copy link
Member

cart commented Aug 30, 2022

This is blocked on hashbrown releasing a version that depends on ahash 0.8.

@stefnotch
Copy link

stefnotch commented Mar 18, 2023

This seems to be unblocked now, since hashbrown released a new version. see also #7420

@mockersf
Copy link
Member

closing in favour of #8623

@mockersf mockersf closed this May 16, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 16, 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/ahash-0.8.0 branch May 16, 2023 23:05
alice-i-cecile pushed a commit that referenced this pull request May 23, 2023
# Objective

- Update `ahash` and `hashbrown`
- Alternative to #5700 and #7420

## Solution

- Update the dependencies

This is a breaking change because we were creating two fixed hashers
with
[`AHasher::new_with_keys`](https://docs.rs/ahash/0.7.6/ahash/struct.AHasher.html#method.new_with_keys),
which was a method that existed only for testing purpose and has been
removed from public.

I replaced it with
[`RandomState::with_seeds`](https://docs.rs/ahash/0.8.3/ahash/random_state/struct.RandomState.html#method.with_seeds)
which is the proper way to get a fixed hasher (see [this
table](https://docs.rs/ahash/0.8.3/ahash/random_state/struct.RandomState.html)).
This means that hashes won't be the same across versions

---

## Migration Guide

- If you were using hashes to an asset or using one of the fixed hasher
exposed by Bevy with a previous version, you will have to update the
hashes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Dependencies A change to the crates that Bevy depends on S-Blocked This cannot move forward until something else changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants