The main highlight of this release is the implementation of a new non-linear constraints solver for better stability
and increased convergence rates. See #579 for additional information.
In order to adjust the number of iterations of the new solver, simply adjust IntegrationParameters::num_solver_iterations.
If recovering the old solver behavior is useful to you, call IntegrationParameters::switch_to_standard_pgs_solver().
It is now possible to specify some additional solver iteration for specific rigid-bodies (and everything interacting
with it directly or indirectly through contacts and joints): RigidBodyBuilder::additional_solver_iterations and
RigidBodyBuilder::set_additional_solver_iterations. This allows for higher-accuracy on subsets of the physics scene
without affecting performance of the other parts of the simulation.
Fix
Fix bug causing angular joint limits and motor to sometimes only take into account half of the angles specified by the user.
Fix bug where collisions would not be re-computed after a collider was re-enabled.
Added
Add a SpringJoint and SpringJointBuilder for simulating springs with customizable stiffness and damping coefficients.
Add SphericalJoint::local_frame1/2, ::set_local_frame1/2, and SphericalJointBuilder::local_frame1/2 to set both
the joint’s anchor and reference orientation.
Add EffectiveCharacterMovement::is_sliding_down_slope to indicate if the character controlled by the kinematic
character controller is sliding on a slope that is too steep.
Add Wheel::side_friction_stiffness to customize the side friction applied to the vehicle controller’s wheel.
Add Wheel::raycast_info to access more wheel information relative to the ground.
Add DebugRenderStyle::disabled_color_multiplier to make the debug-renderer color disabled object differently.
Fix incorrect update of angular degrees-of-freedoms on spherical multibody joints.
Fix debug-renderer showing moved kinematic rigid-bodies only at their initial position.
Modified
Make Wheel::friction_slip public to customize the front friction applied to the vehicle controller’s wheels.
Add the DebugRenderBackend::filter_object predicate that can be implemented to apply custom filtering rules
on the objects being rendered.
Switch the testbed to bevy 0.12 and use its new Gizmos API for rendering lines.
Rename NarrowPhase::contacts_with to NarrowPhase::contact_pairs_with.
Rename NarrowPhase::intersections_with to NarrowPhase::intersection_pairs_with.
Use immutable buffers in SubtleCrypto methods.
#3797
Deprecate wasm_bindgen_test_configure!s run_in_worker in favor of run_in_dedicated_worker.
#3804
Updated the WebGPU WebIDL to the current draft as of 2024-01-30. Note that this retains the previous update's workaround for GPUPipelineError, and holds back an update to the buffer argument of the GPUQueue.{writeBuffer,writeTexture} methods.
#3816
Depreate --weak-refs and WASM_BINDGEN_WEAKREF in favor of automatic run-time detection.
#3822
Fixed
Fixed UB when freeing strings received from JS if not using the default allocator.
#3808
Fixed temporary folder detection by wasm-bindgen-test-runner on MacOS.
#3817
Fixed using #[wasm_bindgen(js_name = default)] with #[wasm_bindgen(module = ...)].
Release rayon 1.8.1 / rayon-core 1.12.1 (2024-01-17)
The new "web_spin_lock" crate feature makes mutexes spin on the main
browser thread in WebAssembly, rather than suffer an error about forbidden
atomics.wait if they were to block in that context. Thanks @RReverser!
In chrono 0.4.34 we finished the work to make all methods const where doing so is supported by rust 1.61.
We renamed the Duration type to TimeDelta. This removes the confusion between chrono's type and the later Duration type in the standard library. It will remain available under the old name as a type alias for compatibility.
The Windows implementation of Local is rewritten. The new version avoids panics when the date is outside of the range supported by windows (the years 1601 to 30828), and gives more accurate results during DST transitions.
The Display format of TimeDelta is modified to conform better to ISO 8601. Previously it converted all values greater than 24 hours to a value with days. This is not correct, as doing so changes the duration from an 'accurate' to a 'nominal' representation to use ISO 8601 terms.
Fixes
Add missing range check in TimeDelta::milliseconds (#1385, thanks @danwilliams)
Remove check for DurationExceedsTimestamp in DurationRound (#1403, thanks @joroKr21)
Bumps the all group with 27 updates:
0.8.3
0.8.4
0.2.11
0.2.12
0.17.2
0.18.0
1.0.193
1.0.196
0.7.13
0.7.15
1.0.77
1.0.80
1.10.2
1.10.3
0.3.66
0.3.68
0.2.89
0.2.91
0.4.39
0.4.41
1.8.0
1.8.1
0.10.1
0.10.2
1.0.108
1.0.113
2.0.0
3.0.0
0.2.5
0.2.6
0.4.31
0.4.34
0.21.5
0.21.7
0.11.23
0.11.24
1.35.1
1.36.0
0.7.2
0.7.4
0.5.0
0.5.1
4.4.11
4.5.1
3.8.1
3.10.0
0.12.0
0.12.1
0.30.0
0.31.0
0.8.8
0.8.10
0.17.7
0.17.8
Updates
crossbeam
from 0.8.3 to 0.8.4Release notes
Sourced from crossbeam's releases.
Changelog
Sourced from crossbeam's changelog.
Commits
9c3182a
Prepare for the next release35a55d2
Remove dependency on cfg-if0935295
epoch: Remove unused autocfg dependencye02133b
Use const thread_local5a15fc2
More correct buffer allocation7389cdf
ci: Remove scripts that call single command4ef4f09
Ignore dead_code warnings for tuple structsUpdates
getrandom
from 0.2.11 to 0.2.12Changelog
Sourced from getrandom's changelog.
Commits
f68a940
Release v0.2.12 (#389)5fe3c8e
Raise minimum supported Apple OS versions (#388)8aa4efb
Document platform support policy (#387)7249e6e
Improve robustness of the Hermit backend andsys_fill_exact
(#386)169944f
Fix custom backend for targets without atomics (#385)Updates
rapier2d-f64
from 0.17.2 to 0.18.0Changelog
Sourced from rapier2d-f64's changelog.
Commits
aef873f
Release v0.18.06cee6b0
Merge pull request #571 from AnonymousAcid7787/fix-Setting-the-motor-position...7ba53df
Merge pull request #582 from dimforge/misc1837d8f
chore: fix tests9fed726
chore: rename the multibody motor debug demo2ed34ba
Fix dimforge#416 - update ball joint motor posb96e618
Make testing environment with bug repro coded84aa82
Merge pull request #527 from Aceeri/debug-render-com46b2441
feat!: rename narrow-phase methods for more clarity.5bf3983
feat: re-export BoundingVolume, RayCast, PointQuery, PointQueryWithlocation f...Updates
serde
from 1.0.193 to 1.0.196Release notes
Sourced from serde's releases.
Commits
ede9762
Release 1.0.196d438c2d
Merge pull request #2682 from dtolnay/decimalpointbef110b
Format Unexpected::Float with decimal pointb971ef1
Merge pull request #2681 from dtolnay/workspacedeps29d9f69
Fix workspace.dependencies default-features future compat warningaecb408
Sort workspace dependencies1c675ab
Merge pull request #2678 from rodoufu/workspaceDependenciesdd61963
Adding workspace dependencies111803a
Merge pull request #2673 from Sky9x/msrv-badge0024f74
Use shields.io's MSRV badgesUpdates
wide
from 0.7.13 to 0.7.15Commits
44c08be
chore: Release wide version 0.7.15bd6850c
feat: add u8x16::narrow_i16x8 (#148)a048507
chore: Release wide version 0.7.146ad5b3d
feat: add u8x16::unpack_low/high (#147)Updates
anyhow
from 1.0.77 to 1.0.80Release notes
Sourced from anyhow's releases.
Commits
5443719
Release 1.0.80dfc7bc0
Work around prelude redundant import warnings6e4f86b
Import from alloc not std, where possiblef885a13
Ignore incompatible_msrv clippy false positives in testfefbcbc
Ignore incompatible_msrv clippy lint78f2d81
Update ui test suite to nightly-2024-02-08edd88d3
Update ui test suite to nightly-2024-01-3171ab53d
Release 1.0.7960705a5
Merge pull request #340 from dtolnay/depinfo17e252b
Include env-dep:RUSTC_BOOTSTRAP in dep-info for sccacheUpdates
regex
from 1.10.2 to 1.10.3Changelog
Sourced from regex's changelog.
Commits
0c09903
1.10.3653bb59
deps: bump regex-automata to 0.4.4e7b5401
regex-automata-0.4.41bc667d
changelog: 1.10.3fbd2537
safety: guard in Input::new against incorrect AsRef implementations027eebd
cargo: set 'default-features = false' for memchr and aho-corasickdc0a9d2
ci: small clean-upsa3d5975
doc: fix link in Index<&str> impl docs4f5992f
doc: tweakCaptures
documentation837fd85
regex-cli-0.2.0Updates
js-sys
from 0.3.66 to 0.3.68Commits
Updates
wasm-bindgen
from 0.2.89 to 0.2.91Changelog
Sourced from wasm-bindgen's changelog.
... (truncated)
Commits
fe8bc94
Prepare v0.2.91 release (#3829)4b6ef26
Fixed nighly build ofwasm-bindgen-futures
(#3827)22f84e3
readme: build badge for Github actions, not Azure pipeline (#3825)3e469b2
Deprecate--weak-refs
in favor of run-time detection (#3822)1f7942d
Fix#[wasm_bindgen(js_name = default)]
for module imports (#3823)1f019db
Enabled and auto generatedforget()
method forUsbDevice
(#3821)9e699ac
Add deployment note for firstwasm-pack build --target web
example (#3819)305cb25
Fixed temporary folder detection on MacOS (#3817)b104788
chore(webgpu)!: update to latest WebGPU IDL as of 2024-01-30 (#3816)fb518d3
Fix example code in guide (#3813)Updates
wasm-bindgen-futures
from 0.4.39 to 0.4.41Commits
Updates
rayon
from 1.8.0 to 1.8.1Changelog
Sourced from rayon's changelog.
Commits
8c9ada2
Merge #800596ac46
Release rayon-core 1.8.15af9d7e
Only run find_first/last octillion on 64-bit targets8a53a49
Use actions/checkout@v2 consistently141dbc9
Add stable-i686 to CI for 32-bit testinge768237
Use wrapping addition for JEC4a26ac4
Merge #7876ec0754
Merge #793b9b2031
test Debug for Drain3dcc07e
Add traits ParallelDrainRange and ParallelDrainFullUpdates
env_logger
from 0.10.1 to 0.10.2Release notes
Sourced from env_logger's releases.
Changelog
Sourced from env_logger's changelog.
Commits
7929b7f
chore: Release env_logger version 0.10.23df552c
docs: Update changelog6ec4104
Merge pull request #296 from epage/refactor939687d
style: Make clippy happyc088820
fix(fmt): Ensure stream gets flushed2b3f26f
perf(fmt): Avoid UTF-8 validation7428386
refactor(fmt): Pull out stream lookup from writee8674a2
refactor(fmt): Consolidate target printingf5f3392
refactor(fmt): Pull is_test into the target87008fd
fix(fmt): Don't panic on broken pipes without termcolorUpdates
serde_json
from 1.0.108 to 1.0.113Release notes
Sourced from serde_json's releases.
Commits
09d865b
Release 1.0.1135aeab4e
Merge pull request #1109 from serde-rs/removeca3c2ca
Add swap_remove and shift_remove methods on Map7fece96
Release 1.0.1126a6d2bb
Merge pull request #1107 from serde-rs/unexpectedfloat83d7bad
Format f64 in error messages using ryu107c2d1
Merge pull request #1106 from serde-rs/invalidvalue62ca3e4
Handle Unexpected::Unit in Error::invalid_value296fafb
Factor out JSON-specific Display impl for serde::de::Unexpectede56cc69
Merge pull request #1105 from keienWang/masterUpdates
serial_test
from 2.0.0 to 3.0.0Release notes
Sourced from serial_test's releases.
Commits
bba3db8
3.0.0ae14645
Merge pull request #104 from palfrey/serial-for-mod0dec256
Merge branch 'main' into serial-for-modcee1dc1
Add testing and parallel to package keywords2a4b641
Merge branch 'main' into serial-for-mod288d933
Merge pull request #105 from palfrey/upgrade-rustixcf9d7fe
Upgrade rustixa8d985d
Replace a single-use match with if let67d22ff
Fix some clippy issuesff2890d
Update docs for mod-level functionalityUpdates
maths-rs
from 0.2.5 to 0.2.6Commits
537c1dd
- update readme7f58eff
- bump Cargo.toml version to 0.2.5 for publishUpdates
chrono
from 0.4.31 to 0.4.34Release notes
Sourced from chrono's releases.
... (truncated)
Commits
dc19606
Prepare 0.4.3458a2149
AddStrftimeItems::parse_to_owned
59eeb8c
AddStrftimeItems::parse
79de122
Add more documentation toStrftimeItems::new_with_locale
5b7cf85
Add more documentation toStrftimeItems::new
be6af79
MakeDisplay
format ofTimeDelta
conform better to ISO 8601d1cf0e9
Add test for issue 6510ef34e4
Extend test to more distant datesfc67f3e
Remove obsolete testacb693a
Windows: rewrite usingGetTimeZoneInformationForYear
Updates
base64
from 0.21.5 to 0.21.7Changelog
Sourced from base64's changelog.
Commits
9652c78
v0.21.708deccf
provide as_str() method to return the alphabet characters (#264)1cd75a1
v0.21.65820d9b
Merge pull request #263 from marshallpierce/silverlyra-usage97d9180
Merge branch 'usage' of github.com:silverlyra/rust-base64 into silverlyra-usageb64c624
Merge pull request #262 from tamird/clape32ca18
examples: replace structopt with clap72f25a8
Simplify the example program40e162c
Rewrite the crate docstringbfde751
Merge pull request #260 from marshallpierce/mp/doc-grammarUpdates
reqwest
from 0.11.23 to 0.11.24Release notes
Sourced from reqwest's releases.
Changelog
Sourced from reqwest's changelog.
Commits
c9b4b65
v0.11.24ddf7f24
Add Certificate::from_pem_bundle() (#2032)5d8443d
fix panic when parsing invalid Url to Uri (#2040)e3bf090
docs: explain TLS backend features better (#2117)1bd939b
update wasm-streams dependency (#2114)87cdf12
doc: clarify Cookie API usage (#2111)b3feff6
Add http3 feature to blocking client (#2110)2332936
Update cookie crates (#2089)ef2c8ee
Upgrading env_logger dep (#2102)4ab5fb0
Fix HTTP/2: retry requests rejected withREFUSED_STREAM
(#2081)Updates
tokio
from 1.35.1 to 1.36.0Release notes
Sourced from tokio's releases.
... (truncated)
Commits
eaf81ed
chore: prepare Tokio v1.36.0 (Looks like these dependencies are updatable in another way, so this is no longer needed.