Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump robolectric from 4.5.1 to 4.7.3 #151

Merged
merged 2 commits into from
Apr 22, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2021

Bumps robolectric from 4.5.1 to 4.7.3.

Release notes

Sourced from robolectric's releases.

Robolectric 4.7.3

This is a minor release that fixes #6883, a NoClassDefError that can occur if the compileSdk < 31. Thanks for @​ninniuz for reporting and @​utzcoz for the fix (#6884).

It also fixes a minor case of test pollution, where a single Activity could leak across tests (see 5a1f02aaf37f425f8938ae41df5d7aa1b72bba9c for details).

Robolectric 4.7.2

This is a minor release that fixes a memory leak of Theme objects in binary resources for Android S (#6872). Thanks @​calvarez-ov for the report and helping debug.

Robolectric 4.7.1

This is a minor release that fixes #6858. In that issue, certain Android classes could not be mocked by Mockito due to some changes to Robolectric instrumentation performed on interfaces.

Robolectric 4.7 adds support for Android S (API level 31).

Another big feature is support for Apple Silicon (Mac M1). Robolectric 4.7 now contains its own native implementation of the android.database.sqlite package. For Mac M1 machines, this SQLite mode is the default. For other OS's and architecture, use @SQLiteMode(NATIVE) to enable it. This new mode is currently only available for Mac and Linux. Native SQLite should be significantly faster, around 50-90% faster for SQLite operations, than the LEGACY SQLite mode. There were also several other performance improvements made for SQLite operations -- #6687, #6690, and #6711 (thanks @​al-broco!).

The support v4 shadows are also deprecated at this release, and they will be removed at Robolectric 4.8.

Robolectric 4.7 also supports JDK 17.

What's Changed

... (truncated)

Commits
  • 3e1d0a3 Bump version to 4.7.3.
  • aab5194 Use 'processResources' task instead of 'jar' task for nativeruntime
  • 66829f6 Clear InputMethodManager.sInstance for SDK > P
  • 3e596af Only using AttributionSource for compile SDK 31 and above
  • 9ed0797 Bump version to 4.7.2.
  • 5a8c5de Fix theme native object collection in Android S
  • 666a521 Migrate ShadowAccessibilityNodeInfo to reflector
  • c1e4fed Bump version to 4.7.1.
  • c9e861d Bump to version 3 of preinstrumented jars
  • 434a534 Limit instrumentation on interfaces
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 1, 2021
@dependabot dependabot bot force-pushed the dependabot/gradle/org.robolectric-robolectric-4.7.3 branch from 3b4300a to 60829d7 Compare April 20, 2022 12:17
@mikehardy
Copy link
Member

@dependabot rebase

Maybe with API31 and JDK11 this works?

@dependabot dependabot bot force-pushed the dependabot/gradle/org.robolectric-robolectric-4.7.3 branch from 60829d7 to b3b1f19 Compare April 21, 2022 22:08
mikehardy and others added 2 commits April 21, 2022 19:57
This is vital for newer robolectric, where bcprov tickles a
jetifier bug if you have AndroidX on
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.5.1 to 4.7.3.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](robolectric/robolectric@robolectric-4.5.1...robolectric-4.7.3)

---
updated-dependencies:
- dependency-name: org.robolectric:robolectric
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@mikehardy mikehardy force-pushed the dependabot/gradle/org.robolectric-robolectric-4.7.3 branch from b3b1f19 to c93f67c Compare April 22, 2022 00:57
@mikehardy
Copy link
Member

The old bcprov thing tickling an androidx bug - I remember solving that for AnkiDroid.
Over here I can do the optimal solution though: turn off jetifier!
Added a pre-commit that does so, 🤞 - it passed testing locally

@mikehardy mikehardy added waiting-for-feedback pending-merge Waiting on CI or question responses to merge, but otherwise ready and removed waiting-for-feedback labels Apr 22, 2022
@mikehardy mikehardy merged commit 7613ab4 into main Apr 22, 2022
@mikehardy mikehardy deleted the dependabot/gradle/org.robolectric-robolectric-4.7.3 branch April 22, 2022 01:52
@mikehardy mikehardy removed the pending-merge Waiting on CI or question responses to merge, but otherwise ready label Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant