Harmony 2.4
Harmony 2.4 includes a lot of bug fixes and now supports arm64! Enjoy and consider supporting me on Patreon or become a GitHub sponsor!
Changelog
Added
-
Full support for arm64 across all operating systems, including Apple Silicon
-
Configurable error handler: A new API lets you register a global error handler that Harmony invokes whenever a patch throws an exception. This allows logging or suppressing errors centrally
-
Extended CodeMatcher API: New methods—RemoveSearchForward, RemoveSearchBackward, RemoveUntilForward, RemoveUntilBackward and Do—make it easier to remove or transform instruction sequences via CodeMatcher
-
Struct patching: [HarmonyPatch] attributes can now target methods defined in structs, not just classes
-
Additional MethodType cases: Harmony’s API now covers more method kinds (e.g., async methods, property accessors or operators). This broadens the range of targets you can patch
-
Simpler manual patch registration: The PatchClassProcessor no longer requires Harmony‑specific attributes when registering patches programmatically