Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.75 KB

CHANGELOG.md

File metadata and controls

51 lines (39 loc) · 1.75 KB

[v1.2.0] - Unreleased

v1.1.0 - 2021-03-13

Added

  • 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.

Fixed

  • 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

Added

  • 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 and interface{}.
  • This release comes with an example (but serious) implementation of a ReadWriter that is backed by a ring buffer, in ringio.
  • Most of the code in this repository by antifuchs & inspired by a blog post by jsnell.

Fixed

  • An issue with maskRing where Shifting more times than the ring had capacity would return invalid indexes. Thanks for the bug report, jsnell!