Skip to content

Commit

Permalink
Prepare for release 0.6.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Sep 26, 2023
1 parent 748ee48 commit 6ade5af
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
Changelog
=========

0.6.0
-----

_2023-09-28_

- **New**: Add `ExceptionMessage` check that ensures that calls to `check`, `checkNotNull`, `require`, and `requireNotNull` functions always include a message.
- **Enhancement**: Add support for custom mock factories and mock annotations to `MockDetector`.
- `mock-annotations` is a comma-separated list of mock annotations' fully-qualified names. Default is `org.mockito.Mock,org.mockito.Spy`.
- `mock-factories` is a comma-separated list of mock factories (i.e. `org.mockito.Mockito#methodName`). Default is `org.mockito.Mockito#mock,org.mockito.Mockito#spy,slack.test.mockito.MockitoHelpers#mock,slack.test.mockito.MockitoHelpersKt#mock`.
- Update lint to `31.3.0-alpha05`.

Special thanks to [@SimonMarquis](https://github.com/SimonMarquis) for contributing to this release!

0.5.1
-----

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ POM_DEVELOPER_ID=slackhq
POM_DEVELOPER_NAME=Slack Technologies, LLC.
POM_DEVELOPER_URL=https://github.com/slackhq
POM_INCEPTION_YEAR=2021
VERSION_NAME=1.0.0-SNAPSHOT
VERSION_NAME=0.6.0
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ constructor(
internal val MOCK_FACTORIES =
StringOption(
"mock-factories",
"A comma-separated list of mock factories (org.mockito.Mockito#methodName). Comma-separated.",
"A comma-separated list of mock factories (org.mockito.Mockito#methodName).",
"org.mockito.Mockito#mock,org.mockito.Mockito#spy,slack.test.mockito.MockitoHelpers#mock,slack.test.mockito.MockitoHelpersKt#mock",
"A comma-separated list of mock factories (org.mockito.Mockito#methodName). Comma-separated."
"A comma-separated list of mock factories (org.mockito.Mockito#methodName)."
)

private val TYPE_CHECKERS =
Expand Down

0 comments on commit 6ade5af

Please sign in to comment.