Skip to content

Releases: raphw/byte-buddy

Byte Buddy 0.5.2

18 Jan 17:12
Compare
Choose a tag to compare
  • Fixed a bug where interface generation would result in a NullPointerException.
  • Added additional ElementMatchers that allow to identify class loaders.

Byte Buddy 0.5.1

05 Dec 15:25
Compare
Choose a tag to compare
  • Added the andThen method to the SuperMethodCall instrumentation in order to allow for a more convenient constructor interception where a hard-coded super method call is required by the Java verifier.

Byte Buddy 0.5

03 Dec 13:45
Compare
Choose a tag to compare
  • Added the DeclaringTypeResolver as a component in the default chain which selects the most specific method out of two. This is mainly meant to avoid the accidental matching of the methods that are declared by the Object type.
  • Added TypeInitializers in order to allow Instrumentations to define type initializer blocks.
  • Replaced the MethodMatcher API with the ElementMatcher API which allows for a more sophisticated matching DSL.
  • Added a ClassLoadingStrategy for Android in its own module.
  • Introduced an AgentBuilder API and implementation.

Byte Buddy 0.4.1

26 Nov 10:02
Compare
Choose a tag to compare
  • Refactored the implementation of the VoidAwareAssigner which would otherwise cause unexpected behavior in its
    default state.
  • Added a missing boxing instruction to the InvocationHandlerAdapter.

Byte Buddy 0.4

18 Nov 15:44
Compare
Choose a tag to compare
  • Extended Instrumentation.Context to support field accessors.
  • Added the TypePool abstraction and added a default implementation.
  • Refactored annotations to have an intermediate form as AnnotationDescription which does not need to represent loaded values.
  • Refactored several built-in Instrumentation, among others, all implementations now support TypeDescription in addition to loaded Class as their arguments
  • Added several annotations that apply to the MethodDelegation.

Byte Buddy 0.3.1

19 Sep 10:11
Compare
Choose a tag to compare
  • Added support for optionally specifying a ProtectionDomain for the built-in ClassLoadingStrategy implementations.
  • Fixed a bug in the resolution of resources of the ByteArrayClassLoader and its child-first implementation.

Byte Buddy 0.3

18 Sep 16:11
Compare
Choose a tag to compare
  • Added basic support for Java 7 types MethodHandle and MethodType which are available from Java 7 for injection.
  • Added support for type redefinition and type rebasing.
  • Added support for accessing a JVM's HotSwap features and a Java agent.
  • Added latent a child-first ClassLoadingStrategy and manifest versions of the WRAPPER and CHILD_FIRST default class loading strategies.

Byte Buddy 0.2.1

20 Jun 08:36
Compare
Choose a tag to compare
  • Added proper support for defining class initializers. Added support for field caching from method instrumentations, mainly for allowing the reuse of Method instances for the @Origin annotation and the InvocationHandlerAdapter.

Byte Buddy 0.2

16 Jun 14:07
Compare
Choose a tag to compare

Added several bug fixes for existing features. Beyond that the following features were added or changed:

  • Changed the semantics of the @SuperCall to be only bindable, if a super method can be invoked. Before, an exception was thrown if only a non-existent or abstract super method was found.
  • Added features for the interaction with Java 8 default methods. Refactored method lookup to extract invokable default methods.
  • Refactored the invocation of super methods to be created by an Instrumentation.Target. For a future release, this hopefully allows for class redefinitions using today's API for creating subclasses.
  • Upgraded to ASM 5.0.3.

Byte Buddy 0.1

02 May 14:06
Compare
Choose a tag to compare
  • First general release.