- Swaps out me.raynes/fs for clj-commons/fs (thanks @conormcd)
- Fixes bad declared dependencies in 0.4.20
- Fixes reflection warnings
- Added
vcr-clj.core/cassette-state
, a function that tells you if you're currently recording or replaying.
- Upgrade deps, fixing compatibility issues with newer JVMs
- Supports customizing serialization and deserialization of cassettes (see README for details)
- Better error messages when specs are accidentally omitted from
vcr-clj.core
calls
- Changes default cassette file extension from .clj to .edn; old files should still work.
- Fixed bug that manifests when using connection managers, due to the input stream not being closed (would hang when recording)
- Fixed bug that affects clj-http 3.9 (maybe also 3.8?) due to the new
:http-client
key in responses
- Add backwards-compatible support (with a warning) for the old cassette format so users upgrading from <= 0.4.12 won't be forced to re-record.
- Start pretty-printing cassettes with the
puget library.
- also stops extending
print-method
for byte arrays which was a terrible idea
- also stops extending
- Write
:recorded-at
key to the cassette - Upgrade the
fs
library - Cassette data format changed slightly: #vcr-clj/clj-http-header-map values are now maps instead of sequences
Add clj-http.vcr-clj/default-spec
.
Adds an :arg-transformer
option, similar to :return-transformer
.
Fix #16, which caused problems when trying to record calls made on other threads.
Fixed #19, adding a new syntax for specifying options in
vcr-clj.clj-http/with-cassette
.
Fixed #18, which caused problems for clj-http usage when selectively recording.
Fix #14: don't record self-calls, or any nested calls
This is particularly useful for newer versions of clj-http where the
request
function has a self-calling arity.
Allow namespaced keywords (#12).
Serialize long byte arrays on multiple lines (#10).
Fixed another bug #9 similar to the one in the previous release.
Fixed bug #8, in which empty http bodies didn't work.
Same as 0.4.3, but for real this time.
Fix compilation warnings from clojure 1.7 w.r.t. clojure.core/update
.
Include the arg key when no recordings are found.
Release. 2015-02-14
.
Fixed issues #2 and #4, related to newer versions of clj-http and its special HeaderMap type.
Released 2014-08-26
.
No longer prints by default during test runs, and does not use a
data_readers.clj
file.