Skip to content

Commit bc6d2a9

Browse files
committed
v2.6.1
1 parent 7d84099 commit bc6d2a9

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

CHANGELOG.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
11
## v2.6.1 / 2014 Apr 8
22

3-
> **CRITICAL FIX** for v2.6.0 released 9 days ago. Please upgrade ASAP!
3+
**CRITICAL FIX** for v2.6.0 released 9 days ago. **Please upgrade ASAP!**
44

5+
### Problem
6+
7+
Small strings weren't getting a proper UTF-8 encoding:
8+
`(.getBytes <string>)` was being used here instead of
9+
`(.getBytes <string> "UTF-8")` as is correct and done elsewhere.
10+
11+
This means that small UTF-8 _strings may have been incorrectly stored_
12+
in environments where UTF-8 is not the default JVM character encoding.
13+
14+
Bug was introduced in Nippy v2.6.0, released 9 days ago (2014 Mar 30).
15+
16+
*********************************************************************
17+
Please check for possible errors in Unicode text written using Nippy
18+
v2.6.0 if your JVM uses an alternative character encoding by default
19+
*********************************************************************
20+
21+
Really sorry about this! Thanks to @xkihzew for the bug report.
522

623

724
## v2.6.0 / 2014 Mar 30

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
**[API docs][]** | **[CHANGELOG][]** | [other Clojure libs][] | [Twitter][] | [contact/contributing](#contact--contributing) | current ([semantic][]) version:
22

33
```clojure
4-
[com.taoensso/nippy "2.6.0"] ; Stable
4+
[com.taoensso/nippy "2.6.1"] ; Stable (please upgrade from v2.6.0 ASAP)
55
```
66

77
v2.6 is a **major, backwards-compatible release** with: improved performance (incl. frozen data size), a new low-level DataInput/DataOuput API, improved support for headerless freezing, and 1-to-1 binary-value representation guarantees. See the [CHANGELOG][] for details.
@@ -34,7 +34,7 @@ Nippy is an attempt to provide a reliable, high-performance **drop-in alternativ
3434
Add the necessary dependency to your [Leiningen][] `project.clj` and `require` the library in your ns:
3535

3636
```clojure
37-
[com.taoensso/nippy "2.6.0"] ; project.clj
37+
[com.taoensso/nippy "2.6.1"] ; project.clj
3838
(ns my-app (:require [taoensso.nippy :as nippy])) ; ns
3939
```
4040

@@ -174,4 +174,4 @@ Copyright &copy; 2012-2014 Peter Taoussanis. Distributed under the [Eclipse Publ
174174
[commit history]: <https://github.com/ptaoussanis/nippy/commits/master>
175175
[Cider]: <https://github.com/clojure-emacs/cider>
176176
[taoensso.com]: <https://www.taoensso.com>
177-
[Eclipse Public License]: <https://raw2.github.com/ptaoussanis/nippy/master/LICENSE>
177+
[Eclipse Public License]: <https://raw2.github.com/ptaoussanis/nippy/master/LICENSE>

project.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject com.taoensso/nippy "2.6.0"
1+
(defproject com.taoensso/nippy "2.6.1"
22
:author "Peter Taoussanis <https://www.taoensso.com>"
33
:description "Clojure serialization library"
44
:url "https://github.com/ptaoussanis/nippy"

0 commit comments

Comments
 (0)