From 220250a2fd41125a2a25eeb90eab8ab2d6fe222d Mon Sep 17 00:00:00 2001 From: Rafael Winterhalter Date: Fri, 23 Aug 2024 08:57:42 +0200 Subject: [PATCH] Update release notes and internal Byte Buddy. --- .github/workflows/main.yml | 2 +- .mvn/checksums.sha256 | 8 ++++++++ byte-buddy-agent/pom.xml | 2 +- byte-buddy-dep/pom.xml | 12 ++++++------ .../src/main/java/net/bytebuddy/ByteBuddy.java | 3 +++ pom.xml | 2 +- release-notes.md | 6 ++++++ 7 files changed, 26 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dc81315908..e307819250 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -110,7 +110,7 @@ jobs: needs: [ extended ] steps: - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 - - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 + - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: ~/.m2/repository key: ${{ runner.os }}-legacy-maven-${{ hashFiles('**/pom.xml') }} diff --git a/.mvn/checksums.sha256 b/.mvn/checksums.sha256 index e224204463..86d38b122c 100644 --- a/.mvn/checksums.sha256 +++ b/.mvn/checksums.sha256 @@ -645,6 +645,7 @@ net.bytebuddy:byte-buddy-agent:jar:1.14.6 aed93d1b77c87494f03c7c420f6c9861560dfc net.bytebuddy:byte-buddy-agent:jar:1.14.7 d3400f70e13d8719379bc8c1de327c919ba5dcb7f7cfea7cb423859ff9735cc1 net.bytebuddy:byte-buddy-agent:jar:1.14.8 f7c60fd229df2b0f4e390f50e0582a23ac1d895645df0d487c54dd67a289800b net.bytebuddy:byte-buddy-agent:jar:1.14.9 11ed107d4b78e55f8c3d34250494375081a29bc125a1f5c56db582ccdd48835f +net.bytebuddy:byte-buddy-agent:jar:1.15.0 3399a0fdf7ba3f1386ebf831a706037428f1b1af81d653c25cf8a8fde2e4d2ea net.bytebuddy:byte-buddy-android:jar:1.12.19 bb73d3b9ace5a60a9a9aa1701761073b3df3baf79ff463aed6cd94b724fd3ba9 net.bytebuddy:byte-buddy-android:jar:1.12.20 f43b8b7eb840f6140135066224f0e6b565b9becb05345fdc572a66bfb92df0aa net.bytebuddy:byte-buddy-android:jar:1.12.21 bf4ad1405c2fcaa8b179929f9a64c8ee66d04f34b0e3fe8a90b28c738f883fe9 @@ -671,6 +672,7 @@ net.bytebuddy:byte-buddy-android:jar:1.14.6 2e9322d76f612f56f450d2ef013d826aa5fb net.bytebuddy:byte-buddy-android:jar:1.14.7 c397b253732fae51edd662cfb1e99ea2155e05bd9dc676ad4f321bfe00730fca net.bytebuddy:byte-buddy-android:jar:1.14.8 9c1ea03f4b06c85a30800b810b196806a4801280f6d648b33692130753817058 net.bytebuddy:byte-buddy-android:jar:1.14.9 3cdbdaaf439bce36b94dd27782b86fb1d92bbbedcd527dbf2ee14e0412f6b80e +net.bytebuddy:byte-buddy-android:jar:1.15.0 3874728750cd8917f70190eb0d004ccef4c3e00652b42d89d97e5d890e97c5af net.bytebuddy:byte-buddy-dep:jar:1.12.19 a85bb853ec6ec156b10ea0b5b0e38ac0f89c6c2bc89dd0358772a0dff2eb85c9 net.bytebuddy:byte-buddy-dep:jar:1.12.20 d7e15d3ccc0508e78a146f1be420779eb3e2e9a537e3c8add3cd6d802c9a615e net.bytebuddy:byte-buddy-dep:jar:1.12.21 116b320c1f3f8539978ea67989d94e9bfed3e9422beb5a76749d967439ec8f9d @@ -697,6 +699,7 @@ net.bytebuddy:byte-buddy-dep:jar:1.14.6 c7ffa5112e43046288a005fefcb57dfa1d536a89 net.bytebuddy:byte-buddy-dep:jar:1.14.7 8935e288c41cb721cf2b87360b44ca68b16d43163e635d9db1a4e46cef29743b net.bytebuddy:byte-buddy-dep:jar:1.14.8 149957aaeb4c069864cad647c8f8680d8f93935052b9b71a25dd48386c7c2077 net.bytebuddy:byte-buddy-dep:jar:1.14.9 e9affd66effe9857856b5948463893c02ad7a91e37cf3d8c07930e73cc8c282f +net.bytebuddy:byte-buddy-dep:jar:1.15.0 5b4840406be9f761d39f314bc1b5d0574b55c163140fcfe7b6f670e82fb0738c net.bytebuddy:byte-buddy-maven-plugin:jar:1.12.19 3419e2afbfac4f21ef709ee3f8f08fc1d71001e07ba2524a0bb2a3c28f3e1087 net.bytebuddy:byte-buddy-maven-plugin:jar:1.12.20 48a36e2e8c2dbe2b3673ef8bf6be22b021cfca35d6205a3d5e722f74db42d52b net.bytebuddy:byte-buddy-maven-plugin:jar:1.12.21 cb3332f89cc6502e3637dbe509c08c55cb5ad528c675131858dda89eabf7c9fc @@ -720,6 +723,7 @@ net.bytebuddy:byte-buddy-maven-plugin:jar:1.14.3 3d52c7d65b9fdac180f90612c377a39 net.bytebuddy:byte-buddy-maven-plugin:jar:1.14.4 acdae6ef4609d3fbe7de4dfa8a5fe39a23386056ab67c16ead74e71519ddf477 net.bytebuddy:byte-buddy-maven-plugin:jar:1.14.6 d30844d8955cc7d9bba051bb55091665816b85597c68e45e63ef1e0fcd1f4112 net.bytebuddy:byte-buddy-maven-plugin:jar:1.14.9 2bc8809f83aed11a531f093da593c52e3b572b7ee7359c1e3eff3796061db44e +net.bytebuddy:byte-buddy-maven-plugin:jar:1.15.0 e14df4a925a628f3f7b937005eba803b1e9d320ee7a8172f734691dfa58bd432 net.bytebuddy:byte-buddy-maven-plugin:pom:1.12.19 c2051f8cbdf328692f36077627be07168334ee9167b72e5bf608eae624163b4f net.bytebuddy:byte-buddy-maven-plugin:pom:1.12.20 2d112ff342e7db7da484d038807749c1a87c81419b789a86b950a37bdd65b207 net.bytebuddy:byte-buddy-maven-plugin:pom:1.12.21 13576ca6b9c44ab9789ada11ee400dcd3f4bcc22a7cab6f7052aeeb49a8c02e1 @@ -743,6 +747,7 @@ net.bytebuddy:byte-buddy-maven-plugin:pom:1.14.3 8ddbd06f4a027c86e16d3d5e9e685d5 net.bytebuddy:byte-buddy-maven-plugin:pom:1.14.4 e02f1c97f27accbd3ee14ebe7559a448e75fd42e311eacde8a2f0bbf14cc41ac net.bytebuddy:byte-buddy-maven-plugin:pom:1.14.6 e301c83e77f6b8da2e2090c9eb6288f40d64a395f726598014384f0ef5ab1403 net.bytebuddy:byte-buddy-maven-plugin:pom:1.14.9 75c6d50a8cf6d528eb09b198e54035b6bbc10d0653655194ae697b971334fdd2 +net.bytebuddy:byte-buddy-maven-plugin:pom:1.15.0 cc233d43805a7e9756c8a94c4751a18cb938ac3ccf83f0691604206157130bd0 net.bytebuddy:byte-buddy-parent:pom:1.12.19 72ab6fef409e812921f4728b3c4b6ef4fa53bc25fabb0488fc2cae367368b54d net.bytebuddy:byte-buddy-parent:pom:1.12.20 ac59dd7bc0316c51ab29e7c44ae7941ba8c7bf84789edb1dc8fbef2f16535b99 net.bytebuddy:byte-buddy-parent:pom:1.12.21 ff66d886607137e2095f20c90ee093f3c80329164eff091a0688bdce37e3e6b2 @@ -766,6 +771,7 @@ net.bytebuddy:byte-buddy-parent:pom:1.14.3 18d87a7371f2d5d7bf9473124e51ed8a9ae1a net.bytebuddy:byte-buddy-parent:pom:1.14.4 ac4f0167ff070f263acad009f8a289dc92e34ff1090e90e5bd8a2046cf5bc38c net.bytebuddy:byte-buddy-parent:pom:1.14.6 f889394b9e576a1e7a3ce13efd47b5cb2e62ebbc33e2d55ccf0e92365cca62f6 net.bytebuddy:byte-buddy-parent:pom:1.14.9 66b8342251d35f2063e69316f63bafcb056342fe75e921c0f465c2d96593535e +net.bytebuddy:byte-buddy-parent:pom:1.15.0 8ec247e077cdf76e72ad2b9919576cf2a477811935b56c8a27958e7297b4f18b net.bytebuddy:byte-buddy:jar:1.12.19 030704139e46f32c38d27060edee9e0676b0a0fff8a8be53461515154ba8a7be net.bytebuddy:byte-buddy:jar:1.12.20 0a9b2795e0e2391117062f0fc7f6ae98fa3c2a7c927847ff1e01bb7cffcd9167 net.bytebuddy:byte-buddy:jar:1.12.21 f6f45c2237a7f132c16745ad2a52c4cdde58028b11ee80b09f0d422f4930d685 @@ -789,6 +795,7 @@ net.bytebuddy:byte-buddy:jar:1.14.3 1db7ee74714ed852a2bd23c33d066e8a4f6031411cbd net.bytebuddy:byte-buddy:jar:1.14.4 7ae2b39ac230be9e3e09ce020406c017ff8ceba06eaf078c62a88c218a0ff2b4 net.bytebuddy:byte-buddy:jar:1.14.6 6eaf0190ee02731820e9925a544e7cfb48f6dfc3bf29e6dd87d267ad59862df0 net.bytebuddy:byte-buddy:jar:1.14.9 377352e253282bf86f731ac90ed88348e8f40a63ce033c00a85982de7e790e6f +net.bytebuddy:byte-buddy:jar:1.15.0 c743cfb4db1e6c67af6297fbe32a3ad94710884cde4c7eecb1bad7d820d4f2ba net.bytebuddy:byte-buddy:pom:1.12.19 435fb8664aa9b7e120c8dd6c707d4eafa642fa262dff6d5e3f71dc25c69e89eb net.bytebuddy:byte-buddy:pom:1.12.20 46353d5c52659c40f0f54d05c757665552e492be36087c19307598d1bf07bbfb net.bytebuddy:byte-buddy:pom:1.12.21 95eb42c89fd04f62187dd33b9cdf04d2df1b876b375c16ad32c0a5a1cc1a070b @@ -812,6 +819,7 @@ net.bytebuddy:byte-buddy:pom:1.14.3 50e1c99fcf83f3131f32aed4225ee8ff56e40496ffed net.bytebuddy:byte-buddy:pom:1.14.4 d79615b646178d735ae2ca1f7400fdc6138aeb2cfd5f81427c8f1035cdea4bc4 net.bytebuddy:byte-buddy:pom:1.14.6 444380f496a38a2b0b7325a4d0f223e3b07f2a2347bc55bcf1e1fd3c5c6f2a91 net.bytebuddy:byte-buddy:pom:1.14.9 2d6772910d16169bd4c9229e8a365cf54e192bc620cbcfa7f84271f5d115e815 +net.bytebuddy:byte-buddy:pom:1.15.0 ed4d27216401c5cb6e8f16c09fbfd460679b90c43a033d8d0e7b11e45cfb4e58 net.i2p.crypto:eddsa:jar:0.3.0 4dda1120db856640dbec04140ed23242215a075fe127bdefa0dcfa29fb31267d net.i2p.crypto:eddsa:pom:0.3.0 b6b13878e4bae8b768d7ea5732cb4d66ab2f5e9fe707c0a1a776cde9de52051b net.java.dev.jna:jna-platform:jar:5.12.1 8ce969116cac95bd61b07a8d5e07174b352e63301473caac72c395e3c08488d2 diff --git a/byte-buddy-agent/pom.xml b/byte-buddy-agent/pom.xml index a010864fcb..584edbebf0 100644 --- a/byte-buddy-agent/pom.xml +++ b/byte-buddy-agent/pom.xml @@ -69,7 +69,7 @@ net.bytebuddy byte-buddy - 1.14.19 + 1.15.0 test diff --git a/byte-buddy-dep/pom.xml b/byte-buddy-dep/pom.xml index 55a6579e5b..b3f05a06aa 100644 --- a/byte-buddy-dep/pom.xml +++ b/byte-buddy-dep/pom.xml @@ -127,7 +127,7 @@ net.bytebuddy byte-buddy-maven-plugin - 1.14.19 + 1.15.0 compile @@ -142,7 +142,7 @@ net.bytebuddy byte-buddy - 1.14.19 + 1.15.0 net.bytebuddy.build.HashCodeAndEqualsPlugin$WithNonNullableFields @@ -154,13 +154,13 @@ net.bytebuddy byte-buddy - 1.14.19 + 1.15.0 net.bytebuddy.build.CachedReturnPlugin net.bytebuddy byte-buddy - 1.14.19 + 1.15.0 net.bytebuddy.build.AccessControllerPlugin @@ -172,13 +172,13 @@ net.bytebuddy byte-buddy - 1.14.19 + 1.15.0 net.bytebuddy.build.DispatcherAnnotationPlugin net.bytebuddy byte-buddy - 1.14.19 + 1.15.0 net.bytebuddy.build.RepeatedAnnotationPlugin diff --git a/byte-buddy-dep/src/main/java/net/bytebuddy/ByteBuddy.java b/byte-buddy-dep/src/main/java/net/bytebuddy/ByteBuddy.java index 55b2f7bbd8..414512dd7d 100644 --- a/byte-buddy-dep/src/main/java/net/bytebuddy/ByteBuddy.java +++ b/byte-buddy-dep/src/main/java/net/bytebuddy/ByteBuddy.java @@ -1477,6 +1477,9 @@ public ByteBuddy with(AsmClassWriter.Factory classWriterFactory) { * @return A new Byte Buddy instance that applies the supplied class writer factory. */ public ByteBuddy withIgnoredClassReader() { + if (classWriterFactory instanceof AsmClassWriter.Factory.Suppressing) { + return this; + } return new ByteBuddy(classFileVersion, namingStrategy, auxiliaryTypeNamingStrategy, diff --git a/pom.xml b/pom.xml index 14c6808d54..e5fc4e4aac 100644 --- a/pom.xml +++ b/pom.xml @@ -1251,7 +1251,7 @@ \d+\.\d+\.\d+ true true - false + true diff --git a/release-notes.md b/release-notes.md index b52b10e076..c50de25490 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1,6 +1,12 @@ Byte Buddy release notes ------------------------ +### 23. August 2024: version 1.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. + ### 16. August 2024: version 1.14.19 - Add Maven Mojo for transforming jars and for transforming dependencies folder.