Skip to content

WP 7.0: Remove dependencies and rely on what's in core#271

Merged
dkotter merged 11 commits intoWordPress:developfrom
dkotter:update/remove-dependencies
Mar 6, 2026
Merged

WP 7.0: Remove dependencies and rely on what's in core#271
dkotter merged 11 commits intoWordPress:developfrom
dkotter:update/remove-dependencies

Conversation

@dkotter
Copy link
Collaborator

@dkotter dkotter commented Mar 5, 2026

Note

This is the first PR in a set of three. #272 and #275 will come next once this is merged

What?

Partially closes #244

Instead of including a number of dependencies, use what is in WordPress 7.0

Why?

This is the first PR on the path of adding full support for WordPress 7.0 and the new AI Client that is included there. WP 7.0 will include the AI Client and so we no longer need to bundle that.

How?

  • Removes the now unused automattic/jetpack-autoloader, wordpress/mcp-adapter and wordpress/wp-ai-client dependencies
  • Updates other dependencies to their latest
  • Remove the initialization of the AI Client
  • Switch back to using the standard composer autoloader
  • Temporarily ignore PHPStan errors around the AI Client

Use of AI Tools

None

Testing Instructions

This is the first PR in a series that will bring full support to WP 7.0. As such, things aren't in a fully usable state yet. If you test this PR, you should be able to install/activate the plugin on both WP 6.9 and WP 7.0 (no fatals in either) but the plugin won't fully work in either yet

Note

Unit and E2E tests are failing. Those will be fixed up once full 7.0 support is in place.

Open WordPress Playground Preview

@dkotter dkotter added this to the 0.5.0 milestone Mar 5, 2026
@dkotter dkotter self-assigned this Mar 5, 2026
@github-actions
Copy link

github-actions bot commented Mar 5, 2026

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: dkotter <dkotter@git.wordpress.org>
Co-authored-by: jeffpaul <jeffpaul@git.wordpress.org>
Co-authored-by: felixarntz <flixos90@git.wordpress.org>
Co-authored-by: Jameswlepage <isotropic@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dkotter Mostly looks good! A few comments.

Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dkotter!

@jeffpaul jeffpaul modified the milestones: 0.4.1, 0.5.0 Mar 6, 2026
@dkotter dkotter merged commit 2d70b8b into WordPress:develop Mar 6, 2026
9 of 24 checks passed
@dkotter dkotter deleted the update/remove-dependencies branch March 6, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pathway to 7.0

3 participants