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

Bump robolectric from 4.6.1 to 4.7.3 #244

Merged

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps robolectric from 4.6.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)

Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.6.1 to 4.7.3.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](robolectric/robolectric@robolectric-4.6.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] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Dec 2, 2021
@rafalgawlik rafalgawlik merged commit c6801b8 into master Jan 8, 2022
@dependabot dependabot bot deleted the dependabot/gradle/org.robolectric-robolectric-4.7.3 branch January 8, 2022 12:40
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 java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant