Commit graph

233 commits

Author SHA1 Message Date
Peter Taoussanis
e580fc6b2b Experimental: add prop-based tests for bijective val->bin mapping 2014-01-22 14:01:27 +07:00
Peter Taoussanis
f40e5f38ac Deps: (new) data.fressian 0.2.0 (for benching) 2014-01-21 14:55:50 +07:00
Peter Taoussanis
69804a646d Deps: clojure 1.6.0-alpha3 (for testing) 2014-01-21 14:55:50 +07:00
Peter Taoussanis
f5544cae16 Deps: tools.reader 0.8.3, lein-autoexpect 1.2.1, (new) simple-check 0.5.3 2014-01-21 14:55:50 +07:00
Peter Taoussanis
f8239531da v2.5.2 2013-12-07 16:49:34 +07:00
Peter Taoussanis
4b1f024b8b v2.5.1 2013-12-03 16:46:30 +07:00
Peter Taoussanis
c130e41d58 v2.5.0 2013-11-18 14:09:03 +07:00
Peter Taoussanis
f659a237b5 Deps: Clojure 1.6.0-alpha2 (for testing), snappy-java 1.1.1-M1 (for testing), lein-ancient 0.5.4 2013-11-18 14:08:18 +07:00
Peter Taoussanis
9bd9ee55f6 Deps: snappy-java 1.1.0.1 (unused) 2013-11-08 21:50:23 +07:00
Peter Taoussanis
08e28748be v2.5.0-RC2 2013-11-07 12:48:14 +07:00
Peter Taoussanis
360e4a77bd v2.5.0-RC1 2013-11-06 20:55:59 +07:00
Peter Taoussanis
d01b10e5d6 Deps: tools.reader 0.7.10, lein-ancient 0.5.3 2013-11-06 20:55:59 +07:00
Peter Taoussanis
df4925aa3b v2.5.0-beta3 2013-11-06 13:58:55 +07:00
Peter Taoussanis
a7e9f98d44 v2.5.0-beta2 2013-10-31 13:33:21 +07:00
Peter Taoussanis
63f09f7415 v2.5.0-beta1 2013-10-24 14:01:35 +07:00
Peter Taoussanis
7c4a69893f Deps 2013-10-24 13:55:47 +07:00
Peter Taoussanis
cdf3ad736f v2.4.1 2013-10-19 18:18:31 +07:00
Peter Taoussanis
7804ca66d0 v2.4.0 2013-10-19 15:43:06 +07:00
Peter Taoussanis
9b2a1cba18 Bump test dep: snappy-java 1.0.5->1.1.0 2013-10-19 15:43:06 +07:00
Peter Taoussanis
d1700c3161 Bump dep: tools.reader 0.7.8->0.7.9 2013-10-19 15:43:06 +07:00
Peter Taoussanis
3879cf4d62 Add experimental LZMA2 compressor for higher compression ratios than Snappy 2013-10-19 15:37:38 +07:00
Peter Taoussanis
c5cc2f4637 v2.3.0 2013-10-17 17:51:06 +07:00
Peter Taoussanis
7f6f6cf741 Update lein aliases 2013-10-12 16:37:10 +07:00
Peter Taoussanis
1b27c1be7a v2.2.0 2013-10-03 21:21:59 +07:00
Peter Taoussanis
167cfae7bf Deps 2013-10-03 21:18:46 +07:00
Peter Taoussanis
b2c16a7d74 Move expectations dependency to :test profile 2013-10-03 21:01:15 +07:00
Peter Taoussanis
49fbbf270f Deps 2013-09-25 16:11:22 +07:00
Peter Taoussanis
f579f0f1a6 v2.2.0-RC1 2013-08-07 18:03:27 +07:00
James Reeves
6024a9cc31 Replace unsafe Clojure reader with safe EDN reader 2013-08-06 16:45:30 +01:00
Peter Taoussanis
bce0ea45a5 v2.1.0 2013-08-02 21:31:59 +07:00
Peter Taoussanis
d4260167e5 v2.0.0 2013-07-22 23:44:37 +07:00
Peter Taoussanis
52dea4dff8 Bump non-core deps 2013-07-09 13:26:25 +07:00
Peter Taoussanis
93ef118e80 Housekeeping 2013-07-06 15:55:59 +07:00
Peter Taoussanis
e9dcb8e54b Lein :warn-on-reflection -> :global-vars 2013-06-26 18:10:13 +07:00
Peter Taoussanis
433aed0346 Add codox lein alias 2013-06-26 17:07:51 +07:00
Peter Taoussanis
a84d3de7f6 Add before-run, after-run Expectations fns 2013-06-26 14:44:27 +07:00
Peter Taoussanis
823dd94d71 RC1, add Clojure 1.6 test 2013-06-25 14:49:24 +07:00
Peter Taoussanis
8a33f15801 Temporarily disable grease dep 2013-06-22 18:38:16 +07:00
Max Penet
fb09ebb89b try grease 0.2.1 2013-06-18 18:32:54 +02:00
Peter Taoussanis
ac3901f626 Reverse use of fast io-streams
Seemed to be causing issues in multi-JVM auto-tests. The added perf. benefit was
minor for Nippy's use case (~2-3%) - so this isn't an urgent change. Will
re-examine again later.
2013-06-18 14:08:22 +07:00
Peter Taoussanis
9a2b0a068b thaw API should throw on first non-legacy error 2013-06-18 09:49:42 +07:00
Peter Taoussanis
4326da0ae5 Add tooling API 2013-06-17 23:20:17 +07:00
Peter Taoussanis
8aa1bb3d0f Bump version (2.0.0-alpha8) 2013-06-17 15:13:14 +07:00
Peter Taoussanis
3e6b12ac11 Housekeeping for 67633d5 2013-06-17 13:54:45 +07:00
Max Penet
67633d5fd6 try non sync version of byte-array iostreams 2013-06-16 22:27:22 +02:00
Peter Taoussanis
559c73abef Fix core dump issue (important), simplify API
PROBLEM: :legacy-mode :auto/true thawing was resulting in JVM core
dumps when attempting to use Snappy to decompress encrypted data.

