Skip to content

Numstore

v0.0.3 Feature

This release adds 3 notable features for engineering teams evaluating rollout.

Published 1mo Relational Databases
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

c databases files systems

Summary

AI summary

Adds comprehensive smart file API with simple, power, and transactional capabilities.

Full changelog

Added

  • smfile_open / smfile_close — open and close a smart file in read/write mode
  • smfile_cleanup — release all on-disk resources associated with a file path
  • smfile_new_context — create an independent transaction context from an existing smart file
  • smfile_strerror / smfile_perror — error introspection in the style of the C standard library

Simple API — treats the file as a flat byte sequence:

  • smfile_size — query total file size in bytes
  • smfile_read — read elements from a byte offset
  • smfile_write — overwrite elements at a byte offset (atomic)
  • smfile_insert — insert bytes into the middle of a file
  • smfile_remove — remove elements and close the gap (atomic, with optional capture)
  • smfile_delete — delete a named variable

Power API — named variables and strided element access:

  • smfile_psize — query the size of a named variable
  • smfile_pread — strided read from a named variable
  • smfile_pwrite — strided write into a named variable
  • smfile_pinsert — insert into a named variable at a byte offset
  • smfile_premove — strided remove from a named variable (atomic, with optional capture)

Transactions — WAL-backed, two-phase locking:

  • smfile_begin — begin an explicit transaction
  • smfile_commit — commit all operations as a single atomic unit
  • smfile_rollback — undo all mutations since the last smfile_begin

Notes

  • All simple and power operations are individually atomic by default
  • Explicit transactions promote a sequence of operations to a single atomic unit
  • Negative byte offsets are interpreted relative to end of file
  • Explicit-width types used throughout for deterministic on-disk layout

Full Changelog: https://github.com/lincketheo/Smart-Files/compare/v0.0.2...v0.0.3

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track Numstore

Get notified when new releases ship.

Sign up free

About Numstore

All releases →

Related context

Earlier breaking changes

  • v1.1.2 Removed submodule dependency on c_specx; now a dedicated library
  • v1.1.2 Broke libraries into components: c_specx, smartfiles, nscore, numstore

Beta — feedback welcome: [email protected]