Releases: raphw/byte-buddy
Releases · raphw/byte-buddy
Byte Buddy 1.14.7
- Correctly read minor version from class file.
- Catch type resolution errors when applying
Plugin.Engine.
Byte Buddy 1.14.6
- Add
PatchMode.SUBSTITUTEandResettableClassFileTransformer.Substitutablefor 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
- 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
- Include instrumented type and auxiliary types in
TypePoolthat is passed toTypeWriter.
Byte Buddy 1.14.3
- Make
MethodGraph.Compilerfailsafe when processing incomplete methods. - Update ASM.
Byte Buddy 1.14.2
- Fix offset mapping for local variable array remapping in
Advice. - Add possibility to specify an index for
skipOnandrepeatOnwhich resolves the checked value from a returned array.
Byte Buddy 1.14.1
- Add extended scope for Maven Byte Buddy plugin to include all non-test-dependencies.
Byte Buddy 1.14.0
- Add
Step.Factory.ForDelegationinMemberSubstitutionthat allows for delegation similar toMethodDelegationbut in-code. - Add handlers for
MethodDelegationandAdvicethat leverage method handles for field access and self-invocation. - Add
Step.Factoryfor type assignment that allows casting the return value from a previous step to another type. - Avoid usage of
URLclass loader as it is deprecated, and use newer method if available.
Byte Buddy 1.13.0
- Complete
MemberSubstitutionAPI which now retains the original instruction for invocation. - Allow excluding methods from a
MethodGraph.Compilerusing anElementMatcher. - Add a filtering
ClassFileLocator. - Add a matcher for a type's
ClassFileVersion. - Unify resolution of constant values by introducing a
ConstantValueAPI. - Do not exclude
ToThrownassignment onvoidmethods. - Allow constructors as target in
MemberSubstitution.
Byte Buddy 1.12.23
- Allow using
ClassFileLocatortoAgentBuilderto append boot-injected types. - Add
RenamingPluginthat allows for migration of names using the build plugin. - Add wrapper method to
ForAdvicetransformation to allow for easier wrapping. - Fix Gradle plugin raw folder and improve detection of unused configurations.
- Add additional default
Steps toMemberSubstitutionto reduce need for custom bytecode generation.