Skip to content

Update glam requirement from 0.29.3 to 0.30.2 #18838

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

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 14, 2025

Updates the requirements on glam to permit the latest version.

Changelog

Sourced from glam's changelog.

[0.30.2] - 2025-04-13

Added

  • Added precision conversion functions for affine types: Affine3A::as_daffine3, DAffine3::as_affine3a, Affine2::as_daffine2 and DAffine3::as_affine2

  • Added normalize_and_length method to f32 and f64 vectors.

Changed

  • Vector min and max scalar implementations have been changed to use an if check instead of the built in Rust floating point primitive min and max methods. The Rust methods have special handling for NaN propagation however because this is not consistent between the different SIMD implementations in glam the most efficient implementation is preferred.

[0.30.1] - 2025-03-20

Added

  • Added usize vector types, USizeVec2, USizeVec3 and USizeVec4.

  • Added min_position and max_position methods for vector types, which return the index of the min or max element in the vector.

  • Added rotate_towards method to 3D vector types.

Changed

  • Removed the small angle check from 2D vector rotate_towards implementations as it was unnecessary and would not preserve the length of the input.

[0.30.0] - 2025-02-18

Breaking changes

  • The up and dir vectors passed to affine and matrix look_to_lh and look_to_rh methods must now be normalized. This was changed to be consistent with other methods.

  • Updated the optional rand dependency to 0.9

  • Updated the optional rkyv dependency to 0.8

Added

  • Implemented rand Uniform distribution trait for all vector types.

... (truncated)

Commits
  • 73e8582 Prepare 0.30.2 release. (#629)
  • d5d92e4 Fix warnings in nightly on using must_use on trait impls. (#628)
  • a8170d7 Add vector normalize_and_length method. (#627)
  • fecd1c0 Updated CHANGELOG.
  • 20e64fa Change scalar min and max functions to use comparison operators instead of pr...
  • 9e7cfbf Affine approx tests (#625)
  • 87518c8 Comment out some approx tests that are compiling yet.
  • 982a2d9 Clarify is_negative_bitmask behaviour in doc comment.
  • 6a26bde Add precision conversion functions for affine types (#624)
  • aa8447d Prepare for 0.30.1 release (#619)
  • Additional commits viewable in compare view

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 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)

@dependabot dependabot bot added the C-Dependencies A change to the crates that Bevy depends on label Apr 14, 2025
@mnmaita
Copy link
Member

mnmaita commented Apr 17, 2025

Looks like this needs to be updated alongside other libraries like rand.

Updates the requirements on [glam](https://github.com/bitshifter/glam-rs) to permit the latest version.
- [Changelog](https://github.com/bitshifter/glam-rs/blob/main/CHANGELOG.md)
- [Commits](bitshifter/glam-rs@0.29.3...0.30.2)

---
updated-dependencies:
- dependency-name: glam
  dependency-version: 0.30.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/glam-0.30.2 branch from 7b1c523 to c803fa4 Compare April 28, 2025 19:49
@mnmaita mnmaita added the S-Blocked This cannot move forward until something else changes label Apr 28, 2025
@mockersf
Copy link
Member

mockersf commented May 3, 2025

will be done in #18047

@mockersf mockersf closed this May 3, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github May 3, 2025

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/glam-0.30.2 branch May 3, 2025 09:34
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.

2 participants