mirror of
https://github.com/fraillt/bitsery.git
synced 2026-06-08 08:13:56 +00:00
2.3 KiB
2.3 KiB
2.1.0 (2017-08-07)
Features
- added SERIALIZE_FRIEND macro to be able to serialize private struct fields
- static_assert when trying to serialize object, that doesn't have serialize function defined.
- added custom function to override default behaviour for object serialization
- renamed function ext to extension and changed its interface, to make it more easy to extend
2.0.1 (2017-08-12)
Other notes
- added travis build status
2.0.0 (2017-07-25)
Features
- Endianness support, default network configuration is little endian
- added user extensible function ext, to work with objects that require different serialization/deserialization path (e.g. pointers)
- optional extension (for ext function), to work with std::optional types
Bug Fixes
- align method fixed in BufferReader
Other notes
- file structure changed, added details folder.
- no longer support for implicit size converions for all functions (value, array, container), instead added helper functions with specific size, to avoid typing s.template value<1>... within serialization function body
- changed parameters order for all functions that use custom function (lambda)
- BufferReader and BufferWriter is now alias types for real types BasicBufferReader/Writer<DefaultConfig> (DefaultConfig is defined in common.h)
1.1.1 (2017-02-23)
Notes
- changed folder structure
- added more BufferReader constructors
1.0.0 (2017-02-22)
Features
Serialization functions:
- value - fundamental types
- container - dynamic size containers
- array - fixed size containers
- text - for c-array and std::string
- range - compresion for fundamental types (e.g. int between [255..512] will take up 8bits
- substitution - default value from list (e.g. 4d vector, that is most of the time equals to [0,0,0,1] can store only 1bit)
- boolBit/boolByte - serialize bool, as 1bit or 1byte.