A library for patching, replacing and decorating .NET and Mono methods during runtime
UnpatchCategory()
https://github.com/pardeike/Harmony/commit/395749ff507ab4e2cd4f84cf99085ec18f6870bc
HarmonyPriority
bug with inherited values https://github.com/pardeike/Harmony/commit/395749ff507ab4e2cd4f84cf99085ec18f6870bc
This releases fixes a regression for .Net Standard projects
v2.3.1 fixes:
This update updates Harmony Thin only and makes the dependency on MonoMod.Core public so it is included in transitive dependencies. No other changes.
We have been preparing and testing this for months and I want to specially mention the the help of our HUGE community on this release. Harmony is downloaded over 800 times a day and has over 1.6 million downloads on Nuget and a Discord server with over 2100 members.
New core engine
Harmony 2.3 now uses MonoMod.Core v1.1
(part of https://github.com/MonoMod) which is a rewrite of the low level back-end for patching .NET methods.
Support for newer .NET versions
.NET 7
and .NET 8
support is finally here
Tests via GitHub Actions Harmony is now tested on Azure and GitHub and thus we can start testing macOS and other fancy combinations: https://github.com/pardeike/Harmony/actions/workflows/test.yml
Fat and Thin versions
Harmony is now released in two packages on nuget: Lib.Harmony
and Lib.Harmony.Thin
. The thin version does not embed dependencies and thus allows you to manage them yourself. The normal version embeds them as internal types and works as usual as a standalone dll.
https://www.nuget.org/packages/Lib.Harmony
https://www.nuget.org/packages/Lib.Harmony.Thin
PlatformTriple.Current.GetIdentifiable
for a user submitted MethodInfoAssembly.GetExecutingAssembly
internallyCodeMatch(()=>...
7e4183ee30b886ec2f862412a70b92d2a16622cfMono.Cecil.ByReferenceType
, Mono.Cecil.GenericInstanceMethod
, Mono.Cecil.GenericInstanceType
, Mono.Cecil.TypeSpecification
and Mono.Cecil.Cil.OpCodes
to ForwardingAttributesref SomeType Test()
by using ref RefResult<SomeType> __resultRef
https://github.com/pardeike/Harmony/compare/v2.2.2.0...v2.3.0.0
This release is just like prerelease.6 but build with the new thin/fat mechanics. No new features or fixes were added.
Fixes the following issues:
Fixes
PlatformTriple.Current.GetIdentifiable
for a user submitted MethodInfoAssembly.GetExecutingAssembly
internallyCodeMatch(()=>...
[7e4183ee30b886ec2f862412a70b92d2a16622cf]For the main description see v2.3-prerelease.2