Repository navigation
pemba 0.1.0
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 toCheckRequest::new,CheckItem::new,WriteRequest::new(orDefault),
and the existing lookup/read/filter constructors, then assign optional public fields.
Match outputs with..; custom stores use the newReverseFilter,RelationCount,
StoredSchema,GcStatsandDeleteResultconstructors. Fixture producers use
Failure::newandReport::default. Seedocs/PUBLIC_API_AUDIT.mdfor 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
committedRevision. The caller owns commit/rollback. Commit successfully, then
call Rustengine.resolve(&pending)or Pythonpending.revision()and useAtLeast
/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 toat_least=.
Added
- Rust
Engine::check_str(resource, permission, subject, consistency) -> Result<bool, Error>:
canonical parsing, then the existing typed check. The specifiedError::Parseis now
implemented with codePARSE; other check errors propagate unchanged. Python preserves
built-inValueErrorfor malformed arguments; its stubs/signatures are unchanged. - OQ-044 is complete: only
check_stris implemented. Use typed write/delete APIs and
pemba_schema::compileinstead of the removed promises of Rustwrite_str,delete_str
and staticEngine::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.