Releases: sbt/sbt-avro
v3.5.1
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
- Scope dependency unpacking with scala version by @RustedBones in #202
Build improvements
- Introduce scalafmt by @RustedBones in #203
Dependency updates
- Update versions after 3.5.0 release by @RustedBones in #193
- Update sbt to 1.10.2 by @scala-steward in #197
- Update scala-library to 2.12.20 by @scala-steward in #195
- Update sbt-ci-release to 1.6.1 by @scala-steward in #194
- Update sbt-ci-release to 1.8.0 by @scala-steward in #199
- Update specs2-core to 4.20.9 by @scala-steward in #201
Full Changelog: v3.5.0...v3.5.1
v3.5.0
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
- Update scala-library to 2.12.19 by @scala-steward in #183
- Update sbt to 1.10.1 by @scala-steward in #189
- Update sbt-github-actions to 0.24.0 by @scala-steward in #187
- Update avro to 1.12.0 by @scala-steward in #190
- Update sbt-ci-release to 1.6.0 by @scala-steward in #191
- Update specs2-core to 4.20.8 by @scala-steward in #188
Full Changelog: v3.4.4...v3.5.0
v3.4.4
What's Changed
Bugfixes
Documentation
- Fix default value in readme by @RustedBones in #174
- Add new contributor by @RustedBones in #176
Dependency updates
- Update sbt to 1.9.6 by @scala-steward in #162
- Update sbt-github-actions to 0.19.0 by @scala-steward in #169
- Update avro to 1.11.3 by @RustedBones in #166
- Update specs2-core to 4.20.3 by @scala-steward in #171
New Contributors
Full Changelog: v3.4.3...v3.4.4
v3.4.3
Add new avroSpecificRecords
scoped setting list avro generated classes to recompile with current avro version and settings.
What's Changed
- Update sbt-ci-release to 1.5.12 by @scala-steward in #146
- Update sbt-github-actions to 0.15.0 by @scala-steward in #149
- Update scala version to v2.12.18 by @RustedBones in #151
- Update avro-compiler to 1.11.2 by @scala-steward in #153
- Update sbt to 1.9.3 by @scala-steward in #155
- Update specs2-core to 4.20.2 by @scala-steward in #157
- Add avroSpecificRecords setting by @RustedBones in #158
Full Changelog: v3.4.2...v3.4.3
v3.4.2
Give users the possibility to reference the avro compiler version with avroCompilerVersion
What's Changed
- Expose avro compiler version by @RustedBones in #129
Full Changelog: v3.4.1...v3.4.2
v3.4.1
This release changes the default target folders for unpacked schemas and generated sources. This mainly aims to improve IDE compatibility.
What's Changed
- Update sbt-github-actions to 0.14.2 by @scala-steward in #111
- Update specs2-core to 4.16.1 by @scala-steward in #122
- Update scripted sbt to 1.7.1 by @RustedBones in #127
- Use distinct managed sources folders by @RustedBones in #126
Full Changelog: v3.4.0...v3.4.1
v3.4.0
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
- Update sbt-ci-release to 1.5.9 by @scala-steward in #100
- Allow to include/exclude individual schemas from dependencies by @drachenbach in #105
- Update specs2-core to 4.13.0 by @scala-steward in #101
- Update sbt-ci-release to 1.5.10 by @scala-steward in #102
- Update avro-compiler to 1.11.0 by @scala-steward in #103
- Drop support for sbt 1.2.8 by @RustedBones in #107
New Contributors
- @drachenbach made their first contribution in #105
Full Changelog: v3.3.0...v3.4.0
v3.3.0
- Update so scala 2.12.15
- Bump major version to avoid conflict with
com.cavorite:sbt-avro:3.2.0
for managed artifact migration withscala-steward
v3.2.0
Migration
sbt-avro
is now published to maven central and has been release under thesbt
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.
v3.1.0
New feature
- Introduce
avroIncludes
settings.
Improvements
- External and included avro avsc schemas can be referenced in module sources.