Repository navigation
v0.18.0
Unified v1.0 API Surface
Summary
This release carries the API surface that Lode plans to freeze for v1.0.0: concrete dataset handles, format version 1.2.0, a generic Parquet codec, and checksums that Lode verifies on every read. It also closes a series of audit findings in removal fences, conditional writes, streaming cancellation, and single-process recovery.
Highlights
- Concrete handles and one write path:
Rootreturns*Records[T]and*Blobs,ReadRootreturns*RecordView[T]and*BlobView, andBlobs.StreamWritestreams anio.Readerand commits in one call. Lode reads standard and flat datasets in formats1.0.0and1.1.0in place and writes format1.2.0. - Removed and renamed symbols: the pre-v1 interfaces and two-step manifest listings no longer exist, and constructors take shorter names such as
Gzip,Zstd,s3.New, andvolume.WithRetry. The changelog's0.18.0section lists each one, andPUBLIC_API.mddescribes the migration of a dataset with custom internal names. - Verified reads:
lode.SHA256,lode.CRC32C, andlode.MD5record object digests,ReadreturnsErrChecksumMismatchon a mismatch, andOpenDecompressedstreams an object in constant memory and verifies it atio.EOF. - Dataset removal:
Root.RemoveDatasetwrites a removal fence withCompareAndSwapand deletes the dataset's objects. A commit that meets the fence returnsErrRemovedand deletes the manifests it may have persisted. - Durable filesystem writes:
lode.WithSyncsyncs temporary files and parent directories before Lode publishes them. - Recovery and cancellation: commits follow persisted parent links after a lost CAS response,
SingleProcessreaders follow the target after journal recovery, and a canceledStreamWritereturns an error that matchescontext.Canceled.
References
Full Changelog: v0.17.1...v0.18.0