aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2021-08-08 18:46:55 +0200
committerSébastien Crozet <sebastien@crozet.re>2021-08-08 19:19:16 +0200
commit48d0df11d7a6a28907945b17b839313c848e3a6e (patch)
tree4a92dfb8e390fdc8fefa7aa3f13eecbaa769cbeb
parent57aec69c1e4fef251825011d9bcf7c32ccb177f7 (diff)
downloadrapier-0.110.tar.gz
rapier-0.110.tar.bz2
rapier-0.110.zip
Release v0.11.0v0.110
-rw-r--r--CHANGELOG.md13
-rw-r--r--build/rapier2d-f64/Cargo.toml8
-rw-r--r--build/rapier2d/Cargo.toml8
-rw-r--r--build/rapier3d-f64/Cargo.toml8
-rw-r--r--build/rapier3d/Cargo.toml8
-rw-r--r--build/rapier_testbed2d/Cargo.toml14
-rw-r--r--build/rapier_testbed3d/Cargo.toml12
-rw-r--r--src_testbed/lib.rs4
8 files changed, 44 insertions, 31 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b36fe18..dd52308 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
### Added
- Add `Collider::set_translation_wrt_parent` to change the translation of a collider wrt. its parent rigid-body.
diff --git a/build/rapier2d-f64/Cargo.toml b/build/rapier2d-f64/Cargo.toml
index dcf9eeb..6c62b17 100644
--- a/build/rapier2d-f64/Cargo.toml
+++ b/build/rapier2d-f64/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "rapier2d-f64"
-version = "0.10.1"
+version = "0.11.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "2-dimensional physics engine in Rust."
documentation = "http://docs.rs/rapier2d"
@@ -47,9 +47,9 @@ required-features = [ "dim2", "f64" ]
vec_map = { version = "0.8", optional = true }
instant = { version = "0.1", features = [ "now" ]}
num-traits = "0.2"
-nalgebra = "0.28"
-parry2d-f64 = "0.6"
-simba = "0.5"
+nalgebra = "0.29"
+parry2d-f64 = "0.7"
+simba = "0.6"
approx = "0.5"
rayon = { version = "1", optional = true }
crossbeam = "0.8"
diff --git a/build/rapier2d/Cargo.toml b/build/rapier2d/Cargo.toml
index cad97ee..3a7f9dc 100644
--- a/build/rapier2d/Cargo.toml
+++ b/build/rapier2d/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "rapier2d"
-version = "0.10.1"
+version = "0.11.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "2-dimensional physics engine in Rust."
documentation = "http://docs.rs/rapier2d"
@@ -47,9 +47,9 @@ required-features = [ "dim2", "f32" ]
vec_map = { version = "0.8", optional = true }
instant = { version = "0.1", features = [ "now" ]}
num-traits = "0.2"
-nalgebra = "0.28"
-parry2d = "0.6"
-simba = "0.5"
+nalgebra = "0.29"
+parry2d = "0.7"
+simba = "0.6"
approx = "0.5"
rayon = { version = "1", optional = true }
crossbeam = "0.8"
diff --git a/build/rapier3d-f64/Cargo.toml b/build/rapier3d-f64/Cargo.toml
index 044384a..dd2b1cc 100644
--- a/build/rapier3d-f64/Cargo.toml
+++ b/build/rapier3d-f64/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "rapier3d-f64"
-version = "0.10.1"
+version = "0.11.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "3-dimensional physics engine in Rust."
documentation = "http://docs.rs/rapier3d"
@@ -47,9 +47,9 @@ required-features = [ "dim3", "f64" ]
vec_map = { version = "0.8", optional = true }
instant = { version = "0.1", features = [ "now" ]}
num-traits = "0.2"
-nalgebra = "0.28"
-parry3d-f64 = "0.6"
-simba = "0.5"
+nalgebra = "0.29"
+parry3d-f64 = "0.7"
+simba = "0.6"
approx = "0.5"
rayon = { version = "1", optional = true }
crossbeam = "0.8"
diff --git a/build/rapier3d/Cargo.toml b/build/rapier3d/Cargo.toml
index bd75c5a..3f0d398 100644
--- a/build/rapier3d/Cargo.toml
+++ b/build/rapier3d/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "rapier3d"
-version = "0.10.1"
+version = "0.11.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "3-dimensional physics engine in Rust."
documentation = "http://docs.rs/rapier3d"
@@ -47,9 +47,9 @@ required-features = [ "dim3", "f32" ]
vec_map = { version = "0.8", optional = true }
instant = { version = "0.1", features = [ "now" ]}
num-traits = "0.2"
-nalgebra = "0.28"
-parry3d = "0.6"
-simba = "0.5"
+nalgebra = "0.29"
+parry3d = "0.7"
+simba = "0.6"
approx = "0.5"
rayon = { version = "1", optional = true }
crossbeam = "0.8"
diff --git a/build/rapier_testbed2d/Cargo.toml b/build/rapier_testbed2d/Cargo.toml
index 8f34e92..0ba4803 100644
--- a/build/rapier_testbed2d/Cargo.toml
+++ b/build/rapier_testbed2d/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "rapier_testbed2d"
-version = "0.10.0"
+version = "0.11.0"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "Testbed for the Rapier 2-dimensional physics engine in Rust."
homepage = "http://rapier.org"
@@ -22,20 +22,20 @@ required-features = [ "dim2" ]
default = [ "dim2" ]
dim2 = [ ]
parallel = [ "rapier2d/parallel", "num_cpus" ]
-other-backends = [ "wrapped2d", "nphysics2d" ]
+other-backends = [ "wrapped2d", "nphysics2d", "ncollide2d" ]
[dependencies]
-nalgebra = { version = "0.28", features = [ "rand" ] }
+nalgebra = { version = "0.29", features = [ "rand" ] }
rand = "0.8"
rand_pcg = "0.3"
instant = { version = "0.1", features = [ "web-sys", "now" ]}
bitflags = "1"
num_cpus = { version = "1", optional = true }
wrapped2d = { version = "0.4", optional = true }
-parry2d = "0.6"
-ncollide2d = "0.31"
-nphysics2d = { version = "0.23", optional = true }
+parry2d = "0.7"
+ncollide2d = { version = "0.32", optional = true }
+nphysics2d = { version = "0.24", optional = true }
crossbeam = "0.8"
bincode = "1"
Inflector = "0.11"
@@ -54,5 +54,5 @@ bevy_webgl2 = "0.5"
[dependencies.rapier2d]
path = "../rapier2d"
-version = "0.10"
+version = "0.11"
features = [ "serde-serialize" ]
diff --git a/build/rapier_testbed3d/Cargo.toml b/build/rapier_testbed3d/Cargo.toml
index 7aa6722..0810931 100644
--- a/build/rapier_testbed3d/Cargo.toml
+++ b/build/rapier_testbed3d/Cargo.toml
@@ -22,19 +22,19 @@ required-features = [ "dim3" ]
default = [ "dim3" ]
dim3 = [ ]
parallel = [ "rapier3d/parallel", "num_cpus" ]
-other-backends = [ "physx", "physx-sys", "glam", "nphysics3d" ]
+other-backends = [ "physx", "physx-sys", "glam", "nphysics3d", "ncollide3d" ]
[dependencies]
-nalgebra = { version = "0.28", features = [ "rand" ] }
+nalgebra = { version = "0.29", features = [ "rand" ] }
rand = "0.8"
rand_pcg = "0.3"
instant = { version = "0.1", features = [ "web-sys", "now" ]}
bitflags = "1"
glam = { version = "0.12", optional = true }
num_cpus = { version = "1", optional = true }
-parry3d = "0.6"
-ncollide3d = "0.31"
-nphysics3d = { version = "0.23", optional = true }
+parry3d = "0.7"
+ncollide3d = { version = "0.32", optional = true }
+nphysics3d = { version = "0.24", optional = true }
physx = { version = "0.11", optional = true }
physx-sys = { version = "0.4", optional = true }
crossbeam = "0.8"
@@ -56,5 +56,5 @@ bevy_webgl2 = "0.5"
[dependencies.rapier3d]
path = "../rapier3d"
-version = "0.10"
+version = "0.11"
features = [ "serde-serialize" ] \ No newline at end of file
diff --git a/src_testbed/lib.rs b/src_testbed/lib.rs
index ac4eb54..a3e3a00 100644
--- a/src_testbed/lib.rs
+++ b/src_testbed/lib.rs
@@ -1,7 +1,7 @@
extern crate nalgebra as na;
-#[cfg(feature = "dim2")]
+#[cfg(all(feature = "dim2", feature = "other-backends"))]
extern crate ncollide2d as ncollide;
-#[cfg(feature = "dim3")]
+#[cfg(all(feature = "dim3", feature = "other-backends"))]
extern crate ncollide3d as ncollide;
#[cfg(all(feature = "dim2", feature = "other-backends"))]
extern crate nphysics2d as nphysics;