Releases: raphw/byte-buddy
Releases · raphw/byte-buddy
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.
Byte Buddy 1.12.18
- Allow writing to field from enter
Advice
in constructor, as byte code allows it. - Refactor Android plugin processor to avoid skipping local classes.
- Improve staleness filter for Maven plugin.
- Fix incorrect resolution of custom bound invokedynamic values in
Advice
.
Byte Buddy 1.12.17
- Use decorating
EntryPoint
in Android Gradle plugin. - Introduce
PatchMode
onAgentBuilder
patching to allow for control over overlap.
Byte Buddy 1.12.16
- Fix Gradle release script to publish plugin.
Byte Buddy 1.12.15
- Introduce ClassVisitorFactory which allows to translate to and from class wrappers in a different ASM namespace.
- Allow builders to change to ClassVisitors.
- Add support for Android instrumentation from Gradle plugin.