Skip to content

chore(deps): update pollora/object-cache requirement from ^0.3.1 to ^0.3.3 - #757

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/composer/develop/pollora/object-cache-tw-0.3.3
Open

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/composer/develop/pollora/object-cache-tw-0.3.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 5, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on pollora/object-cache to permit the latest version.

Release notes

Sourced from pollora/object-cache's releases.

v0.3.3

A Redis host that does not resolve no longer prints a raw PHP warning. See the changelog.

Changelog

Sourced from pollora/object-cache's changelog.

[0.3.3] - 2026-11-27

Fixed

  • A Redis host that does not resolve no longer prints a raw PHP warning (Redis::connect(): php_network_getaddresses…) in the console, the logs or, with errors displayed, the page. The cache already degrades to the request cache and says why in the error log.

[0.3.2] - 2026-11-27

Fixed

  • wp_cache_delete_multiple() given a key that is not an integer or a string (an array, for example) reports it through _doing_it_wrong() and carries on; it used to stop the request with a TypeError while building its result.

[0.3.1] - 2026-11-24

Fixed

  • The drop-in no longer stops the whole site when the Composer autoloader it names exists but the web server cannot open it: it tested is_file() and then require_once failed with a fatal error. It tests is_readable(), stays inert, and WordPress keeps its own cache.

Added

  • The drop-in says in the PHP error log, by path, when the autoloader it names cannot be read by the web server (for example a package installed with wp package install, which lands in the home directory of the user who ran it). Until now the cache stayed off without a word.
  • status (wp object-cache status, pollora:object-cache:status) has an Autoloader line: the path, or that there is none, and whether this user can read it. A path in the home directory of the user who runs the command is flagged, since the web server usually cannot read it, and an autoloader that cannot be read makes status fail. status cannot test the web server's own account.

[0.3.0] - 2026-11-24

Changed

  • BREAKING: the package no longer needs Laravel, and no longer contains anything of it. It requires PHP only and runs on a classic WordPress or Bedrock site. The service provider, the wordpress cache driver (ObjectCacheStore), the cache:clear and queue hooks, the Artisan commands and the Laravel configuration reading (database.redis, pollora.object-cache.*) move to the Pollora framework, which ships them.
  • The settings are one array: the WP_OBJECT_CACHE_CONFIG constant of wp-config.php, or what a framework registers with Configuration::provide(). config/object-cache.php lists the keys with their defaults (redis.* replaces connection; the laravel.* keys belong to the framework).
  • The key prefix of a site without a configured prefix comes from WP_CACHE_KEY_SALT, else from DB_NAME, DB_HOST and the table prefix (it no longer needs app.url, and never reads the database).
  • The drop-in does not use Laravel's container any more, and carries the path of the site's Composer autoloader (drop-in version 2: run enable again to update it).

Added

  • wp object-cache enable|disable|status|flush (WP-CLI), declared by the package's autoloader when the process is WP-CLI.
  • Manager, Settings, Configuration: what both front-ends (WP-CLI here, Artisan in the framework) call.

[0.2.1] - 2026-11-24

Changed

  • DropInInstaller throws DropInFileException (a RuntimeException) when it cannot write or remove object-cache.php, with a message that says what to check, instead of a bare RuntimeException
  • The prefetch's first-segment pattern is anchored with \z, so a path segment followed by a line break is no longer taken for a valid one
  • unserialize() in ValueCodec carries a nosemgrep that says why it is there: the bytes are what the package wrote to its own keys, and allowed_classes decides which classes are rebuilt
  • DropIn::report() takes the HTTP status of the response as an optional argument, and PhpRedisConnector::credentials() gives what AUTH receives, so both can be tested

Fixed

  • Line coverage as the harness counts it is back to 100 % (the failure paths of the prefetch and the plan built by the factory were not covered), and the mutation score is back to 96 % (49 survivors out of 1 242), the quality gates now being blocking (enforce)

... (truncated)

Commits
  • f4c9b7e Merge pull request #24 from Pollora/release/v0.3.3
  • b664001 chore: release 0.3.3
  • 1f7e4b6 Merge pull request #23 from Pollora/fix/connect-warning
  • f60f6e1 fix: no raw PHP warning when the Redis host does not resolve
  • b468437 Merge pull request #21 from Pollora/release/v0.3.2
  • 1d7f9da Merge pull request #22 from Pollora/chore/harness-0.1.40
  • 3fbeda6 chore(harness): update the harness to v0.1.40
  • f3b2b78 chore: release 0.3.2
  • ec43636 Merge pull request #20 from Pollora/docs/package-install-constraint
  • e44aa89 docs: give wp package install a version constraint
  • Additional commits viewable in compare view

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)

Updates the requirements on [pollora/object-cache](https://github.com/Pollora/object-cache) to permit the latest version.
- [Release notes](https://github.com/Pollora/object-cache/releases)
- [Changelog](https://github.com/Pollora/object-cache/blob/main/CHANGELOG.md)
- [Commits](Pollora/object-cache@v0.3.1...v0.3.3)

---
updated-dependencies:
- dependency-name: pollora/object-cache
  dependency-version: 0.3.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 5, 2026
@dependabot @github

dependabot Bot commented on behalf of github Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: automerge. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions
github-actions Bot enabled auto-merge (squash) December 5, 2026 13:22
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants