2013-07-22 16:44:37 +00:00
|
|
|
## v1.2.1 → v2.0.0
|
2013-07-23 16:21:48 +00:00
|
|
|
* **MIGRATION NOTE**: Please be sure to use `lein clean` to clear old (v1) build artifacts!
|
2013-06-27 12:01:01 +00:00
|
|
|
* Refactored for huge performance improvements (~40% roundtrip time).
|
|
|
|
|
* New header format for better error messages.
|
|
|
|
|
* New `taoensso.nippy.tools` ns for easier integration with 3rd-party tools.
|
|
|
|
|
|
|
|
|
|
* **DEPRECATED**: `freeze-to-bytes` -> `freeze`, `thaw-from-bytes` -> `thaw`.
|
|
|
|
|
See the new fn docstrings for updated opts, etc.
|
|
|
|
|
|
|
|
|
|
* Added pluggable compression support:
|
|
|
|
|
```clojure
|
|
|
|
|
(freeze "Hello") ; defaults to:
|
|
|
|
|
(freeze "Hello" {:compressor taoensso.nippy.compression/snappy-compressor})
|
|
|
|
|
|
|
|
|
|
;; The :compressor value above can be replaced with nil (no compressor) or
|
|
|
|
|
;; an alternative Compressor implementing the appropriate protocol
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
* Added pluggable crypto support:
|
|
|
|
|
```clojure
|
|
|
|
|
(freeze "Hello") ; defaults to:
|
|
|
|
|
(freeze "Hello" {:encryptor taoensso.nippy.encryption/aes128-encryptor}
|
|
|
|
|
|
|
|
|
|
;; The :encryptor value above can be replaced with nil (no encryptor) or
|
|
|
|
|
;; an alternative Encryptor implementing the appropriate protocol
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
See the [README](https://github.com/ptaoussanis/nippy#encryption-currently-in-alpha) for an example using encryption.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## For older versions please see the [commit history][]
|
|
|
|
|
|
|
|
|
|
[commit history]: https://github.com/ptaoussanis/nippy/commits/master
|
|
|
|
|
[API docs]: http://ptaoussanis.github.io/nippy
|
|
|
|
|
[Taoensso libs]: https://www.taoensso.com/clojure-libraries
|
|
|
|
|
[Nippy GitHub]: https://github.com/ptaoussanis/nippy
|
|
|
|
|
[Nippy CHANGELOG]: https://github.com/ptaoussanis/carmine/blob/master/CHANGELOG.md
|
2013-07-22 16:44:37 +00:00
|
|
|
[Nippy API docs]: http://ptaoussanis.github.io/nippy
|