Skip to content

Releases: classgraph/classgraph

classgraph-4.8.181

16 Jul 03:22
Compare
Choose a tag to compare

Fixes:

  • #906 (classloader delegation order issue)
  • #896/#907 (JBoss/WildFly -- exploded jars not being found -- regression)

classgraph-4.8.180

23 Jun 19:45
Compare
Choose a tag to compare

Stops showing this warning on JDK 24+ (#899):

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::invokeCleaner has been called by nonapi.io.github.classgraph.utils.FileUtils (file:/home/zakkak/.m2/repository/io/github/classgraph/classgraph/4.8.179/classgraph-4.8.179.jar)
WARNING: Please consider reporting this to the maintainers of class nonapi.io.github.classgraph.utils.FileUtils
WARNING: sun.misc.Unsafe::invokeCleaner will be removed in a future release

Downside: ClassGraph#enableMemoryMapping() is disabled for now on JDK 24+ (this was not enabled by default).

Memory mapping wasn't that much faster than the default of standard NIO file access, so this should not impact performance much, and the impact should be limited to a small number of users.

ClassGraph version 5 should support memory management again (but there is no timeline for when that will be released).

classgraph-4.8.179

12 Nov 06:41
Compare
Choose a tag to compare

Fixes URL generation on Windows (uses file:/// rather than file:/) -- #888. Thanks to @cowwoc for the fix, #889.

classgraph-4.8.178

12 Nov 06:29
Compare
Choose a tag to compare

Fixes classpath finding on Quarkus 3.16 (which changed how the classloader works, #891). Thanks to @michael-simons for the fix!

classgraph-4.8.177

02 Oct 02:39
Compare
Choose a tag to compare

Throw IllegalStateException rather than NPE if the user tries to access a resource after the ScanResult has been closed (#885, thanks to @sebthom for reporting).

classgraph-4.8.176

17 Sep 19:57
Compare
Choose a tag to compare

Add synchronized block around API methods that have side effects, to make them threadsafe (#883, thanks to @inphonetic).

classgraph-4.8.175

20 Aug 07:03
Compare
Choose a tag to compare

Merged two PRs from @freya022 (thanks!):

  • #878 (Store annotation getters of ClassInfo and MethodInfo)
  • #879 (Catch NoClassDefFoundError when loading methods)

classgraph-4.8.174

18 Jun 20:23
Compare
Choose a tag to compare

Update to work with JBoss classloader changes (Issue #843, thanks to @DJay89; comments by @cmunier; PR #869, thanks to @dominik2611).

classgraph-4.8.173

04 Jun 23:59
Compare
Choose a tag to compare

classgraph-4.8.172

19 Apr 16:52
Compare
Choose a tag to compare

Some small optimizations to the changes in the previous release, by @attilapuskas.