fix(destination-buffer): return entries in chronological order (oldest-first) and adjust pagination semantics

This commit is contained in:
2026-02-20 08:57:22 +00:00
parent dbcfeba16d
commit 9a61a3a9af
4 changed files with 24 additions and 13 deletions

View File

@@ -1,5 +1,13 @@
# Changelog
## 2026-02-20 - 3.2.1 - fix(destination-buffer)
return entries in chronological order (oldest-first) and adjust pagination semantics
- Change getEntries to return the most recent entries in chronological (oldest-first) order instead of newest-first
- Adjust pagination to compute slice indices from the newest end (start = max(0, len - limit - offset), end = len - offset)
- Update tests to expect chronological ordering and clarified pagination examples
- Modified files: ts_destination_buffer/classes.destinationbuffer.ts, test/test.destination-buffer.node.ts
## 2026-02-19 - 3.2.0 - feat(destination-buffer)
add SmartlogDestinationBuffer in-memory circular buffer destination with query/filter/pagination and tests