v0.2.0-rc
Released: 03/10/2025What’s Changed
Refactor the usage of `$properties` param to `$args` to align with WordPress usage by @gziolo in https://github.com/WordPress/abilities-api/pull/59
Add HEAD method support for performance optimization by @Ref34t in
https://github.com/WordPress/abilities-api/pull/71
Fix `$input` type hint in `WP_Ability` by @gziolo in https://github.com/WordPress/abilities-api/pull/61
chore: update dev-deps to latest by @justlevine in
https://github.com/WordPress/abilities-api/pull/72
fix: use link_header instead of add_link for pagination responses by @emdashcodes in https://github.com/WordPress/abilities-api/pull/81
Update CONTRIBUTING.md by @akkspros in
https://github.com/WordPress/abilities-api/pull/80
Docs: REST API Reference by @gziolo in https://github.com/WordPress/abilities-api/pull/77
Add execute actions to the ability object by @gziolo in
https://github.com/WordPress/abilities-api/pull/56
dev: Bump the PHPStan testing to PHP 8.4 by @johnbillion in https://github.com/WordPress/abilities-api/pull/82
feat!: make `permission_callback` arg required by @justlevine in
https://github.com/WordPress/abilities-api/pull/73
Add client-side package for Abilities API by @emdashcodes in https://github.com/WordPress/abilities-api/pull/60
dev: add `register_ability_args` filter [Proposal] by @justlevine in
https://github.com/WordPress/abilities-api/pull/74
docs: Fix the variable name by @mrabbani in https://github.com/WordPress/abilities-api/pull/92
Fix has_permission() return type inconsistency (Issue #67) by @Ref34t in
https://github.com/WordPress/abilities-api/pull/76
Docs/semantic headings by @jonathanbossenger in https://github.com/WordPress/abilities-api/pull/96
Rename `check_permission()` to `check_permissions()` on `WP_Ability` by @gziolo in
https://github.com/WordPress/abilities-api/pull/94
Fix backwards compatibility with WP_REST_Request API by @budzanowski in https://github.com/WordPress/abilities-api/pull/98
Prepare the branch for `v0.2.0` release by @gziolo in
https://github.com/WordPress/abilities-api/pull/90
Include JS build files in the Composer package in v0.2.0 release by @gziolo in https://github.com/WordPress/abilities-api/pull/100
Braking changes
They are primarily included in the `WP_Ability` object:
- `permission_callback` is now mandatory when registering an ability with `wp_register_ability`.
- `has_permission` was deprecated in favor of `check_permissions`.
- `execute` and `check_permissions` (previously `has_permission`) methods no longer accept only `arrays`. It’s now possible to provide any input type, and it defaults to `null`.
- When no input schema is provided, then `permission_callback` and `execute_callback` get executed with no arguments.
- Some other protected methods, like `validate_input` and `do_execute`, also have different method signatures because of the input parameter changes.
New Contributors
@Ref34t made their first contribution in
https://github.com/WordPress/abilities-api/pull/71
@akkspros made their first contribution in https://github.com/WordPress/abilities-api/pull/80
@johnbillion made their first contribution in
https://github.com/WordPress/abilities-api/pull/82
@mrabbani made their first contribution in https://github.com/WordPress/abilities-api/pull/92
Full Changelog: https://github.com/WordPress/abilities-api/compare/v0.1.1…v0.2.0-rc
v0.1.1
Released: 05/09/2025
What’s Changed
Documentation: Include specific nvm version needed by @rollybueno in
https://github.com/WordPress/abilities-api/pull/33
Updated Inline Documentation Order by @shail-mehta in https://github.com/WordPress/abilities-api/pull/49
Introduce Props Bot workflow by @desrosj in
https://github.com/WordPress/abilities-api/pull/50
Updated Inline Documentation Order by @sandipr942 in https://github.com/WordPress/abilities-api/pull/57
dev!: handle property registration inside WP_Ability by @justlevine in
https://github.com/WordPress/abilities-api/pull/54
Fix REST API initialization for composer package usage by @budzanowski in https://github.com/WordPress/abilities-api/pull/55
New Contributors
@rollybueno made their first contribution in
https://github.com/WordPress/abilities-api/pull/33
@shail-mehta made their first contribution in https://github.com/WordPress/abilities-api/pull/49
@desrosj made their first contribution in
https://github.com/WordPress/abilities-api/pull/50
@sandipr942 made their first contribution in https://github.com/WordPress/abilities-api/pull/57
@budzanowski made their first contribution in
https://github.com/WordPress/abilities-api/pull/55
Full Changelog:
https://github.com/WordPress/abilities-api/compare/v0.1.0…v0.1.1Initial release
Released: 29/08/2025What’s Included
Implement server-side registry for Abilities API by @gziolo in https://github.com/WordPress/abilities-api/pull/3
chore: scaffold plugin entrypoint and tooling by @justlevine in
https://github.com/WordPress/abilities-api/pull/4
Add REST API controllers for Abilities API by @emdashcodes in https://github.com/WordPress/abilities-api/pull/6
chore: php remediations by @justlevine in
https://github.com/WordPress/abilities-api/pull/11
Adjust directory structure to align with WP core by @gziolo in https://github.com/WordPress/abilities-api/pull/12
ci: fix lint trigger on test GH workflow by @justlevine in
https://github.com/WordPress/abilities-api/pull/17
tools(phpcs): remove conflicting TypeHint rules from PHPCS ruleset. by @justlevine in https://github.com/WordPress/abilities-api/pull/15
chore: align reqs with WP6.9 merge target by @justlevine in
https://github.com/WordPress/abilities-api/pull/18
dev: use `$request->get_params()` in REST controllers by @justlevine in https://github.com/WordPress/abilities-api/pull/22
Chore: Fix coding standard issues reported on wordpress-develop by @gziolo in
https://github.com/WordPress/abilities-api/pull/25
ci: fixes and cleanup by @justlevine in https://github.com/WordPress/abilities-api/pull/26
code quality: add PHPStan array shape for ability `$properties` by @justlevine in
https://github.com/WordPress/abilities-api/pull/20
dev: use `WP_Abilities_Registry::$instance` instead of adding a new `global` by @justlevine in https://github.com/WordPress/abilities-api/pull/19
dev!: return `WP_Error` from `WP_Ability` methods by @justlevine in
https://github.com/WordPress/abilities-api/pull/23
Adding initial developer documentation by @jonathanbossenger in https://github.com/WordPress/abilities-api/pull/10
Update readme with links to documenation by @jonathanbossenger in
https://github.com/WordPress/abilities-api/pull/27
Add LICENSE.md file by @gziolo in https://github.com/WordPress/abilities-api/pull/29
ci: build zip file for GitHub release by @justlevine in
https://github.com/WordPress/abilities-api/pull/24
Refactor error handling in REST API run controller by @gziolo in https://github.com/WordPress/abilities-api/pull/31
Chore: Run `lint:php:fix` on test files by @gziolo in
https://github.com/WordPress/abilities-api/pull/36
Remove `ignoreErrors` from PHPStan by @gziolo in https://github.com/WordPress/abilities-api/pull/40
Update an example in Introduction & Overview document by @jonathanbossenger in
https://github.com/WordPress/abilities-api/pull/43
dev!: require `string $name` for registration by @justlevine in https://github.com/WordPress/abilities-api/pull/21
Update 3.registering-abilities.md by @mujuonly in
https://github.com/WordPress/abilities-api/pull/46
Add code quality improvements to code comments by @gziolo in https://github.com/WordPress/abilities-api/pull/47
Chore: Configure the composer package for publishing by @gziolo in
https://github.com/WordPress/abilities-api/pull/35
docs: add installation steps for release by @justlevine in https://github.com/WordPress/abilities-api/pull/48
New Contributors
@gziolo made their first contribution in
https://github.com/WordPress/abilities-api/pull/3
@justlevine made their first contribution in https://github.com/WordPress/abilities-api/pull/4
@emdashcodes made their first contribution in
https://github.com/WordPress/abilities-api/pull/6
@jonathanbossenger made their first contribution in https://github.com/WordPress/abilities-api/pull/10
@mujuonly made their first contribution in
https://github.com/WordPress/abilities-api/pull/46
Full Changelog:
https://github.com/WordPress/abilities-api/commits/v0.1.0