Skip to content

v0.3.0

Choose a tag to compare

@ValentinKolb ValentinKolb released this 29 Apr 22:43
· 32 commits to main since this release

Breaking

  • foreign_keys is now optional in NamespaceConfig. Send it as false to explicitly disable; omit to apply the default (true). Previously an explicit false was silently flipped to true.

Fixed

  • Atomic update operators ($increment, $multiply, $append) now reject non-numeric / non-marshalable operands instead of silently coercing in SQLite.
  • Schema migrations (add_columns / drop_columns / rename_columns) keep the persisted table_schema metadata in sync, so post-migration row inserts honour the updated pattern / min / max / options.
  • FTS index creation validates each user-supplied column name before joining it into the bare-name CREATE VIRTUAL TABLE column list.
  • namespace.Manager.Close() is idempotent (sync.Once) and getOrOpen rejects work after shutdown.
  • service.CreateNamespace rolls back the registry record, the open handle, and the on-disk file when DB initialisation fails.
  • mapErr now uses errors.Is(err, sqlite.ErrValidation) instead of substring-matching the message text.

Removed

  • MaxOpenNamespaces config option (was parsed and validated but never enforced).

Container

ghcr.io/valentinkolb/rsql:v0.3.0 · :latest