Repository navigation
Releases
Releases · Lukas22041/PatchLib
PatchLib 1.1.2
- Adjusted the stacktrace patch appending to only show when a specific patched method is part of the trace.
PatchLib 1.1.1
- Janino loaded classes can now also be patched with redirect patches.
- Fixed a performance problem that caused some patched classes to not be C1 compiled.
- Slightly changed the wording of the stack trace appending error message.
PatchLib 1.1.0
- Updated to 0.98.5a
- Added a debug menu that can be opened with CTRL+P in the title and campaign.
- Very slightly improved the performance of context reflection utils, context.getData() and context.isMostDerivedCall().
- Deprecated the name based reflection methods, they will continue to function, but are recommended against use mostly for performance.
PatchLib 1.0.3
- Fixed an issue where ashes jar replacement broke most patches after anything tries to patch the "BaseIndustry" class.
-> The "BaseIndustry" issue itself is not fixed, and likely wont be until the starsector update, but should have far less consequences
PatchLib 1.0.2
- Added a warning for subtype matches on janino loaded classes that themself extend from janino loaded classes.
- Improved the crash message when crashing due to using an old version of FR (0.6.8 and older)
PatchLib 1.0.1
- The "TogglePatch" command now allows toggling multiple patches at once
- Made a specific crash provide a better error message.
PatchLib 1.0.0
PatchLib 0.6.0
- Added methods for enabling/disabling patches in the "PatchLib" class, i.e PatchLib.setEnabled(), ...
- Added the "TogglePatch" console command.
--> Toggled patches are only toggled for the current session, the state is not saved. - Added improved logging for exceptions that shows which classes involved in the stack trace are patched.
- Added version checker changelog support.
PatchLib 0.5.0
- Added an additional fallback for self-attach, which should work even within Starsector 0.98a.
- Reworked class scanning, now returns just a List of classes instead of its own data object, no longer holds unused data active after game load.
- Implemented slight performance improvements, mostly to Hooks, but also slight improvements to redirects.
- Final API renames in places they were inconsistent before things are locked down. Make sure to clear your intellij caches.
PatchLib 0.4.0
[This is a late release of a version that has existed for a while, it is only posted for archive reasons]
- The mod now uses self-attach, and no longer comes with an installer.
- Full internal rewrite of the agent side code
- Added PatchLib.scan(), a new util for scanning for classes within the games and mods jars.
- Refactored the "_Query" classes with additional methods and variants for Class & Annotation targets
- The API jar now includes sources, which should display javadocs when you check its classes and methods in your IDE.
- Implemented some loading time improvements
- Renamed RedirectNew to RedirectConstructorCall and renamed RedirectCall to RedirectMethodCall
- Renamed "priority" to "order" on patches.
- Removed the debug UI for now, will be reimplemented at a later point.
- Added the MIT License.