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.20.0 to 0.21.2 #5112

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 27, 2022

Updates the requirements on glam to permit the latest version.

Changelog

Sourced from glam's changelog.

[0.21.2] - 2022-06-25

Fixed

  • Restore missing $crate:: prefix in deprecated const_* macros.

  • Fixed some performance regressions in affine and matrix determinant and inverses due to lack of inlining.

  • Fixed some performance regressions in the SSE2 Vec3A to Vec3 from conversion.

Added

  • Implemented BitXor and BitXorAssign traits for bool vectors.

[0.21.1] - 2022-06-22

Fixed

  • Fix compilation when FMA support is enabled.

[0.21.0] - 2022-06-22

Breaking changes

  • Minimum Supported Version of Rust bumped to 1.58.1 to allow const pointer dereferences in constant evaluation.

  • The abs_diff_eq method on Mat2 and DMat2 now takes other by value instead of reference. This is consistent with the other matrix types.

  • The AsMut and Deref trait implementations on Quat and DQuat was removed. Quaternion fields are now public.

  • The AsRef trait implementations were removed from BVec2, BVec3, BVec3A, BVec4 and BVec4A.

Added

  • NEG_ONE constant was added to all signed vector types.

  • NEG_X, NEG_Y, NEG_Z and NEG_W negative axis vectors were added to signed vector types.

  • The rotate and from_angle methods were added to Vec2 and DVec2. from_angle returns a 2D vector containing [angle.cos(), angle.sin()] that can be used to rotate another 2D vector.

  • The from_array const function was added to all vector types.

... (truncated)

Commits
  • c99ee07 Prepare 0.21.2 release.
  • 3aa9d75 Implement BitXor and BitXorAssign for bool vector masks.
  • 477f20f macros: Add missing or fix broken $crate:: prefix in (deprecated) `macro_ru...
  • 44671c3 codegen: Simplify match Err + bail! reporting with .context() and ? ope...
  • f493949 Update CHANGELOG.
  • ff88858 Simplify some wasm From code.
  • dd70021 Use Vec3A to Vec3 conversion from 0.20.5.
  • f658275 Fix some perf regressions for 2D and 3D matrix det and inv.
  • 2b8333f Renamed tera templates from *.rs to *.rs.tera.
  • 6f36305 Added ability for codegen tool to check for differences.
  • 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 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.
- [Release notes](https://github.com/bitshifter/glam-rs/releases)
- [Changelog](https://github.com/bitshifter/glam-rs/blob/main/CHANGELOG.md)
- [Commits](bitshifter/glam-rs@0.20.0...0.21.2)

---
updated-dependencies:
- dependency-name: glam
  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 Jun 27, 2022
@alice-i-cecile alice-i-cecile added the S-Adopt-Me The original PR author has no intent to complete this work. Pick me up! label Jun 27, 2022
@alice-i-cecile
Copy link
Member

CI is failing because we need to move off the deprecated method; this will need to be done manually.

@alice-i-cecile alice-i-cecile added the A-Math Fundamental domain-agnostic mathematical operations label Jun 27, 2022
@james7132
Copy link
Member

Closing this out in favor for #5142.

@james7132 james7132 closed this Jun 30, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 30, 2022

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.21.2 branch June 30, 2022 01:31
bors bot pushed a commit that referenced this pull request Jul 3, 2022
Removed `const_vec2`/`const_vec3`
and replaced with equivalent `.from_array`.

# Objective

Fixes #5112 

## Solution

- `encase` needs to update to `glam` as well. See teoxoy/encase#4 on progress on that. 
- `hexasphere` also needs to be updated, see OptimisticPeach/hexasphere#12.
inodentry pushed a commit to IyesGames/bevy that referenced this pull request Aug 8, 2022
Removed `const_vec2`/`const_vec3`
and replaced with equivalent `.from_array`.

# Objective

Fixes bevyengine#5112 

## Solution

- `encase` needs to update to `glam` as well. See teoxoy/encase#4 on progress on that. 
- `hexasphere` also needs to be updated, see OptimisticPeach/hexasphere#12.
james7132 pushed a commit to james7132/bevy that referenced this pull request Oct 28, 2022
Removed `const_vec2`/`const_vec3`
and replaced with equivalent `.from_array`.

# Objective

Fixes bevyengine#5112 

## Solution

- `encase` needs to update to `glam` as well. See teoxoy/encase#4 on progress on that. 
- `hexasphere` also needs to be updated, see OptimisticPeach/hexasphere#12.
ItsDoot pushed a commit to ItsDoot/bevy that referenced this pull request Feb 1, 2023
Removed `const_vec2`/`const_vec3`
and replaced with equivalent `.from_array`.

# Objective

Fixes bevyengine#5112 

## Solution

- `encase` needs to update to `glam` as well. See teoxoy/encase#4 on progress on that. 
- `hexasphere` also needs to be updated, see OptimisticPeach/hexasphere#12.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Math Fundamental domain-agnostic mathematical operations C-Dependencies A change to the crates that Bevy depends on S-Adopt-Me The original PR author has no intent to complete this work. Pick me up!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants