Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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