-
Notifications
You must be signed in to change notification settings - Fork 265
Comparing changes
Open a pull request
base repository: google/truth
base: v1.4.1
head repository: google/truth
compare: v1.4.2
- 15 commits
- 38 files changed
- 4 contributors
Commits on Feb 6, 2024
-
Remove workaround for ancient Android bug.
We no longer support Ice Cream Sandwich, so we no longer need to work around its bugs. (The special handling was introduced in cl/177472149.) RELNOTES=n/a PiperOrigin-RevId: 604677493
Configuration menu - View commit details
-
Copy full SHA for b5cd4a0 - Browse repository at this point
Copy the full SHA b5cd4a0View commit details -
Remove temporary type parameters.
This will break most users who static import both `Truth.assertThat` and `Truth8.assertThat`. The fix is usually as simple as replacing every reference to `Truth8` with a reference to `Truth`. But we'll post some additional migration information as part of the release notes, as we've already done for [1.3.0](https://github.com/google/truth/releases/tag/v1.3.0) and [1.4.0](https://github.com/google/truth/releases/tag/v1.4.0). (The type parameters existed to avoid that static import conflict. However, the type parameters also _cause other static import conflicts_, so we don't want them in place in the long term.) This is one of the remaining loose ends of #746. RELNOTES=Removed temporary type parameters from `Truth.assertThat(Stream)` and `Truth.assertThat(Optional)`. This can create build errors, which you can fix by replacing all your references to `Truth8` with references to `Truth`. PiperOrigin-RevId: 604754613
Configuration menu - View commit details
-
Copy full SHA for 45782bd - Browse repository at this point
Copy the full SHA 45782bdView commit details -
Update docs to reflect that the Java 8 assertions have "moved" to the…
… main `Truth` class. This includes deprecating the old class. This continues work on #746. RELNOTES=Deprecated `Truth8`. All its functionality is now supported through the main `Truth` API. PiperOrigin-RevId: 604762265
Configuration menu - View commit details
-
Copy full SHA for 1e9d4d8 - Browse repository at this point
Copy the full SHA 1e9d4d8View commit details
Commits on Feb 15, 2024
-
Document more about how and why to migrate off
Truth8
.This continues our work on #746. RELNOTES=n/a PiperOrigin-RevId: 607468197
Configuration menu - View commit details
-
Copy full SHA for a6d312e - Browse repository at this point
Copy the full SHA a6d312eView commit details
Commits on Feb 16, 2024
-
Bump com.google.protobuf:protobuf-java from 3.25.2 to 3.25.3
Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.25.2 to 3.25.3. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/protocolbuffers/protobuf/commit/4a2aef570deb2bfb8927426558701e8bfc26f2a4"><code>4a2aef5</code></a> Updating version.json and repo version numbers to: 25.3</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/7c6ba838806c6e737a01173ab37d129bfc1ccb22"><code>7c6ba83</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/15814">#15814</a> from protocolbuffers/cp-ruby-3.3</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/25b1e8112079e6d463196fc137cc8d1925205426"><code>25b1e81</code></a> Update Ruby GHA to test against Ruby 3.3.</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/70e459f9d43ef00ae1405eeb1d50d4bb61551d58"><code>70e459f</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/15802">#15802</a> from protocolbuffers/cp-25.x</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/17ec19db930216d59eb8efdb0bbf6d1f5355f147"><code>17ec19d</code></a> Bump python version to 3.9 for gcloud 460.0.0</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/9dc736d924f6839073028a4d806a3b85f01000cf"><code>9dc736d</code></a> [ObjC] Use a local to avoid warnings in 32bit builds.</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/9d1bc1041be5fefa82e8c9823e79c263f6d8b2ac"><code>9d1bc10</code></a> [CPP] Add the privacy manifest to the C++ CocoaPod.</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/cec08dc615df059d1a93fe03c4e617bba679fa69"><code>cec08dc</code></a> [ObjC] Add the privacy manifest to the ObjC CocoaPod.</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/cf87faa29b57a304a0cfe5af4e9b7a5c659c62b4"><code>cf87faa</code></a> Add PrivacyInfo.xcprivacy (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/15557">#15557</a>)</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/76d05d4cb9200c371c8894df21f37ba4060bdc8a"><code>76d05d4</code></a> remove use of mach_absolute_time (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/15554">#15554</a>)</li> <li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.25.2...v3.25.3">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> 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) </details> Fixes #1243 COPYBARA_INTEGRATE_REVIEW=#1243 from google:dependabot/maven/com.google.protobuf-protobuf-java-3.25.3 0846585 PiperOrigin-RevId: 607674401
Configuration menu - View commit details
-
Copy full SHA for f1fd0cf - Browse repository at this point
Copy the full SHA f1fd0cfView commit details
Commits on Feb 19, 2024
-
Remove
@J2ktIncompatible
fromStringSubject#matches
It was only marked so because there was a `@GwtIncompatible`. It is necessary for Guava unit tests. RELNOTES=n/a PiperOrigin-RevId: 608326215
Configuration menu - View commit details
-
Copy full SHA for c243961 - Browse repository at this point
Copy the full SHA c243961View commit details -
Bump com.google.errorprone:error_prone_annotations from 2.24.1 to 2.25.0
Bumps [com.google.errorprone:error_prone_annotations](https://github.com/google/error-prone) from 2.24.1 to 2.25.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/error-prone/releases">com.google.errorprone:error_prone_annotations's releases</a>.</em></p> <blockquote> <h2>Error Prone 2.25.0</h2> <p>New checks:</p> <ul> <li><a href="https://errorprone.info/bugpattern/JUnitIncompatibleType"><code>JUnitIncompatibleType</code></a>: Detects incompatible types passed to an assertion, similar to <a href="https://errorprone.info/bugpattern/TruthIncompatibleType"><code>TruthIncompatibleType </code></a></li> <li><a href="https://errorprone.info/bugpattern/RedundantSetterCall"><code>RedundantSetterCall</code></a>: Detects fields set twice in the same chained expression. Generalization of previous <code>ProtoRedundantSet</code> check to also handle <a href="https://github.com/google/auto/blob/main/value/userguide/index.md">AutoValue</a>.</li> </ul> <p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/4195">#4195</a>, <a href="https://redirect.github.com/google/error-prone/issues/4224">#4224</a>, <a href="https://redirect.github.com/google/error-prone/issues/4228">#4228</a>, <a href="https://redirect.github.com/google/error-prone/issues/4248">#4248</a>, <a href="https://redirect.github.com/google/error-prone/issues/4249">#4249</a>, <a href="https://redirect.github.com/google/error-prone/issues/4251">#4251</a></p> <p>Full Changelog: <a href="https://github.com/google/error-prone/compare/v2.24.1...v2.25.0">https://github.com/google/error-prone/compare/v2.24.1...v2.25.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/error-prone/commit/e353c911ea52520f2d0096eb9406f8c3f90d5f9e"><code>e353c91</code></a> Release Error Prone 2.25.0</li> <li><a href="https://github.com/google/error-prone/commit/ae3a19f44e173847d5e01bc95fd0b1d74a41d6b6"><code>ae3a19f</code></a> Add some known thread safe types to[]</li> <li><a href="https://github.com/google/error-prone/commit/4f060e1ff140874e1d7424a08c6d23e9c9d50d13"><code>4f060e1</code></a> Add a test case demonstrating a <code>CanIgnoreReturnValueSuggester</code> bug.</li> <li><a href="https://github.com/google/error-prone/commit/a1f4fa7061e977357a9ada2dbc71c36ace2fe7df"><code>a1f4fa7</code></a> Drop diagnostics that are reported inside ErrorProneTokens</li> <li><a href="https://github.com/google/error-prone/commit/32312a2eb20c94f875350ee69a3612ea45014007"><code>32312a2</code></a> Update Android API diff</li> <li><a href="https://github.com/google/error-prone/commit/b799927de4a60a0a7d68277a1aaced64c2fd9b1f"><code>b799927</code></a> Automatic code cleanup.</li> <li><a href="https://github.com/google/error-prone/commit/68badf0576894a13e7a0ab38350a5f64f08b04a0"><code>68badf0</code></a> ErrorProne: Update TestParameterInjector version</li> <li><a href="https://github.com/google/error-prone/commit/3ff139f6605d565831830782135d2ae7a967740b"><code>3ff139f</code></a> Automatic code cleanup.</li> <li><a href="https://github.com/google/error-prone/commit/0bd743234ba82f42c3aaa6dce28c5acd76d3dc03"><code>0bd7432</code></a> Rollforward of <a href="https://github.com/google/error-prone/commit/654d1dbf1e6dd652c">https://github.com/google/error-prone/commit/654d1dbf1e6dd652c</a>...</li> <li><a href="https://github.com/google/error-prone/commit/5f2032591a8bacb496e48a9a62a1616d18586e03"><code>5f20325</code></a> Fix typos</li> <li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.24.1...v2.25.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> 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) </details> Fixes #1244 COPYBARA_INTEGRATE_REVIEW=#1244 from google:dependabot/maven/com.google.errorprone-error_prone_annotations-2.25.0 28ffb96 PiperOrigin-RevId: 608328899
Configuration menu - View commit details
-
Copy full SHA for bbd8d12 - Browse repository at this point
Copy the full SHA bbd8d12View commit details
Commits on Feb 20, 2024
-
Change
assertThat(array)
to allow arrays of non-nullable elementsThough array types are covariant in Java, in Kotlin they are not and this change makes it easier to translate Java callers to Kotlin with J2KT. RELNOTES=n/a PiperOrigin-RevId: 608590844
Configuration menu - View commit details
-
Copy full SHA for 5efd53f - Browse repository at this point
Copy the full SHA 5efd53fView commit details
Commits on Feb 21, 2024
-
PiperOrigin-RevId: 608997533
Configuration menu - View commit details
-
Copy full SHA for 3efe353 - Browse repository at this point
Copy the full SHA 3efe353View commit details -
Suppress
NullableOptional
, as we already do in, e.g., `Truth.assert……That(Optional)`. RELNOTES=n/a PiperOrigin-RevId: 609047209
Configuration menu - View commit details
-
Copy full SHA for 559d636 - Browse repository at this point
Copy the full SHA 559d636View commit details -
Suppress
TruthSelfEquals
violations in Truth.RELNOTES=n/a PiperOrigin-RevId: 609061588
Configuration menu - View commit details
-
Copy full SHA for a43223e - Browse repository at this point
Copy the full SHA a43223eView commit details
Commits on Feb 22, 2024
-
Remove more copies of a workaround for an ancient Android bug.
(followup to cl/604677493) RELNOTES=n/a PiperOrigin-RevId: 609415936
Configuration menu - View commit details
-
Copy full SHA for 996a844 - Browse repository at this point
Copy the full SHA 996a844View commit details
-
Bump actions/setup-java from 4.0.0 to 4.1.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.0.0 to 4.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-java/releases">actions/setup-java's releases</a>.</em></p> <blockquote> <h2>V4.1.0</h2> <h2>What's Changed</h2> <ul> <li>Added Windows Arm64 Support for Windows Arm64 Runners by <a href="https://github.com/mahabaleshwars"><code>@mahabaleshwars</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/595">actions/setup-java#595</a></li> <li>feat: bump actions/checkout and actions/setup-java to v4 by <a href="https://github.com/kbdharun"><code>@kbdharun</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/533">actions/setup-java#533</a></li> <li>Handle authorization when the token is undefined by <a href="https://github.com/peter-murray"><code>@peter-murray</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/556">actions/setup-java#556</a></li> <li>Documentation update of Java 21 by <a href="https://github.com/Okeanos"><code>@Okeanos</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/566">actions/setup-java#566</a></li> <li>Documentation update about maven-gpg-plugin version note by <a href="https://github.com/IvanZosimov"><code>@IvanZosimov</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/570">actions/setup-java#570</a></li> <li>Oracle JDK 21 support by <a href="https://github.com/jdubois"><code>@jdubois</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/538">actions/setup-java#538</a></li> <li>Fix typo in configuration example by <a href="https://github.com/Bananeweizen"><code>@Bananeweizen</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/572">actions/setup-java#572</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/kbdharun"><code>@kbdharun</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-java/pull/533">actions/setup-java#533</a></li> <li><a href="https://github.com/peter-murray"><code>@peter-murray</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-java/pull/556">actions/setup-java#556</a></li> <li><a href="https://github.com/jdubois"><code>@jdubois</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-java/pull/538">actions/setup-java#538</a></li> <li><a href="https://github.com/Bananeweizen"><code>@Bananeweizen</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-java/pull/572">actions/setup-java#572</a></li> <li><a href="https://github.com/mahabaleshwars"><code>@mahabaleshwars</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-java/pull/595">actions/setup-java#595</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-java/compare/v4...v4.1.0">https://github.com/actions/setup-java/compare/v4...v4.1.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/setup-java/commit/9704b39bf258b59bc04b50fa2dd55e9ed76b47a8"><code>9704b39</code></a> Added Windows Arm64 Support for Windows Arm64 Runners (<a href="https://redirect.github.com/actions/setup-java/issues/595">#595</a>)</li> <li><a href="https://github.com/actions/setup-java/commit/7a445ee88d4e23b52c33fdc7601e40278616c7f8"><code>7a445ee</code></a> Fix typo in configuration example (<a href="https://redirect.github.com/actions/setup-java/issues/572">#572</a>)</li> <li><a href="https://github.com/actions/setup-java/commit/3232623d9c428cc5f228a01a2ae8d2d70f79775e"><code>3232623</code></a> Oracle JDK 21 support (<a href="https://redirect.github.com/actions/setup-java/issues/538">#538</a>)</li> <li><a href="https://github.com/actions/setup-java/commit/c0660d8edc6bc867c9d061fe281338039e3e0092"><code>c0660d8</code></a> docs: add note about maven-gpg-plugin version (<a href="https://redirect.github.com/actions/setup-java/issues/570">#570</a>)</li> <li><a href="https://github.com/actions/setup-java/commit/2f7af1b9c5646dcf9105b2004b0c5d8f68026bad"><code>2f7af1b</code></a> make it clear that Java 21 is supported (<a href="https://redirect.github.com/actions/setup-java/issues/566">#566</a>)</li> <li><a href="https://github.com/actions/setup-java/commit/16ef37f8dd292a31055a9ee0d26fa0a4efab58de"><code>16ef37f</code></a> HTTP errors when the token is undefined (<a href="https://redirect.github.com/actions/setup-java/issues/556">#556</a>)</li> <li><a href="https://github.com/actions/setup-java/commit/a2374547dfdd276b7bd9e4ba2c6ba50647d9c8a7"><code>a237454</code></a> feat: bump actions/checkout and actions/setup-java to v4 (<a href="https://redirect.github.com/actions/setup-java/issues/533">#533</a>)</li> <li>See full diff in <a href="https://github.com/actions/setup-java/compare/387ac29b308b003ca37ba93a6cab5eb57c8f5f93...9704b39bf258b59bc04b50fa2dd55e9ed76b47a8">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> 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) </details> Fixes #1252 COPYBARA_INTEGRATE_REVIEW=#1252 from google:dependabot/github_actions/actions/setup-java-4.1.0 a3d9e50 PiperOrigin-RevId: 611089973
Configuration menu - View commit details
-
Copy full SHA for ae78f4a - Browse repository at this point
Copy the full SHA ae78f4aView commit details
Commits on Feb 29, 2024
-
Enable a few more Guava Primitives tests for J2KT
- some Base regex helpers have become available for J2KT since last iteration. Thanks cpovirk@ for pointing this out - there was a transpiler improvement: `GREATEST - (short) 1` is a compile time constant in Java and can be used to initialize a `short` because the compiler can verify that the value is small enough. The straight-forward translation `GREATEST - 1.toShort()` is not a compile time constant in Kotlin and cannot be used to initialize a `Short`. The transpiler handles this now RELNOTES=n/a PiperOrigin-RevId: 611467476
Configuration menu - View commit details
-
Copy full SHA for e3b4354 - Browse repository at this point
Copy the full SHA e3b4354View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ca7ef0 - Browse repository at this point
Copy the full SHA 0ca7ef0View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.4.1...v1.4.2