Skip to content

Releases: sbt/sbt-avro

v4.0.0

15 Jan 10:56
132cd44
Compare
Choose a tag to compare

What's Changed

This is a new major release of the sbt-avro plugin, cross published for sbt v1 and v2.

It introduces new configurations:

  • avro-compiler: declares the avro compiler classpath
  • avro: artifacts containing avro specifications to compile
  • avro-test: same as avro for the test scope

The plugin now requires explicit enabling with enablePlugins(SbtAvro) since it alters the project libraryDependencies setting.
Select the desired avro version to use with avroVersion setting.

New features

Bugfixes

Build improvements

Test improvements

Dependency updates

Full Changelog: v3.5.1...v4.0.0

v3.5.1

18 Oct 12:49
4aa3b90
Compare
Choose a tag to compare

What's Changed

This release contains a bugfix preventing cross-building: unpacking avro source was not executed for subsequent scala versions due to caching issue.

Bugfixes

Build improvements

Dependency updates

Full Changelog: v3.5.0...v3.5.1

v3.5.0

20 Aug 09:57
6bd6bdf
Compare
Choose a tag to compare

What's Changed

This version now supports avro 1.12.

Minor breaking changes had to be made to the DefaultSchemaParserBuilder.
Introduction of a new NameValidatorSchemaParserBuilder supporting newly introduced NameValidator.

Dependency updates

Full Changelog: v3.4.4...v3.5.0

v3.4.4

20 Aug 09:54
3db4580
Compare
Choose a tag to compare

What's Changed

Bugfixes

  • Enable recompilation when no avro schemas are in project by @kellen in #172

Documentation

Dependency updates

New Contributors

Full Changelog: v3.4.3...v3.4.4

v3.4.3

21 Aug 07:17
Compare
Choose a tag to compare

Add new avroSpecificRecords scoped setting list avro generated classes to recompile with current avro version and settings.

What's Changed

Full Changelog: v3.4.2...v3.4.3

v3.4.2

01 Aug 10:27
Compare
Choose a tag to compare

Give users the possibility to reference the avro compiler version with avroCompilerVersion

What's Changed

Full Changelog: v3.4.1...v3.4.2

v3.4.1

01 Aug 09:08
Compare
Choose a tag to compare

This release changes the default target folders for unpacked schemas and generated sources. This mainly aims to improve IDE compatibility.

What's Changed

Full Changelog: v3.4.0...v3.4.1

v3.4.0

16 Nov 16:20
Compare
Choose a tag to compare

Summary

  • Drop sbt support < 1.3.0
  • Add avro 1.11.0 compatibility (remove public_deprecated visibility)
  • Add include/exclude filtering possibility when unpacking avro dependencies

What's Changed

New Contributors

Full Changelog: v3.3.0...v3.4.0

v3.3.0

15 Sep 09:49
Compare
Choose a tag to compare
  • Update so scala 2.12.15
  • Bump major version to avoid conflict with com.cavorite:sbt-avro:3.2.0 for managed artifact migration with scala-steward

v3.2.0

03 Sep 14:29
Compare
Choose a tag to compare

Migration

  • sbt-avro is now published to maven central and has been release under the sbt organisation.
-  addSbtPlugin("com.cavorite" % "sbt-avro" % "3.1.0")
+ addSbtPlugin("com.github.sbt" % "sbt-avro" % "3.2.0")

New Feature

  • avroOptionalGetters: Set to true to generate getters that return Optional for nullable fields.