Skip to content

Latest commit

 

History

History
120 lines (96 loc) · 5.01 KB

CHANGES.md

File metadata and controls

120 lines (96 loc) · 5.01 KB

Change Log

Unreleased

0.14.0

  • Built using Gradle 4.5
  • Updated compatibility testing through Gradle 4.5
  • Support for validation of default values in schema (#42)

0.13.0

  • Remove pre-cleaning behavior from GenerateAvroJavaTask (#41)

0.12.0

  • Improve support for Kotlin (#36)

0.11.0

  • Built using Gradle 4.2.1
  • Began testing using Java 9
  • Built using Avro 1.8.2
  • Breaking backward compatibility with Avro versions older than 1.8.2
  • Add new configuration option "enableDecimalLogicalType" to generate BigDecimal for fields annotated with logicalType equals to decimal
  • Breaking backward compatibility caused by "enableDecimalLogicalType" default value set true. BigDecimal will be used instead of old usage of ByteBuffer

0.10.0

  • Drop support for Gradle 2.x
  • As Gradle 3.0+ has a minimum Java version requiremenet of Java 7, drop support for Java 6
  • Update source compatibility to Java 7
  • Reduce access to utility methods not intended for re-use
  • Stopped publishing to Gradle plugin portal
  • Published to Bintray
  • MapUtils class is no longer public

0.9.1

  • Built using Gradle 4.1
  • Updated versions for cross-compatibility testing

0.9.0

  • Built using Avro 1.8.1 (#23)
  • Built using Gradle 2.13
  • Added version cross-compatibility testing

0.8.0

  • Add support for Java 6 (#21)

0.7.0

  • Remove usage of Apache Commons IO (#19)
  • Add ability to retry processing of duplicate type definitions (#13)
  • Renamed "encoding" option to "outputCharacterEncoding" to match Avro compiler
  • Allowed setting "outputCharacterEncoding" to a java.nio.charset.Charset (in addition to a String charset name)
  • Allowed setting "stringType" to a org.apache.avro.generic.GenericData.StringType (in addition to a String)
  • Allowed setting "fieldVisibility" to a org.apache.avro.compiler.specific.SpecificCompiler.FieldVisibility (in addition to a String)
  • Fixed handling of non-"true" String settings for "createSetters" option
  • Automatically use encoding from JavaCompile task as "outputCharacterEncoding", if set
  • Change default "outputCharacterEncoding" to system default to match JavaCompile task behavior (#20)

0.6.1

  • Add Checkstyle ImportControl to prevent accidentally adding dependencies on libraries that Gradle makes available for build but not runtime.
  • Remove usage of Guava (#18)

0.6.0

  • Add new configuration option "templateDirectory" to set source directory for the Avro compiler's Velocity templates.
  • Add new configuration option "createSetters" to allow suppressing the Avro compiler's creation of setters in created domain objects.
  • Matching of fieldVisibility settings is now case-insensitive.
  • Removed some excessive debug logging
  • Built against Gradle 2.7
  • Added Checkstyle and Codenarc to build
  • Known Bug: doesn't work properly unless you manually add a dependency on guava; please upgrade to 0.6.1

0.5.0

  • Add support for schemas/protocols/IDL in subdirectories of src/main/avro, etc. (#11)
  • Expose original error messages from avro-compiler when compilation fails

0.4.0

  • Add ability to specify fieldVisibility for generated Java source; contribution from wooder79
  • Removed support for unqualified plugin ID (just "avro")
  • Published via new mechanism to Gradle plugin portal
  • Stopped publishing to previous location on Bintray
  • Built against Gradle 2.6; uses test kit for functional testing

0.3.4

  • Fix registration of generated sources for compilation (#8)
  • Change classloader handling to better support import of external dependencies (#9)

0.3.3

  • Fix generation of Java files from .avdl files; contribution from viacoban

0.3.2

  • Improve handling when custom buildDir is used

0.3.1

  • Fix extension support for configuring encoding
  • Make default encoding UTF-8

0.3.0

  • IntelliJ: register generated source directories even if they don't already exist.
  • Add avro-base plugin, which exposes tasks and the extension without creating tasks, defaults, etc.
  • Add support for configuring encoding

0.2.0

  • Build against Gradle 1.12
  • Compile using Avro 1.7.6
  • Support for qualified plugin ID
  • Deprecate unqualified plugin ID

0.1.3

  • Always regenerate all Java classes when any schema file changes to avoid some classes having outdated schema information.

0.1.2

  • Eliminate dependency on guava, make dependency on commons-io explicit

0.1.1

  • Fixed NullPointerException when performing clean builds

0.1.0

  • Add support for converting IDL files to JSON protocol declaration files
  • Add support for generating Java classes from JSON protocol declaration files
  • Add support for generating Java classes from JSON schema declaration files
  • Add support for inter-dependent JSON schema declaration files
  • Add support for tweaking source/exclude directories in IntelliJ
  • Add support for specifying the string type to use in generated classes