Skip to content

Commit

Permalink
Add release notes and update internal Byte Buddy.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Dec 15, 2021
1 parent 790b3af commit 4887457
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 7 deletions.
2 changes: 1 addition & 1 deletion byte-buddy-agent/pom.xml
Expand Up @@ -68,7 +68,7 @@
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.12.3</version>
<version>1.12.4</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
12 changes: 6 additions & 6 deletions byte-buddy-dep/pom.xml
Expand Up @@ -113,7 +113,7 @@
<plugin>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-maven-plugin</artifactId>
<version>1.12.3</version>
<version>1.12.4</version>
<executions>
<execution>
<phase>compile</phase>
Expand All @@ -128,19 +128,19 @@
<transformation>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.12.3</version>
<version>1.12.4</version>
<plugin>net.bytebuddy.build.HashCodeAndEqualsPlugin$WithNonNullableFields</plugin>
</transformation>
<transformation>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.12.3</version>
<version>1.12.4</version>
<plugin>net.bytebuddy.build.CachedReturnPlugin</plugin>
</transformation>
<transformation>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.12.3</version>
<version>1.12.4</version>
<plugin>net.bytebuddy.build.AccessControllerPlugin</plugin>
<arguments>
<argument>
Expand All @@ -152,13 +152,13 @@
<transformation>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.12.3</version>
<version>1.12.4</version>
<plugin>net.bytebuddy.build.DispatcherAnnotationPlugin</plugin>
</transformation>
<transformation>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.12.3</version>
<version>1.12.4</version>
<plugin>net.bytebuddy.build.RepeatedAnnotationPlugin</plugin>
</transformation>
</transformations>
Expand Down
Expand Up @@ -212,6 +212,22 @@ public void apply(MethodVisitor methodVisitor, MethodDescription methodDescripti
@HashCodeAndEqualsPlugin.Enhance
public static class WithNonNullableFields extends HashCodeAndEqualsPlugin {

/**
* Creates a new hash code equals plugin without JSR305 annotations where fields are assumed nullable by default.
*/
public WithNonNullableFields() {
this(false);
}

/**
* Creates a new hash code equals plugin where fields are assumed nullable by default.
*
* @param jsr305 If {@code true}, a JSR305 annotation is added to the {@link Object#equals(Object)} method's parameter.
*/
public WithNonNullableFields(boolean jsr305) {
super(jsr305);
}

/**
* {@inheritDoc}
*/
Expand Down
7 changes: 7 additions & 0 deletions release-notes.md
@@ -1,6 +1,13 @@
Byte Buddy release notes
------------------------

### 15. December 2021: version 1.12.4

- Make paths in Gradle plugin relative and therewith cachable.
- Add explicit check for empty or non-existent source folder to Maven and Gradle plugins.
- Add support for modules when accessing system class loader for `Nexus` or `Installer`.
- Add nullability annotations to all type members which are nullable and declare non-nullability the default.

### 2. December 2021: version 1.12.3

- Move configuration for Java version to extension and avoid implicit configuration during task execution to allow for using a configuration cache.
Expand Down

0 comments on commit 4887457

Please sign in to comment.