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 glam requirement from 0.24 to 0.25 #688

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 19, 2023

Updates the requirements on glam to permit the latest version.

Changelog

Sourced from glam's changelog.

[0.25.0] - 2023-12-19

Breaking changes

  • Changed Vec4 to always used BVec4A as a mask type, regardless if the target architecture has SIMD support in glam. Previously this was inconsistent on different hardware like ARM. This will have a slight performance cost when SIMD is not available. Vec4 will continue to use BVec4 as a mask type when the scalar-math feature is used.

Fixed

  • Made Affine2 implement the bytemuck::AnyBitPattern trait instead of bytemuck::Pod as it contains internal padding due to Mat2 being 16 byte aligned.

  • Updated the core-simd implementation to build on latest nightly.

Added

  • Added to_angle method to 2D vectors.

  • Added FloatExt trait which adds lerp, inverse_lerp and remap methods to f32 and f64 types.

  • Added i16 and u16 vector types, I16Vec2, I16Vec3, I16Vec4, U16Vec2, U16Vec3 and U16Vec4.

Changed

  • Renamed Quat::as_f64() to Quat::as_dquat() and DQuat::as_f32() to DQuat::as_quat() to be consistent with other types. The old methods have been deprecated.

  • Added the #[must_use] attribute to all pure functions following the guidelines for the Rust standard library.

[0.24.2] - 2023-09-23

Fixed

  • Fixed singularities in Quat::to_euler.

Added

  • Added div_euclid and rem_euclid to integer vector types.

  • Added wrapping and saturating arithmetic operations to integer vector types.

  • Added to_scale_angle_translation to 2D affine types.

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

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](https://github.com/bitshifter/glam-rs/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 19, 2023
Copy link

codecov bot commented Dec 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (980e402) 57.54% compared to head (dc7e64b) 57.54%.

Additional details and impacted files
@@           Coverage Diff           @@
##            trunk     #688   +/-   ##
=======================================
  Coverage   57.54%   57.54%           
=======================================
  Files          51       51           
  Lines        4383     4383           
=======================================
  Hits         2522     2522           
  Misses       1861     1861           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

stale bot commented Feb 18, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 18, 2024
@VictorKoenders VictorKoenders merged commit 775fc45 into trunk Feb 21, 2024
74 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/glam-0.25 branch February 21, 2024 14:49
@VictorKoenders
Copy link
Contributor

Not sure if we should've updated this as it's a test to make sure that version of glam still worked, but there was no actual change to the test so it's whatever to me

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 stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant