v0.7.0

v0.2.0 Release Notes

Released

v0.1.0 -> v0.2.0

Summary

Add document field operations (get/set/del/incr with dot-notation), KEYS glob matching, INCR numeric increment, AOF compaction on close, and shared utility package.

翻譯 新增文件欄位操作(dot-notation 的 get/set/del/incr)、KEYS glob 匹配、INCR 數值遞增、關閉時 AOF 壓縮,以及共用工具套件。

Changes

FEAT

翻譯
  • 新增 dot-notation 巢狀欄位存取,支援 GET/SET/DEL/INCR 指令
  • 新增 KEYS 指令,支援 glob 模式匹配
  • 新增 INCR 指令,支援獨立 key 與巢狀 JSON 欄位數值遞增
  • 新增關閉時 AOF 壓縮,採用 atomic file write

FIX

翻譯
  • 修正當前 session 無寫入時 AOF compaction 被跳過的問題

REFACTOR

翻譯
  • 將 WriteFile、Atov、Vtoa、Vtof 抽至 core/utils 套件作為共用工具

Files Changed

File Status Tag
core/store/getField.go Added FEAT
core/store/setField.go Added FEAT
core/store/delField.go Added FEAT
core/store/incr.go Added FEAT
core/store/incrField.go Added FEAT
core/store/keys.go Added FEAT
core/store/compact.go Added FEAT
core/store/exec.go Modified FEAT
core/store/set.go Modified REFACTOR
core/store/store.go Modified FIX
core/utils/utils.go Added REFACTOR
cmd/test/main.go Modified FIX

Generated by SKILL