Skip to content

Releases

v3.0.1

Choose a tag to compare

@euank euank released this 12 Nov 12:01
24fda61

This release adds a new option, WithSkipMalformedMessages, which may be used to get back the v2.x.x release's behavior with respect to malformed messages. The default behavior is unchanged.

v3.0.0 release

Choose a tag to compare

@euank euank released this 01 Aug 15:35
b1b9c58

The v3.0.0 release includes one new feature, and significant new API changes. The v2.x release will still be supported for the foreseeable future, so please feel free to consume these breaking changes at whatever pace you desire.

Features

This release brings the ability to stop reading when hitting the end of the circular kmsg buffer.

This can be done by constructing a parser with kmsgparser.NewParser(kmsgparser.WithNoFollow()).

Breaking changes

The Parser interface has changed to allow for better error handling, and to give the caller more control over resource usage. Rather than internally allocating a channel, returning it, and running a goroutine, it is expected that the caller now runs Parser.Parse in a goroutine, and provides a suitable channel as an argument.

The SetLogger method has been removed. Instead, configuring a logger should be done when constructing a parser using the new kmsgparser.WithLogger option.

v2.1.0 release

Choose a tag to compare

@euank euank released this 30 Jul 22:55
v2.1.0
6575cc0

Changes:

  • Updated go module import to github.com/euank/go-kmsg-parser/v2. Since there was already a v2.x.y git tag, this is what go modules expect.

Update notes:

Any existing imports of the form github.com/euank/go-kmsg-parser/kmsgparser will need to be updated to github.com/euank/go-kmsg-parser/v2/kmsgparser after updating to this version.

v2.0.1 release

Choose a tag to compare

@euank euank released this 01 Nov 22:02
2973800

Changes:

  • Included go.mod
  • Updated tests to fix a test error under newer go versions

v2.0.0 release

Choose a tag to compare

@euank euank released this 20 Nov 04:00

This release adds a new SeekEnd method to the parser.

Initial release

Choose a tag to compare

@euank euank released this 14 Nov 06:50
  • Initial release