Skip to content

Releases: raphw/byte-buddy

Byte Buddy 1.14.7

28 Aug 07:08
Compare
Choose a tag to compare
  • Correctly read minor version from class file.
  • Catch type resolution errors when applying Plugin.Engine.

Byte Buddy 1.14.6

14 Aug 22:34
Compare
Choose a tag to compare
  • Add PatchMode.SUBSTITUTE and ResettableClassFileTransformer.Substitutable for in-order patching.
  • Allow for explicit specification og differential matcher when patching an AgentBuilder.
  • Add platform loader to locator for build plugins.
  • Correctly resolve accessors for fields with capitalized first letter.
  • Make jars for Android read-only as newer versions require it.

Byte Buddy 1.14.5

02 Jun 13:10
Compare
Choose a tag to compare
  • Avoid use of location if agent argument separator is contained.
  • Allow failure of member substitution if no element is separated.
  • Allow retry in case of parallel class injection.

Byte Buddy 1.14.4

11 Apr 20:03
Compare
Choose a tag to compare
  • Include instrumented type and auxiliary types in TypePool that is passed to TypeWriter.

Byte Buddy 1.14.3

28 Mar 20:07
Compare
Choose a tag to compare
  • Make MethodGraph.Compiler failsafe when processing incomplete methods.
  • Update ASM.

Byte Buddy 1.14.2

13 Mar 12:05
Compare
Choose a tag to compare
  • Fix offset mapping for local variable array remapping in Advice.
  • Add possibility to specify an index for skipOn and repeatOn which resolves the checked value from a returned array.

Byte Buddy 1.14.1

13 Mar 12:04
Compare
Choose a tag to compare
  • Add extended scope for Maven Byte Buddy plugin to include all non-test-dependencies.

Byte Buddy 1.14.0

18 Feb 23:12
Compare
Choose a tag to compare
  • Add Step.Factory.ForDelegation in MemberSubstitution that allows for delegation similar to MethodDelegation but in-code.
  • Add handlers for MethodDelegation and Advice that leverage method handles for field access and self-invocation.
  • Add Step.Factory for type assignment that allows casting the return value from a previous step to another type.
  • Avoid usage of URL class loader as it is deprecated, and use newer method if available.

Byte Buddy 1.13.0

18 Feb 23:13
Compare
Choose a tag to compare
  • Complete MemberSubstitution API which now retains the original instruction for invocation.
  • Allow excluding methods from a MethodGraph.Compiler using an ElementMatcher.
  • Add a filtering ClassFileLocator.
  • Add a matcher for a type's ClassFileVersion.
  • Unify resolution of constant values by introducing a ConstantValue API.
  • Do not exclude ToThrown assignment on void methods.
  • Allow constructors as target in MemberSubstitution.

Byte Buddy 1.12.23

05 Feb 10:09
Compare
Choose a tag to compare
  • Allow using ClassFileLocator to AgentBuilder to append boot-injected types.
  • Add RenamingPlugin that allows for migration of names using the build plugin.
  • Add wrapper method to ForAdvice transformation to allow for easier wrapping.
  • Fix Gradle plugin raw folder and improve detection of unused configurations.
  • Add additional default Steps to MemberSubstitution to reduce need for custom bytecode generation.