Skip to content

Bump mobiledetect/mobiledetectlib from 4.8.10 to 4.10.0#888

Open
dependabot[bot] wants to merge 1 commit into
2.xfrom
dependabot/composer/mobiledetect/mobiledetectlib-4.10.0
Open

Bump mobiledetect/mobiledetectlib from 4.8.10 to 4.10.0#888
dependabot[bot] wants to merge 1 commit into
2.xfrom
dependabot/composer/mobiledetect/mobiledetectlib-4.10.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 1, 2026

Bumps mobiledetect/mobiledetectlib from 4.8.10 to 4.10.0.

Release notes

Sourced from mobiledetect/mobiledetectlib's releases.

4.10.0

What's Changed

Full Changelog: serbanghita/Mobile-Detect@4.9.0...4.10.0

4.9.0

Minor release.

Added

  • Lenovo: broad Lenovo TB prefix match for modern tablets (#1013).
  • Samsung: 2025 tablet models (Tab S11, S10 Lite, A11).
  • MobileDetect::VERSION_TYPE_STRING and VERSION_TYPE_FLOAT constants promoted to public (#991).

Changed

  • Consistent late static binding for subclass extensibility (#1012).
  • Dropped PHP 8.0 and 8.1 from the CI matrix.

Fixed

  • PHP 8.4 compatibility: explicit type hints where the engine now requires them.
  • Cache::getTimestamp() method name typo (was getTimeStamp) (#1007).
  • Version regex now accepts multi-char pre-release suffixes.
  • Pinned composer dependencies to exact versions.
  • GitHub Actions workflow actions updated to their latest versions.

Full changelog: serbanghita/Mobile-Detect@4.8.10...4.9.0

Changelog

Sourced from mobiledetect/mobiledetectlib's changelog.

4.10.0

Changed

  • Detection\Cache\Cache method signatures widened to be Liskov-compatible with psr/simple-cache v1, v2, and v3 simultaneously. Resolves #989 — the class no longer fatals at load time on hosts where another package has already registered an older CacheInterface (common in WordPress stacks).
  • composer.json: psr/simple-cache constraint widened to ^1.0 || ^2.0 || ^3.0.
  • Minimum PHP version raised to 8.2 in composer.json (was >=8.0). PHP 8.0 and 8.1 are both end-of-life and had already been dropped from CI in 4.9.0 because phpbench/phpbench: 1.6.1 requires PHP ^8.2.

Added

  • psr16-compat CI matrix that verifies Cache remains LSP-compatible with every supported major of psr/simple-cache (1.x, 2.x, 3.x).

BC note

  • Subclasses of Detection\Cache\Cache that overrode get/set/has/delete/getMultiple/setMultiple/deleteMultiple (or protected checkKey) with narrowed parameter types (e.g. function get(string $key, …)) will fatal at class load on this version. Drop the scalar type from the override, or widen to mixed, to restore LSP compatibility.

4.9.0

Added

  • Lenovo: broad Lenovo TB prefix match for modern tablets (#1013).
  • Samsung: 2025 tablet models (Tab S11, S10 Lite, A11).
  • MobileDetect::VERSION_TYPE_STRING and VERSION_TYPE_FLOAT constants promoted to public (#991).

Changed

  • Consistent late static binding for subclass extensibility (#1012).
  • Dropped PHP 8.0 and 8.1 from the CI matrix.

Fixed

  • PHP 8.4 compatibility: explicit type hints where the engine now requires them.
  • Cache::getTimestamp() method name typo (was getTimeStamp) (#1007).
  • Version regex now accepts multi-char pre-release suffixes.
  • Pinned composer dependencies to exact versions.
  • GitHub Actions workflow actions updated to their latest versions.
Commits
  • 1473bd9 chore(release): 4.10.0
  • 7d8c146 Merge pull request #1014 from serbanghita/fix/989-psr16-v1-compat
  • f701e9f chore: adopt rolling 4.x branch scheme (one branch per major)
  • e7744fe ci: auto-publish GitHub Release on tag push
  • 8d43ac8 docs(readme): add 4.9.x row, mark 4.8.x as maintenance, update main CI badge
  • 3d14156 chore: open 4.9.x line (bump to 4.9.1-dev, rename workflow, update docs)
  • 992cc85 chore(release): 4.9.0
  • 876709a ci(psr16-compat): drop redundant composer install step
  • 815780d fix(test): drop orphan phpstan-ignore on widened Cache signatures
  • d4a6e12 fix(cache): restore PSR-16 v1/v2 LSP compatibility (#989)
  • 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 [mobiledetect/mobiledetectlib](https://github.com/serbanghita/Mobile-Detect) from 4.8.10 to 4.10.0.
- [Release notes](https://github.com/serbanghita/Mobile-Detect/releases)
- [Changelog](https://github.com/serbanghita/Mobile-Detect/blob/4.x/CHANGELOG.md)
- [Commits](serbanghita/Mobile-Detect@4.8.10...4.10.0)

---
updated-dependencies:
- dependency-name: mobiledetect/mobiledetectlib
  dependency-version: 4.10.0
  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 php Pull requests that update Php code labels May 1, 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.

0 participants