Skip to content

Commit

Permalink
Release v0.27.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed Jun 2, 2021
1 parent de705a8 commit 6f5f70d
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 20 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,22 @@ documented here.

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

## [0.27.0]
This removes the `convert-glam` and `convert-glam-unchecked` optional features.
Instead, this adds the `convert-glam013`, `convert-glam014`, and `convert-glam015` optional features for
conversions targeting the versions 0.13, 0.14, and 0.15 of `glam`.

### Added
- Add macros `matrix!`, `dmatrix!`, `vector!`, `dvector!`, `point!` for constructing matrices/vectors/points in a
more convenient way. See [#886](https://github.com/dimforge/nalgebra/pull/886) and [#899](https://github.com/dimforge/nalgebra/pull/899).
- Add `CooMatrix::reserve` to `nalgebra-sparse`.
- Add basic support for serialization using `rkyv`. Can be enabled with the features `rkyv-serialize` or
`rkyv-serialize-no-std`.


### Fixed
- Fixed a potential unsoundness issue after deserializing an invalid `DVector` using `serde`.

## [0.26.2]
### Added
- Conversion from an array `[T; D]` to an isometry `Isometry<T, _, D>` (as a translation).
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "nalgebra"
version = "0.26.2"
version = "0.27.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]

description = "General-purpose linear algebra library with transformations and statically-sized or dynamically-sized matrices."
Expand Down Expand Up @@ -68,10 +68,10 @@ nalgebra-macros = { version = "0.1", path = "nalgebra-macros", optional = true }
typenum = "1.12"
rand-package = { package = "rand", version = "0.8", optional = true, default-features = false }
num-traits = { version = "0.2", default-features = false }
num-complex = { version = "0.3", default-features = false }
num-rational = { version = "0.3", default-features = false }
num-complex = { version = "0.4", default-features = false }
num-rational = { version = "0.4", default-features = false }
approx = { version = "0.4", default-features = false }
simba = { version = "0.4", default-features = false }
simba = { version = "0.5", default-features = false }
alga = { version = "0.9", default-features = false, optional = true }
rand_distr = { version = "0.4", default-features = false, optional = true }
matrixmultiply = { version = "0.3", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion examples/cargo/Cargo.toml
Expand Up @@ -4,7 +4,7 @@ version = "0.0.0"
authors = [ "You" ]

[dependencies]
nalgebra = "0.26.0"
nalgebra = "0.27.0"

[[bin]]
name = "example"
Expand Down
6 changes: 3 additions & 3 deletions nalgebra-glm/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "nalgebra-glm"
version = "0.12.0"
version = "0.13.0"
authors = ["sebcrozet <developer@crozet.re>"]

description = "A computer-graphics oriented API for nalgebra, inspired by the C++ GLM library."
Expand All @@ -26,5 +26,5 @@ abomonation-serialize = [ "nalgebra/abomonation-serialize" ]
[dependencies]
num-traits = { version = "0.2", default-features = false }
approx = { version = "0.4", default-features = false }
simba = { version = "0.4", default-features = false }
nalgebra = { path = "..", version = "0.26", default-features = false }
simba = { version = "0.5", default-features = false }
nalgebra = { path = "..", version = "0.27", default-features = false }
14 changes: 7 additions & 7 deletions nalgebra-lapack/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "nalgebra-lapack"
version = "0.17.0"
version = "0.18.0"
authors = [ "Sébastien Crozet <developer@crozet.re>", "Andrew Straw <strawman@astraw.com>" ]

description = "Matrix decompositions using nalgebra matrices and Lapack bindings."
Expand Down Expand Up @@ -29,17 +29,17 @@ accelerate = ["lapack-src/accelerate"]
intel-mkl = ["lapack-src/intel-mkl"]

[dependencies]
nalgebra = { version = "0.26", path = ".." }
nalgebra = { version = "0.27", path = ".." }
num-traits = "0.2"
num-complex = { version = "0.3", default-features = false }
simba = "0.4"
num-complex = { version = "0.4", default-features = false }
simba = "0.5"
serde = { version = "1.0", features = [ "derive" ], optional = true }
lapack = { version = "0.17", default-features = false }
lapack-src = { version = "0.6", default-features = false }
lapack = { version = "0.19", default-features = false }
lapack-src = { version = "0.8", default-features = false }
# clippy = "*"

[dev-dependencies]
nalgebra = { version = "0.26", features = [ "arbitrary", "rand" ], path = ".." }
nalgebra = { version = "0.27", features = [ "arbitrary", "rand" ], path = ".." }
proptest = { version = "1", default-features = false, features = ["std"] }
quickcheck = "1"
approx = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion nalgebra-macros/Cargo.toml
Expand Up @@ -21,5 +21,5 @@ quote = "1.0"
proc-macro2 = "1.0"

[dev-dependencies]
nalgebra = { version = "0.26.1", path = ".." }
nalgebra = { version = "0.27.0", path = ".." }
trybuild = "1.0.42"
6 changes: 3 additions & 3 deletions nalgebra-sparse/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "nalgebra-sparse"
version = "0.2.0"
version = "0.3.0"
authors = [ "Andreas Longva", "Sébastien Crozet <developer@crozet.re>" ]
edition = "2018"
description = "Sparse matrix computation based on nalgebra."
Expand All @@ -20,15 +20,15 @@ compare = [ "matrixcompare-core" ]
slow-tests = []

[dependencies]
nalgebra = { version="0.26", path = "../" }
nalgebra = { version="0.27", path = "../" }
num-traits = { version = "0.2", default-features = false }
proptest = { version = "1.0", optional = true }
matrixcompare-core = { version = "0.1.0", optional = true }

[dev-dependencies]
itertools = "0.10"
matrixcompare = { version = "0.3.0", features = [ "proptest-support" ] }
nalgebra = { version="0.26", path = "../", features = ["compare"] }
nalgebra = { version="0.27", path = "../", features = ["compare"] }

[package.metadata.docs.rs]
# Enable certain features when building docs for docs.rs
Expand Down
2 changes: 1 addition & 1 deletion src/third_party/glam/common/glam_unit_complex.rs
@@ -1,5 +1,5 @@
use super::glam::{DMat2, Mat2};
use crate::{Complex, Rotation2, UnitComplex};
use crate::{Complex, UnitComplex};

impl From<UnitComplex<f32>> for Mat2 {
#[inline]
Expand Down

0 comments on commit 6f5f70d

Please sign in to comment.