Skip to content

Releases: BepInEx/HarmonyX

Release v2.6.0

28 Nov 10:30
Compare
Choose a tag to compare

Changelog

  • Updated MonoMod to 21.11.11.1 (changelog)
  • Fixed leave, leave.s, endfinally and endfilter being duplicated when generated patched method code
    • This also fixes certain cases where inserting IL right after exception blocks caused the IL to be skipped over in generated patch
  • Added MethodType.Enumerator method type to make transpiling enumerators (e.g. Unity coroutines) easier (thanks, @ManlyMarco!)

Release v2.5.7

24 Oct 14:14
Compare
Choose a tag to compare

Changelog

  • Merged upstream up to b101f1d
    • Reverse patcher targets now can be specified dynamically via TargetMethod or class attributes

Release v2.5.6

17 Oct 14:28
Compare
Choose a tag to compare

Changelog

  • Merged upstream up to 7928599
  • Updated MonoMod to 21.10.10.1 (changelog)
  • Fixed patching in cases where a transpiler returns an empty code list (#32)
    • Developers should prefer using prefixes instead for these cases, this special case behaviour was added for Harmony 2 interop

Release v2.5.5

21 Sep 18:04
Compare
Choose a tag to compare

Changelog

  • Fixed Harmony instance owner not being logged properly
  • Fixed compatibility with transpilers that explicitly set labels and blocks to null in CodeInstructions
  • Updated MonoMod to 21.8.19.1 (changelog)

Release v2.5.4

05 Aug 19:34
Compare
Choose a tag to compare

Changelog

Release v2.5.3

30 Jul 14:38
Compare
Choose a tag to compare

Changelog

  • Merged upstream up to 129ce7c
  • Updated MonoMod.RuntimeDetour to 21.07.22.03

Release v2.5.2

23 Jul 18:35
Compare
Choose a tag to compare

Changelog

  • Fixed reverse patchers sometimes emitting extra rets which can break IL

Release v2.5.1

16 Jul 13:33
Compare
Choose a tag to compare

Changelog

  • Updated MonoMod.RuntimeDetour to v21.07.08.03

Release v2.5.0

09 Jul 08:47
Compare
Choose a tag to compare

Changelog

  • Add CoderMatcher.ThrowIf helper
    • Allows to assert that code is matched properly and log
  • Allow multitargeting patches to work with class patch notation, see #27
  • Fix multitargeting patching not working if both complete and incomplete attributes are used
  • Failed Harmony patch method generation now always throws an exception except of just emitting error logs

Release v2.4.2

25 Apr 17:31
Compare
Choose a tag to compare

Changelog

  • Merge upstream up to 45a4a64
    • Properly fix deep copy ReadWriteLock not working on net35
    • Fix merging on HarmonyPriority attribute
  • Update MonoMod to 21.04.21.03
  • Fixed PackageProjectUrl to point to this repo (#24)