Skip to content

Releases: Shiritai/limited-queue

v0.2.0 released 🎉 (2025-10-28)

28 Oct 09:35

Choose a tag to compare

This is a significant feature and stability release.

  • BREAKING (but good) CHANGE: pop() no longer requires the T: Default trait bound. This was achieved by refactoring the internal storage to Vec<Option<T>> and is verified by tests .
  • New Feature: Added iter_mut(), providing a mutable, double-ended iterator.
  • Enhancement: iter() now implements DoubleEndedIterator, allowing for reverse iteration (e.g., .iter().rev()).
  • Internal Refactor: push() and with_capacity() logic was rewritten to pre-allocate the internal Vec with None, simplifying the implementation and removing potential panic paths.
  • Fix: Corrected a logic bug in get(idx) that caused incorrect None returns.
  • Testing: Test suite was significantly expanded to cover all methods, edge cases (like capacity 0 and 1), and panic conditions, achieving 100% test coverage.