Release v0.33.0 (#1417)

This commit is contained in:
Sébastien Crozet 2024-06-23 15:28:37 +02:00 committed by GitHub
parent 5ad68f486d
commit 48c8f6a505
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 45 additions and 37 deletions

View File

@ -5,16 +5,27 @@ documented here.
This project adheres to [Semantic Versioning](https://semver.org/). This project adheres to [Semantic Versioning](https://semver.org/).
## Unreleased ## [0.33.0] (23 June 2024)
### Fixed
- Fix a memory leak in `Matrix::generic_resize`.
- Fix `glm::is_null` to check the vector magnitude instead of individual components.
- Ensure that inverting a 4x4 matrix leaves it unchanged if the inversion fails.
### Added ### Added
- Add the `glam-0.28` feature to enable conversion from/to types from `glam` v0.28. - Add the `glam-0.28` feature to enable conversion from/to types from `glam` v0.28.
- Add a `stack!` macro for concatenating matrices. See [#1375](https://github.com/dimforge/nalgebra/pull/1375).
### Removed ### Modified
- The `cuda` feature has been removed, as the toolchain it depends on - The `cuda` feature has been removed, as the toolchain it depends on is long abandoned.
is long abandoned. - Update to `simba` 0.9. See the [changelog](https://github.com/dimforge/simba/blob/master/CHANGELOG) of `simba` for
details.
- Update the `nalgebra-macros` crate to `syn` 2.0.
- Remove the scalar type `T` from the `Allocator` trait parameters. Instead of `Allocator<T, R, C>`, use the simpler
`Allocator<R, C>`.
## [0.32.6] (12 June 2024) ## [0.32.6] (12 June 2024)

View File

@ -1,6 +1,6 @@
[package] [package]
name = "nalgebra" name = "nalgebra"
version = "0.32.3" version = "0.33.0"
authors = ["Sébastien Crozet <developer@crozet.re>"] authors = ["Sébastien Crozet <developer@crozet.re>"]
description = "General-purpose linear algebra library with transformations and statically-sized or dynamically-sized matrices." description = "General-purpose linear algebra library with transformations and statically-sized or dynamically-sized matrices."
@ -74,7 +74,7 @@ slow-tests = []
rkyv-safe-deser = ["rkyv-serialize", "rkyv/validation"] rkyv-safe-deser = ["rkyv-serialize", "rkyv/validation"]
[dependencies] [dependencies]
nalgebra-macros = { version = "0.2.1", path = "nalgebra-macros", optional = true } nalgebra-macros = { version = "0.2.2", path = "nalgebra-macros", optional = true }
typenum = "1.12" typenum = "1.12"
rand-package = { package = "rand", version = "0.8", optional = true, default-features = false } rand-package = { package = "rand", version = "0.8", optional = true, default-features = false }
num-traits = { version = "0.2", default-features = false } num-traits = { version = "0.2", default-features = false }

View File

@ -5,9 +5,6 @@
<a href="https://discord.gg/vt9DJSW"> <a href="https://discord.gg/vt9DJSW">
<img src="https://img.shields.io/discord/507548572338880513.svg?logo=discord&colorB=7289DA"> <img src="https://img.shields.io/discord/507548572338880513.svg?logo=discord&colorB=7289DA">
</a> </a>
<a href="https://circleci.com/gh/dimforge/nalgebra">
<img src="https://circleci.com/gh/dimforge/nalgebra.svg?style=svg" alt="Build status">
</a>
<a href="https://crates.io/crates/nalgebra"> <a href="https://crates.io/crates/nalgebra">
<img src="https://img.shields.io/crates/v/nalgebra.svg?style=flat-square" alt="crates.io"> <img src="https://img.shields.io/crates/v/nalgebra.svg?style=flat-square" alt="crates.io">
</a> </a>
@ -17,7 +14,7 @@
</p> </p>
<p align = "center"> <p align = "center">
<strong> <strong>
<a href="https://nalgebra.org">Users guide</a> | <a href="https://docs.rs/nalgebra/latest/nalgebra/">Documentation</a> | <a href="https://discourse.nphysics.org/c/nalgebra">Forum</a> <a href="https://nalgebra.org">Users guide</a> | <a href="https://docs.rs/nalgebra/latest/nalgebra/">Documentation</a>
</strong> </strong>
</p> </p>

View File

@ -4,7 +4,7 @@ version = "0.0.0"
authors = ["You"] authors = ["You"]
[dependencies] [dependencies]
nalgebra = "0.32.0" nalgebra = "0.33.0"
[[bin]] [[bin]]
name = "example" name = "example"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "nalgebra-glm" name = "nalgebra-glm"
version = "0.18.0" version = "0.19.0"
authors = ["sebcrozet <developer@crozet.re>"] authors = ["sebcrozet <developer@crozet.re>"]
description = "A computer-graphics oriented API for nalgebra, inspired by the C++ GLM library." description = "A computer-graphics oriented API for nalgebra, inspired by the C++ GLM library."
@ -35,4 +35,4 @@ convert-glam018 = ["nalgebra/glam018"]
num-traits = { version = "0.2", default-features = false } num-traits = { version = "0.2", default-features = false }
approx = { version = "0.5", default-features = false } approx = { version = "0.5", default-features = false }
simba = { version = "0.9", default-features = false } simba = { version = "0.9", default-features = false }
nalgebra = { path = "..", version = "0.32", default-features = false } nalgebra = { path = "..", version = "0.33", default-features = false }

View File

@ -1,6 +1,6 @@
[package] [package]
name = "nalgebra-lapack" name = "nalgebra-lapack"
version = "0.24.0" version = "0.25.0"
authors = ["Sébastien Crozet <developer@crozet.re>", "Andrew Straw <strawman@astraw.com>"] authors = ["Sébastien Crozet <developer@crozet.re>", "Andrew Straw <strawman@astraw.com>"]
description = "Matrix decompositions using nalgebra matrices and Lapack bindings." description = "Matrix decompositions using nalgebra matrices and Lapack bindings."
@ -29,7 +29,7 @@ accelerate = ["lapack-src/accelerate"]
intel-mkl = ["lapack-src/intel-mkl"] intel-mkl = ["lapack-src/intel-mkl"]
[dependencies] [dependencies]
nalgebra = { version = "0.32", path = ".." } nalgebra = { version = "0.33", path = ".." }
num-traits = "0.2" num-traits = "0.2"
num-complex = { version = "0.4", default-features = false } num-complex = { version = "0.4", default-features = false }
simba = "0.9" simba = "0.9"
@ -39,7 +39,7 @@ lapack-src = { version = "0.8", default-features = false }
# clippy = "*" # clippy = "*"
[dev-dependencies] [dev-dependencies]
nalgebra = { version = "0.32", features = ["arbitrary", "rand"], path = ".." } nalgebra = { version = "0.33", features = ["arbitrary", "rand"], path = ".." }
proptest = { version = "1", default-features = false, features = ["std"] } proptest = { version = "1", default-features = false, features = ["std"] }
quickcheck = "1" quickcheck = "1"
approx = "0.5" approx = "0.5"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "nalgebra-macros" name = "nalgebra-macros"
version = "0.2.1" version = "0.2.2"
authors = ["Andreas Longva", "Sébastien Crozet <developer@crozet.re>"] authors = ["Andreas Longva", "Sébastien Crozet <developer@crozet.re>"]
edition = "2018" edition = "2018"
description = "Procedural macros for nalgebra" description = "Procedural macros for nalgebra"
@ -21,4 +21,4 @@ quote = "1.0"
proc-macro2 = "1.0" proc-macro2 = "1.0"
[dev-dependencies] [dev-dependencies]
nalgebra = { version = "0.32.1", path = ".." } nalgebra = { version = "0.33", path = ".." }

View File

@ -1,6 +1,6 @@
[package] [package]
name = "nalgebra-sparse" name = "nalgebra-sparse"
version = "0.9.0" version = "0.10.0"
authors = ["Andreas Longva", "Sébastien Crozet <developer@crozet.re>"] authors = ["Andreas Longva", "Sébastien Crozet <developer@crozet.re>"]
edition = "2018" edition = "2018"
description = "Sparse matrix computation based on nalgebra." description = "Sparse matrix computation based on nalgebra."
@ -24,7 +24,7 @@ io = [ "pest", "pest_derive" ]
slow-tests = [] slow-tests = []
[dependencies] [dependencies]
nalgebra = { version="0.32", path = "../" } nalgebra = { version = "0.33", path = "../" }
num-traits = { version = "0.2", default-features = false } num-traits = { version = "0.2", default-features = false }
proptest = { version = "1.0", optional = true } proptest = { version = "1.0", optional = true }
matrixcompare-core = { version = "0.1.0", optional = true } matrixcompare-core = { version = "0.1.0", optional = true }
@ -35,7 +35,7 @@ serde = { version = "1.0", default-features = false, features = [ "derive" ], op
[dev-dependencies] [dev-dependencies]
itertools = "0.13" itertools = "0.13"
matrixcompare = { version = "0.3.0", features = ["proptest-support"] } matrixcompare = { version = "0.3.0", features = ["proptest-support"] }
nalgebra = { version="0.32", path = "../", features = ["compare"] } nalgebra = { version = "0.33", path = "../", features = ["compare"] }
tempfile = "3.3" tempfile = "3.3"
serde_json = "1.0" serde_json = "1.0"