Repository navigation
fix!: bump min WP to 6.9 and lock @wordpress/* deps - #361
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## fix/search-records #361 +/- ##
========================================================
- Coverage 88.09% 87.04% -1.05%
Complexity 684 684
========================================================
Files 26 36 +10
Lines 2176 2749 +573
Branches 0 170 +170
========================================================
+ Hits 1917 2393 +476
- Misses 259 297 +38
- Partials 0 59 +59
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The Dependabot configuration needs correction, and the dependency changes require compatibility validation on WordPress 6.9.
1 open issue
What changed in this PR
Raises OneSearch’s minimum WordPress version to 6.9 and aligns its externalized JavaScript dependencies with that baseline.
Changes:
- Updates WordPress requirements and compatibility checks.
- Adjusts dependency versions, lockfiles, and API-fetch mock typing.
- Adds Dependabot update restrictions.
| File | Description |
|---|---|
| tests/js/__mocks__/@wordpress/api-fetch.ts | Adapts mock typing to the downgraded package. |
| readme.txt | Declares WordPress 6.9 minimum. |
| README.md | Updates documented requirements. |
| package.json | Adjusts dependencies and script permissions. |
| package-lock.json | Records JavaScript dependency changes. |
| onesearch.php | Updates the plugin’s minimum WordPress version. |
| composer.lock | Refreshes PHP dependencies. |
| .phpcs.xml.dist | Targets WordPress 6.9 compatibility. |
| .github/dependabot.yml | Adds dependency update restrictions. |
Review effort: Balanced
Utsav-Ladani
approved these changes
Oct 21, 2026
7 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What
Bumps the minimum WordPress version to 6.9, and downgrades the NPM deps accordingly.
Dependabot autoupdate rules have been updated to ignore non-bundled
@wordpress/*packages so they don't slip in in the future.Why
We were already using 6.9 functionality (and it had the closest relation to our current production packages). It's also a prerequesite for the latest version of woocommerce/action-scheduler which we will be adopting in a future PR.
Related Issue(s):
How
AI Disclosure
Claude Code to find the dependency versions, and to write the dependabot.yml update (manually verified by me)
Testing Instructions
Screenshots
Additional Info
Checklist