Skip to content

Bump org.robolectric:robolectric from 4.14.1 to 4.15.1 #330

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 23, 2025

Bumps org.robolectric:robolectric from 4.14.1 to 4.15.1.

Release notes

Sourced from org.robolectric:robolectric's releases.

Robolectric 4.15.1 is a minor release that fixes robolectric/robolectric#9595, where the onClick handler now being invoked in Compose on certain API levels. Thanks to @​GisoBartels for the fix.

It also fixes robolectric/robolectric#10419, where a Java 16 dependency was added to Robolectric, even though many API levels should support Java 11. Thanks to @​yschimke for the report and @​utzcoz for the fix.

Full Changelog: robolectric/robolectric@robolectric-4.15...robolectric-4.15.1

Robolectric 4.15 contains a lot of minor improvements, fidelity improvements, bug fixes, and shadow API enhancements.

NOTE Robolectric 4.15 does NOT support Android Baklava (SDK 36). Baklava will be supported in Robolectric 4.16.

If you encounter any issues, please file them on the GitHub issues page.

A huge thanks to @​MGaetan89 and @​utzcoz for all of their hard work that went into this release.

What's Changed

The following symbols have been removed in Robolectric 4.15.

Removed symbol Replacement
AndroidManifest#supportsLegacyResourcesMode() N/A
AndroidManifest#supportsBinaryResourcesMode() N/A
ConfigMerger Provider<Config>
DependencyResolver#getLocalArtifactUrls(DependencyJar) DependencyResolver#getLocalArtifactUrl(DependencyJar)
Fs#fileFromPath(String path) Fs#fromUrl(path)
Fs#newFile(File file) file.toPath() 
FsFile#getPath() Fs#externalize(this)
FsFile#join(String name) this.resolve(name)
InvokeDynamicClassInstrumentor ClassInstrumentor
ManifestIdentifier(Path, Path, Path, String, List<Path>) ManifestIdentifier(String, Path, Path, Path, List<ManifestIdentifier>)
MavenManifestFactory N/A
PackageItemData#getClassName() PackageItemData#getName()
Provider<T> javax.inject.Provider<T>
Qualifiers#addScreenWidth(String, int) Configuration#screenWidthDp
Qualifiers#addSmallestScreenWidth(String, int) Configuration#smallestScreenWidthDp
Qualifiers#getOrientation(String) Configuration#orientation
Qualifiers#getPlatformVersion(String) Build.VERSION#SDK_INT
Qualifiers#getScreenWidth(String) Configuration#screenWidthDp
Qualifiers#getSmallestScreenWidth(String) Configuration#smallestScreenWidthDp
RoboSettings Set the specific system property directly
Scheduler#idleConstantly(boolean) Scheduler#setIdleState(IdleState)
SdkPicker DefaultSdkPicker
ShadowApplication#addWakeLock(PowerManager.WakeLock wl) ShadowPowerManager.addWakeLock(wl)
ShadowApplication#clearWakeLocks() ShadowPowerManager.clearWakeLocks()
ShadowApplication#getAppWidgetManager() Context#getSystemService(Context.APPWIDGET_SERVICE)
ShadowApplication#getBluetoothAdapter() BluetoothManager#getAdapter()
ShadowApplication#getForegroundThreadScheduler() Robolectric.getForegroundThreadScheduler()
ShadowApplication#getInstance() shadowOf(RuntimeEnvironment.getApplication())
ShadowApplication#getLatestWakeLock() ShadowPowerManager.getLatestWakeLock()
ShadowMap#convertToShadowName(String) N/A

... (truncated)

Commits
  • 465e599 Bump version to 4.15.1
  • 65b94a5 Added implementation for Path.op
  • b71ecbe Replace Stream#toList to Stream#collect(Collectors.toList())
  • 8f17828 Bump simulator-gradle-plugin version to 1.0.2
  • c52d36e Bump version to 4.15.
  • 99c40df Add more information to the generated POM file
  • d4e855a Fix Javadoc for ShadowPausedLooper
  • 189e022 Add missing deprecations to some Config.Builder methods
  • aa17350 Revert "Remove deprecated Config#packageName()"
  • 49a8c19 Revert "Remove deprecated Config#resourceDir()"
  • 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 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)

Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.14.1 to 4.15.1.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](robolectric/robolectric@robolectric-4.14.1...robolectric-4.15.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants