v2.7.0 / 2014 Oct 6
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-metathaw 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-metaoption has been dropped. Its purpose was to provide Nippy v1 compatibility, which is now done automatically. To prevent any surprises,thawcalls with this option will now throw an assertion error. - IMPORTANT: the
thawAPI has been improved (simplified). The default:encryptorand:compressorvalues 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:compressorand:encryptorvalues manually. - Promoted from Alpha status:
taoensso.nippy.compressionns,taoensso.nippy.encryptionns,taoensso.nippy.toolsns,extend-freeze,extend-thaw. - All Nippy exceptions are now
ex-infos. extend-thawnow prints a warning when replacing a pre-existing type id.
NEW
- #50:
extend-freeze,extend-thawcan now take arbitrary keyword type ids (see docstrings for more info).
[com.taoensso/nippy "2.7.0"]