Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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