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