Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 431 lines (312 sloc) 21.323 kb
2e878131 »
2010-12-05 Words.
1 ## In git
2
5393e265 »
2011-08-18 1.11.1 release.
3 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.11.1...master)
4
5 ## 1.11.1 (August 18, 2011)
6
7 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.11.0...v1.11.1)
8
9 * Yanked 1.11.0 and rebuilt gem on 1.8.7 to deal with syck/psych
10 incompatibilties in gemspec.
966d8ba4 »
2011-08-18 1.11.0 release.
11
12 ## 1.11.0 (August 18, 2011)
13
14 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.10.3...v1.11.0)
15
16 * Updates to work with WebMock 1.7.0.
d62fe134 »
2011-07-21 1.10.3 release.
17
18 ## 1.10.3 (July 21, 2011)
19
20 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.10.2...v1.10.3)
21
22 * Fix `:update_content_length_header` option so no error is raised if
23 a response body is nil. Bug reported by [jg](https://github.com/jg).
e472188f »
2011-07-16 1.10.2 release.
24
25 ## 1.10.2 (July 16, 2011)
26
27 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.10.1...v1.10.2)
28
29 * Yanked 1.10.1 and rebuilt gem on 1.8.7 to deal with syck/psych
30 incompatibilties in gemspec.
7573d960 »
2011-07-16 1.10.1 release.
31
32 ## 1.10.1 (July 16, 2011)
33
34 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.10.0...v1.10.1)
5fcfa619 »
2011-05-18 1.10.0 release.
35
b6046257 »
2011-06-20 Update changelog.
36 * Fix typo in error message [Bradley](https://github.com/bradleyisotope).
a2169840 »
2011-07-03 Fix excon adapter to handle query specified as a hash.
37 * Fix excon adapter to properly handle queries specified as a hash.
2659fd55 »
2011-07-14 Update changelog.
38 * Fix excon adapter to stub a response with a hash as excon expects
39 [Wesley Beary](https://github.com/geemus).
ca1e54a6 »
2011-07-15 Fix excon adapter so that it records a response even when excon raise…
40 * Fix excon adapter so that it records a response even when excon raises
41 an error due to an unexpected response.
b6046257 »
2011-06-20 Update changelog.
42
5fcfa619 »
2011-05-18 1.10.0 release.
43 ## 1.10.0 (May 18, 2011)
44
45 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.9.0...v1.10.0)
ab598a78 »
2011-04-14 1.9.0 release.
46
76132845 »
2011-05-10 Update changelog.
47 * Fix header normalization so that it properly handles nested arrays and
48 non-string values.
49 * Add cucumber scenario documenting how VCR sanitizes cassette names
50 to "normal" file names (i.e. only alphanumerics, no spaces).
51 * Add `:ignore_cassettes` option to `VCR.turn_off!`. This causes
52 cassette insertions to be ignored rather than to trigger an error.
b4664435 »
2011-05-11 Update contributors.
53 Patch provided by [Justin Smestad](https://github.com/jsmestad).
eb530ae6 »
2011-05-11 Fix rack middleware so that it is threadsafe.
54 * Fix rack middleware to make it threadsafe.
f52b13a0 »
2011-05-14 Update rspec to latest.
55 * Update to latest RSpec (rspec 2.6).
76132845 »
2011-05-10 Update changelog.
56
ab598a78 »
2011-04-14 1.9.0 release.
57 ## 1.9.0 (April 14, 2011)
58
59 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.8.0...v1.9.0)
60
61 * Add support for [Excon](https://github.com/geemus/excon).
487332d5 »
2011-03-31 1.8.0 release.
62
63 ## 1.8.0 (March 31, 2011)
64
65 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.7.2...v1.8.0)
717d7c8e »
2011-03-26 1.7.2 release.
66
fb156a79 »
2011-03-31 Update to Faraday 0.6.
67 * Updated Faraday middleware to work with newly released Faraday 0.6.0.
68
717d7c8e »
2011-03-26 1.7.2 release.
69 ## 1.7.2 (March 26, 2011)
70
71 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.7.1...v1.7.2)
0022cf7e »
2011-03-19 1.7.1 release.
72
dbbc4b34 »
2011-03-25 Ensure that header values are the same when recording and replaying.
73 * Fixed Typhoeus adapter so headers are returned in the same form during
74 playback as they would be without VCR. Bug reported by
75 [Avdi Grimm](https://github.com/avdi).
76 * Fixed Faraday adapter so it treats response headers in the same way
77 Faraday itself does (i.e. with lowercase keys).
78
0022cf7e »
2011-03-19 1.7.1 release.
79 ## 1.7.1 (March 19, 2011)
80
81 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.7.0...v1.7.1)
1467ebba »
2011-03-01 1.7.0 release.
82
0d4d9f5f »
2011-03-04 Fix faraday adapter so that it properly normalizes query parameters.
83 * Fix Faraday adapter so that it properly normalizes query parameters
84 in the same way that Faraday itself does.
85
1467ebba »
2011-03-01 1.7.0 release.
86 ## 1.7.0 (March 1, 2011)
87
88 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.6.0...v1.7.0)
de8c6894 »
2011-02-03 1.6.0 release.
89
d66f924c »
2011-02-09 Update changelog.
90 * Use Psych for YAML serialization/deserialization when it is available.
91 Syck, Ruby's old YAML engine, will remove whitespace from some
92 strings. Bug reported by [Robert Poor](https://github.com/rdpoor).
93 * Add new `:update_content_length_header` cassette option. The option
94 will ensure the `content-length` header value matches the actual
95 response body length.
8ca9b672 »
2011-02-09 Update changelog.
96 * Add new `:once` record mode. It operates like `:new_episodes` except
97 when the cassette file already exists, in which case it causes
98 new requests to raise an error. Feature suggested by
99 [Jamie Cobbett](https://github.com/jamiecobbett).
100 * Made `:once` the default record mode.
1f9fa36e »
2011-02-10 Add new filter_sensitive_data configuration option.
101 * Add new `filter_sensitive_data` configuration option. Feature
102 suggested by [Nathaniel Bibler](https://github.com/nbibler).
8050f83c »
2011-03-01 Update Changelog.
103 * Commit to [Semantic Versioning](http://semver.org/). The cucumber
104 features document the public API for the purposes of semver.
06cf3f6d »
2011-02-27 Update changelog.
105 * Add support for CI builds using [travis-ci](http://travis-ci.org/myronmarston/vcr).
fd67425d »
2011-02-28 Update changelog.
106 * Add support for running tests through `gem test vcr`. Visit
107 [test.rubygems.org](http://test.rubygems.org/gems/vcr) to see
108 the results.
acfb274a »
2011-02-28 Use separate Before/After hooks rather than a single Around hook.
109 * Fix cucumber support to use separate `Before` & `After` hooks rather than
110 a single `Around` hook because of a bug in cucumber that prevents
111 background steps from running within the `Around` hook.
d66f924c »
2011-02-09 Update changelog.
112
de8c6894 »
2011-02-03 1.6.0 release.
113 ## 1.6.0 (February 3, 2011)
114
115 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.5.1...v1.6.0)
116
117 * Add new `ignore_hosts` configuration option that allows you to ignore
118 any host (not just localhost aliases, as the `ignore_localhost` option
119 works). Feature suggested by [Claudio Poli](https://github.com/masterkain).
120 * Upgraded to the latest Typhoeus (0.2.1).
121 * General code clean up and refactoring.
be6672dd »
2011-01-21 1.5.1 release.
122
123 ## 1.5.1 (January 12, 2011)
124
125 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.5.0...v1.5.1)
126
127 * Fix response and request serialization so that the headers are raw
128 strings. This fixes intermittent YAML seg faults for paperclip
d66f924c »
2011-02-09 Update changelog.
129 uploads to S3. Bug reported by [Rob Slifka](https://github.com/rslifka).
9c4a71c4 »
2011-01-11 1.5.0 release.
130
131 ## 1.5.0 (January 12, 2011)
132
133 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.4.0...v1.5.0)
2e878131 »
2010-12-05 Words.
134
135 * Fix VCR::Cassette so it does not raise an error when a cassette file is
136 empty. Bug reported and fixed by [Karl Baum](https://github.com/kbaum).
4765bcf6 »
2011-01-08 Update changelog.
137 * Lots of code cleanup.
138 * Fix the stubbing adapters so that they use the cassette instance
139 rather than the cassette name to create and restore checkpoints.
140 * Raise an appropriate error when a nested cassette is inserted with the
141 same name as a cassette that is already in the stack (VCR's design
142 doesn't allow this and you would get weird errors later on).
143 * Raise an appropriate error when restoring a stubs checkpoint if the
144 checkpoint cannot be found.
fb94decf »
2011-01-11 Words.
145 * Add `before_record` and `before_playback` hooks. Idea and initial
146 implementation by [Oliver Searle-Barnes](https://github.com/opsb);
147 futher suggestions, testing and feedback by
148 [Nathaniel Bibler](https://github.com/nbibler).
2e878131 »
2010-12-05 Words.
149
6d40d175 »
2010-12-03 1.4.0 release.
150 ## 1.4.0 (December 3, 2010)
c1c590e3 »
2010-11-23 Update changelog.
151
6d40d175 »
2010-12-03 1.4.0 release.
152 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.3.3...v1.4.0)
c1c590e3 »
2010-11-23 Update changelog.
153
b58808dd »
2010-11-25 Add rack middleware feature.
154 * Added support for making HTTP requests without a cassette (i.e. if you don't
c1c590e3 »
2010-11-23 Update changelog.
155 want to use VCR for all of your test suite). There are a few ways to
156 enable this:
157 * In your `VCR.config` block, set `allow_http_connections_when_no_cassette`
158 to true to allow HTTP requests without a cassette.
159 * You can temporarily turn off VCR using `VCR.turned_off { ... }`.
160 * You can toggle VCR off and on with `VCR.turn_off!` and `VCR.turn_on!`.
b58808dd »
2010-11-25 Add rack middleware feature.
161 * Fixed bug with `ignore_localhost` config option. Previously, an error would
021cfeab »
2010-11-23 Fixed bug with ignore_localhost config option.
162 be raised if it was set before the `stub_with` option.
b58808dd »
2010-11-25 Add rack middleware feature.
163 * Added VCR::Middleware::Rack (see features/middleware/rack.feature for usage).
4f8e4672 »
2010-11-26 Add Faraday support.
164 * Added support for Faraday (see features/middleware/faraday.feature for usage).
c1c590e3 »
2010-11-23 Update changelog.
165
ae45360a »
2010-11-21 1.3.3 release.
166 ## 1.3.3 (November 21, 2010)
76137bfc »
2010-11-21 Hit a local sinatra app rather than example.com in specs.
167
ae45360a »
2010-11-21 1.3.3 release.
168 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.3.2...v1.3.3)
76137bfc »
2010-11-21 Hit a local sinatra app rather than example.com in specs.
169
170 * In specs, hit a local sinatra server rather than example.com. This makes
171 the specs faster and removes an external dependency. The specs can pass
172 without being online!
26fae52b »
2010-11-21 Fix VCR::Config.http_stubbing_libraries so that it always returns an …
173 * Raise an explicit error when the http stubbing library is not configured
174 (rather than letting the user get a confusing error later).
ae45360a »
2010-11-21 1.3.3 release.
175 * Test against the latest WebMock release (1.6.1) (no changes required).
176 * Fix a few cucumber scenarios so they pass on rubinius and jruby.
76137bfc »
2010-11-21 Hit a local sinatra app rather than example.com in specs.
177
2efe05d0 »
2010-11-16 1.3.2 release.
178 ## 1.3.2 (November 16, 2010)
00258711 »
2010-11-13 Normalize structs so they are serialized the same regardless of which…
179
2efe05d0 »
2010-11-16 1.3.2 release.
180 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.3.1...v1.3.2)
00258711 »
2010-11-13 Normalize structs so they are serialized the same regardless of which…
181
182 * Fix serialized structs so that they are normalized andthey will be the same
183 regardless of which HTTP library made the request.
184 * Status "OK " => "OK"
185 * Body '' => nil
186 * Headers {} => nil
187 * Remove extraneous headers added by the HTTP lib (i.e. Typhoeus user agent)
2efe05d0 »
2010-11-16 1.3.2 release.
188 * Rewrite cucumber features in a more documentation-oriented style.
00258711 »
2010-11-13 Normalize structs so they are serialized the same regardless of which…
189
75fd8bd5 »
2010-11-11 1.3.1 release.
190 ## 1.3.1 (November 11, 2010)
191
429619f7 »
2010-11-11 Fix URLs in changelog.
192 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.3.0...v1.3.1)
75fd8bd5 »
2010-11-11 1.3.1 release.
193
194 * Update WebMock adapter to work with (and require) newly released WebMock 1.6.0.
195
a2e9b46e »
2010-11-11 1.3.0 release.
196 ## 1.3.0 (November 11, 2010)
e305b261 »
2010-11-01 Update changelog.
197
429619f7 »
2010-11-11 Fix URLs in changelog.
198 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.2.0...v1.3.0)
e305b261 »
2010-11-01 Update changelog.
199
200 * Moved documentation from README to [Wiki](http://github.com/myronmarston/vcr/wiki).
201 * Refactoring and code cleanup.
922f145d »
2010-11-01 Fix InternetConnection.available? so that it memoizes correctly when …
202 * Fix InternetConnection.available? so that it memoizes correctly when a connection is not available.
4b342804 »
2010-11-02 Allow newly released WebMock 1.5.0 to be used without a warning.
203 * Fix WebMock version checking to allow newly released 1.5.0 to be used without a warning.
1991c61d »
2010-11-07 Update README and CHANGELOG with Typhoeus info.
204 * Add support for [Typhoeus](https://github.com/pauldix/typhoeus). Thanks to
205 [David Balatero](https://github.com/dbalatero) for making the necessary changes in Typhoeus
206 to support VCR.
26fae52b »
2010-11-21 Fix VCR::Config.http_stubbing_libraries so that it always returns an …
207 * Remove FakeWeb/WebMock inference logic. You _must_ configure the http stubbing library
208 explicitly now.
e305b261 »
2010-11-01 Update changelog.
209
d25e34c7 »
2010-10-13 1.2.0 release.
210 ## 1.2.0 (October 13, 2010)
4839e582 »
2010-09-14 Improved the :all record mode so that it keeps previously recorded in…
211
d25e34c7 »
2010-10-13 1.2.0 release.
212 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.1.2...v1.2.0)
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
213
4839e582 »
2010-09-14 Improved the :all record mode so that it keeps previously recorded in…
214 * Improved the `:all` record mode so that it keeps previously recorded interactions that do not match the
215 new recorded interactions. Previously, all of the previously recorded interactions were deleted.
d0e7dbd2 »
2010-09-18 Add :re_record_interval cassette option.
216 * Added `:re_record_interval` cassette option. This option causes a cassette to be re-recorded when the
217 existing file is older than the specified interval.
f4cce4cd »
2010-09-19 Improved RSpec support.
218 * Improved RSpec support. Added #use_vcr_cassette RSpec macro method that sets up a cassette for an RSpec
219 example group.
709f593a »
2010-09-27 Update changelog.
220 * Fixed VCR/Net::HTTP/WebMock integration so that VCR no longer loads its Net::HTTP monkey patch when
221 WebMock is used, and relies upon WebMock's after_request callback to record Net::HTTP instead. This
222 fixes [a bug](http://github.com/myronmarston/vcr/issues/14) when using WebMock and Open URI.
6c86a96a »
2010-09-28 Consider 0.0.0.0 to be a localhost alias.
223 * Consider 0.0.0.0 to be a localhost alias (previously only "localhost" and 127.0.0.1 were considered).
ea777b93 »
2010-10-04 Add test coverage for Curb support.
224 * Added spec and feature coverage for Curb integration. Works out of the box with no changes required
8f369c13 »
2010-10-11 Fixed typo.
225 to VCR due to [Pete Higgins'](http://github.com/phiggins) great work to add Curb support to WebMock.
646eab5e »
2010-10-11 Got specs and features to pass on rubinius 1.1.
226 * Got specs and features to pass on rubinius.
91d67ade »
2010-10-13 Upgrade to WebMock 1.4.0.
227 * Changed WebMock version requirement to 1.4.0.
4839e582 »
2010-09-14 Improved the :all record mode so that it keeps previously recorded in…
228
b827a7bf »
2010-09-09 1.1.2 release.
229 ## 1.1.2 (September 9, 2010)
230
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
231 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.1.1...v1.1.2)
232
b827a7bf »
2010-09-09 1.1.2 release.
233 * Fixed a minor bug with the WebMock integration: WebMock extends each `Net::HTTPResponse` with an extension
234 module after reading the body, and VCR was doing the same thing, leading to some slight deviance from
235 standard Net::HTTP behavior. The fix prevents VCR from adding the same extension to a `Net::HTTPResponse`
236 that has already been extende by WebMock.
237 * Fixed a minor bug in the `VCR::Net::HTTPResponse` module so that it correctly handles nil bodies (such as
238 for a HEAD request).
239 * Refactored `VCR::Net::HTTPResponse` module so it is implemented in a much simpler manner.
240 * Updated specs and features so they pass against the latest WebMock release (1.3.5).
241 * Minor documentation updates.
242
69c0fe72 »
2010-08-26 1.1.1 release.
243 ## 1.1.1 (August 26, 2010)
4d68e93e »
2010-08-22 Optimized #stub_requests a bit.
244
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
245 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.1.0...v1.1.1)
246
ed4a6629 »
2010-08-22 The latest FakeWeb passes this spec (was pending before).
247 * Updated to use and require FakeWeb 1.3.0. It includes a fix for a bug related to multiple values for the
248 same response header.
7f582821 »
2010-08-22 Use FakeWeb::Utility.request_uri_as_string rather than our own logic …
249 * Use new `FakeWeb::Utility.request_uri_as_string` method rather than our own logic to construct a request uri.
5fc0ba4c »
2010-08-23 Use a localhost regex with FakeWeb.allow_net_connect for the ignore_l…
250 * Use new `FakeWeb.allow_net_connect = /url regex/` feature to power the `ignore_localhost` VCR option rather
251 then toggling `FakeWeb.allow_net_connect` in our Net::HTTP extension.
4d68e93e »
2010-08-22 Optimized #stub_requests a bit.
252 * Optimized `VCR.http_stubbing_adapter.stub_requests` a bit.
5f5da7a1 »
2010-08-26 Change http stubbing adapters to be modules rather than classes.
253 * Changed the http stubbing adapters to be modules rather than classes. They should never be instantiated and
254 don't really hold state, so a module is more appropriate.
0a979b4c »
2010-08-26 Refactored and updated #check_version! on FakeWeb/WebMock adapters so…
255 * Warn when FakeWeb or WebMock are a minor or major version number ahead of the required version, as the new
256 version isn't known to work with VCR.
4d68e93e »
2010-08-22 Optimized #stub_requests a bit.
257
4a465ca1 »
2010-08-22 1.1.0 release.
258 ## 1.1.0 (August 22, 2010)
0289298c »
2010-08-07 Removed task runner as it's no longer needed.
259
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
260 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.0.3...v1.1.0)
261
3def0bec »
2010-08-16 Documentation updates for new :match_requests_on option.
262 * Added `:match_requests_on` cassette option, which determines how VCR matches requests.
0289298c »
2010-08-07 Removed task runner as it's no longer needed.
263 * Removed VCR::TaskRunner and the corresponding rake task definition. The rake task migrated cassettes from the
264 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,
265 migrate your cassettes and deal with migration warnings, then upgrade to the current release.
606e3281 »
2010-08-07 Raise an error if VCR::Cassette.new is given invalid options.
266 * Added some code to VCR::Cassette.new to check the options passed to the cassette and raise an error if any
267 invalid options are passed.
f2bb9861 »
2010-08-07 Optimized ERB rendering a bit.
268 * Optimized ERB rendering a bit. Rather than creating a new struct subclass for each time we render an ERB
269 cassette with locals, we keep a cache of reusable struct subclasses based on the desired attributes.
270 [Benchmarking](http://gist.github.com/512948) reveals this is about 28% faster.
a40025f0 »
2010-08-07 Updated em-http-request to 0.2.10.
271 * Upgraded tests to use em-http-request 0.2.10 rather than 0.2.7.
0289298c »
2010-08-07 Removed task runner as it's no longer needed.
272
ce132794 »
2010-08-05 1.0.3 release.
273 ## 1.0.3 (August 5, 2010)
274
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
275 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.0.2...v1.0.3)
276
ce132794 »
2010-08-05 1.0.3 release.
277 * Upgraded VCR specs to RSpec 2.
278 * Updated `VCR::CucumberTags` so that it uses an `around` hook rather than a `before` hook and an `after` hook.
279 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
280 the `VCR::CucumberTags` feature.
281 * Updated the WebMock version requirement to 1.3.3 or greater. 1.3.2 and earlier versions did not properly handle
282 multiple value for the same response header.
283 * Miscellaneous documentation updates.
284
e13d215e »
2010-07-06 1.0.2 release.
285 ## 1.0.2 (July 6, 2010)
286
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
287 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.0.1...v1.0.2)
288
e13d215e »
2010-07-06 1.0.2 release.
289 * Fixed VCR to work with [rest-client](http://github.com/archiloque/rest-client). Rest-client extends the Net::HTTP
290 response body string with a module containing additional data, which got serialized to the cassette file YAML
291 and occasionally caused problems when the YAML was deserialized. Bug reported by
292 [Thibaud Guillaume-Gentil](http://github.com/thibaudgg).
293 * Setup bundler to manage development dependencies.
294
ade81812 »
2010-07-01 1.0.1 release.
295 ## 1.0.1 (July 1, 2010)
296
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
297 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.0.0...v1.0.1)
298
ade81812 »
2010-07-01 1.0.1 release.
299 * Fixed specs and features so they pass on MRI 1.9.2-preview3 and JRuby 1.5.1.
300 * Normalized response and request headers so that they are stored the same (i.e. lower case keys, arrays of values)
301 in the cassette yaml files, regardless of which HTTP library is used. This is the same way Net::HTTP normalizes
302 HTTP headers.
303 * Fixed `VCR.use_cassette` so that it doesn't eject a cassette if an exception occurs while inserting one.
304 * Fixed FakeWeb adapter so that it works for requests that use basic auth. Patch submitted by
305 [Eric Allam](http://github.com/rubymaverick).
306
a5ac5bf2 »
2010-06-19 1.0.0 release.
307 ## 1.0.0 (June 22, 2010)
308
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
309 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.4.1...v1.0.0)
310
a5ac5bf2 »
2010-06-19 1.0.0 release.
311 * New Features
312 * Added support for [HTTPClient](http://github.com/nahi/httpclient), [Patron](http://github.com/toland/patron) and
313 [em-http-request](http://github.com/igrigorik/em-http-request) when WebMock is used. Any future http libraries
314 WebMock supports should (theoretically, at least) work without any VCR code changes. Thanks to
315 [Bartosz Blimke](http://github.com/bblimke) for adding the necessary code to WebMock to make this happen!
316 * Added support for dynamic responses using ERB. A cassette will be evaluated as ERB before the YAML
317 is deserialized if you pass it an `:erb => true` option. You can pass variables using
318 `:erb => { :var1 => 'some value', :var2 => 'another value' }`.
319 * Added `ignore_localhost` configuration setting, which defaults to false. Setting it true does the following:
320 * Localhost requests will proceed as normal. The "Real HTTP connections are disabled" error will not occur.
321 * Localhost requests will not be recorded.
322 * Previously recorded localhost requests will not be replayed.
323 * Exposed the version number:
324 * `VCR.version` => string (in the format "major.minor.patch")
325 * `VCR.version.parts` => array of integers
326 * `VCR.version.major` => integer
327 * `VCR.version.minor` => integer
328 * `VCR.version.patch` => integer
329 * Added test coverage and documentation of using a regex for non-deterministic URLs (i.e. URLs that include
330 a timestamp as a query parameter). It turns out this feature worked before, and I just didn't realize it :).
331
332 * Breaking Changes
333 * The `:allow_real_http => lambda { |uri| ... }` cassette option has been removed. There was no way to get
334 this to work with the newly supported http libraries without extensive monkeypatching, and it was mostly
335 useful for localhost requests, which is more easily handled by the new `ignore_localhost` config setting.
336 * Removed methods and options that had been previously deprecated. If you're upgrading from an old version,
337 I recommend upgrading to 0.4.1 first, deal with all the deprecation warnings, then upgrade to 1.0.0.
338
339 * Misc Changes:
340 * Removed dependency on [jeweler](http://github.com/technicalpickles/jeweler). Manage the gemspec by hand instead.
341 * Removed some extensions that are no longer necessary.
342
dfceeb1c »
2010-05-11 0.4.1 release.
343 ## 0.4.1 May 11, 2010
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
344
345 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.4.0...v0.4.1)
346
dfceeb1c »
2010-05-11 0.4.1 release.
347 * Fixed a bug: when `Net::HTTPResponse#read_body` was called after VCR had read the body to record a new request,
348 it raised an error (`IOError: Net::HTTPResponse#read_body called twice`). My fix extends Net::HTTPResponse
349 so that it no longer raises this error.
350
76632529 »
2010-04-28 0.4.0 release.
351 ## 0.4.0 April 28, 2010
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
352
353 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.3.1...v0.4.0)
354
af61cfc2 »
2010-04-24 Updated CHANGELOG with the info about what is coming in the next rele…
355 * Added support for webmock. All the fakeweb-specific code is now in an adapter (as is the webmock code).
356
357 * Changed the format of the VCR cassettes. The old format was tied directly to Net::HTTP, but webmock supports
358 other HTTP libraries and I plan to allow VCR to use them in the future. Note that this is a breaking change--your
359 old VCR cassettes from prior releases will not work with VCR 0.4.0. However, VCR provides a rake task to assist
360 you in migrating your cassettes to the new format. Simply add `load 'vcr/tasks/vcr.rake'` to your project's Rakefile,
361 and run:
362
363 $ rake vcr:migrate_cassettes DIR=path/to/cassete/library/directory
364
365 * The new cassette format records more information about the request (i.e. the request headers and body), so that it
366 can potentially be used with webmock in the future.
367
368 * Made most of `VCR::Cassette`'s methods private. I had forgotten to make the methods private before, and most of them
369 don't need to be exposed.
370
371 * Automatically disallow http connections using the appropriate setting of the http stubbing library (fakeweb or webmock).
372 This relieves users from the need to set the option themselves, so they hopefully aren't using either fakeweb or webmock
373 directly, making it much easier to switch between these.
374
375 * Change documentation from rdoc to markdown format.
376
377 * Lots of other refactoring.
378
3e442f3c »
2010-04-20 Change History file to markdown format and renamed it to changelog.
379 ## 0.3.1 April 10, 2010
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
380
381 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.3.0...v0.3.1)
382
3e442f3c »
2010-04-20 Change History file to markdown format and renamed it to changelog.
383 * Fixed a bug: when `Net::HTTP#request` was called with a block that had a return statement, the response was not being recorded.
384
385 ## 0.3.0 March 24, 2010
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
386
387 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.2.0...v0.3.0)
388
3e442f3c »
2010-04-20 Change History file to markdown format and renamed it to changelog.
389 * Renamed a bunch of methods, replacing them with method names that more clearly fit the VCR/cassette metaphor:
390 * `VCR.create_cassette!` => `VCR.insert_cassette`
391 * `VCR.destroy_cassette!` => `VCR.eject_cassette`
392 * `VCR.with_cassette` => `VCR.use_cassette`
393 * `VCR::Cassette#destroy!` => `VCR::Cassette#eject`
394 * `VCR::Cassette#cache_file` => `VCR::Cassette#file`
395 * `VCR::Config.cache_dir` => `VCR::Config.cassette_library_dir`
396 * `:unregistered` record mode => `:new_episodes` record mode
397
398 * All the old methods still work, but you'll get deprecation warnings.
399
400 ## 0.2.0 March 9, 2010
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
401
402 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.1.2...v0.2.0)
403
3e442f3c »
2010-04-20 Change History file to markdown format and renamed it to changelog.
404 * Added `:allow_real_http` cassette option, which allows VCR to work with capybara and a javascript driver.
405 Bug reported by [Ben Hutton](http://github.com/benhutton).
406
407 * Deprecated the `default_cassette_record_mode` option. Use `default_cassette_options[:record_mode]` instead.
408
409 ## 0.1.2 March 4, 2010
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
410
411 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.1.1...v0.1.2)
412
3e442f3c »
2010-04-20 Change History file to markdown format and renamed it to changelog.
413 * Added explanatory note about VCR to `FakeWeb::NetConnectNotAllowedError#message`.
414
415 * Got things to work for when a cassette records multiple requests made to the same URL with the same HTTP verb,
416 but different responses. We have to register an array of responses with fakeweb.
417
418 * Fixed our `Net::HTTP` monkey patch so that it only stores the recorded response once per request.
419 Internally, `Net::HTTP#request` recursively calls itself (passing slightly different arguments) in certain circumstances.
420
421 ## 0.1.1 February 25, 2010
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
422
423 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.1.0...v0.1.1)
424
3e442f3c »
2010-04-20 Change History file to markdown format and renamed it to changelog.
425 * Handle asynchronous HTTP requests (such as for mechanize). Bug reported by [Thibaud Guillaume-Gentil](http://github.com/thibaudgg).
426
427 ## 0.1.0 February 25, 2010
d7d9ac94 »
2010-10-10 Add links to github comparison view for each release.
428
429 [Full Changelog](http://github.com/myronmarston/vcr/compare/d2577f79247d7db60bf160881b1b64e9fa10e4fd...v0.1.0)
430
ade81812 »
2010-07-01 1.0.1 release.
431 * Initial release. Basic recording and replaying of responses works.
Something went wrong with that request. Please try again.