Skip to content

Release v1.33.0 - #1242

Merged
pattonwebz merged 17 commits into
mainfrom
release/1.33.0
Sep 26, 2025
Merged

Release v1.33.0#1242
pattonwebz merged 17 commits into
mainfrom
release/1.33.0

Conversation

@pattonwebz

@pattonwebz pattonwebz commented Sep 25, 2025

Copy link
Copy Markdown
Member

Steve Jones (1):

  • [Backport] Release v1.32.0

William Patton (2):

  • Add scripted 'requires at least' to release script
  • Make commands bootstrap later at init and add support for shorthand names on commands

Copilot AI and others added 14 commits July 29, 2025 09:56
Co-authored-by: pattonwebz <3902039+pattonwebz@users.noreply.github.com>
Co-authored-by: pattonwebz <3902039+pattonwebz@users.noreply.github.com>
…ires at least" calculation

Co-authored-by: pattonwebz <3902039+pattonwebz@users.noreply.github.com>
- Changed logic from "3 back" to "2 back" to support last 3 versions (6.8 → 6.7 → 6.6)
- Updated regex to handle actual JSON format with patch versions (6.8.2 → 6.8)
- Updated error messages and comments to reflect new logic

Co-authored-by: pattonwebz <3902039+pattonwebz@users.noreply.github.com>
This allows other plugins to add commands on init but at earlier priority
This change introduces a `get_shortname` method to several command classes, providing a concise identifier for each command.

[PRO-300]
…dc-4ea0-bba2-0ba2430e16ff

Add scripted 'requires at least' to release script
…cence-activation-deactivation-status-cli-command

Make commands bootstrap later at `init` and add support for shorthand names on commands
Copilot AI review requested due to automatic review settings September 25, 2025 20:51
@coderabbitai

coderabbitai Bot commented Sep 25, 2025

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release/1.33.0

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @pattonwebz, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on preparing the plugin for its v1.33.0 release. It includes standard version bumps and introduces significant quality-of-life improvements for developers and users interacting with the plugin via WP-CLI. Additionally, the release process itself is made more robust and automated by dynamically managing WordPress compatibility requirements.

Highlights

  • Version Update: The plugin version has been incremented to 1.33.0 across all relevant files, including the main plugin file, package.json, and readme.txt.
  • WP-CLI Command Enhancements: WP-CLI commands now support shorthand aliases (e.g., edac instead of accessibility-checker) for easier use. Command registration has also been refactored to occur during the WordPress init hook, optimizing loading.
  • Automated WordPress Version Requirements: The release preparation script (prep_release.sh) has been updated to automatically calculate and set the 'Requires at least' WordPress version in readme.txt. This ensures compatibility by dynamically determining the minimum supported WordPress version based on the 'Tested up to' version and available WordPress releases, aiming to support the last three major versions.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This release PR bumps the plugin version from 1.32.0 to 1.33.0 and includes infrastructure improvements for WP-CLI commands and automated WordPress version requirement updates.

  • Adds automated WordPress version requirement calculation to the release script
  • Implements shorthand command names for WP-CLI commands (e.g., edac get-stats instead of accessibility-checker get-stats)
  • Modifies WP-CLI command registration to occur at the init hook instead of during plugin construction

Reviewed Changes

Copilot reviewed 10 out of 12 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
scripts/prep_release.sh Adds comprehensive WordPress version requirement automation that fetches versions from WordPress API and calculates minimum required version
readme.txt Updates stable tag version from 1.32.0 to 1.33.0
package.json Updates package version from 1.32.0 to 1.33.0
includes/classes/class-plugin.php Moves WP-CLI command registration to init hook with anonymous function wrapper
includes/classes/WPCLI/Command/*.php Adds get_shortname() method to all command classes for shorthand CLI usage
includes/classes/WPCLI/BootstrapCLI.php Adds logic to register shorthand command names when available
accessibility-checker.php Updates plugin version from 1.32.0 to 1.33.0 in header and constant

Comment thread includes/classes/WPCLI/Command/GetStats.php Outdated
Comment thread includes/classes/WPCLI/Command/GetSiteStats.php Outdated
Comment thread includes/classes/WPCLI/Command/DeleteStats.php Outdated
Comment thread includes/classes/WPCLI/Command/CleanupOrphanedIssues.php Outdated

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces version 1.33.0. The main changes include adding shorthand aliases for WP-CLI commands, deferring their registration to the init hook for better stability, and enhancing the release script to automatically update the Requires at least WordPress version. My review focuses on improving the robustness of the release script and a small efficiency gain in the WP-CLI command registration. The changes are generally good and improve the developer experience and release process.

Comment thread includes/classes/WPCLI/BootstrapCLI.php
Comment thread scripts/prep_release.sh
Comment thread scripts/prep_release.sh
@pattonwebz
pattonwebz merged commit 0b5b9ed into main Sep 26, 2025
25 checks passed
@github-actions github-actions Bot mentioned this pull request Sep 26, 2025
3 tasks
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