Releases: raphw/byte-buddy
Releases · raphw/byte-buddy
Byte Buddy 1.14.3
- Make
MethodGraph.Compiler
failsafe 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
skipOn
andrepeatOn
which 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.ForDelegation
inMemberSubstitution
that allows for delegation similar toMethodDelegation
but in-code. - Add handlers for
MethodDelegation
andAdvice
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
- Complete
MemberSubstitution
API which now retains the original instruction for invocation. - Allow excluding methods from a
MethodGraph.Compiler
using anElementMatcher
. - 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 onvoid
methods. - Allow constructors as target in
MemberSubstitution
.
Byte Buddy 1.12.23
- Allow using
ClassFileLocator
toAgentBuilder
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
Step
s toMemberSubstitution
to reduce need for custom bytecode generation.
Byte Buddy 1.12.22
- Support
MethodHandle
andMethodType
inAdvice.Origin
annotation. - Support
MethodHandles.Lookup
inOrigin
andAdvice.Origin
annotations. - Use modern API for Gradle Android API, if available, to avoid now failing cast.
Byte Buddy 1.12.21
- Create a Gradle source set for each JVM build automatically to reduce boilerplate.
- Fix Gradle plugin class loading to use correct class loader.
- Use updated release plugin to avoid outdated timestamp in jar.
Byte Buddy 1.12.20
- Avoid stack overflow error when type variable cannot be resolve during error message generation.
- Allow dumping error message to file when remote attach fails.
Byte Buddy 1.12.19
- Avoid possible lock through circular class loading of
TypeDescription
subtypes. - Avoid access error when using unsafe API on Java 17 with an active security manager.
- Close URL class loader used in Gradle plugin.