Releases: raphw/byte-buddy
Releases · raphw/byte-buddy
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.
Byte Buddy 1.12.22
- Support
MethodHandleandMethodTypeinAdvice.Originannotation. - Support
MethodHandles.LookupinOriginandAdvice.Originannotations. - 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
TypeDescriptionsubtypes. - 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
Advicein 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.