Skip to content

Release 1.1.2

Choose a tag to compare

@CDAGaming CDAGaming released this 17 May 00:26
· 67 commits to main since this release
8f9f6ff

Full Changelog: 1.1.1...1.1.2

  • Added the ability to disable ClassGraph functions
    • More useful in applications using ClassGraph but want to disable these functions (For example: To save on memory allocations)
    • See FileUtils#isClassGraphEnabled and FileUtils#setClassGraphEnabled
    • Effects functions: detectClasses, getClassesMatchingSuperType, isSubclassOf, getClasses, and getClassMap
  • FileUtils#scanClasses has been merged with FileUtils#getClassMap to avoid redundancy
    • A flag has also been added to avoid accidental re-scans if the Class Map Results are empty
    • See FileUtils#hasScannedClasses and FileUtils#clearCacheMap(allowReScan::bool?)
  • Removed excessive String#replace calls from MappingUtils
    • FileUtils has also been adjusted to ensure we are using the canonical path instead of a mix of different names
  • Rewritten FileUtils#isSubclassOf and FileUtils#getClassNamesMatchingSuperType to be more performant
    • Also avoiding unneeded recursion and object creation