Releases: raphw/byte-buddy
Releases · raphw/byte-buddy
Byte Buddy 1.3.11
- Byte Buddy
Advicenow appends handlers to an existing exception handler instead of prepending them. Before, existing exception handlers were shadowed when applying suppression or exit advice on an exception. - Added additional annotations for
Advicesuch as@Advice.BoxedReturnand@Advice.BoxedArgumentsfor more generic advice. Added possibility to write to fields from advice. - Added mechanism for adding custom annotations to
Advicethat map compile-time constants. - Implemented a canonical binder for adding custom compile-time constants to a
MethodDelegationmapping.
Byte Buddy 1.3.9
- Optimized method size for
Advicewhen exception is not catched. - Improved convenience method
disableClassFormatChangesforAgentBuilder.
Byte Buddy 1.3.10
- Fixed another bug during frame translation of the
Advicecomponent when suppression were not catched for an exit advice. - Improved unit tests to automatically build Byte Buddy with Java 7 and Java 8 byte code targets in integration.
Byte Buddy 1.3.8
- Fixed frame computation for the
Advice. - Optimized frame computation to emitt frames of the minimal, possible size when using
Advice. - Only add exit
Adviceonce to reduce amound of added bytes to avoid size explosion when a method supplied several exits. - Optimized
Adviceinjection to only add advice infrastucture if entry/exit advice is supplied. - Optimized exception handling infrastructure for exit
Adviceto only be applied when exceptions are catched. - Added mapping for the IINC instruction which was missing from before.
- Added possibility to propagate AMS reader and writer flags for
AsmVisitorWrapper. - Made
Advicemethod parser respect ASM reader flags for expanding frames.
Byte Buddy 1.3.7
- Fixed bug when returning from an
Adviceexit method without return value and accessing@Advice.Thrown. - Added additional annotations for advice
@Advice.Ignoredand@Advice.Origin. - Implemented frame translator for
Advicemethod to reuse existing frame information instead of recomputing it.
byte-buddy-1.3.6
- Implemented universal
FieldLocator. - Extended
AgentBuilderAPI to allow for more flexible matching and ignoring types.
Byte Buddy 1.3.5
- Added
Advice.FieldValueannotation for reading fields from advice.
Byte Buddy 1.3.4
- Added support for new Java 9 version scheme.
Byte Buddy 1.3.3
- Added hierarchical notation to default
TypePool.
Byte Buddy 1.3.2
- Added possibility to suppress
Throwablefrom advice methods when using theAdviceinstrumentation.