safecopy

Binary serialization with version control.

https://github.com/acid-state/safecopy

Version on this page:0.9.4.1
LTS Haskell 17.12:0.10.4.2
Stackage Nightly 2021-05-16:0.10.4.2
Latest on Hackage:0.10.4.2

See all snapshots safecopy appears in

LicenseRef-PublicDomain licensed by David Himmelstrup, Felipe Lessa
Maintained by Lemmih
This version can be pinned in stack with:safecopy-0.9.4.1@sha256:28a82886e1fb29079627f2cb3c9ef8997f3b771a8cccd3f97150405714156475,2462

Module documentation for 0.9.4.1

An extension to Data.Serialize with built-in version control.

Changes

0.9.4

  • Support ghc-8.4.1
  • Travis config for ghc-8.2.1
  • SafeCopy instance for Data.List.NonEmpty.NonEmpty

0.9.1

  • fixed tests to work with QuickCheck-2.8.2
  • add SafeCopy instance for Word
  • updates for template-haskell 2.11
  • export some internal TH derivation helpers

0.9.0

This version changes the way Float and Double are serialized to a more compact format. Old data should be migrated automatically. As a result, however, the Float and Double data serialized by this version can not be read by older versions of safecopy.

This change originated as a modification to the way cereal 0.5 serializes Float and Double.

https://github.com/GaloisInc/cereal/commit/47d839609413e3e9d1147b99c34ae421ae36bced

https://github.com/GaloisInc/cereal/issues/35