Release v0.11.0

This commit is contained in:
Sébastien Crozet
2021-08-08 18:46:55 +02:00
committed by Sébastien Crozet
parent 57aec69c1e
commit 48d0df11d7
8 changed files with 44 additions and 31 deletions

View File

@@ -1,3 +1,16 @@
## v0.11.0
Check out the user-guide for the JS/Typescript bindings for rapier. It has been fully rewritten and is now exhaustive!
Check it out on [rapier.rs](https://www.rapier.rs/docs/user_guides/javascript/getting_started_js)
### Added
- Joint limits are now implemented for all joints that can support them (prismatic, revolute, and ball joints).
### Modified
- Switch to `nalgebra 0.29`.
### Fixed
- Fix the build of Rapier when targeting emscripten.
## v0.10.1 ## v0.10.1
### Added ### Added
- Add `Collider::set_translation_wrt_parent` to change the translation of a collider wrt. its parent rigid-body. - Add `Collider::set_translation_wrt_parent` to change the translation of a collider wrt. its parent rigid-body.

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier2d-f64" name = "rapier2d-f64"
version = "0.10.1" version = "0.11.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ] authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "2-dimensional physics engine in Rust." description = "2-dimensional physics engine in Rust."
documentation = "http://docs.rs/rapier2d" documentation = "http://docs.rs/rapier2d"
@@ -47,9 +47,9 @@ required-features = [ "dim2", "f64" ]
vec_map = { version = "0.8", optional = true } vec_map = { version = "0.8", optional = true }
instant = { version = "0.1", features = [ "now" ]} instant = { version = "0.1", features = [ "now" ]}
num-traits = "0.2" num-traits = "0.2"
nalgebra = "0.28" nalgebra = "0.29"
parry2d-f64 = "0.6" parry2d-f64 = "0.7"
simba = "0.5" simba = "0.6"
approx = "0.5" approx = "0.5"
rayon = { version = "1", optional = true } rayon = { version = "1", optional = true }
crossbeam = "0.8" crossbeam = "0.8"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier2d" name = "rapier2d"
version = "0.10.1" version = "0.11.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ] authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "2-dimensional physics engine in Rust." description = "2-dimensional physics engine in Rust."
documentation = "http://docs.rs/rapier2d" documentation = "http://docs.rs/rapier2d"
@@ -47,9 +47,9 @@ required-features = [ "dim2", "f32" ]
vec_map = { version = "0.8", optional = true } vec_map = { version = "0.8", optional = true }
instant = { version = "0.1", features = [ "now" ]} instant = { version = "0.1", features = [ "now" ]}
num-traits = "0.2" num-traits = "0.2"
nalgebra = "0.28" nalgebra = "0.29"
parry2d = "0.6" parry2d = "0.7"
simba = "0.5" simba = "0.6"
approx = "0.5" approx = "0.5"
rayon = { version = "1", optional = true } rayon = { version = "1", optional = true }
crossbeam = "0.8" crossbeam = "0.8"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier3d-f64" name = "rapier3d-f64"
version = "0.10.1" version = "0.11.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ] authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "3-dimensional physics engine in Rust." description = "3-dimensional physics engine in Rust."
documentation = "http://docs.rs/rapier3d" documentation = "http://docs.rs/rapier3d"
@@ -47,9 +47,9 @@ required-features = [ "dim3", "f64" ]
vec_map = { version = "0.8", optional = true } vec_map = { version = "0.8", optional = true }
instant = { version = "0.1", features = [ "now" ]} instant = { version = "0.1", features = [ "now" ]}
num-traits = "0.2" num-traits = "0.2"
nalgebra = "0.28" nalgebra = "0.29"
parry3d-f64 = "0.6" parry3d-f64 = "0.7"
simba = "0.5" simba = "0.6"
approx = "0.5" approx = "0.5"
rayon = { version = "1", optional = true } rayon = { version = "1", optional = true }
crossbeam = "0.8" crossbeam = "0.8"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier3d" name = "rapier3d"
version = "0.10.1" version = "0.11.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ] authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "3-dimensional physics engine in Rust." description = "3-dimensional physics engine in Rust."
documentation = "http://docs.rs/rapier3d" documentation = "http://docs.rs/rapier3d"
@@ -47,9 +47,9 @@ required-features = [ "dim3", "f32" ]
vec_map = { version = "0.8", optional = true } vec_map = { version = "0.8", optional = true }
instant = { version = "0.1", features = [ "now" ]} instant = { version = "0.1", features = [ "now" ]}
num-traits = "0.2" num-traits = "0.2"
nalgebra = "0.28" nalgebra = "0.29"
parry3d = "0.6" parry3d = "0.7"
simba = "0.5" simba = "0.6"
approx = "0.5" approx = "0.5"
rayon = { version = "1", optional = true } rayon = { version = "1", optional = true }
crossbeam = "0.8" crossbeam = "0.8"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rapier_testbed2d" name = "rapier_testbed2d"
version = "0.10.0" version = "0.11.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ] authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "Testbed for the Rapier 2-dimensional physics engine in Rust." description = "Testbed for the Rapier 2-dimensional physics engine in Rust."
homepage = "http://rapier.org" homepage = "http://rapier.org"
@@ -22,20 +22,20 @@ required-features = [ "dim2" ]
default = [ "dim2" ] default = [ "dim2" ]
dim2 = [ ] dim2 = [ ]
parallel = [ "rapier2d/parallel", "num_cpus" ] parallel = [ "rapier2d/parallel", "num_cpus" ]
other-backends = [ "wrapped2d", "nphysics2d" ] other-backends = [ "wrapped2d", "nphysics2d", "ncollide2d" ]
[dependencies] [dependencies]
nalgebra = { version = "0.28", features = [ "rand" ] } nalgebra = { version = "0.29", features = [ "rand" ] }
rand = "0.8" rand = "0.8"
rand_pcg = "0.3" rand_pcg = "0.3"
instant = { version = "0.1", features = [ "web-sys", "now" ]} instant = { version = "0.1", features = [ "web-sys", "now" ]}
bitflags = "1" bitflags = "1"
num_cpus = { version = "1", optional = true } num_cpus = { version = "1", optional = true }
wrapped2d = { version = "0.4", optional = true } wrapped2d = { version = "0.4", optional = true }
parry2d = "0.6" parry2d = "0.7"
ncollide2d = "0.31" ncollide2d = { version = "0.32", optional = true }
nphysics2d = { version = "0.23", optional = true } nphysics2d = { version = "0.24", optional = true }
crossbeam = "0.8" crossbeam = "0.8"
bincode = "1" bincode = "1"
Inflector = "0.11" Inflector = "0.11"
@@ -54,5 +54,5 @@ bevy_webgl2 = "0.5"
[dependencies.rapier2d] [dependencies.rapier2d]
path = "../rapier2d" path = "../rapier2d"
version = "0.10" version = "0.11"
features = [ "serde-serialize" ] features = [ "serde-serialize" ]

View File

@@ -22,19 +22,19 @@ required-features = [ "dim3" ]
default = [ "dim3" ] default = [ "dim3" ]
dim3 = [ ] dim3 = [ ]
parallel = [ "rapier3d/parallel", "num_cpus" ] parallel = [ "rapier3d/parallel", "num_cpus" ]
other-backends = [ "physx", "physx-sys", "glam", "nphysics3d" ] other-backends = [ "physx", "physx-sys", "glam", "nphysics3d", "ncollide3d" ]
[dependencies] [dependencies]
nalgebra = { version = "0.28", features = [ "rand" ] } nalgebra = { version = "0.29", features = [ "rand" ] }
rand = "0.8" rand = "0.8"
rand_pcg = "0.3" rand_pcg = "0.3"
instant = { version = "0.1", features = [ "web-sys", "now" ]} instant = { version = "0.1", features = [ "web-sys", "now" ]}
bitflags = "1" bitflags = "1"
glam = { version = "0.12", optional = true } glam = { version = "0.12", optional = true }
num_cpus = { version = "1", optional = true } num_cpus = { version = "1", optional = true }
parry3d = "0.6" parry3d = "0.7"
ncollide3d = "0.31" ncollide3d = { version = "0.32", optional = true }
nphysics3d = { version = "0.23", optional = true } nphysics3d = { version = "0.24", optional = true }
physx = { version = "0.11", optional = true } physx = { version = "0.11", optional = true }
physx-sys = { version = "0.4", optional = true } physx-sys = { version = "0.4", optional = true }
crossbeam = "0.8" crossbeam = "0.8"
@@ -56,5 +56,5 @@ bevy_webgl2 = "0.5"
[dependencies.rapier3d] [dependencies.rapier3d]
path = "../rapier3d" path = "../rapier3d"
version = "0.10" version = "0.11"
features = [ "serde-serialize" ] features = [ "serde-serialize" ]

View File

@@ -1,7 +1,7 @@
extern crate nalgebra as na; extern crate nalgebra as na;
#[cfg(feature = "dim2")] #[cfg(all(feature = "dim2", feature = "other-backends"))]
extern crate ncollide2d as ncollide; extern crate ncollide2d as ncollide;
#[cfg(feature = "dim3")] #[cfg(all(feature = "dim3", feature = "other-backends"))]
extern crate ncollide3d as ncollide; extern crate ncollide3d as ncollide;
#[cfg(all(feature = "dim2", feature = "other-backends"))] #[cfg(all(feature = "dim2", feature = "other-backends"))]
extern crate nphysics2d as nphysics; extern crate nphysics2d as nphysics;