mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-05-31 11:42:30 +00:00
3.0 KiB
3.0 KiB
Note that we start to track changes starting from v1.3.7.
v1.3.7(2023-01-31)
BoltDB
- Add recursive checker to confirm database consistency.
- Add support to get the page size from the second meta page if the first one is invalid.
- Add support for loong64 arch.
- Add internal iterator to Bucket that goes over buckets.
- Add validation on page read and write.
- Add PreLoadFreelist option to support loading free pages in readonly mode.
- Add (*Tx) CheckWithOption to support generating human-readable diagnostic messages.
- Fix Use
golang.org/x/sys/windows
forFileLockEx
/UnlockFileEx
. - Fix readonly file mapping on windows.
- Fix the "Last" method might return no data due to not skipping the empty pages.
- Fix panic on db.meta when rollback.
CMD
- Add support for get keys in sub buckets in
bbolt get
command. - Add support for
--format
flag forbbolt keys
command. - Add safeguards to bbolt CLI commands.
- Add
bbolt page
supports --all and --value-format=redacted formats. - Add
bbolt surgery
commands. - Fix open db file readonly mode for commands which shouldn't update the db file, see also pull/292.
Other
- Build bbolt CLI tool, test and format the source code using golang 1.17.13.
- Bump golang.org/x/sys to v0.4.0.
Summary
Release v1.3.7 contains following critical fixes:
- fix to problem that
Last
method might return incorrect value (#341) - fix of potential panic when performing transaction's rollback (#362)
Other changes focused on defense-in-depth (#358, #294, #225, #395)
bbolt
command line tool was expanded to: