Skip to content

Conversation

@josephfusco
Copy link
Member

@josephfusco josephfusco commented Jun 27, 2025

This pull request renames the webhooks plugin to remove "headless" as it's inferred with WPGraphQL.

@changeset-bot
Copy link

changeset-bot bot commented Jun 27, 2025

⚠️ No Changeset found

Latest commit: 9e93b73

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@josephfusco josephfusco changed the title Rename webhooks plugin chore: Rename webhooks plugin Jun 27, 2025
@github-actions
Copy link

github-actions bot commented Jun 27, 2025

ℹ️ Download the latest wpgraphql-webhooks plugin zip from this PR
(See the 'Artifacts' section at the bottom)

@josephfusco josephfusco requested review from Copilot and theodesp June 30, 2025 16:06
@josephfusco josephfusco marked this pull request as ready for review June 30, 2025 16:06
@josephfusco josephfusco requested a review from a team as a code owner June 30, 2025 16:06

This comment was marked as outdated.

@josephfusco josephfusco requested a review from Copilot July 1, 2025 13:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR renames the WPGraphQL “headless” webhooks plugin to remove the “headless” term, consolidating the plugin slug and directory name to wpgraphql-webhooks. It also adds Codeception test suite configuration files for unit, functional, acceptance, and WP unit tests.

  • Renamed plugin directory and slug from wp-graphql-webhooks to wpgraphql-webhooks and updated references.
  • Added Codeception test suite configuration files under tests/.
  • Updated plugin listing in the root plugins/README.md and example path in .wp-env.json.

Reviewed Changes

Copilot reviewed 62 out of 72 changed files in this pull request and generated 2 comments.

File Description
plugins/wpgraphql-webhooks/wpgraphql-webhooks.php Renamed plugin slug and header metadata
plugins/README.md Updated plugin listing to use new directory name
examples/next/webhooks-isr/.wp-env.json Updated plugin path in environment config
plugins/wpgraphql-webhooks/tests/*.suite.dist.yml Added Codeception test suite configuration
Comments suppressed due to low confidence (2)

plugins/wpgraphql-webhooks/wpgraphql-webhooks.php:18

  • The header lists BSD-0-Clause but the License URI points to BSD-3-Clause; please unify the license name and URI to the correct SPDX identifier.
 * License: BSD-0-Clause

plugins/wpgraphql-webhooks/tests/wpunit.suite.dist.yml:1

  • [nitpick] You’ve added configuration for the WP unit tests but no actual test files; consider adding at least one basic test case to validate core plugin functionality.
# Codeception Test Suite Configuration

@wpengine wpengine deleted a comment from Copilot AI Jul 1, 2025
@josephfusco
Copy link
Member Author

The build is missing some files, such as the root plugin file. This might be due to some sort of whitelist for inclusion of the old file name.

CleanShot 2025-07-01 at 09 56 26@2x

@github-actions
Copy link

github-actions bot commented Jul 1, 2025

ℹ️ Download the latest hwp-previews plugin zip from this PR
(See the 'Artifacts' section at the bottom)

@moonmeister
Copy link
Member

Isn't every other WPGraphQL plugin named with the wp-graphql-[plugin-name] format over wpgraphql-[plugin-name]?

@josephfusco
Copy link
Member Author

josephfusco commented Jul 1, 2025

@moonmeister

There seems to be a split between some of the ecosystem, but from my understanding we are wanting to move to "wpgraphql" rather than "wp-graphql"

https://wordpress.org/plugins/wpgraphql-smart-cache/
https://github.com/wp-graphql/wpgraphql-acf/
https://github.com/wp-graphql/wpgraphql-ide/

See Discord

@theodesp theodesp closed this Jul 2, 2025
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.

4 participants