Skip to content

v2.0.2

Choose a tag to compare

@github-actions github-actions released this 06 Aug 01:39
· 17 commits to main since this release
28ba3ab

New Features

  • Added a translation template at languages/bono-arm-api.pot and registered the plugin language directory, so translations now load on GitHub and Git Updater installs rather than only through WordPress.org language packs.
  • Registered the v2 payment item schema, making OPTIONS /bono_armember/v2/payments return the item contract and enabling _fields filtering.

Improvements

  • Raised the minimum supported WordPress version to 6.9. The settings screen needs wp_unique_id() (6.8) and the Abilities API registration needs 6.9; 6.9 is also the lowest version the integration matrix tests.
  • Expanded the v2 OpenAPI specification with server variables, component schemas, response bodies, pagination headers, and the previously undocumented status codes.
  • Renamed the packaged plugin folder to bono-arm-api so it matches the plugin text domain.
  • Re-enabled the Plugin Check compatibility rule in CI that had been suppressed.
  • Rewrote the ARMember payment queries to use %i identifier placeholders and to prepare each statement exactly once, replacing a pre-prepared WHERE fragment that an outer prepare() re-processed. The WordPress.DB.* coding-standard sniffs are now enabled project-wide instead of globally excluded.
  • Refreshed the security assessment and added repository guidance for coding agents.

Bug Fixes

  • Plugin capabilities are now removed on deactivation instead of persisting on the administrator role until uninstall.
  • Uninstall cleanup now runs for every site on multisite installs, in batches, rather than only the site that triggered it.
  • The v1 delete route rejects self-deletion in its permission callback and returns 403, instead of relying on the reassignment check returning 400.
  • The settings screen no longer prints duplicate "Settings saved." notices, and the ARMember availability notice uses success or warning styling to match its actual state.

Upgrade Notes

  • The packaged folder changed from bono_arm_api to bono-arm-api. Git Updater renames the extracted directory to match the installed plugin, so existing installs continue to update in place; a fresh manual install from the release zip will use the new folder name.
  • Sites running WordPress below 6.9 will no longer be offered this update.