Skip to content

Cereal v1.2.0

Compare
Choose a tag to compare
@marcizhu marcizhu released this 02 Jul 21:32
· 46 commits to master since this release

Cereal 1.2.0 Release

This is the third release for Cereal! For this update we have some big changes and a bunch of bug fixes.

IMPORTANT: This update fixes several bugs, as well as adding new features and better performance. We recommend updating to this version as soon as possible.

NOTE: This update is fully backwards-compatible.

Changelog

  • Created C# port (available here)
  • Fixed reading and writing for floats and doubles on Buffer.h (commit 27f0d5f)
  • Fixed maximum array item count (commit 56aa34b)
  • Fixed maximum database size (commit 56aa34b)
  • Fixed compilation warnings (commits 4047b1a and fa36bf4)
  • Fixed minor bugs on class Buffer (commit 4047b1a)
  • Replaced most assert with standard C++ exceptions (commit e774195)
  • Removed Windows-only functions (commit 8c221ef)
  • Added unit testing framework (several commits)
  • Added more than 4.000 tests to Sandbox (several commits)
  • Added databases version 2.0. More details on that later. (commit 8610467)
  • Added GCC (and Linux) support (commit c3a8875)
  • Added x64 support (commit fabffb4)
  • Improved array writing speed (commit edd9dab)
  • Improved string array reading speed (commit c5557a2)
  • Improved database writing speed (commit 2198fe5)

Databases v2.0 are here!!

This new version for databases has the same features of the v1.0, but adds a big feature: checksums.

Checksums are just a number that can be used for error detection. Each set of bytes will generate a unique checksum. Therefore, if the checksum has changed, we know the data has been corrupted or intentionally changed.

This feature could be useful for long-term data storage or network data transmission, where data can be changed using a man-in-the-middle attack.

The checksum only uses 4 extra bytes per database, so we recommend using it, as we should have added this feature to the first Cereal release.