fix(cursor): Improve cursor usage documentation and refactor getCursor API to support native cursor modifiers

This commit is contained in:
2025-04-24 11:34:49 +00:00
parent e7c0951786
commit 43f9033ccc
5 changed files with 140 additions and 44 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2025-04-24 - 5.15.1 - fix(cursor)
Improve cursor usage documentation and refactor getCursor API to support native cursor modifiers
- Updated examples in readme.md to demonstrate manual iteration using cursor.next() and proper cursor closing.
- Refactored the getCursor method in classes.doc.ts to accept session and modifier options, consolidating cursor handling.
- Added new tests in test/test.cursor.ts to verify cursor operations, including limits, sorting, and skipping.
## 2025-04-24 - 5.15.0 - feat(svDb)
Enhance svDb decorator to support custom serialization and deserialization options