Skip to content

Commit

Permalink
Release v0.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed Jul 11, 2021
1 parent 7bcb546 commit ca1297a
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 11 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,9 +5,23 @@ documented here.
This project adheres to [Semantic Versioning](https://semver.org/).

## [0.28.0]
### Added
- Implement `Hash` for `Transform`.

### Modified
- The `OPoint<T, D>` type has been added. It takes the dimension number as a type-level integer (e.g. `Const<3>`) instead
of a const-generic. The type `Point<T, const D: usize>` is now an alias for `OPoint`. This changes doesn't affect any
of the existing code using `Point`. However, it will allow the use `OPoint` in a generic context where the dimension
cannot be easily expressed as a const-generic (because of the current limitation of const-generics in Rust).
- Several clippy warnings were fixed. This results in some method signature changes (e.g. taking `self` instead of `&self`)
but this should not have any practical infulances on existing codebase.
- The `Point::new` constructors are no longer const-fn. This is due to some limitations in const-fn
not allowing custom trait-bounds. Use the `point!` macro instead to build points in const environments.
- `Dynamic::new` and `Unit::new_unchecked` are now const-fn.
- Methods returning `Result<(), ()>` now return `bool` instead.

### Fixed
- Fixed a potential unsoundess issue when converting a mutable slice to a `&mut[T]`.

## [0.27.1]
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "nalgebra"
version = "0.27.1"
version = "0.28.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
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.27.0"
nalgebra = "0.28.0"

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

description = "A computer-graphics oriented API for nalgebra, inspired by the C++ GLM library."
Expand All @@ -27,4 +27,4 @@ abomonation-serialize = [ "nalgebra/abomonation-serialize" ]
num-traits = { version = "0.2", default-features = false }
approx = { version = "0.5", default-features = false }
simba = { version = "0.5", default-features = false }
nalgebra = { path = "..", version = "0.27", default-features = false }
nalgebra = { path = "..", version = "0.28", default-features = false }
6 changes: 3 additions & 3 deletions nalgebra-lapack/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "nalgebra-lapack"
version = "0.18.0"
version = "0.19.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,7 +29,7 @@ accelerate = ["lapack-src/accelerate"]
intel-mkl = ["lapack-src/intel-mkl"]

[dependencies]
nalgebra = { version = "0.27", path = ".." }
nalgebra = { version = "0.28", path = ".." }
num-traits = "0.2"
num-complex = { version = "0.4", default-features = false }
simba = "0.5"
Expand All @@ -39,7 +39,7 @@ lapack-src = { version = "0.8", default-features = false }
# clippy = "*"

[dev-dependencies]
nalgebra = { version = "0.27", features = [ "arbitrary", "rand" ], path = ".." }
nalgebra = { version = "0.28", features = [ "arbitrary", "rand" ], path = ".." }
proptest = { version = "1", default-features = false, features = ["std"] }
quickcheck = "1"
approx = "0.5"
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.27.0", path = ".." }
nalgebra = { version = "0.28.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.3.0"
version = "0.4.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.27", path = "../" }
nalgebra = { version="0.28", 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.27", path = "../", features = ["compare"] }
nalgebra = { version="0.28", path = "../", features = ["compare"] }

[package.metadata.docs.rs]
# Enable certain features when building docs for docs.rs
Expand Down

0 comments on commit ca1297a

Please sign in to comment.