Skip to content

v4.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Nov 16:40
2c95eb0

Major new feature: @DoNotMock

You can now mark classes/interfaces with @org.mockito.DoNotMock to disallow mocking with Mockito. For more information, see our documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/DoNotMock.html

Changelog generated by Shipkit Changelog Gradle Plugin

4.1.0

  • 2021-11-19 - 20 commit(s) by Lars Vogel, Mikaël Francoeur, S.YAMAMOTO, Tim van der Lippe, dependabot[bot]
  • Disable memory test (#2480)
  • Bump appcompat from 1.3.1 to 1.4.0 (#2477)
  • Bump kotlinVersion from 1.5.31 to 1.6.0 (#2474)
  • Bump versions.bytebuddy from 1.12.0 to 1.12.1 (#2472)
  • Bump com.diffplug.gradle.spotless from 4.5.1 to 6.0.0 (#2471)
  • Bump versions.bytebuddy from 1.11.22 to 1.12.0 (#2469)
  • Bump versions.errorprone from 2.9.0 to 2.10.0 (#2466)
  • Bump auto-service from 1.0 to 1.0.1 (#2463)
  • Bump actions/checkout from 2.3.5 to 2.4.0 (#2462)
  • Fixes #2460: Remove a sentence commits to a particular version (#2461)
  • Clarify Javadoc of RETURNS_SMART_NULLS, default answer in Mockito 4.0.0? (#2460)
  • Bump versions.bytebuddy from 1.11.21 to 1.11.22 (#2458)
  • Updated readme with the latest Mockito version (#2456)
  • Bump core-ktx from 1.6.0 to 1.7.0 (#2454)
  • Bump google-java-format from 1.11.0 to 1.12.0 (#2450)
  • Bump versions.bytebuddy from 1.11.20 to 1.11.21 (#2448)
  • Use new CodeCov uploader (#2447)
  • Bump actions/checkout from 2.3.4 to 2.3.5 (#2445)
  • Fixes #2389 : Parallel use of mocks with deep stubbing may lead to ConcurrentModificationException (#2444)
  • Bump versions.bytebuddy from 1.11.19 to 1.11.20 (#2443)
  • Parallel use of mocks with deep stubbing may lead to ConcurrentModificationException (#2389)
  • Add annotation to mark a type as DoNotMock (#1833)
  • Cannot mock this class: class java.io.InputStream with Java 13 (#1827)
  • Cannot mock wrapper types, String.class or Class.class (#1734)