byte-buddy/byte-buddy.changes
Anton Shvetz a80e537090 - Update to v1.15.11
* Changes of v1.15.11
    + Avoid dependency of CachedReturnPlugin on precompiled class
      files.
    + Add NOP instruction when Advice is used on void methods as
      those might be empty which results on a frame being written
      to the same offset, causing an exception.
    + Allow Plugin.Enging to link files instead of copying.
    + Adjust validator code to avoid compiler bug that was reported
      by multiple users.
    + Allow injection of class path as File[] to Plugin
      constructors.
    + Allow for configuring variants when using the Android Gradle
      plugin.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=44
2024-12-15 12:27:13 +00:00

321 lines
12 KiB
Plaintext

-------------------------------------------------------------------
Sun Dec 15 12:21:44 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.15.11
* Changes of v1.15.11
+ Avoid dependency of CachedReturnPlugin on precompiled class
files.
+ Add NOP instruction when Advice is used on void methods as
those might be empty which results on a frame being written
to the same offset, causing an exception.
+ Allow Plugin.Enging to link files instead of copying.
+ Adjust validator code to avoid compiler bug that was reported
by multiple users.
+ Allow injection of class path as File[] to Plugin
constructors.
+ Allow for configuring variants when using the Android Gradle
plugin.
-------------------------------------------------------------------
Sun Nov 3 23:45:15 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.15.10
* Changes of v1.15.10
+ Fix Java 8 patterns for multi-release jars to avoid that
inner classes are excluded.
* Changes of v1.15.9
+ Additional release after time out during previous Gradle
plugin release.
-------------------------------------------------------------------
Sat Nov 2 15:49:57 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.15.8
* Changes of v1.15.8
+ Extend ClassInjector API to support lazy resolution of class
files.
+ Extend DynamicType API to support lazy resolution of
auxiliary types.
+ Extend AgentBuilder.Transformer.ForAdvice to support
injection of new classes by their name.
-------------------------------------------------------------------
Wed Oct 23 10:55:21 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.15.7
* Changes of v1.15.7
+ Additional release after time out during previous Gradle
plugin release.
* Changes of v1.15.6
+ Add ConstructorResolver to Super annotation for
MethodDelegation to allow for dynamic constructor resolution.
+ Add Java 8 versions of shaded ASM to allow for faster class
file validation and CDS support.
-------------------------------------------------------------------
Thu Oct 17 10:23:16 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.15.5
* Changes of v1.15.5
+ Publish Byte Buddy and Byte Buddy agent artifacts as
multi-release jars to support CDS and faster validation.
- Remove Windows-specific resources
-------------------------------------------------------------------
Sat Oct 12 00:15:26 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.15.4
* Add non-experimental support for Java 24.
-------------------------------------------------------------------
Thu Sep 26 22:46:31 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.15.3
* Changes of v1.15.3
+ Treat multi-release class files that are newer than the
supported version as regular resources.
+ Allow overriding the multi-release class file version from
Maven and Gradle plugin.
+ Correctly resolve multi-release class files in Android.
-------------------------------------------------------------------
Wed Sep 25 21:44:53 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.15.2
* Changes of v1.15.2
+ Add support for multi-release JAR files in ClassFileLocators
and Plugin.Engine.Default.
+ Add Gradle task for transforming multiple jar files with
ByteBuddyJarsTask.
+ Avoid validation of JarFile when extracting individual
entries.
+ Rework discovery in ByteBuddyMojo.
-------------------------------------------------------------------
Sun Sep 1 16:25:12 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.15.1
* Changes of v1.15.1
+ Revert default EntryPoint for Android Gradle plugin to use
DECORATE unless explicitly specified due to many generic type
errors in Kotlin classes.
* Changes of v1.15.0
+ Introduce AsmClassWriter and AsmClassReader abstractions that
allow for plugging different implementations of readers and
writers.
+ Add configuration extension to the Android Gradle plugin and
make it behave like regular Gradle plugin with standard
configuration.
+ Throw TypeNotPresentException upon discovering undeclared
type variables as it was recently fixed on the JVM.
* Changes of v1.14.19
+ Add Maven Mojo for transforming jars and for transforming
dependencies folder.
+ Better error handling for unresolved type variables.
+ Allow loading arguments of the instrumented method in
MemberSubstitution.
+ Fix checks for method visibility.
-------------------------------------------------------------------
Mon Jul 8 21:30:57 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.14.18
* Changes of v1.14.18
+ Avoid verification error if constructor advice meats dropped
implicit this frame and throw exception during
instrumentation instead.
+ Add support to resolve ByteBuddyAgent from non-obfuscated
name if obfuscation is used.
+ Make sure CircularityLock implementations never load classes
during locking.
+ Offer use of istat if stat command is not available for
emulated attachment.
+ Avoid locking entire class loader when child-first class
loader loads shadowed class and parallel class loading is
supported.
* Changes of v1.14.17
+ Avoid crashing of Android plugin when there are duplicate
files for licenses or license notices.
-------------------------------------------------------------------
Thu May 23 05:28:12 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.14.16
* Changes of v1.14.16
+ Update ASM and introduce support for Java 23.
-------------------------------------------------------------------
Tue May 21 10:58:11 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Upgrade to v1.14.15
* Changes of v1.14.15
+ Allow attaching from root on J9.
* Changes of v1.14.14
+ Adjust type validation to accept additional names that are
legal in the class file format.
+ Fix dynamic attach on Windows when a service user is active.
+ Avoid failure when using Android's strict mode.
- Removed patch:
* 0002-Remove-dependencies.patch
+ not needed since we have jna packaged
-------------------------------------------------------------------
Thu Apr 18 11:25:23 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Split the whole package into sub-packages
- Added patch:
* 0001-Avoid-bundling-asm.patch
+ Do not bundle asm, but use external artifact
* 0002-Remove-dependencies.patch
+ Remove optional dependency on jna
-------------------------------------------------------------------
Thu Mar 28 20:38:55 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.14.13
* Changes of v1.14.13
+ Avoid resolving type variables when generic type processing
is disabled.
+ Improve error message for Byte Buddy agent external attach.
+ Fix build for modular jars when using later version than Java
8.
-------------------------------------------------------------------
Sat Feb 17 15:42:45 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.14.12
* Changes of v1.14.12
+ Pin proxy class file version to avoid implicit changes when
using Graal native image.
+ Add support for Java 23.
+ Add missing @MaybeNull annotation.
-------------------------------------------------------------------
Thu Dec 21 00:16:33 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.14.11
* Changes of v1.14.11
+ Adjusts Gradle plugin to support Gradle 8.4 without warnings.
+ Avoid blurry exception on build plugin for fail fast.
-------------------------------------------------------------------
Wed Dec 20 23:21:57 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.14.10
* Changes of v1.14.10
+ Add lazy facade to default TypePool in AgentBuilder to avoid
parsing of types ignored by name.
+ Avoid module info classes in Android plugin.
-------------------------------------------------------------------
Tue Oct 17 05:32:59 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.14.9
* Changes of v1.14.9
+ Update ASM to version 9.6
+ Support Android plugin to support APG version 7.4
-------------------------------------------------------------------
Wed Sep 27 05:14:22 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Remove dependency on findbugs
- Do not produce bootstrap package
-------------------------------------------------------------------
Thu Sep 14 23:17:38 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.14.8
* Changes of v1.14.8
+ Correctly read versions from class file that would use both
bytes.
+ Fix Byte Buddy Gradle plugin for Gradle 8.3+.
+ Correct field and static method access on subtypes in
MemberSubstitution.
+ Support APK 7.4+ versions in Byte Buddy Gradle for Android
plugin.
- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp
-------------------------------------------------------------------
Thu Aug 31 07:35:26 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.14.7
* Changes of v1.14.7
+ Correctly read minor version from class file.
+ Catch type resolution errors when applying Plugin.Engine.
-------------------------------------------------------------------
Tue Aug 15 03:26:43 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.14.6
* Changes of v1.14.6
+ Add PatchMode.SUBSTITUTE and
ResettableClassFileTransformer.Substitutable for in-order
patching.
+ Allow for explicit specification og differential matcher when
patching an AgentBuilder.
+ Add platform loader to locator for build plugins.
+ Correctly resolve accessors for fields with capitalized first
letter.
+ Make jars for Android read-only as newer versions require it.
-------------------------------------------------------------------
Sat Jun 10 08:06:59 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.14.5
* Changes of v1.14.5
+ Avoid use of location if agent argument separator is
contained.
+ Allow failure of member substitution if no element is
separated.
+ Allow retry in case of parallel class injection.
-------------------------------------------------------------------
Fri May 5 07:43:46 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Do not bootstrap using downloaded binaries, but build the
minimal bootstrap package from sources
-------------------------------------------------------------------
Thu Apr 13 16:47:24 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.14.4
* Changes of v1.14.4
+ Include instrumented type and auxiliary types in TypePool
that is passed to TypeWriter.
-------------------------------------------------------------------
Mon Apr 3 12:37:18 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Remove patch:
* 00-asm5.patch - not needed due to update of objectweb-asm
-------------------------------------------------------------------
Sun Apr 2 18:09:26 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.14.3
* Changes of v1.14.3
+ Make MethodGraph.Compiler failsafe when processing incomplete
methods.
+ Update ASM.
-------------------------------------------------------------------
Mon Mar 20 13:10:06 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.14.2
* Changes of v1.14.2
+ Fix offset mapping for local variable array remapping in
Advice.
+ Add possibility to specify an index for skipOn and repeatOn
which resolves the checked value from a returned array.
* Changes of 1.14.1
+ Add extended scope for Maven Byte Buddy plugin to include all
non-test-dependencies.
-------------------------------------------------------------------
Wed Mar 8 04:33:02 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Initial packaging with v1.14.0
- Add patch:
* 00-asm5.patch
~ asm5 does not support the Opcodes.V20 constant