Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 757 lines (576 sloc) 36.285 kb
93b5f13 @myronmarston 2.2.4 release.
authored
1 ## 2.2.4 (July 19, 2012)
2e87813 @myronmarston Words.
authored
2
93b5f13 @myronmarston 2.2.4 release.
authored
3 [Full Changelog](http://github.com/myronmarston/vcr/compare/v2.2.3...v2.2.4)
4
5 Bug Fixes:
6
7 * Fix excon so real requests are made with a connection constructed with
8 same args as the original connection.
9
10 ## 2.2.3 (July 9, 2012)
11
12 [Full Changelog](http://github.com/myronmarston/vcr/compare/v2.2.2...v2.2.3)
7f03f6b @myronmarston 2.2.2 release.
authored
13
9b2d293 @myronmarston 2.2.3 release.
authored
14 Bug Fixes:
15
16 * Fix FakeWeb library hook so that it properly handles the case where
17 multiple requests are made using the same Net::HTTP request object.
18 Previously, a `NoMethodError` was raised. Thanks to [Jacob
19 Green](https://github.com/Jacobkg) for helping to troubleshoot
20 this bug!
21
7f03f6b @myronmarston 2.2.2 release.
authored
22 ## 2.2.2 (June 15, 2012)
23
24 [Full Changelog](http://github.com/myronmarston/vcr/compare/v2.2.1...v2.2.2)
2bff070 @myronmarston Fix VCR.eject_cassette so that it always pops the cassette off the st…
authored
25
26 Bug Fixes:
27
28 * Fix `VCR.eject_cassette` so that it always pops a cassette off the
29 cassette stack even if an error occurs while ejecting the cassette.
30 This is important to keep things consistent, so that a cassette for
31 one test doesn't remain in place for another test.
e1e0b62 @myronmarston 2.2.0 release.
authored
32
5e9dcb8 @myronmarston 2.2.1 release.
authored
33 ## 2.2.1 (June 13, 2012)
34
35 [Full Changelog](http://github.com/myronmarston/vcr/compare/v2.2.0...v2.2.1)
36
37 Bug Fixes:
38
39 * Fix matcher generated by `VCR.request_matchers.uri_without_params` so that
40 it handles URIs w/o query params properly. Previously, it would allow any
41 two URIs w/o query params to match, even if the hosts or paths
42 differed.
43
e1e0b62 @myronmarston 2.2.0 release.
authored
44 ## 2.2.0 (May 31, 2012)
45
46 [Full Changelog](http://github.com/myronmarston/vcr/compare/v2.1.1...v2.2.0)
4858f4e @myronmarston 2.1.1 release.
authored
47
aff7f48 @myronmarston Reformat changelog.
authored
48 Enhancements:
49
7af62f4 @myronmarston Words.
authored
50 * Add new `:persist_with` cassette option. It allows you to provide a
51 customized persistence implementation so you can persist it to
52 something other than disk (i.e. a key-value store or a database).
53 Thanks to [Chris Le](https://github.com/chrisle) for the idea and
54 help with the implementation.
aff7f48 @myronmarston Reformat changelog.
authored
55 * Allow requests to be stubbed by external libraries (e.g. WebMock,
56 FakeWeb or Typhoeus) without needing to turn VCR off.
729292e @myronmarston Update changelog.
authored
57 * Add new `:allow_unused_http_interactions` cassette option. When set
58 to false, an error will be raised when a cassette is ejected and
59 there are remaining unused HTTP interactions. Thanks to
60 [Mattias Putman](https://github.com/challengee) for the idea
61 and initial implementation.
aff7f48 @myronmarston Reformat changelog.
authored
62
63 Bug Fixes:
64
4fecdff @myronmarston Words.
authored
65 * Fix `after_http_request` to handle symbol request predicate filters
66 (e.g. `:ignored?`, `:stubbed?`, `:recordable?`, `:unhandled?`, `:real?`)
67 properly. Previously using one of these would raise an ArgumentError.
68 Thanks to [playupchris](https://github.com/playupchris) for reporting
69 the bug and providing a fix.
e564ec3 @myronmarston Words.
authored
70 * Fix FakeWeb hook so that it no longer breaks
71 `FakeWeb.allow_net_connect?` with arguments. Thanks to
72 [Ingemar](https://github.com/ingemar) for reporting the bug and
73 providing a fix.
74 * Fix WebMock hook so that it no longer breaks
75 `WebMock.net_connect_allowed?` with arguments. Thanks to
76 [Gordon Wilson](https://github.com/gordoncww) for reporting the bug and
77 providing a fix.
90dacb2 @myronmarston Update changelog.
authored
78 * Print a warning when VCR is used with a poorly behaved Faraday
79 connection stack that has a middleware after the HTTP adapter.
80 VCR may work improperly in this case.
81 * Raise an error if a response object is recorded with a non-string
82 body. This fails early and indicates the problem rather than failing
83 later with a strange error.
04cd243 @myronmarston Fix HTTPInteraction filtering to handle integers (e.g. port) correctly.
authored
84 * Fix `filter_sensitive_data`/`define_cassette_placeholder` so that they
85 handle non-strings gracefully (e.g. the port number as a Fixnum).
30549e8 @myronmarston Gracefully handle a faraday stack w/ no explicit adapter.
authored
86 * Gracefully handle Faraday connection stacks that do not explicitly
87 specify an HTTP adapter. Thanks to [Patrick Roby](https://github.com/proby)
88 for reporting the bug.
b161e10 @myronmarston Work around bug in WebMock's em-http-request adapter.
authored
89 * Work around a bug in WebMock's em-http-request adapter that prevented
90 VCR from working when using the `:redirects` option with
91 em-http-request. This change is just a work around. It fixes the main
92 problem, but some features (such as the http request hooks) may not
93 work properly for this case. The bug will ultimately need to be
94 [fixed in WebMock](https://github.com/bblimke/webmock/pull/185).
95 Thanks to [Mark Abramov](https://github.com/markiz) for reporting
96 the bug and providing a great example test case.
4752496 @myronmarston Some improvements to @tylerhunt's faraday multipart upload fix.
authored
97 * Fix bug in handling of Faraday requests with multipart uploads.
98 Thanks to [Tyler Hunt](https://github.com/tylerhunt) for reporting
99 and fixing the bug.
7af62f4 @myronmarston Words.
authored
100
4858f4e @myronmarston 2.1.1 release.
authored
101 ## 2.1.1 (April 24, 2012)
102
103 [Full Changelog](http://github.com/myronmarston/vcr/compare/v2.1.0...v2.1.1)
dbe142d @myronmarston Update Changelog.
authored
104
105 * Fix `:use_scenario_name` cucumber tag option so that it works properly
106 with multiple scenarios. Thanks to [Brent Snook](https://github.com/brentsnook)
107 for reporting this bug.
92da531 @myronmarston Update changelog.
authored
108 * Fix `:use_scenario_name` cucumber tag option so that it only uses the
109 first line of the scenario feature name. Cucumber includes all of the
110 pre-amble text in the feature name but that can create a ridiculously
111 long cassette name. Thanks to [Brent Snook](https://github.com/brentsnook)
112 for reporting this bug.
dbe142d @myronmarston Update Changelog.
authored
113
114 ## 2.1.0 (April 19, 2012)
115
116 [Full Changelog](http://github.com/myronmarston/vcr/compare/v2.0.1...v.2.1.0)
396dd4c @myronmarston Release 2.0.0!
authored
117
0d01bfd @myronmarston Give credit where credit's due.
authored
118 * Add new `:use_scenario_name` option to the cucumber tags API. This
119 allows you to use a generic tag (such as `@vcr`) and have the
120 cassettes named based on the feature and scenario rather than based on
121 the tag. Thanks to [Omer Rauchwerger](https://github.com/rauchy) for
122 the implementation and [Chad Jolly](https://github.com/cjolly) for the
123 initial idea and feedback.
a96f0aa @myronmarston Update Changelog.
authored
124 * Add new `:decode_compressed_response` cassette option. When set to
125 true, VCR will decompress a gzipped or deflated response before
126 recording the cassette, in order to make it more human readable.
127 Thanks to [Mislav Marohnić](https://github.com/mislav) for the
128 idea and implementation.
1977f87 @myronmarston Update Changelog to reflect 2.0.1 release.
authored
129
130 ## 2.0.1 (March 30, 2012)
131
132 [Full Changelog](http://github.com/myronmarston/vcr/compare/v2.0.0...v2.0.1)
133
193c6c1 @myronmarston Update Changelog.
authored
134 * Fix encoding logic to not attempt to encode the request or response
135 body on deserialization if there is no encoding specified. This should
136 allow cassettes recorded on 1.8 to work on 1.9. Thanks to
137 [Kevin Menard](https://github.com/nirvdrum) for reporting the bug.
138 * Fix Excon adapter to fix a bug with Excon 0.11 and greater. When you
139 passed a block to an excon request, the response body would not be
140 recorded.
2098a95 @myronmarston Fix faraday middleware so that it plays back parallel requests properly.
authored
141 * Fix Faraday middleware so that it plays back parallel requests
142 properly. Thanks to [Dave Weiser](https://github.com/davidann) for
143 reporting this bug.
0d01bfd @myronmarston Give credit where credit's due.
authored
144
396dd4c @myronmarston Release 2.0.0!
authored
145 ## 2.0.0 (March 2, 2012)
146
147 [Full Changelog](http://github.com/myronmarston/vcr/compare/v2.0.0.rc2...v2.0.0)
618a581 @myronmarston Release 2.0.0.rc2.
authored
148
5bf57c1 @myronmarston Update changelog.
authored
149 * Add some additional logged events for the `debug_logger`.
efc5712 @myronmarston Update changelog.
authored
150 * Don't worry about stripping the standard port from the request URI on
151 playback. The standard port only needs to be stripped during recording;
152 for playback, it will have already been stripped. This allows people
153 to use the `filter_sensitive_data` option in a way that changes the URI;
154 before this change, doing so could result in `URI::InvalidURIError`.
155 Thanks to [Patrick Schmitz](https://github.com/bullfight) and
156 [Dan Thompson](https://github.com/danthompson) for reporting the issue
157 and helping diagnose it.
2aeea4a @myronmarston Explicitly support newly released Excon 0.10.
authored
158 * Relax Excon dependency to include newly released 0.10.
72332bf @myronmarston Run tests against Faraday 0.8.0.rc2.
authored
159 * Relax Faraday dependency to include 0.8.
8d356b1 @myronmarston Update changelog.
authored
160 * Fix Faraday library hook so that it always does the version checking.
5bf57c1 @myronmarston Update changelog.
authored
161
618a581 @myronmarston Release 2.0.0.rc2.
authored
162 ## 2.0.0 RC 2 (February 23, 2012)
163
164 [Full Changelog](http://github.com/myronmarston/vcr/compare/v2.0.0.rc1...v2.0.0.rc2)
c06d3f0 @myronmarston Release 2.0.0.rc1.
authored
165
e0d3a4f @myronmarston Update changelog.
authored
166 ## New Features
167
168 * Add YARD documentation for the public API. Thanks to
169 [Ben Oakes](https://github.com/benjaminoakes) for help with setting
170 this up.
171 * Fix `around_http_request` hook so that `request.proceed` returns
172 the response.
173 * Resolve `cassette_library_dir` to an absolute path. Thanks to
174 [Nate Clark](https://github.com/heythisisnate) for the suggestion.
2062381 @myronmarston Update Changelog.
authored
175 * Add to the `VCR::Request` API in `before_http_request` and
176 `after_http_request` hooks so the request has query methods like
177 `#real?`, `#recordable?`, `#ignored?`, etc. Thanks to
178 [Nate Clark](https://github.com/heythisisnate) for the idea.
179 * Allow filters (objects that respond to `#to_proc`) to be passed
180 to `before_http_request` and `after_http_request`. This allows
181 an API like `before_http_request(:real?)` or
182 `after_http_request(lambda { |req| req.uri =~ /amazon/ })`.
183 * Add `debug_logger` config option. This can be used to
184 troubleshoot what VCR is doing.
580f827 @myronmarston Update webmock dependency now that 1.8.0 is out.
authored
185 * Update WebMock to version (1.8.0) that supports Excon stubbing.
994a236 @myronmarston Words.
authored
186 * Store the encoding with the request & response bodies in the
187 serialized cassette.
188 * Add new `preserve_exact_body_bytes` option that base64 encodes the
189 request or response body in order to preserve the bytes exactly.
190 Thanks to [Jeff Pollard](https://github.com/Fluxx) for help
191 designing this feature and for code reviewing it.
9380ddb @myronmarston Use latest Excon.
authored
192 * Update to and require latest Excon (0.9.6).
e0d3a4f @myronmarston Update changelog.
authored
193
194 ## Bug Fixes
195
196 * Fix rspec metadata integration to allow the cassette name to be set
197 at the example group level and apply to multiple examples. Thanks to
198 [Paul Russell](https://github.com/pauljamesrussell) for reporting the
199 bug.
200 * Add missing `require 'vcr/version'` to the cassette migrator task.
201 If you tried the migration rake task with 2.0.0.rc1 and got a
202 `NoMethodError`, it should be fixed now.
203 * Update Excon dependency to 0.9.5; 0.9.5 includes an important bug
204 fix needed by VCR.
205 * Ensure the excon retry limit is honored properly.
206 * Ensure that the correct error class is raised by excon when stubbing
207 an unexpected status.
208 * Fix FakeWeb library hook so that it records the request body when
209 using `Net::HTTP.post_form`. Thanks to
210 [Retistic](https://github.com/Retistic) for reporting the bug.
211
c06d3f0 @myronmarston Release 2.0.0.rc1.
authored
212 ## 2.0.0 RC 1 (December 8, 2011)
213
214 [Full Changelog](http://github.com/myronmarston/vcr/compare/v2.0.0.beta2...v2.0.0.rc1)
a47947b @myronmarston 2.0.0.beta2 release.
authored
215
8be100d @myronmarston Update changelog.
authored
216 * Add Faraday hook that automatically inserts the VCR middleware so that
217 you can use VCR with Faraday without needing to insert the middleware
218 yourself. Use `VCR.configure { |c| c.hook_into :faraday }`.
219 * Add `ignore_request` config option. Pass it a block that returns
958c36e @myronmarston Update Changelog.
authored
220 true if the given request should be ignored.
221 * Improve the unhandled HTTP request error message so that it lists
222 different options for how to get VCR to handle it.
223 * Add {before,after,around}_http_request hooks.
224 * Updated WebMock integration and bumped up required version to 1.7.8.
225 * Test against latest Excon (0.7.9) and confirm that VCR works fine with
226 it.
227 * Add define_cassette_placeholder as an alias for filter_sensitive_data.
228 * Fix Faraday middleware so that it works properly when you use parallel
229 requests.
230 * Integrate VCR with RSpec metadata. Thanks to [Ryan Bates](https://github.com/ryanb)
231 for the great idea.
8be100d @myronmarston Update changelog.
authored
232
a47947b @myronmarston 2.0.0.beta2 release.
authored
233 ## 2.0.0 Beta 2 (November 6, 2011)
234
235 [Full Changelog](http://github.com/myronmarston/vcr/compare/v2.0.0.beta1...v2.0.0.beta2)
e57f1c3 @myronmarston 2.0.0.beta1 release.
authored
236
46c3be8 @myronmarston Update to latest typhoeus. No more need to monkey patch it!
authored
237 * Update to (and require) Typhoeus 0.3.2.
a70c39f @myronmarston Acknowledge sfesekaran for that last fix.
authored
238 * Fix a bug with `VCR.request_matchers.uri_without_param(:some_param)`
239 so that it properly handles URIs that have no parameters. Thanks to
0520b4e @myronmarston Use sfekaran's full name based on the commit.
authored
240 [Sathya Sekaran](https://github.com/sfsekaran) for this fix.
814eba2 @myronmarston Update changelog.
authored
241 * The cassette format has changed significantly:
242 * The HTTPInteractions are no longer normalized in a lossy fashion.
243 VCR 1.x converted all HTTP header keys to lowercase. VCR 2.0 no
244 longer does this because it is impossible to know what the original
245 casing was (i.e. given `etag`, was it originally `etag`, `ETag` or
246 `Etag`?). Also, some HTTP libraries add particular request headers
247 to every request, and these used to be ignored. The aren't anymore.
248 * The ruby struct objects are not directly serialized anymore.
249 Instead, only primitives (hashes, arrays, strings, integers) are
250 serialized. This allows swappable serializers and will allow other
251 tools to read and use a VCR cassette.
252 * Add new serializer API. VCR ships with YAML, Syck, Psych and JSON
253 serializers, and it is very simple to implement your own. The
254 serializer can be configured on a per-cassette basis.
255 * New `vcr:migrate_cassettes DIR=path/to/cassettes` rake task assists
256 with upgrading from VCR 1.x to 2.0.
257 * Cassettes now contain a `recorded_with` attribute. This should
258 allow the cassette structure to be updated more easily in the future
259 as the version number provides a means for easily migrating
260 cassettes.
261 * Add `recorded_at` to data serialized with an HTTPInteraction. This
262 allows the `:re_record_interval` cassette option to work more
263 accurately and no longer rely on the file modification time.
264
265 Note that VCR 1.x cassettes cannot be used with VCR 2.0. See the
266 upgrade notes for more info.
267
268 ## 2.0.0 Beta 1 (October 8, 2011)
46c3be8 @myronmarston Update to latest typhoeus. No more need to monkey patch it!
authored
269
e57f1c3 @myronmarston 2.0.0.beta1 release.
authored
270 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.11.3...v2.0.0.beta1)
271
60f00d1 @myronmarston Use past tense verb like the other parts of the changelog.
authored
272 ### Changed
e57f1c3 @myronmarston 2.0.0.beta1 release.
authored
273
274 * Previously, the last matching response in a cassette would
275 repeatedly playback if the same request kept being made. This is
276 no longer the case.
277 * The Faraday middleware has been rewritten.
278 * You no longer need to configure `stub_with :faraday` to use it.
279 * It has been updated to work in parallel mode.
280 * It no longer accepts a block and uses that to determine the
281 cassette. Instead, use `VCR.use_cassette` just like you would
282 with FakeWeb or WebMock.
283
284 ### Added
285
286 * Allow any callable (an object that responds to #call, such as a
287 lambda) to be used as a request matcher. Thanks to [Avdi Grimm](https://github.com/avdi)
288 for the idea.
289 * Add ability to register custom request matchers.
290 * Add `VCR.request_matchers.uri_without_param(:some_param)` to generate
291 a request matcher that matches on URI but ignores the named parameter.
292 * New `:allow_playback_repeats` cassette option preserves the old
293 playback repeat behavior. Thanks to [Avdi Grimm](https://github.com/avdi)
294 for the idea.
295 * New `:exclusive` cassette option allows a cassette to be exclusively
296 used rather than keeping the existing one active as a fallback. Thanks
297 to [Avdi Grimm](https://github.com/avdi) for the idea.
0544db9 @myronmarston 1.11.3 release.
authored
298
ad12768 @myronmarston Rework changelog a bit.
authored
299 ### Removed
300
e57f1c3 @myronmarston 2.0.0.beta1 release.
authored
301 * Removed support for Ruby 1.8.6 and 1.9.1.
302 * Removed lots of old deprecated APIs.
303 * Removed support for manually changing the URI in a cassette to a regex.
ad12768 @myronmarston Rework changelog a bit.
authored
304
305 ### Deprecated
306
e36ed0e @myronmarston Deprecate `VCR::Config` in favor of `VCR.configuration` and `VCR.conf…
authored
307 * Deprecated `VCR.config` in favor of `VCR.configure`.
308 * Deprecated `VCR::Config` singleton module in favor of
309 `VCR::Configuration` class. The current configuration instance
310 can be accessed via `VCR.configuration`.
e57f1c3 @myronmarston 2.0.0.beta1 release.
authored
311 * Deprecated `stub_with` in favor of `hook_into`. The stubbing
312 adapters have been completely rewritten and are no longer an
313 implementation of the adapter design pattern. Instead they simply
314 use the named library to globally hook into every HTTP request.
145918e @myronmarston Update changelog.
authored
315
0544db9 @myronmarston 1.11.3 release.
authored
316 ## 1.11.3 (August 31, 2011)
317
318 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.11.2...v1.11.3)
319
320 * Fix cassette serialization so that it does not include extra `ignored`
321 instance variable.
76c8d2b @myronmarston 1.11.2 release.
authored
322
323 ## 1.11.2 (August 28, 2011)
324
325 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.11.1...v1.11.2)
326
327 * Updated rake, cucumber and aruba dev dependencies to latest releases.
328 * Fix all warnings originating from VCR. VCR is now warning-free!
5393e26 @myronmarston 1.11.1 release.
authored
329
330 ## 1.11.1 (August 18, 2011)
331
332 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.11.0...v1.11.1)
333
334 * Yanked 1.11.0 and rebuilt gem on 1.8.7 to deal with syck/psych
335 incompatibilties in gemspec.
966d8ba @myronmarston 1.11.0 release.
authored
336
337 ## 1.11.0 (August 18, 2011)
338
339 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.10.3...v1.11.0)
340
341 * Updates to work with WebMock 1.7.0.
d62fe13 @myronmarston 1.10.3 release.
authored
342
343 ## 1.10.3 (July 21, 2011)
344
345 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.10.2...v1.10.3)
346
347 * Fix `:update_content_length_header` option so no error is raised if
348 a response body is nil. Bug reported by [jg](https://github.com/jg).
e472188 @myronmarston 1.10.2 release.
authored
349
350 ## 1.10.2 (July 16, 2011)
351
352 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.10.1...v1.10.2)
353
354 * Yanked 1.10.1 and rebuilt gem on 1.8.7 to deal with syck/psych
355 incompatibilties in gemspec.
7573d96 @myronmarston 1.10.1 release.
authored
356
357 ## 1.10.1 (July 16, 2011)
358
359 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.10.0...v1.10.1)
5fcfa61 @myronmarston 1.10.0 release.
authored
360
662ed74 @myronmarston Fix changelog wording.
authored
361 * 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
362 * Fix excon adapter to properly handle queries specified as a hash.
662ed74 @myronmarston Fix changelog wording.
authored
363 * Fix excon adapter to stub a response with a hash as excon expects.
364 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
365 * Fix excon adapter so that it records a response even when excon raises
366 an error due to an unexpected response.
b604625 @myronmarston Update changelog.
authored
367
5fcfa61 @myronmarston 1.10.0 release.
authored
368 ## 1.10.0 (May 18, 2011)
369
370 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.9.0...v1.10.0)
ab598a7 @myronmarston 1.9.0 release.
authored
371
7613284 @myronmarston Update changelog.
authored
372 * Fix header normalization so that it properly handles nested arrays and
373 non-string values.
374 * Add cucumber scenario documenting how VCR sanitizes cassette names
375 to "normal" file names (i.e. only alphanumerics, no spaces).
376 * Add `:ignore_cassettes` option to `VCR.turn_off!`. This causes
377 cassette insertions to be ignored rather than to trigger an error.
b466443 @myronmarston Update contributors.
authored
378 Patch provided by [Justin Smestad](https://github.com/jsmestad).
eb530ae @myronmarston Fix rack middleware so that it is threadsafe.
authored
379 * Fix rack middleware to make it threadsafe.
f52b13a @myronmarston Update rspec to latest.
authored
380 * Update to latest RSpec (rspec 2.6).
7613284 @myronmarston Update changelog.
authored
381
ab598a7 @myronmarston 1.9.0 release.
authored
382 ## 1.9.0 (April 14, 2011)
383
384 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.8.0...v1.9.0)
385
386 * Add support for [Excon](https://github.com/geemus/excon).
487332d @myronmarston 1.8.0 release.
authored
387
388 ## 1.8.0 (March 31, 2011)
389
390 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.7.2...v1.8.0)
717d7c8 @myronmarston 1.7.2 release.
authored
391
fb156a7 @myronmarston Update to Faraday 0.6.
authored
392 * Updated Faraday middleware to work with newly released Faraday 0.6.0.
393
717d7c8 @myronmarston 1.7.2 release.
authored
394 ## 1.7.2 (March 26, 2011)
395
396 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.7.1...v1.7.2)
0022cf7 @myronmarston 1.7.1 release.
authored
397
dbbc4b3 @myronmarston Ensure that header values are the same when recording and replaying.
authored
398 * Fixed Typhoeus adapter so headers are returned in the same form during
399 playback as they would be without VCR. Bug reported by
400 [Avdi Grimm](https://github.com/avdi).
401 * Fixed Faraday adapter so it treats response headers in the same way
402 Faraday itself does (i.e. with lowercase keys).
403
0022cf7 @myronmarston 1.7.1 release.
authored
404 ## 1.7.1 (March 19, 2011)
405
406 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.7.0...v1.7.1)
1467ebb @myronmarston 1.7.0 release.
authored
407
0d4d9f5 @myronmarston Fix faraday adapter so that it properly normalizes query parameters.
authored
408 * Fix Faraday adapter so that it properly normalizes query parameters
409 in the same way that Faraday itself does.
410
1467ebb @myronmarston 1.7.0 release.
authored
411 ## 1.7.0 (March 1, 2011)
412
413 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.6.0...v1.7.0)
de8c689 @myronmarston 1.6.0 release.
authored
414
d66f924 @myronmarston Update changelog.
authored
415 * Use Psych for YAML serialization/deserialization when it is available.
416 Syck, Ruby's old YAML engine, will remove whitespace from some
417 strings. Bug reported by [Robert Poor](https://github.com/rdpoor).
418 * Add new `:update_content_length_header` cassette option. The option
419 will ensure the `content-length` header value matches the actual
420 response body length.
8ca9b67 @myronmarston Update changelog.
authored
421 * Add new `:once` record mode. It operates like `:new_episodes` except
422 when the cassette file already exists, in which case it causes
423 new requests to raise an error. Feature suggested by
424 [Jamie Cobbett](https://github.com/jamiecobbett).
425 * Made `:once` the default record mode.
1f9fa36 @myronmarston Add new filter_sensitive_data configuration option.
authored
426 * Add new `filter_sensitive_data` configuration option. Feature
427 suggested by [Nathaniel Bibler](https://github.com/nbibler).
8050f83 @myronmarston Update Changelog.
authored
428 * Commit to [Semantic Versioning](http://semver.org/). The cucumber
429 features document the public API for the purposes of semver.
06cf3f6 @myronmarston Update changelog.
authored
430 * Add support for CI builds using [travis-ci](http://travis-ci.org/myronmarston/vcr).
fd67425 @myronmarston Update changelog.
authored
431 * Add support for running tests through `gem test vcr`. Visit
432 [test.rubygems.org](http://test.rubygems.org/gems/vcr) to see
433 the results.
acfb274 @myronmarston Use separate Before/After hooks rather than a single Around hook.
authored
434 * Fix cucumber support to use separate `Before` & `After` hooks rather than
435 a single `Around` hook because of a bug in cucumber that prevents
436 background steps from running within the `Around` hook.
d66f924 @myronmarston Update changelog.
authored
437
de8c689 @myronmarston 1.6.0 release.
authored
438 ## 1.6.0 (February 3, 2011)
439
440 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.5.1...v1.6.0)
441
442 * Add new `ignore_hosts` configuration option that allows you to ignore
443 any host (not just localhost aliases, as the `ignore_localhost` option
444 works). Feature suggested by [Claudio Poli](https://github.com/masterkain).
445 * Upgraded to the latest Typhoeus (0.2.1).
446 * General code clean up and refactoring.
be6672d @myronmarston 1.5.1 release.
authored
447
448 ## 1.5.1 (January 12, 2011)
449
450 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.5.0...v1.5.1)
451
452 * Fix response and request serialization so that the headers are raw
453 strings. This fixes intermittent YAML seg faults for paperclip
d66f924 @myronmarston Update changelog.
authored
454 uploads to S3. Bug reported by [Rob Slifka](https://github.com/rslifka).
9c4a71c @myronmarston 1.5.0 release.
authored
455
456 ## 1.5.0 (January 12, 2011)
457
458 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.4.0...v1.5.0)
2e87813 @myronmarston Words.
authored
459
460 * Fix VCR::Cassette so it does not raise an error when a cassette file is
461 empty. Bug reported and fixed by [Karl Baum](https://github.com/kbaum).
4765bcf @myronmarston Update changelog.
authored
462 * Lots of code cleanup.
463 * Fix the stubbing adapters so that they use the cassette instance
464 rather than the cassette name to create and restore checkpoints.
465 * Raise an appropriate error when a nested cassette is inserted with the
466 same name as a cassette that is already in the stack (VCR's design
467 doesn't allow this and you would get weird errors later on).
468 * Raise an appropriate error when restoring a stubs checkpoint if the
469 checkpoint cannot be found.
fb94dec @myronmarston Words.
authored
470 * Add `before_record` and `before_playback` hooks. Idea and initial
471 implementation by [Oliver Searle-Barnes](https://github.com/opsb);
472 futher suggestions, testing and feedback by
473 [Nathaniel Bibler](https://github.com/nbibler).
2e87813 @myronmarston Words.
authored
474
6d40d17 @myronmarston 1.4.0 release.
authored
475 ## 1.4.0 (December 3, 2010)
c1c590e @myronmarston Update changelog.
authored
476
6d40d17 @myronmarston 1.4.0 release.
authored
477 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.3.3...v1.4.0)
c1c590e @myronmarston Update changelog.
authored
478
b58808d @myronmarston Add rack middleware feature.
authored
479 * Added support for making HTTP requests without a cassette (i.e. if you don't
c1c590e @myronmarston Update changelog.
authored
480 want to use VCR for all of your test suite). There are a few ways to
481 enable this:
482 * In your `VCR.config` block, set `allow_http_connections_when_no_cassette`
483 to true to allow HTTP requests without a cassette.
484 * You can temporarily turn off VCR using `VCR.turned_off { ... }`.
485 * You can toggle VCR off and on with `VCR.turn_off!` and `VCR.turn_on!`.
b58808d @myronmarston Add rack middleware feature.
authored
486 * Fixed bug with `ignore_localhost` config option. Previously, an error would
021cfea @myronmarston Fixed bug with ignore_localhost config option.
authored
487 be raised if it was set before the `stub_with` option.
b58808d @myronmarston Add rack middleware feature.
authored
488 * Added VCR::Middleware::Rack (see features/middleware/rack.feature for usage).
4f8e467 @myronmarston Add Faraday support.
authored
489 * Added support for Faraday (see features/middleware/faraday.feature for usage).
c1c590e @myronmarston Update changelog.
authored
490
ae45360 @myronmarston 1.3.3 release.
authored
491 ## 1.3.3 (November 21, 2010)
76137bf @myronmarston Hit a local sinatra app rather than example.com in specs.
authored
492
ae45360 @myronmarston 1.3.3 release.
authored
493 [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
494
495 * In specs, hit a local sinatra server rather than example.com. This makes
496 the specs faster and removes an external dependency. The specs can pass
497 without being online!
26fae52 @myronmarston Fix VCR::Config.http_stubbing_libraries so that it always returns an …
authored
498 * Raise an explicit error when the http stubbing library is not configured
499 (rather than letting the user get a confusing error later).
ae45360 @myronmarston 1.3.3 release.
authored
500 * Test against the latest WebMock release (1.6.1) (no changes required).
501 * 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
502
2efe05d @myronmarston 1.3.2 release.
authored
503 ## 1.3.2 (November 16, 2010)
0025871 @myronmarston Normalize structs so they are serialized the same regardless of which…
authored
504
2efe05d @myronmarston 1.3.2 release.
authored
505 [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
506
507 * Fix serialized structs so that they are normalized andthey will be the same
508 regardless of which HTTP library made the request.
509 * Status "OK " => "OK"
510 * Body '' => nil
511 * Headers {} => nil
512 * Remove extraneous headers added by the HTTP lib (i.e. Typhoeus user agent)
2efe05d @myronmarston 1.3.2 release.
authored
513 * Rewrite cucumber features in a more documentation-oriented style.
0025871 @myronmarston Normalize structs so they are serialized the same regardless of which…
authored
514
75fd8bd @myronmarston 1.3.1 release.
authored
515 ## 1.3.1 (November 11, 2010)
516
429619f @myronmarston Fix URLs in changelog.
authored
517 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.3.0...v1.3.1)
75fd8bd @myronmarston 1.3.1 release.
authored
518
519 * Update WebMock adapter to work with (and require) newly released WebMock 1.6.0.
520
a2e9b46 @myronmarston 1.3.0 release.
authored
521 ## 1.3.0 (November 11, 2010)
e305b26 @myronmarston Update changelog.
authored
522
429619f @myronmarston Fix URLs in changelog.
authored
523 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.2.0...v1.3.0)
e305b26 @myronmarston Update changelog.
authored
524
525 * Moved documentation from README to [Wiki](http://github.com/myronmarston/vcr/wiki).
526 * Refactoring and code cleanup.
922f145 @myronmarston Fix InternetConnection.available? so that it memoizes correctly when …
authored
527 * 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
528 * 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
529 * Add support for [Typhoeus](https://github.com/pauldix/typhoeus). Thanks to
530 [David Balatero](https://github.com/dbalatero) for making the necessary changes in Typhoeus
531 to support VCR.
26fae52 @myronmarston Fix VCR::Config.http_stubbing_libraries so that it always returns an …
authored
532 * Remove FakeWeb/WebMock inference logic. You _must_ configure the http stubbing library
533 explicitly now.
e305b26 @myronmarston Update changelog.
authored
534
d25e34c @myronmarston 1.2.0 release.
authored
535 ## 1.2.0 (October 13, 2010)
4839e58 @myronmarston Improved the :all record mode so that it keeps previously recorded in…
authored
536
d25e34c @myronmarston 1.2.0 release.
authored
537 [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
538
4839e58 @myronmarston Improved the :all record mode so that it keeps previously recorded in…
authored
539 * Improved the `:all` record mode so that it keeps previously recorded interactions that do not match the
540 new recorded interactions. Previously, all of the previously recorded interactions were deleted.
d0e7dbd @myronmarston Add :re_record_interval cassette option.
authored
541 * Added `:re_record_interval` cassette option. This option causes a cassette to be re-recorded when the
542 existing file is older than the specified interval.
f4cce4c @myronmarston Improved RSpec support.
authored
543 * Improved RSpec support. Added #use_vcr_cassette RSpec macro method that sets up a cassette for an RSpec
544 example group.
709f593 @myronmarston Update changelog.
authored
545 * Fixed VCR/Net::HTTP/WebMock integration so that VCR no longer loads its Net::HTTP monkey patch when
546 WebMock is used, and relies upon WebMock's after_request callback to record Net::HTTP instead. This
547 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
548 * 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
549 * Added spec and feature coverage for Curb integration. Works out of the box with no changes required
8f369c1 @myronmarston Fixed typo.
authored
550 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
551 * Got specs and features to pass on rubinius.
91d67ad @myronmarston Upgrade to WebMock 1.4.0.
authored
552 * Changed WebMock version requirement to 1.4.0.
4839e58 @myronmarston Improved the :all record mode so that it keeps previously recorded in…
authored
553
b827a7b @myronmarston 1.1.2 release.
authored
554 ## 1.1.2 (September 9, 2010)
555
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
556 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.1.1...v1.1.2)
557
b827a7b @myronmarston 1.1.2 release.
authored
558 * Fixed a minor bug with the WebMock integration: WebMock extends each `Net::HTTPResponse` with an extension
559 module after reading the body, and VCR was doing the same thing, leading to some slight deviance from
560 standard Net::HTTP behavior. The fix prevents VCR from adding the same extension to a `Net::HTTPResponse`
561 that has already been extende by WebMock.
562 * Fixed a minor bug in the `VCR::Net::HTTPResponse` module so that it correctly handles nil bodies (such as
563 for a HEAD request).
564 * Refactored `VCR::Net::HTTPResponse` module so it is implemented in a much simpler manner.
565 * Updated specs and features so they pass against the latest WebMock release (1.3.5).
566 * Minor documentation updates.
567
69c0fe7 @myronmarston 1.1.1 release.
authored
568 ## 1.1.1 (August 26, 2010)
4d68e93 @myronmarston Optimized #stub_requests a bit.
authored
569
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
570 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.1.0...v1.1.1)
571
ed4a662 @myronmarston The latest FakeWeb passes this spec (was pending before).
authored
572 * Updated to use and require FakeWeb 1.3.0. It includes a fix for a bug related to multiple values for the
573 same response header.
7f58282 @myronmarston Use FakeWeb::Utility.request_uri_as_string rather than our own logic …
authored
574 * 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
575 * Use new `FakeWeb.allow_net_connect = /url regex/` feature to power the `ignore_localhost` VCR option rather
576 then toggling `FakeWeb.allow_net_connect` in our Net::HTTP extension.
4d68e93 @myronmarston Optimized #stub_requests a bit.
authored
577 * Optimized `VCR.http_stubbing_adapter.stub_requests` a bit.
5f5da7a @myronmarston Change http stubbing adapters to be modules rather than classes.
authored
578 * Changed the http stubbing adapters to be modules rather than classes. They should never be instantiated and
579 don't really hold state, so a module is more appropriate.
0a979b4 @myronmarston Refactored and updated #check_version! on FakeWeb/WebMock adapters so…
authored
580 * Warn when FakeWeb or WebMock are a minor or major version number ahead of the required version, as the new
581 version isn't known to work with VCR.
4d68e93 @myronmarston Optimized #stub_requests a bit.
authored
582
4a465ca @myronmarston 1.1.0 release.
authored
583 ## 1.1.0 (August 22, 2010)
0289298 @myronmarston Removed task runner as it's no longer needed.
authored
584
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
585 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.0.3...v1.1.0)
586
3def0be @myronmarston Documentation updates for new :match_requests_on option.
authored
587 * Added `:match_requests_on` cassette option, which determines how VCR matches requests.
0289298 @myronmarston Removed task runner as it's no longer needed.
authored
588 * Removed VCR::TaskRunner and the corresponding rake task definition. The rake task migrated cassettes from the
589 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,
590 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
591 * Added some code to VCR::Cassette.new to check the options passed to the cassette and raise an error if any
592 invalid options are passed.
f2bb986 @myronmarston Optimized ERB rendering a bit.
authored
593 * Optimized ERB rendering a bit. Rather than creating a new struct subclass for each time we render an ERB
594 cassette with locals, we keep a cache of reusable struct subclasses based on the desired attributes.
595 [Benchmarking](http://gist.github.com/512948) reveals this is about 28% faster.
a40025f @myronmarston Updated em-http-request to 0.2.10.
authored
596 * 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
597
ce13279 @myronmarston 1.0.3 release.
authored
598 ## 1.0.3 (August 5, 2010)
599
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
600 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.0.2...v1.0.3)
601
ce13279 @myronmarston 1.0.3 release.
authored
602 * Upgraded VCR specs to RSpec 2.
603 * Updated `VCR::CucumberTags` so that it uses an `around` hook rather than a `before` hook and an `after` hook.
604 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
605 the `VCR::CucumberTags` feature.
606 * Updated the WebMock version requirement to 1.3.3 or greater. 1.3.2 and earlier versions did not properly handle
607 multiple value for the same response header.
608 * Miscellaneous documentation updates.
609
e13d215 @myronmarston 1.0.2 release.
authored
610 ## 1.0.2 (July 6, 2010)
611
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
612 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.0.1...v1.0.2)
613
e13d215 @myronmarston 1.0.2 release.
authored
614 * Fixed VCR to work with [rest-client](http://github.com/archiloque/rest-client). Rest-client extends the Net::HTTP
615 response body string with a module containing additional data, which got serialized to the cassette file YAML
616 and occasionally caused problems when the YAML was deserialized. Bug reported by
617 [Thibaud Guillaume-Gentil](http://github.com/thibaudgg).
618 * Setup bundler to manage development dependencies.
619
ade8181 @myronmarston 1.0.1 release.
authored
620 ## 1.0.1 (July 1, 2010)
621
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
622 [Full Changelog](http://github.com/myronmarston/vcr/compare/v1.0.0...v1.0.1)
623
ade8181 @myronmarston 1.0.1 release.
authored
624 * Fixed specs and features so they pass on MRI 1.9.2-preview3 and JRuby 1.5.1.
625 * Normalized response and request headers so that they are stored the same (i.e. lower case keys, arrays of values)
626 in the cassette yaml files, regardless of which HTTP library is used. This is the same way Net::HTTP normalizes
627 HTTP headers.
628 * Fixed `VCR.use_cassette` so that it doesn't eject a cassette if an exception occurs while inserting one.
629 * Fixed FakeWeb adapter so that it works for requests that use basic auth. Patch submitted by
630 [Eric Allam](http://github.com/rubymaverick).
631
a5ac5bf @myronmarston 1.0.0 release.
authored
632 ## 1.0.0 (June 22, 2010)
633
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
634 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.4.1...v1.0.0)
635
a5ac5bf @myronmarston 1.0.0 release.
authored
636 * New Features
637 * Added support for [HTTPClient](http://github.com/nahi/httpclient), [Patron](http://github.com/toland/patron) and
638 [em-http-request](http://github.com/igrigorik/em-http-request) when WebMock is used. Any future http libraries
d34b6f7 @myronmarston Add quality spec that enforces whitespace policy.
authored
639 WebMock supports should (theoretically, at least) work without any VCR code changes. Thanks to
a5ac5bf @myronmarston 1.0.0 release.
authored
640 [Bartosz Blimke](http://github.com/bblimke) for adding the necessary code to WebMock to make this happen!
641 * Added support for dynamic responses using ERB. A cassette will be evaluated as ERB before the YAML
642 is deserialized if you pass it an `:erb => true` option. You can pass variables using
643 `:erb => { :var1 => 'some value', :var2 => 'another value' }`.
644 * Added `ignore_localhost` configuration setting, which defaults to false. Setting it true does the following:
645 * Localhost requests will proceed as normal. The "Real HTTP connections are disabled" error will not occur.
646 * Localhost requests will not be recorded.
647 * Previously recorded localhost requests will not be replayed.
648 * Exposed the version number:
649 * `VCR.version` => string (in the format "major.minor.patch")
650 * `VCR.version.parts` => array of integers
651 * `VCR.version.major` => integer
652 * `VCR.version.minor` => integer
653 * `VCR.version.patch` => integer
654 * Added test coverage and documentation of using a regex for non-deterministic URLs (i.e. URLs that include
655 a timestamp as a query parameter). It turns out this feature worked before, and I just didn't realize it :).
656
657 * Breaking Changes
658 * The `:allow_real_http => lambda { |uri| ... }` cassette option has been removed. There was no way to get
659 this to work with the newly supported http libraries without extensive monkeypatching, and it was mostly
660 useful for localhost requests, which is more easily handled by the new `ignore_localhost` config setting.
661 * Removed methods and options that had been previously deprecated. If you're upgrading from an old version,
662 I recommend upgrading to 0.4.1 first, deal with all the deprecation warnings, then upgrade to 1.0.0.
663
664 * Misc Changes:
665 * Removed dependency on [jeweler](http://github.com/technicalpickles/jeweler). Manage the gemspec by hand instead.
666 * Removed some extensions that are no longer necessary.
667
dfceeb1 @myronmarston 0.4.1 release.
authored
668 ## 0.4.1 May 11, 2010
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
669
670 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.4.0...v0.4.1)
671
dfceeb1 @myronmarston 0.4.1 release.
authored
672 * Fixed a bug: when `Net::HTTPResponse#read_body` was called after VCR had read the body to record a new request,
673 it raised an error (`IOError: Net::HTTPResponse#read_body called twice`). My fix extends Net::HTTPResponse
674 so that it no longer raises this error.
675
7663252 @myronmarston 0.4.0 release.
authored
676 ## 0.4.0 April 28, 2010
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
677
678 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.3.1...v0.4.0)
679
af61cfc @myronmarston Updated CHANGELOG with the info about what is coming in the next rele…
authored
680 * Added support for webmock. All the fakeweb-specific code is now in an adapter (as is the webmock code).
681
682 * Changed the format of the VCR cassettes. The old format was tied directly to Net::HTTP, but webmock supports
683 other HTTP libraries and I plan to allow VCR to use them in the future. Note that this is a breaking change--your
684 old VCR cassettes from prior releases will not work with VCR 0.4.0. However, VCR provides a rake task to assist
685 you in migrating your cassettes to the new format. Simply add `load 'vcr/tasks/vcr.rake'` to your project's Rakefile,
686 and run:
687
688 $ rake vcr:migrate_cassettes DIR=path/to/cassete/library/directory
689
690 * The new cassette format records more information about the request (i.e. the request headers and body), so that it
691 can potentially be used with webmock in the future.
692
693 * Made most of `VCR::Cassette`'s methods private. I had forgotten to make the methods private before, and most of them
694 don't need to be exposed.
695
696 * Automatically disallow http connections using the appropriate setting of the http stubbing library (fakeweb or webmock).
697 This relieves users from the need to set the option themselves, so they hopefully aren't using either fakeweb or webmock
698 directly, making it much easier to switch between these.
699
700 * Change documentation from rdoc to markdown format.
701
702 * Lots of other refactoring.
703
3e442f3 @myronmarston Change History file to markdown format and renamed it to changelog.
authored
704 ## 0.3.1 April 10, 2010
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
705
706 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.3.0...v0.3.1)
707
3e442f3 @myronmarston Change History file to markdown format and renamed it to changelog.
authored
708 * Fixed a bug: when `Net::HTTP#request` was called with a block that had a return statement, the response was not being recorded.
709
710 ## 0.3.0 March 24, 2010
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
711
712 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.2.0...v0.3.0)
713
3e442f3 @myronmarston Change History file to markdown format and renamed it to changelog.
authored
714 * Renamed a bunch of methods, replacing them with method names that more clearly fit the VCR/cassette metaphor:
715 * `VCR.create_cassette!` => `VCR.insert_cassette`
716 * `VCR.destroy_cassette!` => `VCR.eject_cassette`
717 * `VCR.with_cassette` => `VCR.use_cassette`
718 * `VCR::Cassette#destroy!` => `VCR::Cassette#eject`
719 * `VCR::Cassette#cache_file` => `VCR::Cassette#file`
720 * `VCR::Config.cache_dir` => `VCR::Config.cassette_library_dir`
721 * `:unregistered` record mode => `:new_episodes` record mode
722
723 * All the old methods still work, but you'll get deprecation warnings.
724
725 ## 0.2.0 March 9, 2010
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
726
727 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.1.2...v0.2.0)
728
3e442f3 @myronmarston Change History file to markdown format and renamed it to changelog.
authored
729 * Added `:allow_real_http` cassette option, which allows VCR to work with capybara and a javascript driver.
730 Bug reported by [Ben Hutton](http://github.com/benhutton).
731
732 * Deprecated the `default_cassette_record_mode` option. Use `default_cassette_options[:record_mode]` instead.
733
734 ## 0.1.2 March 4, 2010
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
735
736 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.1.1...v0.1.2)
737
3e442f3 @myronmarston Change History file to markdown format and renamed it to changelog.
authored
738 * Added explanatory note about VCR to `FakeWeb::NetConnectNotAllowedError#message`.
739
740 * Got things to work for when a cassette records multiple requests made to the same URL with the same HTTP verb,
741 but different responses. We have to register an array of responses with fakeweb.
742
743 * Fixed our `Net::HTTP` monkey patch so that it only stores the recorded response once per request.
744 Internally, `Net::HTTP#request` recursively calls itself (passing slightly different arguments) in certain circumstances.
745
746 ## 0.1.1 February 25, 2010
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
747
748 [Full Changelog](http://github.com/myronmarston/vcr/compare/v0.1.0...v0.1.1)
749
3e442f3 @myronmarston Change History file to markdown format and renamed it to changelog.
authored
750 * Handle asynchronous HTTP requests (such as for mechanize). Bug reported by [Thibaud Guillaume-Gentil](http://github.com/thibaudgg).
751
752 ## 0.1.0 February 25, 2010
d7d9ac9 @myronmarston Add links to github comparison view for each release.
authored
753
754 [Full Changelog](http://github.com/myronmarston/vcr/compare/d2577f79247d7db60bf160881b1b64e9fa10e4fd...v0.1.0)
755
ade8181 @myronmarston 1.0.1 release.
authored
756 * Initial release. Basic recording and replaying of responses works.
Something went wrong with that request. Please try again.