Skip to content

pemba 0.1.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 12:46
· 56 commits to main since this release
41075c3

The first stable API release: embedded Rust/CLI and Python authorization with memory,
SQLite and synchronous Postgres stores. No supported async/Node/WASM distribution
or storage-format change is introduced by stabilization.

Breaking

  • Rust public API audit (T3.9/T7.2): extensible request/filter, response/statistics,
    store result and fixture report structs are now #[non_exhaustive]. Migrate request
    literals to CheckRequest::new, CheckItem::new, WriteRequest::new (or Default),
    and the existing lookup/read/filter constructors, then assign optional public fields.
    Match outputs with ..; custom stores use the new ReverseFilter, RelationCount,
    StoredSchema, GcStats and DeleteResult constructors. Fixture producers use
    Failure::new and Report::default. See docs/PUBLIC_API_AUDIT.md for every decision.
    Existing config defaults/setters, stable tuple/revision value types and storage formats
    are unchanged.
  • Upgrading from alpha.1/alpha.2: foreign writes return PendingRevision, not a
    committed Revision. The caller owns commit/rollback. Commit successfully, then
    call Rust engine.resolve(&pending) or Python pending.revision() and use AtLeast
    / at_least= for subsequent reads. SQLite already knows the number but cannot detect
    rollback; Postgres reports pending/rolled-back states. Engine reads do not see the
    app transaction's uncommitted writes. See the alpha.3 migration below and
    docs/guides/transactional-tutorial.md.
  • Upgrading from alpha.3: Python int(pending) and index conversion were removed in
    alpha.4 and remain unavailable. Resolve after commit or pass the token to at_least=.

Added

  • Rust Engine::check_str(resource, permission, subject, consistency) -> Result<bool, Error>:
    canonical parsing, then the existing typed check. The specified Error::Parse is now
    implemented with code PARSE; other check errors propagate unchanged. Python preserves
    built-in ValueError for malformed arguments; its stubs/signatures are unchanged.
  • OQ-044 is complete: only check_str is implemented. Use typed write/delete APIs and
    pemba_schema::compile instead of the removed promises of Rust write_str, delete_str
    and static Engine::validate_schema. Python schema validation remains available.
  • Installation, schema, consistency, transaction, troubleshooting and developer guides;
    runnable Rust/Python SQLite/Postgres app-row-plus-permission commit/rollback tutorial;
    stable/development documentation trees in the existing Pages assembly. Security
    reporting policy, safe issue forms, triage process and scoped roadmap are prepared;
    launch activation and final announcement text remain human gates.

Fixed

  • Playground deployment: tags dispatch deployment through main so GitHub Pages does
    not silently retain the pre-release artifact. Distinct Pages artifact names make
    reruns unambiguous. Deployment now verifies public page and asset bytes, including
    every versioned directory and its WASM, instead of trusting the deployment status.