Skip to content

Commit e57f1c3

Browse files
committed
2.0.0.beta1 release.
1 parent 57c0327 commit e57f1c3

File tree

2 files changed

+40
-10
lines changed

2 files changed

+40
-10
lines changed

CHANGELOG.md

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,54 @@
11
## In git
22

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.
435

536
### Removed
637

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.
1041

1142
### Deprecated
1243

1344
* Deprecated `VCR.config` in favor of `VCR.configure`.
1445
* Deprecated `VCR::Config` singleton module in favor of
1546
`VCR::Configuration` class. The current configuration instance
1647
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.
2252

2353
## 1.11.3 (August 31, 2011)
2454

lib/vcr/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module VCR
33

44
def version
55
@version ||= begin
6-
string = '2.0.0.pre'
6+
string = '2.0.0.beta1'
77

88
def string.parts
99
split('.').map { |p| p.to_i }

0 commit comments

Comments
 (0)