Skip to content

Releases: raphw/byte-buddy

Byte Buddy 1.2.0

05 Feb 22:29

Choose a tag to compare

  • Added support for receiver type retention during type redefinition and rebasement.
  • Added support for receiver type definitions.

Byte Buddy 1.1.1

05 Feb 14:00

Choose a tag to compare

  • Fixed interface assertion of the custom binder types to accept default methods.
  • Improved documentation.

Byte Buddy 1.1.0

26 Jan 09:58

Choose a tag to compare

  • Refactored AgentBuilder API to be more streamlined with the general API and improved documentation.
  • Added possibility to instrument classes that implement lambda expressions.
  • Added possibility to explicitly ignore types from an AgentBuilder. By default, synthetic types are ignored.
  • Proper treatment of deprecation which is now written into the class file as part of the resolved modifier and filtered on reading.
  • Added support for Java 9 APIs for process id retrieval.

Byte Buddy 1.0.3

21 Jan 18:56

Choose a tag to compare

  • Added support for Java 9 owner type annotations.
  • Fixed bug in type builder validation that prohibited annotations on owner types for non-generic types.
  • Added additional element matchers for matching an index parameter type.

Byte Buddy 1.0.2

20 Jan 20:37

Choose a tag to compare

  • Fixed resolution of type paths for inner classes.
  • Added preliminary support for receiver types.
  • Fixed resolution of type variables from a static context.

Byte Buddy 1.0.1

18 Jan 20:51

Choose a tag to compare

  • Refactored type variable bindings for generic super types: Always retain variables that are defined by methods.
  • Retain type annotations that are defined on a TargetType.

Byte Buddy 1.0.0

15 Jan 13:43

Choose a tag to compare

  • Added support for type annotations.
  • Refactored public API to support type annotations and parameter meta information.
  • Several renamings in preparation of the version one release.
  • Refactored type representation to no represent raw types as TypeDescriptions. This allows for resolution of variables on these types as erasures rather than their unresolved form. Refactored naming of generic types to the common naming scheme with nested classes.
  • Replaced generalized token representation to define tokens, type tokens and signature tokens.
  • General API improvements and minor bug fixes.

Byte Buddy 0.7.8

15 Jan 12:04

Choose a tag to compare

  • Implemented all type lists of class file-rooted files to fallback to type erasures in case that the length of generic types and raw types does not match. This makes Byte Buddy more robust when dealing with illegally defined class files.
  • Fixed rule on a default method's invokeability.
  • Extended MethodCall implementation to include shortcuts for executing Runnable and Callable instances.
  • Added failSafe matcher that returns false for types that throw exceptions during navigation.

Byte Buddy 0.7.7

14 Dec 08:20

Choose a tag to compare

  • Fixed type resolution for anoymously loaded classes by the ClassReloadingStrategy.
  • Added additional InitiailizationStrategys for self-injection where the new default strategy loads types that are independent of the instrumented type before completing the instrumentation. This way, the resolution does not fail for types that are accessed via reflection before initializing the types if a constructor is rebased.

Byte Buddy 0.7.6

11 Dec 10:47

Choose a tag to compare

  • Fixed resolution of @Origin for constructors and added possibility to use the Executable type.
  • Fixed name resolution of types loaded by anonymous class loading.
  • Allowed alternative lookup for redefinitions to support types loaded by anonymous class loading.