Skip to content

chore(deps): update pollora/wp-rest requirement from ^2.0.1 to ^2.0.3 - #730

Merged
github-actions[bot] merged 1 commit into
developfrom
dependabot/composer/develop/pollora/wp-rest-tw-2.0.3
Nov 28, 2026
Merged

github-actions[bot] merged 1 commit into
developfrom
dependabot/composer/develop/pollora/wp-rest-tw-2.0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Updates the requirements on pollora/wp-rest to permit the latest version.

Release notes

Sourced from pollora/wp-rest's releases.

2.0.3

Changed

  • Accepts pollora/discovery ^0.3 (^0.1 || ^0.2 || ^0.3 || ^1.0)
Changelog

Sourced from pollora/wp-rest's changelog.

[2.0.3] - 2026-11-23

Changed

  • Accepts pollora/discovery ^0.3 (^0.1 || ^0.2 || ^0.3 || ^1.0)

[2.0.2] - 2026-11-23

Changed

Security

  • Route callbacks no longer put back the current user captured when the route was registered. WordPress logs the user out of a cookie request that carries no nonce (rest_cookie_check_errors()) after the routes are registered, and the stale user was restored for the permission check and the handler, which undid that CSRF protection. current_user is no longer in the globals WpGlobals::wrap() captures by default; WpGlobals::addEssentialGlobal('current_user') still adds it.

Added

  • An integration suite (tests/Integration, composer test:integration) that registers routes with the real REST server and answers requests against a real WordPress and database. It is kept out of the default test run and out of the Composer archive.

[2.0.1] - 2026-11-19

Changed

  • Accepts pollora/discovery 0.2 (^0.1 || ^0.2 || ^1.0)

Internal

  • The Architecture test suite runs tests/Arch.php, which the default run left out

[2.0.0] - 2026-10-29

A major release: a route that declares no permission is refused.

Changed

  • A route without a permission is refused (rest_forbidden, 401 for a visitor, 403 for a logged-in user). Until now it stayed public and called _doing_it_wrong(). Declare permissionCallback: Everyone::class on the routes that are public on purpose, or a permission such as IsLoggedIn
  • The pollora/wp-rest/private_by_default filter now defaults to true. Return false to keep the routes without a permission public while a site migrates; WordPress is then told, with WP_DEBUG, which route to fix

Removed

  • The pollora/wp_rest/private_by_default filter name and the WpRestRouteRegistrar::PRIVATE_BY_DEFAULT constant, deprecated since 0.2.1. Use pollora/wp-rest/private_by_default

[0.2.1] - 2026-10-26

Changed

  • The filter is named pollora/wp-rest/private_by_default, to follow pollora/<module>/<event>. The name 0.2.0 gave it, pollora/wp_rest/private_by_default, still works and reports itself as deprecated

[0.2.0] - 2026-10-26

Added

... (truncated)

Commits
  • 64c72e1 Merge pull request #39 from Pollora/release/2.0.3
  • 36ea2ed chore: release 2.0.3
  • 1af6a06 Merge pull request #38 from Pollora/chore/accept-discovery-0.3
  • 8869f8d chore(deps): accept pollora/discovery ^0.3
  • b3b9818 Merge pull request #37 from Pollora/release/2.0.2
  • 6c0a0f5 chore: release 2.0.2
  • 26e8130 Merge pull request #36 from Pollora/chore/harness-0.1.35
  • 78eecf8 chore(harness): update the harness to v0.1.35
  • dab1830 Merge pull request #35 from Pollora/feat/wordpress-integration
  • 5467df3 test: integration suite against a real WordPress
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 28, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 28, 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) November 28, 2026 13:23
@dependabot
dependabot Bot force-pushed the dependabot/composer/develop/pollora/wp-rest-tw-2.0.3 branch 3 times, most recently from a24045d to 4e2ea2e Compare November 28, 2026 14:02
Updates the requirements on [pollora/wp-rest](https://github.com/Pollora/wp-rest) to permit the latest version.
- [Release notes](https://github.com/Pollora/wp-rest/releases)
- [Changelog](https://github.com/Pollora/wp-rest/blob/main/CHANGELOG.md)
- [Commits](Pollora/wp-rest@2.0.1...2.0.3)

---
updated-dependencies:
- dependency-name: pollora/wp-rest
  dependency-version: 2.0.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/composer/develop/pollora/wp-rest-tw-2.0.3 branch from 4e2ea2e to 6e97e20 Compare November 28, 2026 14:13
@github-actions
github-actions Bot merged commit d0d3664 into develop Nov 28, 2026
23 checks passed
@dependabot
dependabot Bot deleted the dependabot/composer/develop/pollora/wp-rest-tw-2.0.3 branch November 28, 2026 14:23
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