Release notes were automatically generated by Shipkit

2.11.0 (2017-10-14) published to JCenter/Maven Central

New public API for Spring Boot integration will improve compatibility of Mockito and reduce version conflict problems. We carefully grow our public API for framework integrations. This time we added new “Verification Started Listener”, needed to resolve double proxy use case. Using this API, Spring Boot framework no longer needs to depend on internal Mockito API.

We also added Automatic-Module-Name to mockito jar, useful in Java9 context (#1189).

2.11.0 (2017-10-14) - 20 commits by Szczepan Faber - published to Bintray - Added new public API for spring-boot use case (#1192)

2.10.5 (2017-10-14) - 12 commits by Marcin Zajączkowski (8), Szczepan Faber (3), Allon Murienik (1) - published to Bintray - [Java 9 support] JDK9: set a stable module name with Automatic-Module-Name entry in MANIFEST (#1189) - Fixed documentation issue, added unit tests (#1203) - [#1202] Java 9 CI build for Mockito 2.x (#1202) - Fixes #1189: Add stable module name (#1195)

2.10.4 (2017-10-08) - 1 commit by Allon Murienik - published to Bintray - Fix javadoc in PluginLoader#withAlias’ javadoc (#1201)

2.10.3 (2017-10-07) - 1 commit by Christian Schwarz - published to Bintray - Fix for #1155 thenThrow(Class) (#1162) - thenThrow(Class) should only throw checked exceptions that match the signature of the stubbed method (#1155)

2.10.2 (2017-10-06) - 3 commits by Allon Murienik (1), Ben Yu (1), Roman Elizarov (1) - published to Bintray - Fixes 977: Javadoc on verifyZeroInteractions (#1199) - Introduce test for mock-maker-inline with Kotlin suspend functions (#1165) - Add tests to verify and show that @Spy can be used to allow stubbing/verification of List parameters using varargs. (#1157)

2.10.1 (2017-10-04) - 1 commit by Dennis Cheung - published to Bintray - Enable stubOnly() on @Mock annotation (#1146)

2.10.0 (2017-09-08) published to JCenter/Maven Central

The main highlight of this release is the additions to the public API to accommodate advanced framework integrations. It will help other frameworks to cleanly integrate with Mockito. For more details, see #1121.

2.10.0 (2017-09-08) - 42 commits by Szczepan Faber - published to Bintray - Improve and develop APIs required for framework integrators (#1121)

2.9.2 (2017-09-05) - 2 commits by Rafael Winterhalter - published to Bintray - Compare method of graph to defined form of method. (#1186)

2.9.1 (2017-09-04) - 11 commits by Rafael Winterhalter (9), Szczepan Faber (2) - published to Bintray - Travis (#1184) - #1179: Fix performance regression caused by use of method graph compiler. (#1181) - Mockito 2.9.0 is significantly slower (#1179) - Adds support for Java 9 in inline mock maker by Byte Buddy update. (#1158)

2.9.0 (2017-08-26) published to JCenter/Maven Central

Notable changes: - bumped ByteBuddy 1.6.14 -> 1.7.0 (inline mocking, bugfixes) - bumped Objenesis 2.5 -> 2.6 (Java9, bugfixes)

2.9.0 (2017-08-26) - 5 commits by Szczepan Faber - published to Bintray - Updated README.md wrt maven central release (#1172) - Bumped minor version so signify new Objenesis version (#1171)

2.8.55 (2017-08-21) - 7 commits by Szczepan Faber (6), Pascal Schumacher (1) - published to Bintray - Update objenesis version 2.5 -> 2.6 (Java9, bugfixes) (#1170) - Updated to latest Shipkit, tidied up configuration (#1169)

2.8.54 (2017-08-09) - 5 commits by Marcin Zajączkowski (3), Igor C. A. de Lima (1), Szczepan Faber (1) - published to Bintray - [Bugfixes] Unnecessary release was triggered (#1144) - Remove duplicated word in Javadoc (#1161) - [#1147] Provide version in release commit message (#1147) - Bumped shipkit to fix unnecessary releasing problem (#1145)

2.8.53 (2017-07-06) - 6 commits by Szczepan Faber (5), Wojtek Wilk (1) - published to Bintray - Bumped shipkit, simplified Travis file, removed unnecessary code (#1141) - org.shipkit.publications-comparator plugin applied (#1139)

2.8.52 (2017-06-24) - 8 commits by Szczepan Faber - published to Bintray - Simplified and documented .travis.yml file (#1133)

2.8.51 (2017-06-24) - 1 commit by Allon Murienik - published to Bintray - Don’t use raw rypes in UnusedStubbingsTest (#1137)

2.8.50 (2017-06-24) - 1 commit by Rafael Winterhalter - published to Bintray - Fixes #1135: Properly resolve visibility bridges. (#1136) - [mock-maker-inline] Method calls on mock forwarded to real instance (#1135)

2.8.49 (2017-06-22) - 2 commits by Rafael Winterhalter - published to Bintray - Improve detection on non-mockable types - ByteBuddy bump 1.6.14->1.7.0 (#1128)

2.8.48 (2017-06-18) - 2 commits by epeee (1), Szczepan Faber (1) - published to Bintray - make use of shipkit v0.8.92 (#1132)

2.8.47 (2017-06-15) published to JCenter/Maven Central

2.8.47 (2017-06-15) - 1 commit by Marcin Zajączkowski - published to Bintray - No pull requests referenced in commit messages.

2.8.46 (2017-06-15) - 2 commits by Szczepan Faber - published to Bintray - Fixed issue with releases to Maven Central (#1129) - Version not released to Maven Central (#1127)

2.8.45 (2017-06-13) - 1 commit by VChirp - published to Bintray - Fix typo: Remove repeated “a” (#1125)

2.8.44 (2017-06-12) - 3 commits by Marcin Zajaczkowski (1), Marcin Zajączkowski (1), Myrle Krantz (1) - published to Bintray - [New features] Answer with delay in mock or spy to improve testing of asynchronous code (#1117)

2.8.43 (2017-06-10) - 2 commits by Szczepan Faber - published to Bintray - No pull requests referenced in commit messages.

2.8.42 (2017-06-10) - 3 commits by epeee (2), Szczepan Faber (1) - published to Bintray - update to shipkit v0.8.72 (#1115)

2.8.41 - 1 commit by Allon Murienik - 2017-06-10 - published to Bintray - ArgsMismatchFinder#getStubbingArgMismatches generics (#1118)

2.8.40 - 4 commits by Szczepan Faber (2), Alex Simkin (1), mkuster (1) - 2017-06-05 - published to Bintray - [Bugfixes] Fixed Travis configuration for matrix build (#1109) - Renamed configuration extension ‘releasing’ into ‘shipkit’ (#1104) - Made CaturingMatcher threadsafe (#986)

2.8.39 - 1 commit by Szczepan Faber - 2017-05-30 - published to Bintray - Fixed contributor links and bintray badge in release notes (#1103)

2.8.38 - 1 commit by Szczepan Faber - 2017-05-30 - published to maven/mockito-development - [Documentation] Fixed broken link in Javadoc, improved console message (#1100)

2.8.37 - 4 commits by epeee, Szczepan Faber - 2017-05-28 - published to maven/mockito-development - update gradle to v3.5 (#1099) - Moved some more dependencies to dependencies.gradle (#1098)

2.8.36 - 1 commit by Allon Murienik - 2017-05-27 - published to maven/mockito-development - InOrderImpl constructor signature (#1096)

2.8.35 - 4 commits by Szczepan Faber - 2017-05-27 - published to maven/mockito-development - Fixed bug with git push for tag during the release (#1095) - update assertj (v2.8.0) (#1094)

2.8.34 - 2 commits by Szczepan Faber - 2017-05-27 - published to maven/mockito-development - Updated build for latest release tools (#1093)

2.8.33 - 2 commits by Szczepan Faber (1), Tim Cooke (1) - 2017-05-27 - published to maven/mockito-development - [Documentation] Javadoc Example Throws Unexpected Exception (#1088) - Fixes #1088 : Updating documentation of verify feature to correct a s… (#1091)

2.8.32 - 1 commit by Arend v. Reinersdorff - 2017-05-26 - published to maven/mockito-development - Fix link to Mockito JUnit rule heading (#1092)

2.8.31 - 1 commit by Rafael Winterhalter - 2017-05-22 - published to maven/mockito-development - Fixes #1083: Interfaces only declare toString implicitly and should t… (#1090) - Mockito 2 mock-maker-inline not able to mock Object methods on an interface (#1083)

2.8.30 (2017-05-18) - 3 commits by epeee (2), Szczepan Faber (1) - 2017-05-18 - published to maven/mockito-development - Streamline assertj and junit4 usage in gradle files and update assertj (v2.7.0) (#1075)

2.8.29 (2017-05-15) - 7 commits by Szczepan Faber (5), Christian Schwarz (1), Serge Bishyr (1) - published to maven/mockito-development - Bumped version of tools to pick up release automation fixes (#1084) - More concise release notes and codecov issue fix (#1080) - Fixed #1065. Add information about doNothing() method to CannotStubVo… (#1079) - Fixed validation in returnArgumentAt(int) in case of type erasure on the parameter (#1076) - Mockito AdditionalAnswers.returnsFirstArg() doesn’t work with generic first arg (#1071) - Complement error message (#1065)

2.8.28 (2017-05-06) - 1 commit by Allon Murienik, published to: maven/mockito-development - README.md release FAQ newlines (#1073)

2.8.27 (2017-05-05) - 1 commit by Roman Elizarov, published to: maven/mockito-development - Support Kotlin suspending functions (#1032)

2.8.26 (2017-05-05) - 3 commits by Szczepan Faber, published to: maven/mockito-development - Bumped release tools to 0.8.4 - concise release notes (#1069)

2.8.25 (2017-05-01) - 2 commits by epeee, Szczepan Faber, published to: maven/mockito-development - Test code refactoring - updated assertj test dependency from 1.x to 2.6.0 (#1058)

2.8.24 (2017-05-01) - 1 commit by epeee, published to: maven/mockito-development - Fixed typos across the codebase (#1060)

2.8.23 (2017-05-01) - 11 commits by Szczepan Faber, Tim van der Lippe, published to: maven/mockito-development - Bumped version of tools (#1062) - Enabled automatic releasing without using skip-release keyword yet (#1061) - Ensured the release actually happens automatically (#1057) - Bumped version of release tools (#1055) - Fixed problems with releases (#1052) - Fix some issues reported by SonarQube (#1027)

2.8.9 (2017-04-26) published to JCenter/Maven Central

Notable changes sincle last release to Maven Central (2.7.22): - Updated ByteBuddy to 1.6.14, mostly for Java9 - Fixed NPE with MockitoJUnitRunner (#1035)

2.8.9 (2017-04-26) - 11 commits by Rafael Winterhalter, published to: JCenter/Maven Central - Updated ByteBuddy to 1.6.14, fixes agent attachment on Java 9 VM

2.8.8 (2017-04-24) - 3 commits by Szczepan Faber, published to: maven/mockito-development - Release notes tidy-up: new notable version 2.7.22, bumped release tools version (#1048)

2.8.7 (2017-04-20) - 1 commit by Szczepan Faber, published to: maven/mockito-development - Release automation: automated publishing in Bintray, documentation (#1039)

2.8.6 (2017-04-19) - 1 commit by Serge Bishyr, published to: maven/mockito-development - Fixes #1044: change example for alignment of throws declaration (#1045) - Mistake in Contribution guide, Code style example (#1044)

2.8.5 (2017-04-18) - 1 commit by Rafael Winterhalter, published to: maven/mockito-development - Do not suppress instrumentation exceptions (#1012)

2.8.4 (2017-04-17) - 1 commit by Allon Murienik, published to: maven/mockito-development - Fix javadoc issues (#1040)

2.8.3 (2017-04-16) - 1 commit by yyvess, published to: maven/mockito-development - Fixed NPE with MockitoJUnitRunner - MockitoTestListener must be remove on case test fail on the initialization. (#1035)

2.8.2 (2017-04-14) - 1 commit by Szczepan Faber, published to: maven/mockito-development - Fixed glitches with notable releases (#1038)

2.8.1 (2017-04-13) - 3 commits by Marcin Zajączkowski, Szczepan Faber, yyvess, published to: maven/mockito-development - Remove duplicated code (#1036) - Fixed typo in configuration (#1034)

2.8.0 (2017-04-12) - 23 commits by Szczepan Faber, Allon Mureinik, published to: maven/mockito-development - Fixed notable version (#1030) - SmartPrinterTest toString() calls (#1025) - Enabled continuous delivery via robust mockito-release-tools project (#1018)

2.7.22 (2017-04-07), published to JCenter/Maven Central.

Last version published to Maven Central after the team adopted Continuous Delivery Pipeline 2.0.

2.7.21 (2017-04-01 11:07 UTC)

2.7.20 (2017-03-29 17:23 UTC)

2.7.18 (2017-03-18 16:40 UTC)

2.7.17 (2017-03-12 18:39 UTC)

2.7.16 (2017-03-10 11:57 UTC)

2.7.15 (2017-03-09 12:05 UTC)

2.7.14 (2017-03-05 23:25 UTC)

2.7.13 (2017-02-28 05:38 UTC)

2.7.12 (2017-02-25 23:25 UTC)

2.7.11 (2017-02-21 20:43 UTC)

2.7.10 (2017-02-19 19:37 UTC)

2.7.9 (2017-02-17 16:18 UTC)

2.7.8 (2017-02-17 13:45 UTC)

2.7.7 (2017-02-16 15:09 UTC)

2.7.6 (2017-02-13 15:40 UTC)

2.7.5 (2017-02-07 15:36 UTC)

2.7.4 (2017-02-06 15:04 UTC)

2.7.3 (2017-02-06 12:51 UTC)

2.7.2 (2017-02-04 12:05 UTC)

2.7.1 (2017-01-31 16:48 UTC)

2.7.0 (2017-01-29 16:14 UTC)

2.6.9 (2017-01-27 22:02 UTC)

2.6.8 (2017-01-23 14:53 UTC)

2.6.7 (2017-01-23 13:52 UTC)

2.6.6 (2017-01-23 10:12 UTC)

2.6.5 (2017-01-21 12:58 UTC)

2.6.4 (2017-01-19 17:12 UTC)

2.6.3 (2017-01-15 21:07 UTC)

2.6.2 (2017-01-13 10:58 UTC)

2.6.1 (2017-01-12 13:55 UTC)

2.6.0 (2017-01-12 12:42 UTC)

2.5.7 (2017-01-11 08:28 UTC)

2.5.6 (2017-01-10 13:20 UTC)

2.5.5 (2017-01-06 11:19 UTC)

2.5.4 (2017-01-04 17:02 UTC)

2.5.3 (2017-01-02 16:48 UTC)

2.5.2 (2017-01-02 00:50 UTC)

2.5.1 (2017-01-02 00:13 UTC)

2.5.0 (2016-12-28 08:10 UTC)

2.4.5 (2016-12-27 17:52 UTC)

2.4.4 (2016-12-27 14:45 UTC)

2.4.3 (2016-12-25 15:39 UTC)

2.4.2 (2016-12-23 23:44 UTC)

2.4.1 (2016-12-22 14:02 UTC)

2.4.0 (2016-12-21 05:35 UTC)

2.3.11 (2016-12-20 12:25 UTC)

2.3.10 (2016-12-19 13:38 UTC)

2.3.9 (2016-12-19 03:09 UTC)

2.3.7 (2016-12-18 04:31 UTC)

2.3.6 (2016-12-17 16:36 UTC)

2.3.5 (2016-12-15 10:24 UTC)

2.3.4 (2016-12-14 16:19 UTC)

2.3.3 (2016-12-13 22:39 UTC)

2.3.2 (2016-12-13 18:33 UTC)

2.3.1 (2016-12-13 18:26 UTC)

2.3.0 (2016-12-10 17:48 UTC)

2.2.29 (2016-12-07 13:17 UTC)

2.2.28 (2016-12-02 13:45 UTC)

2.2.27 (2016-11-30 12:05 UTC)

2.2.26 (2016-11-27 09:05 UTC)

2.2.25 (2016-11-25 18:10 UTC)

2.2.24 (2016-11-25 15:08 UTC)

2.2.23 (2016-11-25 14:26 UTC)

2.2.22 (2016-11-21 11:17 UTC)

2.2.21 (2016-11-18 08:52 UTC)

2.2.20 (2016-11-17 18:31 UTC)

2.2.19 (2016-11-17 08:24 UTC)

2.2.18 (2016-11-17 05:50 UTC)

2.2.17 (2016-11-15 19:05 UTC)

2.2.16 (2016-11-14 11:13 UTC)

2.2.15 (2016-11-08 20:43 UTC)

2.2.14 (2016-11-08 20:11 UTC)

2.2.13 (2016-11-07 22:59 UTC)

2.2.12 (2016-11-07 04:29 UTC)

2.2.11 (2016-11-04 04:51 UTC)

2.2.10 (2016-11-04 04:23 UTC)

2.2.9 (2016-10-26 14:44 UTC)

2.2.8 (2016-10-24 11:04 UTC)

2.2.7 (2016-10-22 09:21 UTC)

2.2.6 (2016-10-21 01:04 UTC)

2.2.5 (2016-10-17 16:34 UTC)

2.2.4 (2016-10-17 15:40 UTC)

2.2.3 (2016-10-16 14:12 UTC)

2.2.2 (2016-10-16 04:41 UTC)

2.2.1 (2016-10-11 15:26 UTC)

2.2.0 (2016-10-09 23:52 UTC)

2.1.0 ( 2016-10-03 12:28 UTC)

Brand new Mockito 2

Mockito 2: even cleaner tests!!! THANK you for writing great tests with us, your patience waiting for v2, and kudos to fantastic gang of contributors!

For comprehensive overview of the brand new release see What’s new in Mockito 2 wiki page.

2.1.0-RC.2 (2016-09-29 08:50 UTC)

2.1.0-RC.1 (2016-09-10 17:03 UTC)

1.10.19 (2014-12-31 17:04 UTC)

1.10.18 (2014-12-30 09:45 UTC)

1.10.17 (2014-12-16 09:38 UTC)

1.10.16 (2014-12-14 23:56 UTC)

1.10.15 (2014-12-12 23:42 UTC)

1.10.14 (2014-12-02 10:01 UTC)

1.10.13 (2014-11-22 21:28 UTC)

1.10.12 (2014-11-17 00:09 UTC)

Special thanks to Ben Yu for the original idea and implementation of the abstract classes spying!

1.10.11 (2014-11-15 17:46 UTC)

1.10.10 (2014-10-28 07:26 UTC)

1.10.9 (2014-10-22 08:51 UTC)

1.10.8 (2014-10-10 00:58 UTC)

1.10.7 (2014-10-08 18:52 UTC)

1.10.6 (2014-10-07 19:38 UTC)

1.10.5 (2014-10-06 19:20 UTC)

1.10.4 (2014-09-28 18:20 UTC)

1.10.3 (2014-09-27 20:45 UTC)

1.10.2 (2014-09-26 16:37 UTC)

1.10.0 (2014-09-25 22:25 UTC)

Thanks everybody for great contributions! Next release should come quicker thanks to continuous deployment goodness.

Older implemented improvements were managed in the original issue tracker and can be viewed at Google Code site.

1.9.5 (06-10-2012)

Few minor bugfixes and a relatively small extension point added to improve the android experience.

1.9.5 rc-1 (03-06-2012)

Thanks a lot to all community members for reporting issues, submitting patches and ideas! The complete list of bug fixes and features is listed here.

1.9.0 (16-12-2011)

If you’re upgrading from 1.8.5 please read about all the goodies delivered by 1.9.0-rc1! This release contains 2 bug fixes and 1 awesome improvement. Full details of this release are listed here.

1.9.0-rc1 (23-07-2011)

Older versions are documented here.