Skip to content

Releases: euank/go-kmsg-parser

v3.0.0 release

01 Aug 15:35
b1b9c58
Compare
Choose a tag to compare

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

30 Jul 22:55
v2.1.0
6575cc0
Compare
Choose a tag to compare

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

01 Nov 22:02
2973800
Compare
Choose a tag to compare

Changes:

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

v2.0.0 release

20 Nov 04:00
Compare
Choose a tag to compare

This release adds a new SeekEnd method to the parser.

Initial release

14 Nov 06:50
Compare
Choose a tag to compare
  • Initial release