Skip to content

Releases: heetch/avro

v0.2.6

31 Aug 10:57
f06879c
Compare
Choose a tag to compare

Fix a faulty manually mangled v0.2.5 release.

v0.2.5

21 Aug 09:28
f06879c
Compare
Choose a tag to compare

#93 - Fix a bug where schema was registered without default value for those records whose default value is null typically union fields like {"name": "U", "type": ["null", "string"], "default": null}
#87 - New command avsc2avdl which converts from the AVSC format to the IDL format

Use v0.2.6 instead.

v0.2.4

08 Jul 11:21
b595f2b
Compare
Choose a tag to compare

Add avroregistrytest package to ease integration testing against a real schema registry. #88

From README:

A github.com/heetch/avro/avroregistrytest package is provided to run integration test against a real schema registry.

import "github.com/heetch/avro/avroregistrytest"

type X struct {
   A int
}

avroregistrytest.Register(context.Background(), t, X{}, "test-topic")

This code snippet register an avro type for X struct for test-topic in the schema registry defined by KAFKA_REGISTRY_ADDR environment variable that must set to host:port form.

v0.2.3

21 May 11:38
6d3ee10
Compare
Choose a tag to compare

This patch release rolls back the "empty struct" workaround (it wasn't necessary and caused problems with consumers that didn't allow a standalone null type). Instead we fix the real cause (the canonicalization which resulted in an empty struct turning into an Avro schema with a missing fields entry).

avroregistry: better error messages

06 May 15:34
e0f554f
Compare
Choose a tag to compare

This release updates the avroregistry error messages to be better when there's an intermediate HTTP proxy failure and the response isn't formed as expected.

v0.2.0

05 May 06:33
03dd4f2
Compare
Choose a tag to compare
  • Better support for the Avro null type (PR #76)
  • Support empty Go structs (PR #77)

include logical types in registered schemas

09 Apr 13:45
239e952
Compare
Choose a tag to compare

Note: breaking change! The names of the constants passed to avro.Schema.CanonicalSchema have changed.

See #72 for details of the change.

Initial beta release

07 Apr 11:32
ed946e0
Compare
Choose a tag to compare
Initial beta release Pre-release
Pre-release

This initial release is intended to mark a stable API. We reserve the right to make API-incompatible changes if absolutely necessary for bug-fixing, but that should be unlikely.

Some features included: