Skip to content

Commit

Permalink
2.0.0.beta1 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Oct 9, 2011
1 parent 57c0327 commit e57f1c3
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 10 deletions.
48 changes: 39 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,54 @@
## In git

[Full Changelog](http://github.com/myronmarston/vcr/compare/v1.11.3...master)
[Full Changelog](http://github.com/myronmarston/vcr/compare/v2.0.0.beta1...master)

## 2.0.0 Beta 1 (October 8, 2011)

[Full Changelog](http://github.com/myronmarston/vcr/compare/v1.11.3...v2.0.0.beta1)

### Changes

* Previously, the last matching response in a cassette would
repeatedly playback if the same request kept being made. This is
no longer the case.
* The Faraday middleware has been rewritten.
* You no longer need to configure `stub_with :faraday` to use it.
* It has been updated to work in parallel mode.
* It no longer accepts a block and uses that to determine the
cassette. Instead, use `VCR.use_cassette` just like you would
with FakeWeb or WebMock.

### Added

* Allow any callable (an object that responds to #call, such as a
lambda) to be used as a request matcher. Thanks to [Avdi Grimm](https://github.com/avdi)
for the idea.
* Add ability to register custom request matchers.
* Add `VCR.request_matchers.uri_without_param(:some_param)` to generate
a request matcher that matches on URI but ignores the named parameter.
* New `:allow_playback_repeats` cassette option preserves the old
playback repeat behavior. Thanks to [Avdi Grimm](https://github.com/avdi)
for the idea.
* New `:exclusive` cassette option allows a cassette to be exclusively
used rather than keeping the existing one active as a fallback. Thanks
to [Avdi Grimm](https://github.com/avdi) for the idea.

### Removed

* Support for Ruby 1.8.6 and 1.9.1.
* Lots of old deprecated APIs.
* Support for manually changing the URI in a cassette to a regex.
* Removed support for Ruby 1.8.6 and 1.9.1.
* Removed lots of old deprecated APIs.
* Removed support for manually changing the URI in a cassette to a regex.

### Deprecated

* Deprecated `VCR.config` in favor of `VCR.configure`.
* Deprecated `VCR::Config` singleton module in favor of
`VCR::Configuration` class. The current configuration instance
can be accessed via `VCR.configuration`.

### Added
* Add test coverage of using WebMock as the stubbing library and
Typhoeus as the HTTP library.
* Add ability to register custom request matchers.
* Deprecated `stub_with` in favor of `hook_into`. The stubbing
adapters have been completely rewritten and are no longer an
implementation of the adapter design pattern. Instead they simply
use the named library to globally hook into every HTTP request.

## 1.11.3 (August 31, 2011)

Expand Down
2 changes: 1 addition & 1 deletion lib/vcr/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module VCR

def version
@version ||= begin
string = '2.0.0.pre'
string = '2.0.0.beta1'

def string.parts
split('.').map { |p| p.to_i }
Expand Down

0 comments on commit e57f1c3

Please sign in to comment.