Releases: GW2ToolBelt/GW2ML
Releases · GW2ToolBelt/GW2ML
3.0.1
3.0.0
Improvements
- Migrated from JNI to Java's new FFI.
- This removes the need to have a separate native artifact alongside the library.
- Introduced new method overloads that accept
MemorySegment
instead ofByteBuffer
. - Deprecated the
ByteBuffer
methods for removal.
- Migrated from JSR305 annotations to JSpecify.
Breaking Changes
- Attempts to receive the numerical value for
UNKNOWN
enum types will now throw anIllegalArgumentException
. MumbleLink#viewOf(ByteBuffer)
now requires a direct buffer.- Removed (public) dependency on
com.google.code.findbugs:jsr305
. - Removed the deprecated
MountType#valueOf(long)
overload. - The deprecated public constructor of
MumbleLink.Context
has been hidden. - The minimum required Java version is now 22.
2.2.2
Fixes
- Removed instance caching to resolve issues with closing of cached instances.
- The byte order is now properly reset after parsing the server address.
2.2.1
Fixes
- Clearing a
MumbleLink
instance that wraps a customByteBuffer
does now
properly zeroes the buffer's content. - The server address is now parsed using network byte order.
2.2.0
Improvements
- Added support for clearing the MumbleLink buffer (via
MumbleLink#clear()
). - Deprecated the public constructor of
MumbleLink.Context
that was exposed unintentionally.
Fixes
- Several fixes and improvements to server address parsing. (Thanks to @Medyro)
- The port is now parsed correctly instead of just the first byte.
- IPv6 addresses are now properly recognized on Windows.
- Improved error messages for parsing failures.
2.1.2
Fixes
- Fixed an
IndexOutOfBoundsException
caused by server address caching.
2.1.1
Fixes
- Improved runtime library extraction.
2.1.0
Improvements
- Added
MountType
constants for the Skiff and the Siege Turtle. - Added caching for
MumbleLink.Context#getServerAddress()
. - Improved lookup speed for
MapType#valueOf
andMountType#valueOf
.
Deprecations
- Deprecated
MapType#valueOf(long)
.
2.0.3
Improvements
- Added version information to the module descriptor.
2.0.2
Fixes
- Errors in native code no longer could crash the JVM.
- Errors in native code now throw
IllegalStateException
(as documented) instead ofNoClassDefFoundError
.