Skip to content

HTTPS clone URL

Subversion checkout URL

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