Skip to content

Use .kd file format; add backups & validations - #1

Merged
kilicdev merged 1 commit into
mainfrom
dev
May 31, 2026
Merged

Use .kd file format; add backups & validations#1
kilicdev merged 1 commit into
mainfrom
dev

Conversation

@kilicdev

Copy link
Copy Markdown
Owner

Enforce a .kd extension for file-backed stores and switch defaults to datas.kd; update examples and README accordingly. Bump package version to 3.0.0, add package exports, and move some deps to optionalDependencies. Improve core behavior: atomic streaming writes for file persistence, ensure .kd extension normalization, stronger validation (prototype-pollution guard, empty/filter checks), support upsert options, retry on duplicate-create races, and register process shutdown hooks. Add backup handling with safe zipping/archiver loading and long-running cursor safeguards. Include new tests (backup and extensive validation suites), update helpers/tests to use .kd, and small .gitignore additions.

Enforce a .kd extension for file-backed stores and switch defaults to datas.kd; update examples and README accordingly. Bump package version to 3.0.0, add package exports, and move some deps to optionalDependencies. Improve core behavior: atomic streaming writes for file persistence, ensure .kd extension normalization, stronger validation (prototype-pollution guard, empty/filter checks), support upsert options, retry on duplicate-create races, and register process shutdown hooks. Add backup handling with safe zipping/archiver loading and long-running cursor safeguards. Include new tests (backup and extensive validation suites), update helpers/tests to use .kd, and small .gitignore additions.
@kilicdev
kilicdev merged commit 875efb0 into main May 31, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant