Releases: MonoMod/MonoMod
Releases · MonoMod/MonoMod
v22.07.31.01
Long overdue maintenance release of the old branch for those who need it. Check the commit log for changes.
Please follow @nike4613's progress with the reorganize
branch.
NuGet: Patcher | Utils | RuntimeDetour | HookGen
Azure DevOps Pipelines: Build | Release
v22.05.01.01
v22.04.23.01
v22.03.23.04
Utils
- Add
ReflectionHelper.IsMono
andIsCore
, check forMono.RuntimeStructs
(modern mono). - Make
DynDll
act as a shim forNativeLibrary
on .NET Core. - Fix reflection cache fixer on .NET Framework 3.5.
RuntimeDetour
- Implement initial precode walking for arm64 (Thanks, @kevzhao2!).
- Fix compatibility with Windows x86 .NET 6.0 (x64 worked fine).
ICorJitCompiler
compileMethod
switched fromStdCall
toThisCall
for this specific version of the .NET runtime despite no changes to the function definition, presumably due to minor compile-time differences.
NuGet: Patcher | Utils | RuntimeDetour | HookGen
Azure DevOps Pipelines: Build | Release
v22.02.10.01
RuntimeDetour
- Check for and use the new
RuntimeHelpers.CompileMethod(RuntimeMethodHandleInternal)
signature found in .NET 5 and newer.- This works around the first chance exception handler deadlock triggered by tModLoader. Here's a general reminder to not call methods which could be in process of being detoured.
NuGet: Patcher | Utils | RuntimeDetour | HookGen
Azure DevOps Pipelines: Build | Release
v22.01.29.01
Utils
- Fix Android support by bypassing SELinux for platform check (Thanks, @MeWnoJinsei!).
- Fix busybox on Windows messing with platform check.
- Fix
ILPatternMatchingExt.Match<T>(Instruction, OpCode, out T)
(always returned false). - Add
callvirt get_Assembly
(Mono vs .NET) fix for DMDEmit as well (Thanks, @ghorsington!).
NuGet: Patcher | Utils | RuntimeDetour | HookGen
Azure DevOps Pipelines: Build | Release
v22.01.04.03
RuntimeDetour
- Check if dynamic IL is available in
TryMemAllocScratchCloseTo
, fixing problems in some Unity environments.
Patcher
- Fix generic parameters not being cloned / relinked properly (Thanks, @Popax21!).
- Fix Mono weirdness regarding custom attribute constructor references (must be method ref + type ref, or method def, not method ref + type def) (Thanks, @Popax21!).
NuGet: Patcher | Utils | RuntimeDetour | HookGen
Azure DevOps Pipelines: Build | Release