Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 2.24 KB

CHANGELOG.md

File metadata and controls

57 lines (41 loc) · 2.24 KB

Changelog

Version 0.3 (2017-12-17)

API Changes:

  • DataFileReader gets some major updates:

    • Can now decode 'deflate' codec files.
    • Does not read the entire file into memory, for large files and streaming. Also added Close() to close the underlying file if applicable.
    • [breaking] No longer pass a DatumReader to DataFileReader, it creates it for you.
    • [breaking] Next() only returns a single error value, use HasNext() in a loop to proceed.
  • Removed Seek and Tell from Decoder, should have no real impact on most applications.

Version 0.2 (2017-12-16)

Intention: start making changes towards a 1.0 release.

API Changes:

  • The BinaryEncoder type is now a private type. avro.NewBinaryEncoder() now returns a value of the Encoder interface.

  • Decoder changes:

    • The BinaryDecoder type is now also a private type. avro.NewBinaryDecoder() now returns a value of the Decoder interface.
    • Removed ReadFixedWithBounds, removed the use case which dictated it.
    • Add an implementation of BinaryDecoder which can work on an io.Reader
  • Rename the Writer and Reader interfaces to Marshaler and Unmarshaler to be more like the JSON encoder and also use similar method names.

  • Rename error types FooBar to be ErrFooBar

Improvements:

  • Major improvement to docs and docs coverage
  • Add a singular NewDatumWriter which will become the replacement for the generic/specific types.

Version 0.1 (2017-08-23)

  • First version after forking from elodina.
  • Started a semver-considering API, using the gopkg.in interface, and planning for a 1.x release.

Improvements:

  • Error reporting: specify which field is missing when throwing FieldDoesNotExist #5
  • Speedup encoding for strings and bools #6
  • Can prepare schemas which are self-recursive and co-recursive.

Bug Fixes:

  • Can decode maps of non-primitive types #2
  • Fix encoding of 'fixed' type #3 elodina/#78
  • Fix encoding of boolean when used in a type union #4