CAUSE: The org.iq80.snappy implementation seems to choke on the
random IV byte data being generated by the AES128 encrypter. This
may or may not be a bug (still awaiting feedback from lib's authors).

SOLUTION: We're only susceptible to this issue when trying to
decompress data that is: a) encrypted, b) being thawed in legacy mode.
In particular, we're _not_ susceptible to this issue when thawing
in non-legacy mode because in that case we have a header explicitly
warning us that the data is encrypted.

An obvious work-around, therefore, is just to disable decryption when
attempting to thaw legacy-mode data. In practice this isn't a problem
because older versions of Nippy didn't support encryption anyway.
2013-06-16 19:33:23 +07:00
Peter Taoussanis
c6b00ee90e Bump version (2.0.0-alpha6) 2013-06-16 14:07:11 +07:00
Peter Taoussanis
f706a51a4d Rework v2 header format 2013-06-14 17:49:53 +07:00
Peter Taoussanis
15dd24ac06 Add :auto legacy mode for _full_, transparent backwards-compatibility 2013-06-13 19:01:57 +07:00
Peter Taoussanis
e5a9e1f671 Add lein :bench profile & alias 2013-06-13 16:41:54 +07:00
Peter Taoussanis
56a97d240e Update README for new API 2013-06-13 16:41:54 +07:00
Peter Taoussanis
da077c6a54 Drop Clojure 1.3 support 2013-06-13 11:45:45 +07:00
Peter Taoussanis
6fe433b579 Update tests, migrate to Expectations lib 2013-06-13 11:45:44 +07:00
Peter Taoussanis
ab3209f2dc Housekeeping 2013-06-13 01:20:18 +07:00
Peter Taoussanis
9a38a12e11 Add helpful thaw exceptions 2013-06-12 15:39:30 +07:00
Peter Taoussanis
4ac2a34d7a Crypto: simplify design, add auto salting
Have decided to simplify the API even further and bring configuration down to
essentially one decision: do you want auto salting, or key caching?
2013-06-12 15:09:17 +07:00
Peter Taoussanis
3ecbc420cd Add basic crypto support (alpha) 2013-06-11 21:10:08 +07:00
Peter Taoussanis
b508561cf3 Bump version (1.2.1) 2013-06-03 13:53:07 +07:00
Peter Taoussanis
e5b8690363 Add EPL URL to project.clj 2013-06-03 13:52:45 +07:00
Peter Taoussanis
fb7022a398 Add Codox plugin to project.clj 2013-06-01 19:24:09 +07:00
Peter Taoussanis
f9a149ee1f Bump Clojure 1.5 test dependency (1.5.1) 2013-05-18 16:54:57 +07:00
Peter Taoussanis
dfc28cf739 Bump version (1.2.0) 2013-04-14 14:48:10 +07:00
Peter Taoussanis
93301850fa Bump version (1.1.0) 2013-02-05 20:42:31 +07:00
Peter Taoussanis
25b84f6488 Add Snappy library compatibility tests 2013-02-05 20:41:26 +07:00
Peter Taoussanis
eb9e828647 Bump dependency (snappy 0.3), simplify utils/compress-bytes 2013-02-05 20:24:14 +07:00
Peter Taoussanis
a1676c8063 Bump version (1.1.0-beta2) 2013-01-20 19:42:00 +07:00
Peter Taoussanis
3e178dabf3 EXPERIMENTAL: Swap Snappy implementation org.xerial.snappy/snappy-java -> org.iq80.snappy/snappy
This (native Java) implementation appears to be about as fast as
the old (JNI) implementation, but has better support across more platforms.

