Releases: euank/go-kmsg-parser
v3.0.0 release
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
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
Changes:
- Included
go.mod
- Updated tests to fix a test error under newer go versions
v2.0.0 release
This release adds a new SeekEnd
method to the parser.
Initial release
- Initial release