Annotated the rest of the main package for nullness, and moved the @NullMarked annotation from individual classes up to the package to avoid a warning under --release 8. (e107aeadc)
Improved the failure message for matches to conditionally suggest using containsMatch. (7e9fc7aec)
1.4.3
Known Issue for at least some builds targeting Java 8, fixed in 1.4.4: "unknown enum constant ElementType.MODULE": google/truth#1320. As far as we know, this is only a warning, so it should cause practical problems only if you use -Werror or you perform reflection on @NullMarked under a Java 8 runtime.
Added more nullness information to our APIs (in the form of JSpecify annotations). This could lead to additional warnings (or even errors) for users of Kotlin and other nullness checkers. Please report any problems. (ee680cbaf)
Deprecated Subject.Factory methods for Java 8 types. We won't remove them, but you can simplify your code by migrating off them: Just replace assertAbout(foos()).that(foo) with assertThat(foo) (or about(foos()).that(foo) with that(foo)). (59e7a5065)
Commits
ddeaa0c Set version number for truth-parent to 1.4.4.
e107aea Annotate the rest of the main package (basically just the Java 8 subjects) fo...
8ac91a6 Document that truth-java8-extension is obsolete.
99af8be Bump org.codehaus.mojo:animal-sniffer-maven-plugin from 1.23 to 1.24 in the d...
54e548c Bump the dependencies group with 2 updates
2183a14 Migrate from legacy com.google.gwt to org.gwtproject.
7e9fc7a Make StringSubject.matches suggest using containsMatch if matches(x) fails bu...
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps com.google.truth:truth from 1.4.2 to 1.4.4.
Release notes
Sourced from com.google.truth:truth's releases.
Commits
ddeaa0c
Set version number for truth-parent to 1.4.4.e107aea
Annotate the rest of the main package (basically just the Java 8 subjects) fo...8ac91a6
Document thattruth-java8-extension
is obsolete.99af8be
Bump org.codehaus.mojo:animal-sniffer-maven-plugin from 1.23 to 1.24 in the d...54e548c
Bump the dependencies group with 2 updates2183a14
Migrate from legacy com.google.gwt to org.gwtproject.7e9fc7a
Make StringSubject.matches suggest using containsMatch if matches(x) fails bu...af140d6
Fix grammar in Javadoc comments.afda443
AnnotateformattingDiffsUsing
methods as supporting nullable element/value ...ee680cb
Use JSpecify annotations in the public release.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show