Releases: foresterre/peekmore
Releases ยท foresterre/peekmore
v0.5.1
v0.5.0
- Renamed
move_next
to advance_cursor - Renamed
move_forward
to advance_cursor_by - Renamed
move_backward
to move_cursor_back - Renamed
move_backward_or_reset
to move_cursor_back_or_reset
- Deprecated reset_view, use reset_cursor instead
๐ Added:
- Added advance_cursor_while
- Added peek_nth
- Added move_nth
- Added reset_cursor
- Added move_cursor_back
๐ Changed:
- ..
๐ ๏ธ Fixed:
- ..
โ๏ธ Internal
- Added system allocator for doctests only
- Renamed
needle
terminology tocursor
v0.4.0
- Renamed
advance_view()
tomove_next()
๐ Added:
- Added
peek_previous
- Added
peek_forward(n)
,peek_backward(n)
andpeek_backward_or_first(n)
. - Added
move_previous
- Added
move_forward(n)
,move_backward(n)
andmove_backward_or_reset(n)
.
๐ Changed:
- Updated docs to refer to the cursor instead of the '(peekable) view'.
๐ ๏ธ Fixed:
- Various documentation fixes
โ๏ธ Internal
- Renamed needle to cursor
v0.3.1
๐ ๏ธ Fixed:
- Fix links to license files in the readme
v0.3.0
- Removed separate PeekView trait (no need to import this separately anymore)
- Renamed struct CreatePeekMoreIterator to PeekMore
๐ Added:
- Opt-in support for SmallVec (requires nightly compiler)
๐ Changed:
- Only update the underlying queue of peekable values on
peek()
๐ ๏ธ Fixed:
- Various documentation fixes