vcr 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3bd06000e811a9f066f1d73a5d955bbb4ad3733e
4
- data.tar.gz: 2784446a0155cfef8d7389208213b5b86aad1b8e
3
+ metadata.gz: 1b4d30cbef974c49ed29dee25cb2d8024049148a
4
+ data.tar.gz: 32d2c73128d06279593abf6ba8c5168028eeec2a
5
5
  SHA512:
6
- metadata.gz: cb7de4b059e58371b9669c4bf72c3c5f806594e5f9cbd614ed5e41bbbd40d30f38a2bf5e2e079da0b139989aaca57080134d736f8680ff0344191f47a2ceba45
7
- data.tar.gz: 1cf77c3a9198f1995721acbabd3470f2735d7e682280f218bdc46385342923beb6956080522e37761132f60ea1d4b67e4a5cfac5bd33d6471df22105a60cb766
6
+ metadata.gz: 07428a8f9ad5ffa5a0fa63617c9ca8f285fbe5ddf8a6d6bdee9eeebf972cce481b17c1036abee539dd7d255ee4e877d2dc4152f7f6aae6d9849281c16d3e13bc
7
+ data.tar.gz: 95438bbea501e8ee6003f65a8bc1cbf9d3b991d44dbac7db038b7a4317f05956450ff0b438e19fc194c53609807dcc6a88cb176d4fb5cdb7a1a20a59a98b189b
@@ -0,0 +1,710 @@
1
+ Changelog
2
+ =========
3
+
4
+ ## 3.0.3
5
+ [Full Changelog](https://github.com/vcr/vcr/compare/v3.0.2...v3.0.3)
6
+
7
+ Bug Fixes:
8
+
9
+ * rebuild Gem with ruby 2.2 to avoid rubygems issue
10
+
11
+
12
+ ## 3.0.2
13
+ [Full Changelog](https://github.com/vcr/vcr/compare/v3.0.1...v3.0.2)
14
+
15
+ Bug Fixes:
16
+
17
+ * Support WebMock 2.0.0 by calling `WebMock.enable!` when the library hook is enabled. (Tony Miller)
18
+ * fix webmock thread safety for with_global_hook_disabled (Jan Berdajs)
19
+
20
+ ## 3.0.1
21
+
22
+ [Full Changelog](https://github.com/vcr/vcr/compare/v3.0.0...v3.0.1)
23
+
24
+ * [Adding] Use the specs scope as the cassette name when the description is empty (Philipp Tessenow)
25
+ * [Fixing] make ignore_cassettes a boolean again to prevent nil.dup crashes (Harald Sitter)
26
+ * [Fixing] Fix issue #517 Cucumber scenario outlines use incorrect cassette (Jan Berdajs)
27
+ * [Fixing] fix(persisters): use binary mode in read/write (KARASZI István)
28
+
29
+
30
+ ## 3.0.0
31
+
32
+ [Full Changelog](https://github.com/vcr/vcr/compare/v2.9.3...v3.0.0)
33
+
34
+ * [Breaking] test support for 1.8.7, 1.9.2, 2.0.0, 2.1.0, ree, jruby 1.8mode, rbx 1.8mode
35
+ * [Breaking] the possible return value `VCR.configuration`, it now might return `nil`
36
+ * [Breaking] the possible return value `VCR.cassette_serializers`, it now might return `nil`
37
+ * [Breaking] the possible return value `VCR.cassette_persisters`, it now might return `nil`
38
+ * [Breaking] the possible return value `VCR.library_hooks`, it now might return `nil`
39
+ * [Breaking] the possible return value `VCR.request_ignorer`, it now might return `nil`
40
+ * [Breaking] the possible return value `VCR.request_matchers`, it now might return `nil`
41
+ * [Breaking] the threadness of VCR, by using `Mutex`
42
+ * [Adding] a new `:compressed` value for serializers that stores in gzipped files
43
+ * [Adding] support for farady's `RackBuilder` if it exists
44
+ * [Changing] the cucumber scenario naming mechanism
45
+
46
+
47
+ ## 2.9.3 (September 7, 2014)
48
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.9.2...v2.9.3)
49
+
50
+ Bug Fixes:
51
+
52
+ * Fix `VCR::Cassette#serializable_hash` so that it does not allow `before_record` hooks to apply mutations to existing HTTPInteraction instances. (Myron Marston)
53
+
54
+ ## 2.9.2 (May 27, 2014)
55
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.9.1...v2.9.2)
56
+
57
+ Bug Fixes:
58
+
59
+ * Fix RSpec metadata integration once more -- we changed it a bit more in response to user feedback. (Myron Marston)
60
+
61
+ ## 2.9.1 (May 23, 2014)
62
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.9.0...v2.9.1)
63
+
64
+ Bug Fixes:
65
+
66
+ * Fix RSpec metadata integration to not trigger deprecation warnings with RSpec 3.0.0.rc1+. (Janko Marohnić)
67
+
68
+ ## 2.9.0 (March 27, 2014)
69
+
70
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.8.0...v2.9.0)
71
+
72
+ Enhancements:
73
+
74
+ * Update version checking to only assert that a given library is >= a minimum version. (Ryan Foster)
75
+ * Explicitly support the latest Excon release (0.32). (Ryan Foster)
76
+ * Explicitly support the latest Excon release (0.31). (Michiel de Mare)
77
+ * Explicitly support the latest Webmock releases (1.16, 1.17). (Ryan Foster, Lawson Kurtz)
78
+
79
+ ## 2.8.0 (November 23, 2013)
80
+
81
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.7.0...v2.8.0)
82
+
83
+ Enhancements:
84
+
85
+ * Explicitly support the latest Excon release (0.29). (Myron Marston)
86
+ * Add `:body_as_json` request matcher. (Mike Dalton)
87
+ * Include the body in the `UnhandledHTTPRequestError` message when matching on `:body` to help identify the request. (Chris Gunther)
88
+
89
+ Bug Fixes:
90
+
91
+ * Fix Excon adapter so that it properly records responses even when a middleware raises an error (such as via the `:expects` Excon option). Previously, the order `response_call` was invoked on Excon middleware caused VCR's recording ot be skipped when an error was raised by another middleware. To fix this, we have split up VCR Excon middleware into two middlewares that we can insert into the stack at the appropriate spots. Note that to get this to work, Excon < 0.25.2 is no longer supported. (Myron Marston)
92
+ * Fix Excon adapter so that we pass it a dup of the body string rather than the body string itself, since Excon has code paths that will mutate the stubbed response string we give it, wreaking confusing havoc. (Myron Marston)
93
+ * Fix rspec metadata implementation so that it does not emit warnings on RSpec 2.99. (Herman Verschooten)
94
+
95
+ ## 2.7.0 (October 31, 2013)
96
+
97
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.6.0...v2.7.0)
98
+
99
+ Enhancements:
100
+
101
+ * Explicitly support the latest WebMock releases (1.14 and 1.15). (Eduardo Maia, Johannes Würbach)
102
+ * Explicitly support the latest Excon releases (0.27 and 0.28). (Myron Marston)
103
+ * Add support for Excon unix sockets by leveraging its new `::Excon::Utils.request_uri` method. (Todd Lunter)
104
+ * Reword the "it may not work with this version" warning message so the intent is more clear (Myron Marston).
105
+ * Support post/put bodies being specified as a hash when using Typhoeus by leveraging it's new `encoded_body` API. (Myron Marston, Hans Hasselberg)
106
+
107
+ Bug Fixes:
108
+
109
+ * Fix detection of encoding errors for MultiJson 1.8.1+. (Myron Marston).
110
+ * Fix file name sanitization to better handle paths that have a dot in them (Rob Hanlon, Myron Marston).
111
+ * Fix Faraday middleware so that it works properly when another adapter is exclusively enabled (Myron Marston).
112
+
113
+ ## 2.6.0 (September 25, 2013)
114
+
115
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.5.0...v2.6.0)
116
+
117
+ Enhancements:
118
+
119
+ * Add `VCR::Cassette#originally_recorded_at` for use when freezing time based on when the cassette was recorded. (Myron Marston)
120
+ * Improve the `:allow_unused_http_interactions => false` option so that it does not raise an error when there are unused interactions due to the test failing on its own; otherwise, it could raise an error and silence the original test failure. (Myron Marston)
121
+ * Improve perf when no logger is used by having it short-circuit and not bother formatting a logger message that won't be printed, anyway (Luan Santos and Matt Parker).
122
+
123
+ Bug Fixes:
124
+
125
+ * Fix confusing errors that could result when using the YAML serializer if the client code added some state (e.g. via an extension module) onto a request or response body. (Myron Marston)
126
+ * Ensure response body is always recorded when hooking into `:excon`, even when using a `:response_block` and an unexpected status is returned. Excon doesn't invoke the `:response_block` in this case, requiring special handling. (James Bence)
127
+ * Explicitly support the latest WebMock (1.13). (Ron Smith)
128
+ * Explicitly support the latest Excon (0.26). (Myron Marston)
129
+ * Fix detection of encoding errors to handle `ArgumentError` that is raised by recent versions of `MultiJson`. (Myron Marston)
130
+ * Fix Excon adapter so that it allows VCR to play nicely with manual Excon stubs (using Excon's `Excon.stub` API). (Myron Marston)
131
+ * Fix Typhoeus adapter so that it sets `effective_url` properly when the `:followlocation` option is used and a redirect is followed. (Myron Marston)
132
+
133
+ ## 2.5.0 (May 18, 2013)
134
+
135
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.4.0...v2.5.0)
136
+
137
+ Bug Fixes:
138
+
139
+ * Fix `around_http_request` so that it does not raise confusing errors when requests are made in multiple threads.
140
+ * Fix `configure_rspec_metadata!` so that you can safely call it more than once
141
+
142
+ Enhancements:
143
+
144
+ * Relax WebMock version checker to allow WebMock 1.10 and 1.11 without issuing warnings (Johannes Würbach and Myron Marston).
145
+ * Update Excon integration to take advantage of new Excon middleware architecture. This is a more robust way to hook into Excon and will be less prone to breakage due to internal Excon changes (Myron Marston).
146
+
147
+ Deprecations:
148
+
149
+ * Deprecate support for Typhoeus < 0.5. It will be removed in VCR 3.0 (Sheel Choksi).
150
+
151
+ ## 2.4.0 (January 4, 2013)
152
+
153
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.3.0...v2.4.0)
154
+
155
+ Enhancements:
156
+
157
+ * Add `:query` request matcher. The new `query_parser` config option can bet set to change how the query is parsed. Thanks to [Nathaniel Bibler](https://github.com/nbibler) for implementing this.
158
+
159
+ Bug Fixes:
160
+
161
+ * Fix previously recorded requests not matching when using the URIWithoutParams builtin matcher. In the case where the original request was recorded without parameters and subsequent requests filter out all parameters, the subsequent requests were failing to match the originally recorded request. Thanks to [Dmitry Jemerov](https://github.com/yole) for reporting the issue and [Nathaniel Bibler](https://github.com/nbibler) for implementing the fix.
162
+ * Set `effective_url` on Typhoeus response when playing back. Thanks to [Shay Frendt](https://github.com/shayfrendt) and [Ryan Castillo](https://github.com/rmcastil) for providing the fix and corresponding test.
163
+
164
+ Deprecations:
165
+
166
+ * Deprecate the `use_vcr_cassette` macro for RSpec. It has confusing semantics (e.g. calling it multiple times in the same example group can cause problems and it uses the same cassette for all examples in a group even though they may make different HTTP requests) and VCR's integration with RSpec metadata works much better. Thanks to [Austen Ito](https://github.com/austenito) for implementing this.
167
+ * Deprecate integration with FakeWeb. FakeWeb appears to be no longer maintained (0 commits in 2012 and it has pull requests that are 2 years old) and WebMock is a far better option. Thanks to [Steve Faulkner](https://github.com/southpolesteve) for implementing this.
168
+
169
+ ## 2.3.0 (October 29, 2012)
170
+
171
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.2.5...v2.3.0)
172
+
173
+ Enhancements:
174
+
175
+ * Add `uri_parser` configuration option. It defaults to `URI` but can be set to something like `Addressable::URI` to handle non-standard URIs that stdlib `URI` doesn't handle. Thanks to [Ryan Burrows](https://github.com/rhburrows) for contributing this feature.
176
+ * Add support for Typhoeus 0.5. Thanks to [Hans Hasselberg](https://github.com/i0rek) for making the needed changes.
177
+
178
+ Bug Fixes:
179
+
180
+ * Fix `:use_scenario_name` cucumber tag option so that it only uses the first line of the scenario name. Scenarios can include a long preamble that Cucumber includes as part of the scenario name. Thanks to [Pascal Van Hecke](https://github.com/pascalvanhecke) for providing this fix.
181
+
182
+ ## 2.2.5 (September 7, 2012)
183
+
184
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.2.4...v2.2.5)
185
+
186
+ Enhancements:
187
+
188
+ * Include note about `debug_logger` option in error message for unhandled HTTP requests. Thanks to [Jacob Green](https://github.com/Jacobkg) for implementing this.
189
+
190
+ Bug Fixes:
191
+
192
+ * Fix another edge case bug on the excon adapter that was causing it to mis-record in certain situations that used Excon's :expects option.
193
+ * Fix the `:use_scenario_name` cucumber tags option to work properly with scenario outlines. Thanks to [Joe Nelson](https://github.com/begriffs) and [Stephen Anderson](https://github.com/bendycode) for the initial bug fixes and [Jacob Green](https://github.com/Jacobkg) for some further improvements.
194
+
195
+ ## 2.2.4 (July 19, 2012)
196
+
197
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.2.3...v2.2.4)
198
+
199
+ Bug Fixes:
200
+
201
+ * Fix excon so real requests are made with a connection constructed with same args as the original connection.
202
+
203
+ ## 2.2.3 (July 9, 2012)
204
+
205
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.2.2...v2.2.3)
206
+
207
+ Bug Fixes:
208
+
209
+ * Fix FakeWeb library hook so that it properly handles the case where multiple requests are made using the same Net::HTTP request object. Previously, a `NoMethodError` was raised. Thanks to [Jacob Green](https://github.com/Jacobkg) for helping to troubleshoot this bug!
210
+
211
+ ## 2.2.2 (June 15, 2012)
212
+
213
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.2.1...v2.2.2)
214
+
215
+ Bug Fixes:
216
+
217
+ * Fix `VCR.eject_cassette` so that it always pops a cassette off the cassette stack even if an error occurs while ejecting the cassette. This is important to keep things consistent, so that a cassette for one test doesn't remain in place for another test.
218
+
219
+ ## 2.2.1 (June 13, 2012)
220
+
221
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.2.0...v2.2.1)
222
+
223
+ Bug Fixes:
224
+
225
+ * Fix matcher generated by `VCR.request_matchers.uri_without_params` so that it handles URIs w/o query params properly. Previously, it would allow any two URIs w/o query params to match, even if the hosts or paths differed.
226
+
227
+ ## 2.2.0 (May 31, 2012)
228
+
229
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.1.1...v2.2.0)
230
+
231
+ Enhancements:
232
+
233
+ * Add new `:persist_with` cassette option. It allows you to provide a customized persistence implementation so you can persist it to something other than disk (i.e. a key-value store or a database). Thanks to [Chris Le](https://github.com/chrisle) for the idea and help with the implementation.
234
+ * Allow requests to be stubbed by external libraries (e.g. WebMock, FakeWeb or Typhoeus) without needing to turn VCR off.
235
+ * Add new `:allow_unused_http_interactions` cassette option. When set to false, an error will be raised when a cassette is ejected and there are remaining unused HTTP interactions. Thanks to [Mattias Putman](https://github.com/challengee) for the idea and initial implementation.
236
+
237
+ Bug Fixes:
238
+
239
+ * Fix `after_http_request` to handle symbol request predicate filters (e.g. `:ignored?`, `:stubbed?`, `:recordable?`, `:unhandled?`, `:real?`) properly. Previously using one of these would raise an ArgumentError. Thanks to [playupchris](https://github.com/playupchris) for reporting the bug and providing a fix.
240
+ * Fix FakeWeb hook so that it no longer breaks `FakeWeb.allow_net_connect?` with arguments. Thanks to [Ingemar](https://github.com/ingemar) for reporting the bug and providing a fix.
241
+ * Fix WebMock hook so that it no longer breaks `WebMock.net_connect_allowed?` with arguments. Thanks to [Gordon Wilson](https://github.com/gordoncww) for reporting the bug and providing a fix.
242
+ * Print a warning when VCR is used with a poorly behaved Faraday connection stack that has a middleware after the HTTP adapter. VCR may work improperly in this case.
243
+ * Raise an error if a response object is recorded with a non-string body. This fails early and indicates the problem rather than failing later with a strange error.
244
+ * Fix `filter_sensitive_data`/`define_cassette_placeholder` so that they handle non-strings gracefully (e.g. the port number as a Fixnum).
245
+ * Gracefully handle Faraday connection stacks that do not explicitly specify an HTTP adapter. Thanks to [Patrick Roby](https://github.com/proby) for reporting the bug.
246
+ * Work around a bug in WebMock's em-http-request adapter that prevented VCR from working when using the `:redirects` option with em-http-request. This change is just a work around. It fixes the main problem, but some features (such as the http request hooks) may not work properly for this case. The bug will ultimately need to be [fixed in WebMock](https://github.com/bblimke/webmock/pull/185). Thanks to [Mark Abramov](https://github.com/markiz) for reporting the bug and providing a great example test case.
247
+ * Fix bug in handling of Faraday requests with multipart uploads. Thanks to [Tyler Hunt](https://github.com/tylerhunt) for reporting and fixing the bug.
248
+
249
+ ## 2.1.1 (April 24, 2012)
250
+
251
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.1.0...v2.1.1)
252
+
253
+ * Fix `:use_scenario_name` cucumber tag option so that it works properly with multiple scenarios. Thanks to [Brent Snook](https://github.com/brentsnook) for reporting this bug.
254
+ * Fix `:use_scenario_name` cucumber tag option so that it only uses the first line of the scenario feature name. Cucumber includes all of the pre-amble text in the feature name but that can create a ridiculously long cassette name. Thanks to [Brent Snook](https://github.com/brentsnook) for reporting this bug.
255
+
256
+ ## 2.1.0 (April 19, 2012)
257
+
258
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.0.1...v.2.1.0)
259
+
260
+ * Add new `:use_scenario_name` option to the cucumber tags API. This allows you to use a generic tag (such as `@vcr`) and have the cassettes named based on the feature and scenario rather than based on the tag. Thanks to [Omer Rauchwerger](https://github.com/rauchy) for the implementation and [Chad Jolly](https://github.com/cjolly) for the initial idea and feedback.
261
+ * Add new `:decode_compressed_response` cassette option. When set to true, VCR will decompress a gzipped or deflated response before recording the cassette, in order to make it more human readable. Thanks to [Mislav Marohnić](https://github.com/mislav) for the idea and implementation.
262
+
263
+ ## 2.0.1 (March 30, 2012)
264
+
265
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.0.0...v2.0.1)
266
+
267
+ * Fix encoding logic to not attempt to encode the request or response body on deserialization if there is no encoding specified. This should allow cassettes recorded on 1.8 to work on 1.9. Thanks to [Kevin Menard](https://github.com/nirvdrum) for reporting the bug.
268
+ * Fix Excon adapter to fix a bug with Excon 0.11 and greater. When you passed a block to an excon request, the response body would not be recorded.
269
+ * Fix Faraday middleware so that it plays back parallel requests properly. Thanks to [Dave Weiser](https://github.com/davidann) for reporting this bug.
270
+
271
+ ## 2.0.0 (March 2, 2012)
272
+
273
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.0.0.rc2...v2.0.0)
274
+
275
+ * Add some additional logged events for the `debug_logger`.
276
+ * Don't worry about stripping the standard port from the request URI on playback. The standard port only needs to be stripped during recording; for playback, it will have already been stripped. This allows people to use the `filter_sensitive_data` option in a way that changes the URI; before this change, doing so could result in `URI::InvalidURIError`. Thanks to [Patrick Schmitz](https://github.com/bullfight) and [Dan Thompson](https://github.com/danthompson) for reporting the issue and helping diagnose it.
277
+ * Relax Excon dependency to include newly released 0.10.
278
+ * Relax Faraday dependency to include 0.8.
279
+ * Fix Faraday library hook so that it always does the version checking.
280
+
281
+ ## 2.0.0 RC 2 (February 23, 2012)
282
+
283
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.0.0.rc1...v2.0.0.rc2)
284
+
285
+ ## New Features
286
+ * Add YARD documentation for the public API. Thanks to [Ben Oakes](https://github.com/benjaminoakes) for help with setting this up.
287
+ * Fix `around_http_request` hook so that `request.proceed` returns the response.
288
+ * Resolve `cassette_library_dir` to an absolute path. Thanks to [Nate Clark](https://github.com/heythisisnate) for the suggestion.
289
+ * Add to the `VCR::Request` API in `before_http_request` and `after_http_request` hooks so the request has query methods like `#real?`, `#recordable?`, `#ignored?`, etc. Thanks to [Nate Clark](https://github.com/heythisisnate) for the idea.
290
+ * Allow filters (objects that respond to `#to_proc`) to be passed to `before_http_request` and `after_http_request`. This allows an API like `before_http_request(:real?)` or `after_http_request(lambda { |req| req.uri =~ /amazon/ })`.
291
+ * Add `debug_logger` config option. This can be used to troubleshoot what VCR is doing.
292
+ * Update WebMock to version (1.8.0) that supports Excon stubbing.
293
+ * Store the encoding with the request & response bodies in the serialized cassette.
294
+ * Add new `preserve_exact_body_bytes` option that base64 encodes the request or response body in order to preserve the bytes exactly. Thanks to [Jeff Pollard](https://github.com/Fluxx) for help designing this feature and for code reviewing it.
295
+ * Update to and require latest Excon (0.9.6).
296
+
297
+ ## Bug Fixes
298
+ * Fix rspec metadata integration to allow the cassette name to be set at the example group level and apply to multiple examples. Thanks to [Paul Russell](https://github.com/pauljamesrussell) for reporting the bug.
299
+ * Add missing `require 'vcr/version'` to the cassette migrator task. If you tried the migration rake task with 2.0.0.rc1 and got a `NoMethodError`, it should be fixed now.
300
+ * Update Excon dependency to 0.9.5; 0.9.5 includes an important bug fix needed by VCR.
301
+ * Ensure the excon retry limit is honored properly.
302
+ * Ensure that the correct error class is raised by excon when stubbing an unexpected status.
303
+ * Fix FakeWeb library hook so that it records the request body when using `Net::HTTP.post_form`. Thanks to [Retistic](https://github.com/Retistic) for reporting the bug.
304
+
305
+ ## 2.0.0 RC 1 (December 8, 2011)
306
+
307
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.0.0.beta2...v2.0.0.rc1)
308
+
309
+ * Add Faraday hook that automatically inserts the VCR middleware so that you can use VCR with Faraday without needing to insert the middleware yourself. Use `VCR.configure { |c| c.hook_into :faraday }`.
310
+ * Add `ignore_request` config option. Pass it a block that returns true if the given request should be ignored.
311
+ * Improve the unhandled HTTP request error message so that it lists different options for how to get VCR to handle it.
312
+ * Add {before,after,around}_http_request hooks.
313
+ * Updated WebMock integration and bumped up required version to 1.7.8.
314
+ * Test against latest Excon (0.7.9) and confirm that VCR works fine with it.
315
+ * Add define_cassette_placeholder as an alias for filter_sensitive_data.
316
+ * Fix Faraday middleware so that it works properly when you use parallel requests.
317
+ * Integrate VCR with RSpec metadata. Thanks to [Ryan Bates](https://github.com/ryanb) for the great idea.
318
+
319
+ ## 2.0.0 Beta 2 (November 6, 2011)
320
+
321
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.0.0.beta1...v2.0.0.beta2)
322
+
323
+ * Update to (and require) Typhoeus 0.3.2.
324
+ * Fix a bug with `VCR.request_matchers.uri_without_param(:some_param)` so that it properly handles URIs that have no parameters. Thanks to [Sathya Sekaran](https://github.com/sfsekaran) for this fix.
325
+ * The cassette format has changed significantly:
326
+ * The HTTPInteractions are no longer normalized in a lossy fashion. VCR 1.x converted all HTTP header keys to lowercase. VCR 2.0 no longer does this because it is impossible to know what the original casing was (i.e. given `etag`, was it originally `etag`, `ETag` or `Etag`?). Also, some HTTP libraries add particular request headers to every request, and these used to be ignored. The aren't anymore.
327
+ * The ruby struct objects are not directly serialized anymore. Instead, only primitives (hashes, arrays, strings, integers) are serialized. This allows swappable serializers and will allow other tools to read and use a VCR cassette.
328
+ * Add new serializer API. VCR ships with YAML, Syck, Psych and JSON serializers, and it is very simple to implement your own. The serializer can be configured on a per-cassette basis.
329
+ * New `vcr:migrate_cassettes DIR=path/to/cassettes` rake task assists with upgrading from VCR 1.x to 2.0.
330
+ * Cassettes now contain a `recorded_with` attribute. This should allow the cassette structure to be updated more easily in the future as the version number provides a means for easily migrating cassettes.
331
+ * Add `recorded_at` to data serialized with an HTTPInteraction. This allows the `:re_record_interval` cassette option to work more accurately and no longer rely on the file modification time.
332
+
333
+ Note that VCR 1.x cassettes cannot be used with VCR 2.0. See the
334
+ upgrade notes for more info.
335
+
336
+ ## 2.0.0 Beta 1 (October 8, 2011)
337
+
338
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.11.3...v2.0.0.beta1)
339
+
340
+ ### Changed
341
+
342
+ * Previously, the last matching response in a cassette would repeatedly playback if the same request kept being made. This is no longer the case.
343
+ * The Faraday middleware has been rewritten.
344
+ * You no longer need to configure `stub_with :faraday` to use it.
345
+ * It has been updated to work in parallel mode.
346
+ * It no longer accepts a block and uses that to determine the cassette. Instead, use `VCR.use_cassette` just like you would with FakeWeb or WebMock.
347
+
348
+ ### Added
349
+
350
+ * Allow any callable (an object that responds to #call, such as a lambda) to be used as a request matcher. Thanks to [Avdi Grimm](https://github.com/avdi) for the idea.
351
+ * Add ability to register custom request matchers.
352
+ * Add `VCR.request_matchers.uri_without_param(:some_param)` to generate a request matcher that matches on URI but ignores the named parameter.
353
+ * New `:allow_playback_repeats` cassette option preserves the old playback repeat behavior. Thanks to [Avdi Grimm](https://github.com/avdi) for the idea.
354
+ * New `:exclusive` cassette option allows a cassette to be exclusively used rather than keeping the existing one active as a fallback. Thanks to [Avdi Grimm](https://github.com/avdi) for the idea.
355
+
356
+ ### Removed
357
+
358
+ * Removed support for Ruby 1.8.6 and 1.9.1.
359
+ * Removed lots of old deprecated APIs.
360
+ * Removed support for manually changing the URI in a cassette to a regex.
361
+
362
+ ### Deprecated
363
+
364
+ * Deprecated `VCR.config` in favor of `VCR.configure`.
365
+ * Deprecated `VCR::Config` singleton module in favor of `VCR::Configuration` class. The current configuration instance can be accessed via `VCR.configuration`.
366
+ * Deprecated `stub_with` in favor of `hook_into`. The stubbing adapters have been completely rewritten and are no longer an implementation of the adapter design pattern. Instead they simply use the named library to globally hook into every HTTP request.
367
+
368
+ ## 1.11.3 (August 31, 2011)
369
+
370
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.11.2...v1.11.3)
371
+
372
+ * Fix cassette serialization so that it does not include extra `ignored` instance variable.
373
+
374
+ ## 1.11.2 (August 28, 2011)
375
+
376
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.11.1...v1.11.2)
377
+
378
+ * Updated rake, cucumber and aruba dev dependencies to latest releases.
379
+ * Fix all warnings originating from VCR. VCR is now warning-free!
380
+
381
+ ## 1.11.1 (August 18, 2011)
382
+
383
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.11.0...v1.11.1)
384
+
385
+ * Yanked 1.11.0 and rebuilt gem on 1.8.7 to deal with syck/psych incompatibilties in gemspec.
386
+
387
+ ## 1.11.0 (August 18, 2011)
388
+
389
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.10.3...v1.11.0)
390
+
391
+ * Updates to work with WebMock 1.7.0.
392
+
393
+ ## 1.10.3 (July 21, 2011)
394
+
395
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.10.2...v1.10.3)
396
+
397
+ * Fix `:update_content_length_header` option so no error is raised if a response body is nil. Bug reported by [jg](https://github.com/jg).
398
+
399
+ ## 1.10.2 (July 16, 2011)
400
+
401
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.10.1...v1.10.2)
402
+
403
+ * Yanked 1.10.1 and rebuilt gem on 1.8.7 to deal with syck/psych incompatibilties in gemspec.
404
+
405
+ ## 1.10.1 (July 16, 2011)
406
+
407
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.10.0...v1.10.1)
408
+
409
+ * Fix typo in error message. Fix provided by [Bradley](https://github.com/bradleyisotope).
410
+ * Fix excon adapter to properly handle queries specified as a hash.
411
+ * Fix excon adapter to stub a response with a hash as excon expects. Fix provided by [Wesley Beary](https://github.com/geemus).
412
+ * Fix excon adapter so that it records a response even when excon raises an error due to an unexpected response.
413
+
414
+ ## 1.10.0 (May 18, 2011)
415
+
416
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.9.0...v1.10.0)
417
+
418
+ * Fix header normalization so that it properly handles nested arrays and non-string values.
419
+ * Add cucumber scenario documenting how VCR sanitizes cassette names to "normal" file names (i.e. only alphanumerics, no spaces).
420
+ * Add `:ignore_cassettes` option to `VCR.turn_off!`. This causes cassette insertions to be ignored rather than to trigger an error. Patch provided by [Justin Smestad](https://github.com/jsmestad).
421
+ * Fix rack middleware to make it threadsafe.
422
+ * Update to latest RSpec (rspec 2.6).
423
+
424
+ ## 1.9.0 (April 14, 2011)
425
+
426
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.8.0...v1.9.0)
427
+
428
+ * Add support for [Excon](https://github.com/geemus/excon).
429
+
430
+ ## 1.8.0 (March 31, 2011)
431
+
432
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.7.2...v1.8.0)
433
+
434
+ * Updated Faraday middleware to work with newly released Faraday 0.6.0.
435
+
436
+ ## 1.7.2 (March 26, 2011)
437
+
438
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.7.1...v1.7.2)
439
+
440
+ * Fixed Typhoeus adapter so headers are returned in the same form during playback as they would be without VCR. Bug reported by [Avdi Grimm](https://github.com/avdi).
441
+ * Fixed Faraday adapter so it treats response headers in the same way Faraday itself does (i.e. with lowercase keys).
442
+
443
+ ## 1.7.1 (March 19, 2011)
444
+
445
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.7.0...v1.7.1)
446
+
447
+ * Fix Faraday adapter so that it properly normalizes query parameters in the same way that Faraday itself does.
448
+
449
+ ## 1.7.0 (March 1, 2011)
450
+
451
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.6.0...v1.7.0)
452
+
453
+ * Use Psych for YAML serialization/deserialization when it is available. Syck, Ruby's old YAML engine, will remove whitespace from some strings. Bug reported by [Robert Poor](https://github.com/rdpoor).
454
+ * Add new `:update_content_length_header` cassette option. The option will ensure the `content-length` header value matches the actual response body length.
455
+ * Add new `:once` record mode. It operates like `:new_episodes` except when the cassette file already exists, in which case it causes new requests to raise an error. Feature suggested by [Jamie Cobbett](https://github.com/jamiecobbett).
456
+ * Made `:once` the default record mode.
457
+ * Add new `filter_sensitive_data` configuration option. Feature suggested by [Nathaniel Bibler](https://github.com/nbibler).
458
+ * Commit to [Semantic Versioning](http://semver.org/). The cucumber features document the public API for the purposes of semver.
459
+ * Add support for CI builds using [travis-ci](http://travis-ci.org/myronmarston/vcr).
460
+ * Add support for running tests through `gem test vcr`. Visit [test.rubygems.org](http://test.rubygems.org/gems/vcr) to see the results.
461
+ * Fix cucumber support to use separate `Before` & `After` hooks rather than a single `Around` hook because of a bug in cucumber that prevents background steps from running within the `Around` hook.
462
+
463
+ ## 1.6.0 (February 3, 2011)
464
+
465
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.5.1...v1.6.0)
466
+
467
+ * Add new `ignore_hosts` configuration option that allows you to ignore any host (not just localhost aliases, as the `ignore_localhost` option works). Feature suggested by [Claudio Poli](https://github.com/masterkain).
468
+ * Upgraded to the latest Typhoeus (0.2.1).
469
+ * General code clean up and refactoring.
470
+
471
+ ## 1.5.1 (January 12, 2011)
472
+
473
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.5.0...v1.5.1)
474
+
475
+ * Fix response and request serialization so that the headers are raw strings. This fixes intermittent YAML seg faults for paperclip uploads to S3. Bug reported by [Rob Slifka](https://github.com/rslifka).
476
+
477
+ ## 1.5.0 (January 12, 2011)
478
+
479
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.4.0...v1.5.0)
480
+
481
+ * Fix VCR::Cassette so it does not raise an error when a cassette file is empty. Bug reported and fixed by [Karl Baum](https://github.com/kbaum).
482
+ * Lots of code cleanup.
483
+ * Fix the stubbing adapters so that they use the cassette instance rather than the cassette name to create and restore checkpoints.
484
+ * Raise an appropriate error when a nested cassette is inserted with the same name as a cassette that is already in the stack (VCR's design doesn't allow this and you would get weird errors later on).
485
+ * Raise an appropriate error when restoring a stubs checkpoint if the checkpoint cannot be found.
486
+ * Add `before_record` and `before_playback` hooks. Idea and initial implementation by [Oliver Searle-Barnes](https://github.com/opsb); futher suggestions, testing and feedback by [Nathaniel Bibler](https://github.com/nbibler).
487
+
488
+ ## 1.4.0 (December 3, 2010)
489
+
490
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.3.3...v1.4.0)
491
+
492
+ * Added support for making HTTP requests without a cassette (i.e. if you don't want to use VCR for all of your test suite). There are a few ways to enable this:
493
+ * In your `VCR.config` block, set `allow_http_connections_when_no_cassette` to true to allow HTTP requests without a cassette.
494
+ * You can temporarily turn off VCR using `VCR.turned_off { ... }`.
495
+ * You can toggle VCR off and on with `VCR.turn_off!` and `VCR.turn_on!`.
496
+ * Fixed bug with `ignore_localhost` config option. Previously, an error would be raised if it was set before the `stub_with` option.
497
+ * Added VCR::Middleware::Rack (see features/middleware/rack.feature for usage).
498
+ * Added support for Faraday (see features/middleware/faraday.feature for usage).
499
+
500
+ ## 1.3.3 (November 21, 2010)
501
+
502
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.3.2...v1.3.3)
503
+
504
+ * In specs, hit a local sinatra server rather than example.com. This makes the specs faster and removes an external dependency. The specs can pass without being online!
505
+ * Raise an explicit error when the http stubbing library is not configured (rather than letting the user get a confusing error later).
506
+ * Test against the latest WebMock release (1.6.1) (no changes required).
507
+ * Fix a few cucumber scenarios so they pass on rubinius and jruby.
508
+
509
+ ## 1.3.2 (November 16, 2010)
510
+
511
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.3.1...v1.3.2)
512
+
513
+ * Fix serialized structs so that they are normalized andthey will be the same regardless of which HTTP library made the request.
514
+ * Status "OK " => "OK"
515
+ * Body '' => nil
516
+ * Headers {} => nil
517
+ * Remove extraneous headers added by the HTTP lib (i.e. Typhoeus user agent)
518
+ * Rewrite cucumber features in a more documentation-oriented style.
519
+
520
+ ## 1.3.1 (November 11, 2010)
521
+
522
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.3.0...v1.3.1)
523
+
524
+ * Update WebMock adapter to work with (and require) newly released WebMock 1.6.0.
525
+
526
+ ## 1.3.0 (November 11, 2010)
527
+
528
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.2.0...v1.3.0)
529
+
530
+ * Moved documentation from README to [Wiki](http://github.com/vcr/vcr/wiki).
531
+ * Refactoring and code cleanup.
532
+ * Fix InternetConnection.available? so that it memoizes correctly when a connection is not available.
533
+ * Fix WebMock version checking to allow newly released 1.5.0 to be used without a warning.
534
+ * Add support for [Typhoeus](https://github.com/pauldix/typhoeus). Thanks to [David Balatero](https://github.com/dbalatero) for making the necessary changes in Typhoeus to support VCR.
535
+ * Remove FakeWeb/WebMock inference logic. You _must_ configure the http stubbing library explicitly now.
536
+
537
+ ## 1.2.0 (October 13, 2010)
538
+
539
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.1.2...v1.2.0)
540
+
541
+ * Improved the `:all` record mode so that it keeps previously recorded interactions that do not match the new recorded interactions. Previously, all of the previously recorded interactions were deleted.
542
+ * Added `:re_record_interval` cassette option. This option causes a cassette to be re-recorded when the existing file is older than the specified interval.
543
+ * Improved RSpec support. Added #use_vcr_cassette RSpec macro method that sets up a cassette for an RSpec example group.
544
+ * Fixed VCR/Net::HTTP/WebMock integration so that VCR no longer loads its Net::HTTP monkey patch when WebMock is used, and relies upon WebMock's after_request callback to record Net::HTTP instead. This fixes [a bug](http://github.com/vcr/vcr/issues/14) when using WebMock and Open URI.
545
+ * Consider 0.0.0.0 to be a localhost alias (previously only "localhost" and 127.0.0.1 were considered).
546
+ * Added spec and feature coverage for Curb integration. Works out of the box with no changes required to VCR due to [Pete Higgins'](http://github.com/phiggins) great work to add Curb support to WebMock.
547
+ * Got specs and features to pass on rubinius.
548
+ * Changed WebMock version requirement to 1.4.0.
549
+
550
+ ## 1.1.2 (September 9, 2010)
551
+
552
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.1.1...v1.1.2)
553
+
554
+ * Fixed a minor bug with the WebMock integration: WebMock extends each `Net::HTTPResponse` with an extension module after reading the body, and VCR was doing the same thing, leading to some slight deviance from standard Net::HTTP behavior. The fix prevents VCR from adding the same extension to a `Net::HTTPResponse` that has already been extende by WebMock.
555
+ * Fixed a minor bug in the `VCR::Net::HTTPResponse` module so that it correctly handles nil bodies (such as for a HEAD request).
556
+ * Refactored `VCR::Net::HTTPResponse` module so it is implemented in a much simpler manner.
557
+ * Updated specs and features so they pass against the latest WebMock release (1.3.5).
558
+ * Minor documentation updates.
559
+
560
+ ## 1.1.1 (August 26, 2010)
561
+
562
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.1.0...v1.1.1)
563
+
564
+ * Updated to use and require FakeWeb 1.3.0. It includes a fix for a bug related to multiple values for the same response header.
565
+ * Use new `FakeWeb::Utility.request_uri_as_string` method rather than our own logic to construct a request uri.
566
+ * Use new `FakeWeb.allow_net_connect = /url regex/` feature to power the `ignore_localhost` VCR option rather then toggling `FakeWeb.allow_net_connect` in our Net::HTTP extension.
567
+ * Optimized `VCR.http_stubbing_adapter.stub_requests` a bit.
568
+ * Changed the http stubbing adapters to be modules rather than classes. They should never be instantiated and don't really hold state, so a module is more appropriate.
569
+ * Warn when FakeWeb or WebMock are a minor or major version number ahead of the required version, as the new version isn't known to work with VCR.
570
+
571
+ ## 1.1.0 (August 22, 2010)
572
+
573
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.0.3...v1.1.0)
574
+
575
+ * Added `:match_requests_on` cassette option, which determines how VCR matches requests.
576
+ * Removed VCR::TaskRunner and the corresponding rake task definition. The rake task migrated cassettes from the 0.3.1 format to the 0.4+ format. If you are still on 0.3.1 or earlier, I recommend you upgrade to 0.4.1 first, migrate your cassettes and deal with migration warnings, then upgrade to the current release.
577
+ * Added some code to VCR::Cassette.new to check the options passed to the cassette and raise an error if any invalid options are passed.
578
+ * Optimized ERB rendering a bit. Rather than creating a new struct subclass for each time we render an ERB cassette with locals, we keep a cache of reusable struct subclasses based on the desired attributes. [Benchmarking](http://gist.github.com/512948) reveals this is about 28% faster.
579
+ * Upgraded tests to use em-http-request 0.2.10 rather than 0.2.7.
580
+
581
+ ## 1.0.3 (August 5, 2010)
582
+
583
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.0.2...v1.0.3)
584
+
585
+ * Upgraded VCR specs to RSpec 2.
586
+ * Updated `VCR::CucumberTags` so that it uses an `around` hook rather than a `before` hook and an `after` hook. Around hooks were added to Cucumber in the 0.7.3 release, so you'll have to be on that version or higher to use the `VCR::CucumberTags` feature.
587
+ * Updated the WebMock version requirement to 1.3.3 or greater. 1.3.2 and earlier versions did not properly handle multiple value for the same response header.
588
+ * Miscellaneous documentation updates.
589
+
590
+ ## 1.0.2 (July 6, 2010)
591
+
592
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.0.1...v1.0.2)
593
+
594
+ * Fixed VCR to work with [rest-client](http://github.com/archiloque/rest-client). Rest-client extends the Net::HTTP response body string with a module containing additional data, which got serialized to the cassette file YAML and occasionally caused problems when the YAML was deserialized. Bug reported by [Thibaud Guillaume-Gentil](http://github.com/thibaudgg).
595
+ * Setup bundler to manage development dependencies.
596
+
597
+ ## 1.0.1 (July 1, 2010)
598
+
599
+ [Full Changelog](http://github.com/vcr/vcr/compare/v1.0.0...v1.0.1)
600
+
601
+ * Fixed specs and features so they pass on MRI 1.9.2-preview3 and JRuby 1.5.1.
602
+ * Normalized response and request headers so that they are stored the same (i.e. lower case keys, arrays of values) in the cassette yaml files, regardless of which HTTP library is used. This is the same way Net::HTTP normalizes HTTP headers.
603
+ * Fixed `VCR.use_cassette` so that it doesn't eject a cassette if an exception occurs while inserting one.
604
+ * Fixed FakeWeb adapter so that it works for requests that use basic auth. Patch submitted by [Eric Allam](http://github.com/rubymaverick).
605
+
606
+ ## 1.0.0 (June 22, 2010)
607
+
608
+ [Full Changelog](http://github.com/vcr/vcr/compare/v0.4.1...v1.0.0)
609
+
610
+ * New Features
611
+ * Added support for [HTTPClient](http://github.com/nahi/httpclient), [Patron](http://github.com/toland/patron) and [em-http-request](http://github.com/igrigorik/em-http-request) when WebMock is used. Any future http libraries WebMock supports should (theoretically, at least) work without any VCR code changes. Thanks to [Bartosz Blimke](http://github.com/bblimke) for adding the necessary code to WebMock to make this happen!
612
+ * Added support for dynamic responses using ERB. A cassette will be evaluated as ERB before the YAML is deserialized if you pass it an `:erb => true` option. You can pass variables using `:erb => { :var1 => 'some value', :var2 => 'another value' }`.
613
+ * Added `ignore_localhost` configuration setting, which defaults to false. Setting it true does the following:
614
+ * Localhost requests will proceed as normal. The "Real HTTP connections are disabled" error will not occur.
615
+ * Localhost requests will not be recorded.
616
+ * Previously recorded localhost requests will not be replayed.
617
+ * Exposed the version number:
618
+ * `VCR.version` => string (in the format "major.minor.patch")
619
+ * `VCR.version.parts` => array of integers
620
+ * `VCR.version.major` => integer
621
+ * `VCR.version.minor` => integer
622
+ * `VCR.version.patch` => integer
623
+ * Added test coverage and documentation of using a regex for non-deterministic URLs (i.e. URLs that include a timestamp as a query parameter). It turns out this feature worked before, and I just didn't realize it :).
624
+
625
+ * Breaking Changes
626
+ * The `:allow_real_http => lambda { |uri| ... }` cassette option has been removed. There was no way to get this to work with the newly supported http libraries without extensive monkeypatching, and it was mostly useful for localhost requests, which is more easily handled by the new `ignore_localhost` config setting.
627
+ * Removed methods and options that had been previously deprecated. If you're upgrading from an old version, I recommend upgrading to 0.4.1 first, deal with all the deprecation warnings, then upgrade to 1.0.0.
628
+
629
+ * Misc Changes:
630
+ * Removed dependency on [jeweler](http://github.com/technicalpickles/jeweler). Manage the gemspec by hand instead.
631
+ * Removed some extensions that are no longer necessary.
632
+
633
+ ## 0.4.1 May 11, 2010
634
+
635
+ [Full Changelog](http://github.com/vcr/vcr/compare/v0.4.0...v0.4.1)
636
+
637
+ * Fixed a bug: when `Net::HTTPResponse#read_body` was called after VCR had read the body to record a new request, it raised an error (`IOError: Net::HTTPResponse#read_body called twice`). My fix extends Net::HTTPResponse so that it no longer raises this error.
638
+
639
+ ## 0.4.0 April 28, 2010
640
+
641
+ [Full Changelog](http://github.com/vcr/vcr/compare/v0.3.1...v0.4.0)
642
+
643
+ * Added support for webmock. All the fakeweb-specific code is now in an adapter (as is the webmock code).
644
+
645
+ * Changed the format of the VCR cassettes. The old format was tied directly to Net::HTTP, but webmock supports other HTTP libraries and I plan to allow VCR to use them in the future. Note that this is a breaking change--your old VCR cassettes from prior releases will not work with VCR 0.4.0. However, VCR provides a rake task to assist you in migrating your cassettes to the new format. Simply add `load 'vcr/tasks/vcr.rake'` to your project's Rakefile, and run:
646
+
647
+ ```
648
+ $ rake vcr:migrate_cassettes DIR=path/to/cassete/library/directory
649
+ ```
650
+
651
+ * The new cassette format records more information about the request (i.e. the request headers and body), so that it can potentially be used with webmock in the future.
652
+
653
+ * Made most of `VCR::Cassette`'s methods private. I had forgotten to make the methods private before, and most of them don't need to be exposed.
654
+
655
+ * Automatically disallow http connections using the appropriate setting of the http stubbing library (fakeweb or webmock). This relieves users from the need to set the option themselves, so they hopefully aren't using either fakeweb or webmock directly, making it much easier to switch between these.
656
+
657
+ * Change documentation from rdoc to markdown format.
658
+
659
+ * Lots of other refactoring.
660
+
661
+ ## 0.3.1 April 10, 2010
662
+
663
+ [Full Changelog](http://github.com/vcr/vcr/compare/v0.3.0...v0.3.1)
664
+
665
+ * Fixed a bug: when `Net::HTTP#request` was called with a block that had a return statement, the response was not being recorded.
666
+
667
+ ## 0.3.0 March 24, 2010
668
+
669
+ [Full Changelog](http://github.com/vcr/vcr/compare/v0.2.0...v0.3.0)
670
+
671
+ * Renamed a bunch of methods, replacing them with method names that more clearly fit the VCR/cassette metaphor:
672
+ * `VCR.create_cassette!` => `VCR.insert_cassette`
673
+ * `VCR.destroy_cassette!` => `VCR.eject_cassette`
674
+ * `VCR.with_cassette` => `VCR.use_cassette`
675
+ * `VCR::Cassette#destroy!` => `VCR::Cassette#eject`
676
+ * `VCR::Cassette#cache_file` => `VCR::Cassette#file`
677
+ * `VCR::Config.cache_dir` => `VCR::Config.cassette_library_dir`
678
+ * `:unregistered` record mode => `:new_episodes` record mode
679
+
680
+ * All the old methods still work, but you'll get deprecation warnings.
681
+
682
+ ## 0.2.0 March 9, 2010
683
+
684
+ [Full Changelog](http://github.com/vcr/vcr/compare/v0.1.2...v0.2.0)
685
+
686
+ * Added `:allow_real_http` cassette option, which allows VCR to work with capybara and a javascript driver. Bug reported by [Ben Hutton](http://github.com/benhutton).
687
+
688
+ * Deprecated the `default_cassette_record_mode` option. Use `default_cassette_options[:record_mode]` instead.
689
+
690
+ ## 0.1.2 March 4, 2010
691
+
692
+ [Full Changelog](http://github.com/vcr/vcr/compare/v0.1.1...v0.1.2)
693
+
694
+ * Added explanatory note about VCR to `FakeWeb::NetConnectNotAllowedError#message`.
695
+
696
+ * Got things to work for when a cassette records multiple requests made to the same URL with the same HTTP verb, but different responses. We have to register an array of responses with fakeweb.
697
+
698
+ * Fixed our `Net::HTTP` monkey patch so that it only stores the recorded response once per request. Internally, `Net::HTTP#request` recursively calls itself (passing slightly different arguments) in certain circumstances.
699
+
700
+ ## 0.1.1 February 25, 2010
701
+
702
+ [Full Changelog](http://github.com/vcr/vcr/compare/v0.1.0...v0.1.1)
703
+
704
+ * Handle asynchronous HTTP requests (such as for mechanize). Bug reported by [Thibaud Guillaume-Gentil](http://github.com/thibaudgg).
705
+
706
+ ## 0.1.0 February 25, 2010
707
+
708
+ [Full Changelog](http://github.com/vcr/vcr/compare/d2577f79247d7db60bf160881b1b64e9fa10e4fd...v0.1.0)
709
+
710
+ * Initial release. Basic recording and replaying of responses works.