Changes will be described here.
- None yet!
- Add IO traits support by @xgroleau in #91
- Fix off-by-one in varint size calculation by @Palladinium in #111
- Add specific error for Crc errors by @CBJamo in #112
- Add cfg information to docs by @dtolnay in #108
- improved documentation of the cobs decoding by @gutzchi in #97
- Fix strict provenance use of pointers by @jamesmunns in #100
- Introduces CRCs by @huntc in #98
- Format with rustfmt to eliminate trailing whitespaces by @dtolnay in #104
- Fix documentation of re-exports that have dedicated doc comment by @dtolnay in #107
- @gutzchi made their first contribution in #97
Full Changelog: https://github.com/jamesmunns/postcard/compare/v1.0.4...v1.0.5
- fix cobs accumulator out-of-bounds index when data is 1 byte too long (PR#90)
- Move cobs accumulator tests into a
cfg(test)
module
- PhantomData's T doesn't need MaxSize impl (PR#87)
- Add function for computing the postcard serialized size of a value. (PR#86)
- Fix typos & encoding example in wire doc (PR#83)
- Optimize varint decode (PR#62)
- Bump postcard-derive version (PR#74)
- add std::string::String and alloc::string::String (PR#76)
- Make fixints usable through serde field attributes instead of wrappers (PR#69)
- Add support for 16-bit and 8-bit architectures (PR#64)
- Add feed_ref to cobs_accumulator (PR#70)
- Add a link to doc.rs documentation in README (PR#72)
- Correct exporting of experimental Schema proc macro (PR#73)
- Fixed deserialization of
i128
, which was using the "new style" varint serialization, but the incorrect, "old style" fixed deserialization.- This is considered a defect, and not a breaking change, as it brings the code back in line with the specification behavior.
- Version 1.0.0 will be yanked due to this defect.
- Added experimental derive features
- Made Flavor fields private again
- Optimized varint encoding
- Use crate
Result
forFlavor
s
- Updated the signature of deserialization
Flavor
trait - Added documentation and tests
- Removed the
Encoder
wrapper type to better match serialization and deserialization types - Renamed
ser_flavor::Flavor::release
tofinalize
for consistency - Re-organized some public items and modules
- Made
Error
non-exhaustive - Added a
fixint
type to avoid varints
- Moved back to
cobs
frompostcard-cobs
- This fixed a number of upstream issues, including removal of panicking branches
- Improved documentation and code examples
- Corrected the behavior of
take_from_cobs
- Added support for serializing
Debug
/Display
representation strings via serde'scollect_str
method (and removed the panic)
- Re-exposed fields of the Flavor constructors, made various flavors impl
Default
- No breaking changes vs
1.0.0-alpha.1
.
- WARNING: This includes a BREAKING wire change from postcard v0.x.y! Please ensure all devices using postcard are recompiled with the newest version!
- added
#[inline]
to many functions, increasing performance - All unsigned integers u16-u128 are varint encoded
- All signed integers i16-i128 are zigzag + varint encoded
- Serialization flavors have been tweaked slightly, with the
Slice
flavor now faster - Introduction of Deserialization flavors
- Please report any bugs upstream as we prepare for the v1.0.0 release!
- Added optional
defmt
support with theuse-defmt
feature. - Improved docs
- Changed the
CobsAccumulator::new()
into a const fn.
- Added the
CobsAccumulator
type for accumulating COBS encoded data for deserialization.
- Updated
heapless
dependency tov0.7.0
, which added support for const-generic sized buffers.
- No changelog information added yet.