Skip to content

build(deps): bump org.robolectric:robolectric from 4.18 to 4.18.1 - #142

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/gradle/org.robolectric-robolectric-4.18.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/gradle/org.robolectric-robolectric-4.18.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 25, 2026

Copy link
Copy Markdown

Bumps org.robolectric:robolectric from 4.18 to 4.18.1.

Release notes

Sourced from org.robolectric:robolectric's releases.

Robolectric 4.18.1 is a minor release that fixes several issues and improves the Robolectric simulator.

It fixes data races that ThreadSanitizer reported when several threads link calls to the same shadow method at once (#11784, #11786). It also fixes ShadowServiceManager.waitForService, which never blocked and could throw IllegalMonitorStateException (#11758), and scheduled task time queries on ShadowPausedLooper, which returned wrong times on newer SDKs and could race when called off the Looper thread (#11780, thanks to Brett Chabot). Content providers are now installed for lazily created applications (#11775), and Choreographer display receivers are disposed, which fixes a CloseGuard leak and stale clock callbacks (#11688, thanks to @​utzcoz).

For the simulator, it handles mouse and keyboard input when running headless (#11750) and advances the system clock by the time spent rendering (#11783). It also adds two opt-in system properties, which the simulator Gradle plugin turns on: robolectric.bindRealServices=true binds to the app's own services the way the system does (#11748), and robolectric.installDefaultUncaughtExceptionHandler=true installs an uncaught exception handler that logs crashes the way Android does (#11734).

Full Changelog: robolectric/robolectric@robolectric-4.18...robolectric-4.18.1

Commits
  • 5e21663 Bump version to 4.18.1.
  • 2ce560b Stop making shadow methods accessible when linking call sites
  • dd8b77a Advance ShadowSystemClock by render idle duration in Simulator loop.
  • df45f38 Fix ShadowPausedLooper scheduled task time queries and run them on the Looper...
  • f6bbaa9 Make shadow methods accessible once when indexing them
  • 99a99e7 Install content providers for lazily created applications
  • a72037e Dispose Choreographer display receivers
  • f693e5e Handle mouse and keyboard input in a headless simulator
  • 1eb1ecd Add an opt-in default uncaught exception handler
  • 6a9036b Wait on the class monitor in ShadowServiceManager.waitForService
  • 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 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.18 to 4.18.1.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](robolectric/robolectric@robolectric-4.18...robolectric-4.18.1)

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

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 Nov 25, 2026

This branch has not been deployed

No deployments
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