From af7cd42c17220589243a2b736a3ad4ef83ce77bc Mon Sep 17 00:00:00 2001 From: stephengold Date: Mon, 22 Apr 2024 00:41:33 -0700 Subject: [PATCH] update release log, build scripts, and init message for v21.0.0 --- appveyor.yml | 12 ++++----- build.gradle | 2 +- release-notes.md | 25 +++++++++++++++++++ .../com/jme3/bullet/util/NativeLibrary.java | 2 +- src/main/native/glue/jmeClasses.h | 2 +- 5 files changed, 34 insertions(+), 9 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index e9b916c0..b0d31480 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,7 @@ --- # configure deployment by AppVeyor.com -version: 20.2.0 +version: 21.0.0 image: Visual Studio 2022 @@ -11,15 +11,15 @@ build_script: - cmd: gradlew.bat build --console=plain --no-daemon artifacts: - - path: dist/Libbulletjme-20.2.0.jar + - path: dist/Libbulletjme-21.0.0.jar name: classJar - - path: dist/Libbulletjme-20.2.0-javadoc.jar + - path: dist/Libbulletjme-21.0.0-javadoc.jar name: javadocJar - - path: dist/Libbulletjme-20.2.0-sources.jar + - path: dist/Libbulletjme-21.0.0-sources.jar name: sourcesJar - - path: dist/Libbulletjme-20.2.0.pom + - path: dist/Libbulletjme-21.0.0.pom name: pom - - path: dist/Libbulletjme-20.2.0.module + - path: dist/Libbulletjme-21.0.0.module name: module - path: dist/Windows32DebugDp_bulletjme.dll name: dll32DD diff --git a/build.gradle b/build.gradle index b2fe3d7a..148ea60d 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ plugins { ext { group = 'com.github.stephengold' artifact = 'Libbulletjme' - version = '20.2.0' + version = '21.0.0' baseName = "${artifact}-${version}" // for artifacts websiteUrl = 'https://github.com/stephengold/Libbulletjme' } diff --git a/release-notes.md b/release-notes.md index f0d60177..9877da83 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1,5 +1,30 @@ # Release log for the Libbulletjme project +## Version 21.0.0 released on 22 April 2024 + ++ Made numerous breaking changes to the native API. ++ Deleted the (deprecated) `DebugMeshCallback` class. (API change) ++ Bugfix: JVM crash while serializing `BoundingValueHierarchy` (Minie issue 41) ++ Added the new `CollisionConfiguration` class and related methods: + + `CollisionSpace.getConfiguration()` + + `PhysicsDescriber.describe(CollisionConfiguration)` + + a 5-argument `CollisionSpace` constructor + + a 4-argument `PhysicsSoftSpace` constructor + + a pair of 5-argument `PhysicsSpace` constructors ++ Added 2 other public methods: + + `BoundingValueHierarchy.isCompressed()` + + `MeshCollisionShape.getBvh()` ++ Improved the performance of contact filtering by adding an early return + from `FilteredInteriorCountCallback`. ++ Began building Android binaries + using OpenJDK 11 (with Android Gradle plugin v7.4.0 and NDK v23.1.7779620) + instead of JDK 8 (with Android Gradle plugin v4.2.2 and NDK v21.3.6528147). ++ Began using `htons()` to configure byte swapping when serializing and + deserializing a `BoundingValueHierarchy`. (This would be a breaking + change for big-endian platforms, if any were supported!) ++ Updated the Bullet sources to match SHA1 id=e9c461b0 of the bullet3 project, + to add a test for constraint pass in btMultiBody.cpp. (Thanks to Ian Chen) + ## Version 20.2.0 released on 18 March 2024 + Deprecated the `DebugMeshCallback` class. diff --git a/src/main/java/com/jme3/bullet/util/NativeLibrary.java b/src/main/java/com/jme3/bullet/util/NativeLibrary.java index c2db46a6..d0f92d5b 100644 --- a/src/main/java/com/jme3/bullet/util/NativeLibrary.java +++ b/src/main/java/com/jme3/bullet/util/NativeLibrary.java @@ -52,7 +52,7 @@ final public class NativeLibrary { /** * expected version string of the native library */ - final public static String expectedVersion = "20.2.0"; + final public static String expectedVersion = "21.0.0"; // ************************************************************************* // constructors diff --git a/src/main/native/glue/jmeClasses.h b/src/main/native/glue/jmeClasses.h index 6f2c9430..65dfc56e 100644 --- a/src/main/native/glue/jmeClasses.h +++ b/src/main/native/glue/jmeClasses.h @@ -38,7 +38,7 @@ */ #include -#define LIBBULLETJME_VERSION "20.2.0" +#define LIBBULLETJME_VERSION "21.0.0" #define EXCEPTION_CHK(pEnv, retval) \ if (pEnv->ExceptionCheck()) { \