Skip to content

Commit 48c8f6a

Browse files
authored
Release v0.33.0 (#1417)
1 parent 5ad68f4 commit 48c8f6a

File tree

8 files changed

+45
-37
lines changed

8 files changed

+45
-37
lines changed

CHANGELOG.md

+15-4
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,27 @@ documented here.
55

66
This project adheres to [Semantic Versioning](https://semver.org/).
77

8-
## Unreleased
8+
## [0.33.0] (23 June 2024)
9+
10+
### Fixed
11+
12+
- Fix a memory leak in `Matrix::generic_resize`.
13+
- Fix `glm::is_null` to check the vector magnitude instead of individual components.
14+
- Ensure that inverting a 4x4 matrix leaves it unchanged if the inversion fails.
915

1016
### Added
1117

1218
- Add the `glam-0.28` feature to enable conversion from/to types from `glam` v0.28.
19+
- Add a `stack!` macro for concatenating matrices. See [#1375](https://github.com/dimforge/nalgebra/pull/1375).
1320

14-
### Removed
21+
### Modified
1522

16-
- The `cuda` feature has been removed, as the toolchain it depends on
17-
is long abandoned.
23+
- The `cuda` feature has been removed, as the toolchain it depends on is long abandoned.
24+
- Update to `simba` 0.9. See the [changelog](https://github.com/dimforge/simba/blob/master/CHANGELOG) of `simba` for
25+
details.
26+
- Update the `nalgebra-macros` crate to `syn` 2.0.
27+
- Remove the scalar type `T` from the `Allocator` trait parameters. Instead of `Allocator<T, R, C>`, use the simpler
28+
`Allocator<R, C>`.
1829

1930
## [0.32.6] (12 June 2024)
2031

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nalgebra"
3-
version = "0.32.3"
3+
version = "0.33.0"
44
authors = ["Sébastien Crozet <[email protected]>"]
55

66
description = "General-purpose linear algebra library with transformations and statically-sized or dynamically-sized matrices."
@@ -74,7 +74,7 @@ slow-tests = []
7474
rkyv-safe-deser = ["rkyv-serialize", "rkyv/validation"]
7575

7676
[dependencies]
77-
nalgebra-macros = { version = "0.2.1", path = "nalgebra-macros", optional = true }
77+
nalgebra-macros = { version = "0.2.2", path = "nalgebra-macros", optional = true }
7878
typenum = "1.12"
7979
rand-package = { package = "rand", version = "0.8", optional = true, default-features = false }
8080
num-traits = { version = "0.2", default-features = false }

README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
<a href="https://discord.gg/vt9DJSW">
66
<img src="https://img.shields.io/discord/507548572338880513.svg?logo=discord&colorB=7289DA">
77
</a>
8-
<a href="https://circleci.com/gh/dimforge/nalgebra">
9-
<img src="https://circleci.com/gh/dimforge/nalgebra.svg?style=svg" alt="Build status">
10-
</a>
118
<a href="https://crates.io/crates/nalgebra">
129
<img src="https://img.shields.io/crates/v/nalgebra.svg?style=flat-square" alt="crates.io">
1310
</a>
@@ -17,7 +14,7 @@
1714
</p>
1815
<p align = "center">
1916
<strong>
20-
<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>
17+
<a href="https://nalgebra.org">Users guide</a> | <a href="https://docs.rs/nalgebra/latest/nalgebra/">Documentation</a>
2118
</strong>
2219
</p>
2320

examples/cargo/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
2-
name = "example-using-nalgebra"
2+
name = "example-using-nalgebra"
33
version = "0.0.0"
4-
authors = [ "You" ]
4+
authors = ["You"]
55

66
[dependencies]
7-
nalgebra = "0.32.0"
7+
nalgebra = "0.33.0"
88

99
[[bin]]
1010
name = "example"

nalgebra-glm/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nalgebra-glm"
3-
version = "0.18.0"
3+
version = "0.19.0"
44
authors = ["sebcrozet <[email protected]>"]
55

66
description = "A computer-graphics oriented API for nalgebra, inspired by the C++ GLM library."
@@ -35,4 +35,4 @@ convert-glam018 = ["nalgebra/glam018"]
3535
num-traits = { version = "0.2", default-features = false }
3636
approx = { version = "0.5", default-features = false }
3737
simba = { version = "0.9", default-features = false }
38-
nalgebra = { path = "..", version = "0.32", default-features = false }
38+
nalgebra = { path = "..", version = "0.33", default-features = false }

nalgebra-lapack/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nalgebra-lapack"
3-
version = "0.24.0"
3+
version = "0.25.0"
44
authors = ["Sébastien Crozet <[email protected]>", "Andrew Straw <[email protected]>"]
55

66
description = "Matrix decompositions using nalgebra matrices and Lapack bindings."
@@ -29,7 +29,7 @@ accelerate = ["lapack-src/accelerate"]
2929
intel-mkl = ["lapack-src/intel-mkl"]
3030

3131
[dependencies]
32-
nalgebra = { version = "0.32", path = ".." }
32+
nalgebra = { version = "0.33", path = ".." }
3333
num-traits = "0.2"
3434
num-complex = { version = "0.4", default-features = false }
3535
simba = "0.9"
@@ -39,7 +39,7 @@ lapack-src = { version = "0.8", default-features = false }
3939
# clippy = "*"
4040

4141
[dev-dependencies]
42-
nalgebra = { version = "0.32", features = ["arbitrary", "rand"], path = ".." }
42+
nalgebra = { version = "0.33", features = ["arbitrary", "rand"], path = ".." }
4343
proptest = { version = "1", default-features = false, features = ["std"] }
4444
quickcheck = "1"
4545
approx = "0.5"

nalgebra-macros/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[package]
22
name = "nalgebra-macros"
3-
version = "0.2.1"
4-
authors = [ "Andreas Longva", "Sébastien Crozet <[email protected]>" ]
3+
version = "0.2.2"
4+
authors = ["Andreas Longva", "Sébastien Crozet <[email protected]>"]
55
edition = "2018"
66
description = "Procedural macros for nalgebra"
77
documentation = "https://www.nalgebra.org/docs"
88
homepage = "https://nalgebra.org"
99
repository = "https://github.com/dimforge/nalgebra"
1010
readme = "../README.md"
11-
categories = [ "science", "mathematics" ]
12-
keywords = [ "linear", "algebra", "matrix", "vector", "math" ]
11+
categories = ["science", "mathematics"]
12+
keywords = ["linear", "algebra", "matrix", "vector", "math"]
1313
license = "Apache-2.0"
1414

1515
[lib]
@@ -21,4 +21,4 @@ quote = "1.0"
2121
proc-macro2 = "1.0"
2222

2323
[dev-dependencies]
24-
nalgebra = { version = "0.32.1", path = ".." }
24+
nalgebra = { version = "0.33", path = ".." }

nalgebra-sparse/Cargo.toml

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
[package]
22
name = "nalgebra-sparse"
3-
version = "0.9.0"
4-
authors = [ "Andreas Longva", "Sébastien Crozet <[email protected]>" ]
3+
version = "0.10.0"
4+
authors = ["Andreas Longva", "Sébastien Crozet <[email protected]>"]
55
edition = "2018"
66
description = "Sparse matrix computation based on nalgebra."
77
documentation = "https://www.nalgebra.org/docs"
88
homepage = "https://nalgebra.org"
99
repository = "https://github.com/dimforge/nalgebra"
1010
readme = "../README.md"
11-
categories = [ "science", "mathematics", "wasm", "no-std" ]
12-
keywords = [ "linear", "algebra", "matrix", "vector", "math" ]
11+
categories = ["science", "mathematics", "wasm", "no-std"]
12+
keywords = ["linear", "algebra", "matrix", "vector", "math"]
1313
license = "Apache-2.0"
1414

1515
[features]
1616
proptest-support = ["proptest", "nalgebra/proptest-support"]
17-
compare = [ "matrixcompare-core" ]
18-
serde-serialize = [ "serde/std" ]
17+
compare = ["matrixcompare-core"]
18+
serde-serialize = ["serde/std"]
1919

2020
# Enable matrix market I/O
21-
io = [ "pest", "pest_derive" ]
21+
io = ["pest", "pest_derive"]
2222

2323
# Enable to enable running some tests that take a lot of time to run
2424
slow-tests = []
2525

2626
[dependencies]
27-
nalgebra = { version="0.32", path = "../" }
27+
nalgebra = { version = "0.33", path = "../" }
2828
num-traits = { version = "0.2", default-features = false }
2929
proptest = { version = "1.0", optional = true }
3030
matrixcompare-core = { version = "0.1.0", optional = true }
31-
pest = { version = "2", optional = true }
32-
pest_derive = { version = "2", optional = true }
33-
serde = { version = "1.0", default-features = false, features = [ "derive" ], optional = true }
31+
pest = { version = "2", optional = true }
32+
pest_derive = { version = "2", optional = true }
33+
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
3434

3535
[dev-dependencies]
3636
itertools = "0.13"
37-
matrixcompare = { version = "0.3.0", features = [ "proptest-support" ] }
38-
nalgebra = { version="0.32", path = "../", features = ["compare"] }
37+
matrixcompare = { version = "0.3.0", features = ["proptest-support"] }
38+
nalgebra = { version = "0.33", path = "../", features = ["compare"] }
3939
tempfile = "3.3"
4040
serde_json = "1.0"
4141

4242
[package.metadata.docs.rs]
4343
# Enable certain features when building docs for docs.rs
44-
features = [ "proptest-support", "compare", "io"]
44+
features = ["proptest-support", "compare", "io"]

0 commit comments

Comments
 (0)