Skip to content

v2.7.0 / 2014 Oct 6

Compare
Choose a tag to compare
@ptaoussanis ptaoussanis released this 27 Aug 12:28
· 389 commits to master since this release

Major release with significant performance improvements, a new default compression type (LZ4), and better support for a variety of compression/encryption tools.

The data format is fully backwards-compatible, the API is backwards compatible unless you are using the :headerless-meta thaw option.

Changes

  • A number of internal performance improvements.
  • Added LZ4 compressor, replacing Snappy as the default (often ~10+% faster with similar compression ratios). Thanks to mpenet for his work on this!
  • BREAKING: the thaw :headerless-meta option has been dropped. Its purpose was to provide Nippy v1 compatibility, which is now done automatically. To prevent any surprises, thaw calls with this option will now throw an assertion error.
  • IMPORTANT: the thaw API has been improved (simplified). The default :encryptor and :compressor values are now both :auto, which'll choose intelligently based on data now included with the Nippy header. Behaviour remains the same for data written without a header: you must specify the correct :compressor and :encryptor values manually.
  • Promoted from Alpha status: taoensso.nippy.compression ns, taoensso.nippy.encryption ns, taoensso.nippy.tools ns, extend-freeze, extend-thaw.
  • All Nippy exceptions are now ex-infos.
  • extend-thaw now prints a warning when replacing a pre-existing type id.

NEW

  • #50: extend-freeze, extend-thaw can now take arbitrary keyword type ids (see docstrings for more info).
[com.taoensso/nippy "2.7.0"]