Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 12, 2026

Bumps mobiledetect/mobiledetectlib from 4.8.09 to 4.8.10.

Release notes

Sourced from mobiledetect/mobiledetectlib's releases.

4.8.01: MobileDetect version with PSR-16 Cache support.

Other

  • removed unused dependencies
  • removed old examples
  • rearranged /scripts/ folder
Changelog

Sourced from mobiledetect/mobiledetectlib's changelog.

4.8.10

Fixed

  • Cache::has() now properly checks TTL expiration before returning true (PSR-16 compliance fix). Previously, has() returned true for expired items.

Added

  • Cache::evictExpired() method to manually clean up expired cache entries. Useful for long-running processes (CLI scripts, workers, daemons) to prevent memory growth.
  • Expanded test coverage for Cache class: added 17 new tests covering all if/else branches including custom defaults, DateInterval TTL, key validation edge cases, and expiration scenarios.
  • README-EXAMPLES.md with comprehensive usage examples including long-running processes, framework integration, and debugging.

Changed

  • Cache::has() now deletes expired items on check (lazy cleanup, consistent with get() behavior).
Commits

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 [mobiledetect/mobiledetectlib](https://github.com/serbanghita/Mobile-Detect) from 4.8.09 to 4.8.10.
- [Release notes](https://github.com/serbanghita/Mobile-Detect/releases)
- [Changelog](https://github.com/serbanghita/Mobile-Detect/blob/4.8.x/CHANGELOG.md)
- [Commits](serbanghita/Mobile-Detect@4.8.09...4.8.10)

---
updated-dependencies:
- dependency-name: mobiledetect/mobiledetectlib
  dependency-version: 4.8.10
  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 php Pull requests that update Php code labels Jan 12, 2026
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 php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant