Skip to content

Commit

Permalink
Bump to 2.1.0; CHANGELOG; SDK ceiling bump (#70)
Browse files Browse the repository at this point in the history
* Bump to 2.1.0; CHANGELOG; SDK ceiling bump
  • Loading branch information
srawlins authored Jul 31, 2017
1 parent 7e372d9 commit f4dace1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
## 2.1.0

* Add documentation for `when`, `verify`, `verifyNever`, `resetMockitoState`.
* Expose `throwOnMissingStub`, `resetMockitoState`.
* Improve failure message for `verify`.
* SDK version ceiling bumped to `<2.0.0-dev.infinity` to support Dart 2.0
development testing.
* Add a Mockito + test package example at `test/example/iss`.

## 2.0.2

* Start using the new `InvocationMatcher` instead of the old matcher.
* Change `throwOnMissingStub` back to invoking `Object.noSuchMethod`:
* It was never documented what the thrown type should be expected as
* You can now just rely on `throwsNoSuchMethodError` if you want to catch it
* It was never documented what the thrown type should be expected as.
* You can now just rely on `throwsNoSuchMethodError` if you want to catch it.

## 2.0.1

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: mockito
version: 2.0.2
version: 2.1.0
authors:
- Dmitriy Fibulwinter <[email protected]>
- Dart Team <[email protected]>
description: A mock framework inspired by Mockito.
homepage: https://github.com/dart-lang/mockito
environment:
sdk: '>=1.21.0 <2.0.0'
sdk: '>=1.21.0 <2.0.0-dev.infinity'
dependencies:
matcher: '^0.12.0'
meta: '^1.0.4'
Expand Down

0 comments on commit f4dace1

Please sign in to comment.