|
1 | 1 | ## In git |
2 | 2 |
|
3 | | -[Full Changelog](http://github.com/myronmarston/vcr/compare/v1.11.3...master) |
| 3 | +[Full Changelog](http://github.com/myronmarston/vcr/compare/v2.0.0.beta1...master) |
| 4 | + |
| 5 | +## 2.0.0 Beta 1 (October 8, 2011) |
| 6 | + |
| 7 | +[Full Changelog](http://github.com/myronmarston/vcr/compare/v1.11.3...v2.0.0.beta1) |
| 8 | + |
| 9 | +### Changes |
| 10 | + |
| 11 | +* Previously, the last matching response in a cassette would |
| 12 | + repeatedly playback if the same request kept being made. This is |
| 13 | + no longer the case. |
| 14 | +* The Faraday middleware has been rewritten. |
| 15 | + * You no longer need to configure `stub_with :faraday` to use it. |
| 16 | + * It has been updated to work in parallel mode. |
| 17 | + * It no longer accepts a block and uses that to determine the |
| 18 | + cassette. Instead, use `VCR.use_cassette` just like you would |
| 19 | + with FakeWeb or WebMock. |
| 20 | + |
| 21 | +### Added |
| 22 | + |
| 23 | +* Allow any callable (an object that responds to #call, such as a |
| 24 | + lambda) to be used as a request matcher. Thanks to [Avdi Grimm](https://github.com/avdi) |
| 25 | + for the idea. |
| 26 | +* Add ability to register custom request matchers. |
| 27 | +* Add `VCR.request_matchers.uri_without_param(:some_param)` to generate |
| 28 | + a request matcher that matches on URI but ignores the named parameter. |
| 29 | +* New `:allow_playback_repeats` cassette option preserves the old |
| 30 | + playback repeat behavior. Thanks to [Avdi Grimm](https://github.com/avdi) |
| 31 | + for the idea. |
| 32 | +* New `:exclusive` cassette option allows a cassette to be exclusively |
| 33 | + used rather than keeping the existing one active as a fallback. Thanks |
| 34 | + to [Avdi Grimm](https://github.com/avdi) for the idea. |
4 | 35 |
|
5 | 36 | ### Removed |
6 | 37 |
|
7 | | -* Support for Ruby 1.8.6 and 1.9.1. |
8 | | -* Lots of old deprecated APIs. |
9 | | -* Support for manually changing the URI in a cassette to a regex. |
| 38 | +* Removed support for Ruby 1.8.6 and 1.9.1. |
| 39 | +* Removed lots of old deprecated APIs. |
| 40 | +* Removed support for manually changing the URI in a cassette to a regex. |
10 | 41 |
|
11 | 42 | ### Deprecated |
12 | 43 |
|
13 | 44 | * Deprecated `VCR.config` in favor of `VCR.configure`. |
14 | 45 | * Deprecated `VCR::Config` singleton module in favor of |
15 | 46 | `VCR::Configuration` class. The current configuration instance |
16 | 47 | can be accessed via `VCR.configuration`. |
17 | | - |
18 | | -### Added |
19 | | -* Add test coverage of using WebMock as the stubbing library and |
20 | | - Typhoeus as the HTTP library. |
21 | | -* Add ability to register custom request matchers. |
| 48 | +* Deprecated `stub_with` in favor of `hook_into`. The stubbing |
| 49 | + adapters have been completely rewritten and are no longer an |
| 50 | + implementation of the adapter design pattern. Instead they simply |
| 51 | + use the named library to globally hook into every HTTP request. |
22 | 52 |
|
23 | 53 | ## 1.11.3 (August 31, 2011) |
24 | 54 |
|
|
0 commit comments