Going to evaluate stability on this branch for possible later merging into master.
2013-01-20 19:39:08 +07:00
Peter Taoussanis
9d1614afeb De-snapshot version 2012-12-05 15:18:00 +07:00
Peter Taoussanis
52ebdada10 Bump version (fix) 2012-12-04 13:20:08 +07:00
Peter Taoussanis
cf78be116f Bump version (1.0.0)! 2012-11-05 00:04:51 +07:00
Peter Taoussanis
20831c03a1 Bump version (minor) 2012-09-30 13:54:20 +07:00
Peter Taoussanis
855da270d1 Bump Snappy dependency (1.0.5-M3) 2012-09-28 19:57:01 +07:00
Peter Taoussanis
664ff6ce54 Bump version (minor) 2012-09-27 15:30:16 +07:00
Peter Taoussanis
677859c35e Bump Snappy dependency (1.0.5-M2)
Fixes issue: https://github.com/xerial/snappy-java/issues/6#issuecomment-8898271
2012-09-27 15:29:33 +07:00
Peter Taoussanis
731fb4cd22 Bump version (minor) 2012-09-12 00:28:27 +07:00
Peter Taoussanis
038ecc9abc Bump Snappy dependency (1.0.5-M1)
This resolves the issue affecting JDK7 on OSX: https://github.com/ptaoussanis/carmine/issues/5
2012-09-12 00:26:09 +07:00
Peter Taoussanis
bd9fb5c256 Bump version (minor) 2012-08-15 23:25:35 +07:00
Peter Taoussanis
5efd7b21ac Housekeeping 2012-08-15 23:24:44 +07:00
Peter Taoussanis
2937ce225d Update README. Bump version number (breaking). 2012-07-24 14:52:13 +07:00
Peter Taoussanis
88d0990339 Merge branch 'dev': v0.9.2. 2012-07-21 02:10:55 +07:00
Peter Taoussanis
57dd44116d Cleaned up testing config. 2012-07-17 22:24:20 +07:00
Peter Taoussanis
ff93b73983 Merge branch 'dev': v0.9.1. 2012-07-08 13:03:05 +07:00
Peter Taoussanis
53332644bb Initial structure commit. 2012-07-07 00:29:41 +07:00