Releases: heetch/avro
v0.2.6
Fix a faulty manually mangled v0.2.5 release.
v0.2.5
#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
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
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
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
include logical types in registered schemas
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
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:
- Go code generation with a natural mapping between Avro schemas and Go types
- auto-generation of Avro schemas from Go types
- support for the Avro schema registry
- support for the logical type
timestamp-micros
as the Go typetime.Time
.