v0.9.0 — data-at-rest
protokit 0.9.0 — data-at-rest
BREAKING — the message differ's Difference.old_value/new_value are renamed to left_value/right_value (the two compared messages aren't a before/after pair). Read-only deprecation aliases are retained and removed at 1.0; constructing with the old kwargs raises. Pre-1.0, pin protokit~=0.9.0.
Added — data-at-rest
protokit.storage— schema-aware scan/filter engine for stored protobuf.scan(source, registry, *, predicate, on_error)routes each(stream_id, record_bytes)record to its stream's isolated descriptor pool and yields a taggedScanRecord.Sourceaccepts any iterable of(stream_id, bytes | memoryview); fail-loud by default with opt-inskip/collect/routetolerant modes.protokit storageCLI —scan/head/countover length-delimited files: the minimal--wheregrammar (path == scalar/!=/has:path),--desc/--proto(+--proto-path) schema sources with--type,--format human|json, and--on-error raise|skip|warn. Exit0/2(+count --quietgrep-like1).ProtoFileSchema(.proto→compile schema source, neverSystemExit),on_error='route'+ anerror_sinkcallback onscan(), and the typedSchemaCompileError/WhereErrorexceptions.
Full details in CHANGELOG.md ## 0.9.0.