Skip to content

Commit

Permalink
bump version to 8.0.0 and update release-notes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Feb 15, 2024
1 parent 8dde2cc commit f0ba9ae
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 14 deletions.
13 changes: 7 additions & 6 deletions MinieLibrary/build.gradle
Expand Up @@ -58,18 +58,19 @@ ext {
configureDesktopBtfs('')
metadata = 'bare' + jmeTarget

} else if (rootProject.hasProperty('big3')) {
// -Pbig3 specified, but neither -Pbtdebug nor -Pdp nor -Pbare
} else if (rootProject.hasProperty('big4')) {
// -Pbig4 specified, but neither -Pbtdebug nor -Pdp nor -Pbare

configureAndroidBtfs('')
configureDesktopBtfs('')
btfLinux64 = 'ReleaseSp'
btfMacOSX64 = 'ReleaseSp'
btfMacOSX_ARM64 = 'ReleaseSp'
btfWindows64 = 'ReleaseSp'
metadata = 'big3' + jmeTarget
metadata = 'big4' + jmeTarget

} else if (rootProject.hasProperty('mt')) {
// -Pmt specified, but neither -Pbtdebug nor -Pdp nor -Pbare nor -Pbig3
// -Pmt specified, but neither -Pbtdebug nor -Pdp nor -Pbare nor -Pbig4

configureAndroidBtfs('')
configureDesktopBtfs('')
Expand All @@ -78,13 +79,13 @@ ext {
metadata = 'mt' + jmeTarget

} else if (rootProject.hasProperty('droid')) {
// -Pdroid specified, but neither -Pbtdebug nor -Pdp nor -Pbare nor -Pbig3 nor -Pmt
// -Pdroid specified, but neither -Pbtdebug nor -Pdp nor -Pbare nor -Pbig4 nor -Pmt

configureAndroidBtfs('ReleaseSp')
configureDesktopBtfs('')
metadata = 'droid' + jmeTarget

} else { // neither -Pbtdebug nor -Pdp nor -Pbare nor -Pbig3 nor -Pmt nor -Pdroid specified
} else { // neither -Pbtdebug nor -Pdp nor -Pbare nor -Pbig4 nor -Pmt nor -Pdroid specified

// Specify the BTF (buildType + flavor) of native library for each platform:
// (Specify '' for no native library.)
Expand Down
63 changes: 63 additions & 0 deletions MinieLibrary/release-notes.md
@@ -1,5 +1,68 @@
# Release log for the Minie library, DacWizard, MinieExamples, and VhacdTuner

## Version 8.0.0 released on TBD

+ Deleted 9 public methods that had previously been deprecated: (API changes)
+ `CollisionShape.getObjectId()`
+ `CollisionSpace.getSpaceId()`
+ `PhysicsCollisionObject.getObjectId()`
+ `PhysicsCollisionObject.listIgnoredIds()`
+ `PhysicsCollisionObject.setIgnoreList()`
+ `PhysicsJoint.getObjectId()`
+ `RigidBodyMotionState.getObjectId()`
+ `RotationalLimitMotor.getMotor()`
+ `TranslationalLimitMotor.getMotor()`
+ Privatized the `setIgnoreCollisionCheck()` method in
the `PhysicsCollisionObject` class. (API change)

+ Added the capability to define custom collision shapes using JVM code:
+ Added the (abstract) `CustomConvexShape` class.
+ Modified `PhysicsDescriber` to recognize custom shapes.
+ Added 7 custom shapes to the MinieExamples project:
+ `CustomBox`
+ `CustomCone`
+ `CustomCylinder`
+ `CustomEllipsoid`
+ `CustomFrustum`
+ `CustomHalfCylinder`
+ `CustomHemisphere`
+ Added custom shapes to the `DropTest` example app.

+ Bugfix: `CharacterController.onGround()` returns false positives after
stepping (not jumping) off a cliff
+ Added runtime checks to `MeshCollisionShape` for meshes that are too complex.
+ Bugfix: JME issue 2002 (`TerrainGridTileLoaderTest` fails to load tiles)

+ The "+big3" build flavor was replaced with "+big4" that includes
native binaries for MacOSX_ARM64.

+ Changed how meshes for debug visualization are generated:
+ Added an `IndexMesh` constructor to efficiently generate visualization
meshes for collision shapes.
+ Replaced `DebugMeshCallback` with `IndexedMesh` in `DebugShapeFactory`.
+ Deprecated the `DebugMeshCallback` class.

+ Added 10 new public methods:
+ `BetterCharacterControl.getInitialHeight()`
+ `BetterCharacterControl.getInitialRadius()`
+ `CompoundMesh.countSubmeshes()`
+ `CompoundMesh.getSubmesh()`
+ `IndexedMesh.copyTriangles()`
+ `IndexedMesh.distinctVertices()`
+ `IndexedMesh.footprint()`
+ `IndexedMesh.maxDistance()`
+ `IndexedMesh.surfaceArea()`
+ `IndexedMesh.volumeConvex()`

+ Updated dependencies:
+ v9.0.0 of the Heart library,
+ v2.0.0 of the Acorus library,
+ v0.9.37 of the jme3-utilities-nifty library,
+ v3.1.7 of Antora, and
+ v20.11.0 of Node.js .
+ Built using Gradle v8.6 .
+ Updated the native libraries to v20.1.0 of Libbulletjme.

## Version 7.8.1 released on 4 December 2023

+ Bugfix: BVH algorithm fails
Expand Down
@@ -1,5 +1,5 @@
/*
Copyright (c) 2018-2023, Stephen Gold
Copyright (c) 2018-2024 Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -59,6 +59,6 @@ private MinieVersion() {
* @return the branch name and revision string (not null, not empty)
*/
public static String versionShort() {
return "master 7.8.2-SNAPSHOT";
return "master 8.0.0";
}
}
6 changes: 3 additions & 3 deletions bash/release.sh
Expand Up @@ -4,7 +4,7 @@ set -e

export JAVA_HOME=/usr/lib/jvm/Temurin/jdk-17.0.8.1+1

V=7.8.1
V=8.0.0
D=/home/sgold/Releases/Minie/$V
mkdir $D

Expand All @@ -15,8 +15,8 @@ cp MinieLibrary/build/libs/*.{jar,module,pom} $D
./gradlew clean release -Pbare
cp MinieLibrary/build/libs/*bare.{jar,module,pom} $D

./gradlew clean release -Pbig3
cp MinieLibrary/build/libs/*big3.{jar,module,pom} $D
./gradlew clean release -Pbig4
cp MinieLibrary/build/libs/*big4.{jar,module,pom} $D

./gradlew clean release -Pbtdebug
cp MinieLibrary/build/libs/*debug.{jar,module,pom} $D
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Expand Up @@ -26,9 +26,9 @@ ext {
//lwjglCoordinates = 'org.jmonkeyengine:jme3-lwjgl:' + jme3Version // for LWJGL 2.x
lwjglCoordinates = 'org.jmonkeyengine:jme3-lwjgl3:' + jme3Version // for LWJGL 3.x

minieSnapshot = '-SNAPSHOT' // for development builds
//minieSnapshot = '' // for release builds
minieVersion = '7.8.2'
//minieSnapshot = '-SNAPSHOT' // for development builds
minieSnapshot = '' // for release builds
minieVersion = '8.0.0'
}

subprojects {
Expand Down

0 comments on commit f0ba9ae

Please sign in to comment.