Skip to content

Commit

Permalink
Upgrade avro to 1.11.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ranbir Kumar committed May 17, 2024
1 parent fccd6eb commit 86c1c91
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 15 deletions.
10 changes: 8 additions & 2 deletions lang/java/gradle-plugin/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Unreleased

## 1.9.0
* Built using Avro 1.11.3

## 1.8.0
* Built using Avro 1.11.2

## 1.7.1
* Fix vulnerabilities in transitive dependencies (contribution from [BlacCello](https://github.com/BlacCello)); see https://github.com/davidmc24/gradle-avro-plugin/pull/229

Expand Down Expand Up @@ -69,7 +75,7 @@ The plugin IDs are `com.commercehub.gradle.plugin.avro` and `com.commercehub.gra
* Add [Configuration Cache](https://docs.gradle.org/6.6/userguide/configuration_cache.html) support (#129; thanks to [dcabasson](https://github.com/dcabasson) and [eskatos](https://github.com/eskatos))
* Add coverage reporting via JaCoco/Codecov to the plugin's build pipeline
* Add support for multiple IDL files with the same name in different directories (#123)
* The `.avpr` file generated by `GenerateAvroProtocolTask` is now based on the namespace and name of the protocol, rather than the name of the `.avdl` file.
* The `.avpr` file generated by `GenerateAvroProtocolTask` is now based on the namespace and name of the protocol, rather than the name of the `.avdl` file.
* Built using Avro 1.10.1
* Built using Gradle 6.7.1
* Updated compatibility testing to include Java 15
Expand Down Expand Up @@ -129,7 +135,7 @@ Links:
## 0.18.0
* Use reproducible file order for plugin archives
* Eliminate usage of internal conventions API, using new Lazy Configuration approach instead; requires Gradle 4.4+
* Technically, the APIs needed are available in Gradle 4.3, but there is a bug related to un-set `Property` instances in 4.3 and 4.3.1; see https://github.com/gradle/gradle/issues/3879
* Technically, the APIs needed are available in Gradle 4.3, but there is a bug related to un-set `Property` instances in 4.3 and 4.3.1; see https://github.com/gradle/gradle/issues/3879
* Cleaned up compatibility code for older versions of Gradle
* Built using Gradle 5.6.2
* Upgrade Spock from 1.2 to 1.3
Expand Down
24 changes: 12 additions & 12 deletions lang/java/gradle-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ This is a [Gradle](http://www.gradle.org/) plugin to allow easily performing Jav
* Java 8-12 support requires Gradle 5.1 or higher (versions lower than 5.1 are no longer supported)
* Currently built against Gradle 7.6
* Currently tested against Gradle 5.1-5.6.4 and 6.0-7.6
* Currently built against Avro 1.11.1
* Currently tested against Avro 1.11.0-1.11.1
* Avro 1.9.0-1.10.2 were last supported in version 1.2.1
* Currently built against Avro 1.11.3
* Currently tested against Avro 1.11.0-1.11.2-1.11.3
* Avro 1.9.0-1.10.2 were last supported in version 1.2.1
* Support for Kotlin
* Dropped integration with the Kotlin plugin in plugin version 1.4.0, as Kotlin 1.7.x would require compile-time dependency on a specific Kotlin version
* Wiring between the tasks added by the plugin and the Kotlin compilation tasks can either be added by your build logic, or a derived plugin
* Plugin version 1.3.0 was the last version with tested support for Kotlin
* It is believed to work with Kotlin 1.6.x as well
* It was tested against Kotlin plugin versions 1.3.20-1.3.72 and 1.4.0-1.4.32 and 1.5.0-1.5.31 using the latest compatible version of Gradle
* It was tested against Kotlin plugin versions 1.2.20-1.2.71 and 1.3.0-1.3.11 using Gradle 5.1
* Wiring between the tasks added by the plugin and the Kotlin compilation tasks can either be added by your build logic, or a derived plugin
* Plugin version 1.3.0 was the last version with tested support for Kotlin
* It is believed to work with Kotlin 1.6.x as well
* It was tested against Kotlin plugin versions 1.3.20-1.3.72 and 1.4.0-1.4.32 and 1.5.0-1.5.31 using the latest compatible version of Gradle
* It was tested against Kotlin plugin versions 1.2.20-1.2.71 and 1.3.0-1.3.11 using Gradle 5.1
* Kotlin plugin versions 1.4.20-1.4.32 require special settings to work with Java 17+; see [KT-43704](https://youtrack.jetbrains.com/issue/KT-43704#focus=Comments-27-4639603.0-0)
* Kotlin plugin version 1.3.30 is not compatible with Gradle 7.0+
* Kotlin plugin versions starting with 1.4.0 require Gradle 5.3+
Expand Down Expand Up @@ -232,15 +232,15 @@ avro {

## additionalVelocityToolClasses

When overriding the default set of Velocity templates provided with Avro, it is often desirable to provide additional tools to use during generation.
The class names you provide will be made available for use in your Velocity templates. An instance of each class provided will be created using
When overriding the default set of Velocity templates provided with Avro, it is often desirable to provide additional tools to use during generation.
The class names you provide will be made available for use in your Velocity templates. An instance of each class provided will be created using
the default constructor (required). When registered, they will be available as $class.simpleName(). Given the example configuration below,
two tools would be registered, and be available as escape and json.


```groovy
avro {
additionalVelocityToolClasses = ['com.yourpackage.Escape', 'com.yourpackage.JSON']
additionalVelocityToolClasses = ['com.yourpackage.Escape', 'com.yourpackage.JSON']
}
```

Expand Down
2 changes: 1 addition & 1 deletion lang/java/gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repositories {
}
}

def compileAvroVersion = "1.11.1"
def compileAvroVersion = "1.11.3"

// Write the plugin's classpath to a file to share with the tests
task createClasspathManifest {
Expand Down

0 comments on commit 86c1c91

Please sign in to comment.