Skip to content

Bump org.robolectric:robolectric from 4.14.1 to 4.15 #508

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

Closed

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps org.robolectric:robolectric from 4.14.1 to 4.15.

Release notes

Sourced from org.robolectric:robolectric's releases.

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
XmlResourceParserImpl(Document, String, String, String, ResourceTable) XmlResourceParserImpl(Document, Path, String, String, ResourceTable)

List of changes

... (truncated)

Commits
  • 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()"
  • 62808dd Revert "Remove deprecated Config#libraries()"
  • e12baa0 Revert "Remove deprecated Config#assetDir()"
  • bb54074 Remove testDebugUnitTest from the dependencies of the simulator task
  • d07d899 Default to use the embedded ViewRootImpl in HW rendering
  • 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.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](robolectric/robolectric@robolectric-4.14.1...robolectric-4.15)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jun 20, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 23, 2025

Superseded by #509.

@dependabot dependabot bot closed this Jun 23, 2025
@dependabot dependabot bot deleted the dependabot/gradle/org.robolectric-robolectric-4.15 branch June 23, 2025 12:01
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.

0 participants