master Changelog 5.2 === - 5.2.2 Update build setup, Gradle 8.10.2 (#66) * Use Java 17 as a minimum everywhere, CoreMods itself is compiled with Java 17 already, so testing with Java 16 doesn't make sense. * Use lazy task configuration for jar manifest attributes * Minor cleanup to valid VMs versions * Update licencer, enable configuration caching - 5.2.1 Fix JetBrains annotation in module info not being runtime optional (static) (#67) - 5.2.0 CoreMods 5.2.0 Full Changelog: https://gist.github.com/Jonathing/c3ad28b2a048ac839a7baba5417ee870 The key features are: - ES6 language support - Thoroughly updated ASMAPI, with full documentation - Bug fixes (some optional for backwards-compatibility) - Partial internal code cleanup 5.1 === - 5.1.18 Add additional instruction searching to ASMAPI (#59) - 5.1.17 Account for logical breaking change in ASMAPI.findFirstInstructionBefore() (#56) Add new methods that include a boolean parameter for fixing the logic. This overrides the behavior imposed by CoreMods to fix the logic based on MC version. - 5.1.16 Add insertInsn() methods to ASMAPI (#62) Sisters to insertInsnList(), but used for single instructions as opposed to entire lists - 5.1.15 Add additional field tools to ASMAPI (#61) Add a buildMethodCall() with the type as first param This mimics how MethodInsnNodes are created with the opcode being fed first. Add findFirstFieldCall() methods to search for field calls Add buildFieldCall() to build field calls - 5.1.14 Remove deprecations from mapping methods (#58) Older versions of Forge are still open to recieve CoreMods updates - 5.1.13 Final ASMAPI cleanup, NumberType enum change, and new insertInsnList method (#54) - 5.1.12 Fix insnToString not accepting AbstractInsnNode (#53) - 5.1.11 Add InsnType for precise instruction searching, additional cleanup (#49) Update getMethodNode() to use Opcodes.ASM9 Add insnToString to help debug single instructions Add InsnType as an additional filter in instruction searching Add insnListToString to assist in debugging instruction lists - 5.1.10 Add LDC constant helper methods (#51) Add buildLdcInsnNode for dealing with specific number types Add ldcInsnClassToString to get LDC constants class names - 5.1.9 Fix findFirstInstructionBefore ignoring the start index (#50) - 5.1.8 Properly document everything ASMAPI (#48) - 5.1.7 Update ASM to 9.7.1 for Java 24 support (#47) - 5.1.6 Make ModLauncher and ForgeSPI deps `compileOnly` - 5.1.5 Bump ASM - 5.1.4 Make modlauncher and forgespi deps compileOnly - 5.1.3 ASMAPI.getSystemPropertyFlag() checks the given property without only prepending "coremod." (#45) - 5.1.2 Put the asm dependencies into the api package (#37) - 5.1.1 Add ASMAPI.MethodType.DYNAMIC (#44) - 5.1.0 Restructure projects and update gradle. Test still do not work. Moved to Github Actions Bump target version to J17 as ModLauncher requires that version. 5.0 === - 5.0.3 Fix bugged logic in ASMAPI.getSystemPropertyFlag() (#41) - 5.0.2 teamcity - 5.0.1 refresh wrapper - 5.0.0 update to j16, latest modlauncher and other things... 4.0 === - 4.0.6 Add java.util to allowed packages list - 4.0.5 Add java.util.function back, due to how the hierarchy check works - 4.0.4 Allow all of java.util, instead of just the function package - 4.0.3 Add textifier functions to ASMAPI, helpful in debugging. - 4.0.2 Changed to using ScriptObjectMirror again for running functions. Caused errors with some mods that defined their returns oddly. Next breaking version should change things to return a Function directly. - 4.0.1 remove jacoco - it breaks on the J15 stuffs - 4.0.0 Small tweaks to use Bindings. Remove legacy test that was a NOOP. 3.0 === - 3.0.2 Rework to support J15+ using standalone Nashorn and Multi-Release jar. - 3.0.1 Add ASMAPI.loadData(filename) function to load JSON data from a file. - 3.0.0 Update dependencies, add LICENSE file because pedants (It's always been LGPLv2.1) 2.0 === - 2.0.2 Update local deps - 2.0.1 Merge pull request #27 from HellFirePvP/master Fix findFirstMethodCallBefore - 2.0.0 Update some dependencies, remove the url abstraction - it's not going to help.. 2.0.0-milestone.1 ================= - 2.0.0-milestone.1.2 Remove reckon, update gradle to 6.3, fix build.. - 2.0.0-milestone.1.1 Fix findFirstMethodCallBefore Fix searching backwards always starting at last instruction rather than the passed, ideally lower, start index - 2.0.0-milestone.1.0 Update to asm 7.2 gradle 6.0.1 and other deps 1.0.0 ===== - 1.0.0.0 Add loadFile (closes #24) and log function. v1.0!