Skip to content

Releases: raphw/byte-buddy

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.

Byte Buddy 1.12.22

12 Jan 15:10
Compare
Choose a tag to compare
  • Support MethodHandle and MethodType in Advice.Origin annotation.
  • Support MethodHandles.Lookup in Origin and Advice.Origin annotations.
  • Use modern API for Gradle Android API, if available, to avoid now failing cast.

Byte Buddy 1.12.21

04 Jan 22:51
Compare
Choose a tag to compare
  • 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

15 Dec 08:05
Compare
Choose a tag to compare
  • 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

17 Nov 21:52
Compare
Choose a tag to compare
  • 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

13 Oct 07:21
Compare
Choose a tag to compare
  • 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

22 Sep 12:37
Compare
Choose a tag to compare
  • Use decorating EntryPoint in Android Gradle plugin.
  • Introduce PatchMode on AgentBuilder patching to allow for control over overlap.