Skip to content

Bump Lib.Harmony from 2.1.1 to 2.2.2#8

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/Lib.Harmony-2.2.2
Open

Bump Lib.Harmony from 2.1.1 to 2.2.2#8
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/Lib.Harmony-2.2.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 16, 2023

Copy link
Copy Markdown

Bumps Lib.Harmony from 2.1.1 to 2.2.2.

Release notes

Sourced from Lib.Harmony's releases.

Harmony 2.2.2

Version 2.2.2 includes:

  • #462 does no longer throw if Environment.SpecialFolder.Desktop does not exist (on Linux for example)
  • #465 Fix Unpatch default parameter
  • 6006140d929565cb49ee07d482f96ec0d51a7aed fixes __runOriginal logic (in Postfix it did return false even though original ran)
  • #487 adds linux support for struct return buffer checks

and adds:

  • set FileLog.StreamWriter to switch logging to your own stream
  • set HARMONY_NO_LOG to skip all normal logging
  • #472 to allow passing methods directly to SymbolExtensions (lang 10 feature)
  • adds LoadsConstant(this CodeInstruction code, string str)
  • adds CodeMatch(() => Method)

Harmony 2.2.1

Harmony v2.2.1 brings you/fixes:

  • random patching exception #444
  • unable to patch methods which DeclaringType is null #445
  • update patching-edgecases.md #379
  • sequencializes Azure tests to combat random failures
  • adds MethodType.Enumerator, AccessTools.EnumeratorMoveNext and FileLog.Debug
  • adds back a first draft of the CodeMatcher with improvements
  • can't get instructions of HttpRuntime.ReleaseResourcesAndUnloadAppDomain #449
  • support method body decoding for methods with jump instructions #449 #450
  • adds GetOriginalMethodFromStackframe, fixes wording in CodeInstruction.MoveXXTo/From
  • don't emit stloc ldloc resultVariable in methods ending in throws
  • don't JIT-compile generic methods in FindReplacement
  • refactors AccessTools, adds typeColonName everywhere possible
  • small documentation fixes
  • update to MonoMod.Common 22.3.5.1
  • adds HarmonyPatch(string typeName, string methodName, MethodType methodType)

ENJOY

Harmony 2.2

Added:

  • adds FieldRef 036ad27911a0fce9dc35d1341f8f7fb4da11c831
  • support for JsonSerialization where BinaryFormatter is not supported 54ae947175ed7b6abbef70aa69bb60b3e7a48c05
  • reapply patches to re-jit methods pardeike/Harmony#428
  • allow TargetMethod(s) with ReversePatch pardeike/Harmony#432
  • add object[] __args support pardeike/Harmony#25

Fixed:

  • improves memory corruption protection (primarily *nix users) 70e388ffaa0ea0524054ac71610c86e31889c5e4
  • reflection cache updates 3c4cd7fdea35258f7622fe7c4565758f705d1e60
  • GetOriginal() pardeike/Harmony#412
  • Upgrade Microsoft.NETFramework.ReferenceAssemblies version pardeike/Harmony#419

... (truncated)

Commits
  • 5a48778 Update documentation [skip ci]
  • d1aa13b adds linux support for struct return buffer checks, adds lambda to CodeMatch
  • a5f0ad1 Update documentation [skip ci]
  • df8d098 Merge pull request #489 from pardeike/net6-7
  • e28e864 uses sdk
  • cc40a5c removes net7 for real
  • 6115e79 removes net7
  • b86008b disabled even more tests, re-enables parallel tests
  • dcbd265 adds net6 and net7
  • 89a15f7 Update documentation [skip ci]
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [Lib.Harmony](https://github.com/pardeike/Harmony) from 2.1.1 to 2.2.2.
- [Release notes](https://github.com/pardeike/Harmony/releases)
- [Commits](pardeike/Harmony@v2.1.1.0...v2.2.2.0)

---
updated-dependencies:
- dependency-name: Lib.Harmony
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants