releases/rust/v0.25.0
·
76 commits
to main
since this release
Added
Writer::add_schema_with_idandWriter::add_channel_with_idfor writing records with explicit IDs without content de-duplication, so distinct IDs from a source file are preserved even when content is identical (#1632).- Public
mcap::VERSIONandmcap::LIBRARY_IDENTIFIERconstants (#1702). WriteOptions::DEFAULT_CHUNK_SIZEconstant.
Changed
- Default writer
Header.librarystring is nowmcap-rust/<version>(wasmcap-rs-<version>) (#1702). Breaking for anyone asserting on the exact string. - Default chunk size increased to 1 MiB (was 768 KiB), standardizing with the other MCAP libraries (#1659).
- Established a minimum supported Rust version (
rust-version = "1.81") (#1710). - Dependency bumps:
binrw0.12 → 0.15,thiserror1 → 2 (#1705, #1710).
Removed
- Removed unused
McapErrorvariantsAttachmentInProgress,RecordTooShort, andUnexpectedChunkRecord(#1494). Breaking for code matching on these variants.
Fixed
- Corrected typos in several
McapErrormessages (e.g.expeted→expected,mulitple→multiple) — note these are user-visible error string changes (#1492). - Fixed typos and inaccurate references in doc comments, including
ChunkIndex::compressed_data_offsetnow correctly documentingBadChunkStartOffset(#1607, #1516).