v1.1.0 - 2021-03-13
- This CHANGELOG.md file by antifuchs.
- A pull request template. Thanks to wireguy for the debugging help in #13.
- API documentation around some unsafe API interactions. Thanks, antifuchs!
- This repo now is a go module and lists all the things needed to build and test it.
- The order of traversal in ScanFIFO and ScanLIFO was inverted and had an off-by-one error to boot - now, each traversal goes the correct way around and stops when it returned the last occupied position. Thanks for the report, andrew-d!
v1.0.0 - 2019-03-19
- This is the first (semver) release of the ring-buffer accountancy
package
o
. It provides a way for users to implement their own ring-buffers without forcing them to type-assert between types andinterface{}
. - This release comes with an example (but serious) implementation of a
ReadWriter
that is backed by a ring buffer, inringio
. - Most of the code in this repository by antifuchs & inspired by a blog post by jsnell.
- An issue with
maskRing
whereShift
ing more times than the ring had capacity would return invalid indexes. Thanks for the bug report, jsnell!