Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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