v2.6.0 / 2014 Mar 30
Major release with efficiency improvements, reliability improvements, and some new utils.
New
- Low-level fns added:
freeze-to-out!
,thaw-from-in!
for operating directly on DataOutputs/DataInputs. - Data size optimizations for some common small data types (small strings/keywords, small integers).
- New test suite added to ensure a 1-to-1 value->binary representation mapping for all core data types. This will be a guarantee kept going forward.
- New
:skip-header?
freeze
option to freeze data without standard Nippy headers (can be useful in very performance sensitive environments). - New benchmarks added, notably a Fressian comparison.
- Added experimental
freezable?
util fn to main ns. - Added some property-based simple-check roundtrip tests.
- Public utils now available for custom type extension:
write-bytes
,write-biginteger
,write-utf8
,write-compact-long
, and respective readers.
Changes
- BREAKING: the experimental
Compressable-LZMA2
type has changed (less overhead). - DEPRECATED:
freeze-to-stream!
,thaw-from-stream!
are deprecated in favor of the more generalfreeze-to-out!
,thaw-from-in!
. - DEPRECATED:
:legacy-mode
options. This was being used mainly for headerless freezing, so a new headerless mode is taking its place. - Now distinguish between
BigInteger
andBigInt
on thawing (previously both thawed toBigInt
s). (mlacorte). - Moved most utils to external
encore
dependency.
[com.taoensso/nippy "2.6.0"]