Skip to content

Commit

Permalink
bump the library version to v0.9.4 and update the release log
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jan 7, 2025
1 parent f93bc61 commit 4e5ed8b
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
ext {
downloadZip = 'downloads/JoltPhysics-sg250106.zip'
group = 'com.github.stephengold'
version = '0.9.4-SNAPSHOT'
version = '0.9.4'
baseName = "${artifact}-${version}" // for artifacts
websiteUrl = 'https://github.com/stephengold/jolt-jni'
}
Expand Down
70 changes: 70 additions & 0 deletions release-log.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,75 @@
# release log for the jolt-jni project

## Version 0.9.4 released on TBD

+ API changes:
+ Renamed 25 public static methods in the `Op` class.
+ Split off the `Std` class from the `Jolt` class.
+ Split off the "com.stephengold.joltjni.std" package.
+ Renamed the `UniformRealDistribution` class.
+ Renamed the `Vec3.add()` method.
+ Deleted 3 classes from the libraries:
+ `TrackedVehicleControllerRef`
+ `VehicleControllerRef`
+ `WheeledVehicleControllerRef`
+ Renamed the `Ragdoll.getBodyIDs()` method.
+ Moved the `cDefaultConvexRadius` constant to the `Jolt` class.
+ Altered the value returned by the `AaBox.biggest()` method.
+ Altered the semantics of the `BodyIdVector.get()` method.
+ Altered the signature of the `BodyIdArray.set()` method.
+ Altered the signature of the `SkeletonPose.setSkeleton()` method.
+ Added an argument to the `Part.getToParent()` method.
+ Altered the return type of the `BodyIdArray.get()` method.
+ Altered the default values returned by the `getMaxHeightValue()` and
`getMinHeightValue()` methods in the `HeightfiedShapeSettings` class.
+ Deleted a redundant `addShape()` method from
the `CompoundShapeSettings` class.
+ Redesigned the `CharacterVsCharacterCollisionSimple` class.
+ Depublicized the `Wheel.newWheel()` method.

+ Bug fixes:
+ crash due to use-after-free when a `PhysicsSystem` gets cleaned
before a character or `Ragdoll`
+ premature cleaning of various physics objects
+ crash due to uninitialized data in `ConvexHullBuilder.initialize()`
+ assertion error while instantiating a `PhysicsScene`
+ lossy casts in 4 `PlaneShape` getters
+ `SkeletonPose.getJointMatrices()` returns an invalid pointer
+ methods that should return `null` but are unabled to:
+ `RagdollSettings.createRagdoll()`
+ `RagdollSettingsRef.createRagdoll()`
+ `Contact.getCharacterB()`
+ memory leaks in `ObjectStreamIn`

+ Added classes and enums to the libraries:
+ `AddConvexRadiusSupport`
+ `AdditionalConstraint`
+ `ChbEdge`
+ `ChbFace`
+ `ConvexHullBuilder`
+ `EConstraintOverride`
+ `EResult`
+ `EStreamType`
+ `ESupportMode`
+ `HeightFieldShapeConstants`
+ `Joint`
+ `Mat44Array`
+ `ObjectStreamOut`
+ `PhysicsMaterialSimple`
+ `PhysicsSceneResult`
+ `RagdollResult`
+ `ShapeList`
+ `Sphere`
+ `Stats`
+ `StreamInWrapper`
+ `StringStream`
+ `Support`
+ `SupportBuffer`

+ Added many public constants and public methods to the libraries.
+ Added chaining capability to 7 methods.
+ Updated the Jolt source code and assets to ba8beb8 (=sg250106).

## Version 0.9.3 released on 13 November 2024

+ API changes:
Expand Down
2 changes: 1 addition & 1 deletion src/main/native/glue/j/Jolt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ JNIEXPORT void JNICALL Java_com_github_stephengold_joltjni_Jolt_unregisterTypes
*/
JNIEXPORT jstring JNICALL Java_com_github_stephengold_joltjni_Jolt_versionString
(JNIEnv *pEnv, jclass) {
const jstring result = pEnv->NewStringUTF("0.9.4-SNAPSHOT");
const jstring result = pEnv->NewStringUTF("0.9.4");
return result;
}

Expand Down

0 comments on commit 4e5ed8b

Please sign in to comment.