Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,13 +275,25 @@ Source: `tests/cypress/e2e/` — same delete-when-the-UI-is-removed rule. (Detai

## Versioning

Plugin version lives in two places — keep them in sync:
**Always bump the version with the script — never edit the version by hand:**

```sh
scripts/bump-version.sh 7.0.0-beta.1
```

It sets the version everywhere it lives (and verifies each one), then you review
the diff and commit. It does not commit, tag, or touch the changelog.

The version lives in five places, all kept in sync by the script:

- [speechkit.php](speechkit.php) plugin header `Version:` line
- `BEYONDWORDS__PLUGIN_VERSION` constant in the same file
- `version` in [package.json](package.json) (informational; npm publish is not used)
- root `version` and `packages[""].version` in [package-lock.json](package-lock.json)
- `Stable tag:` in [readme.txt](readme.txt)

Bump on any release. Pre-release versions use `7.0.0-dev-4.0` style (matches existing convention).
Bump on any release. Pre-release versions use semver pre-release identifiers, e.g. `7.0.0-beta.1`.
If you add a new place the version needs to appear, update [scripts/bump-version.sh](scripts/bump-version.sh) too.

## Known issues

Expand Down
127 changes: 127 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,133 @@

**This is a list detailing changes for past BeyondWords releases. For more information about the current release, see readme.txt.**

= 6.3.0 =

Release date: 12th April 2026

**Enhancements**

* [#500](https://github.com/beyondwords-io/wordpress-plugin/pull/500) Editable content ID field.
* Adds a new "Content ID" feature, allowing users to input and fetch audio metadata by Content ID directly from the editor and classic metabox.

**Codebase Enhancements**

* Bump BeyondWords Player block `apiVersion` to fix failing Plugin Check jobs in CI.
* Various dependency updates to clear Dependabot security warnings.

= 6.2.0 =

Release date: 11th March 2026

**Enhancements**

* [#498](https://github.com/beyondwords-io/wordpress-plugin/pull/498) "Generate Audio" component improvements.
* Stability and performance updates for the Generate Audio component in the block editor.

**Codebase Enhancements**

* [#474](https://github.com/beyondwords-io/wordpress-plugin/pull/474) Replace Mock API responses with pre_http_request filter.
* Mockoon has been replaced with WordPress HTTP filters, and completely removed.

= 6.1.0 =

Release date: 2nd March 2026

**Fixes**

* [#483](https://github.com/beyondwords-io/wordpress-plugin/pull/483) and [#494](https://github.com/beyondwords-io/wordpress-plugin/pull/494) Fix reported REST API 404 responses.
* Skip the second `wp_after_insert_post` triggered by Gutenberg's meta box save.
* If the audio update request to our REST API results in a 404 then clear the stale content ID in WordPress and create new audio.
* `hasContent()` guard on `onTrashPost()` / `onDeletePost()` now skips posts without BeyondWords content IDs e.g. revisions.

**Enhancements**

* [#481](https://github.com/beyondwords-io/wordpress-plugin/pull/481) Add `$context` param to `beyondwords_player_html` filter.
* Use the `$context` param to enable filtering of the player HTML based on whether it was auto-prepended to `the_content` or added manually using a shortcode.
* This filter can be used to hide only the auto-prepended players, enabling the shortcode to be used effectively in PHP template files.
* Check the [Examples](https://docs.beyondwords.io/docs-and-guides/integrations/wordpress/filters?utm_source=wordpress&utm_medium=referral&utm_campaign=&utm_content=plugin#beyondwords_player_html) in our docs for further information.

= 6.0.4 =

Release date: 7th January 2026

**Fixes**

* [#477](https://github.com/beyondwords-io/wordpress-plugin/pull/477) Fix `saveErrorMessage()` bug.
* In the error message saving method we were incorrectly checking the integration method for the plugin instead of the post, which may explain a reported problem where unexpected 404 error messages were being saved.

**Codebase Enhancements**

* Improve the Cypress test suite by adding more assertions and testing more post statuses.
* Check for `ABSPATH` at the top of all PHP files.

= 6.0.3 =

Release date: 16th December 2025

**Compatibility**

* [#473](https://github.com/beyondwords-io/wordpress-plugin/pull/473) Reintroduce support for **PHP 8.0**.

= 6.0.2 =

Release date: 3rd December 2025

**Enhancements and Features**

* [#468](https://github.com/beyondwords-io/wordpress-plugin/pull/468) Tested up to WordPress 6.9.

**Fixes**

* [#469](https://github.com/beyondwords-io/wordpress-plugin/pull/469) Add `beyondwords_integration_method` into Inspect Panel copied data.
* [#466](https://github.com/beyondwords-io/wordpress-plugin/pull/466) Removed PHP type hints from methods hooked directly into WordPress `add_action`/`add_filter`.

= 6.0.1 =

Release date: 26th November 2025

**Fixes**

* [#464](https://github.com/beyondwords-io/wordpress-plugin/pull/464) Use `CoreUtils::getPostMetaKeys` to get all keys for removal.
* [#461](https://github.com/beyondwords-io/wordpress-plugin/pull/461) Accept `null` params from WP Core for `isProtectedMeta`.
* [#460](https://github.com/beyondwords-io/wordpress-plugin/pull/460) Accept a `null` parameter in `getLangCodeFromJsonIfEmpty`.

= 6.0.0 =

Release date: 10th November 2025

**Enhancements and Features**

* [#449](https://github.com/beyondwords-io/wordpress-plugin/pull/449) Added support for Magic Embed integration within the plugin.
* A new **"Magic Embed"** option has been added under **Content > Integration method** in the plugin settings.
* This option is intended for users working with **page builders such as Elementor**, who may have experienced issues getting the **REST API** to function correctly during initial setup.
* **Enabling Magic Embed** will automatically add the Magic Embed script to each of your posts.
* For correct functionality:
* Magic Embed must be **selected in the WordPress plugin**.
* Magic Embed must also be **[enabled and configured](https://docs.beyondwords.io/docs-and-guides/integrations/magic-embed/overview?utm_source=wordpress&utm_medium=referral&utm_campaign=&utm_content=plugin#setup) in your BeyondWords dashboard**.
* Posts previously created using the **REST API** will continue to use that method.
* Refer to our [Magic Embed documentation](https://docs.beyondwords.io/docs-and-guides/integrations/magic-embed/overview?utm_source=wordpress&utm_medium=referral&utm_campaign=&utm_content=plugin) for more information.

***If your plugin is already working as expected with the REST API, we recommend continuing to use that integration.***

**Fixes**

* [#457](https://github.com/beyondwords-io/wordpress-plugin/pull/457) Removed segment marker assignment.
* Fixes a reported JS issue where the block editor "+" button was not being displayed.

**Code Coverage**

* [#455](https://github.com/beyondwords-io/wordpress-plugin/pull/455) Increased PHPUnit test coverage.

**Refactoring**

* [#454](https://github.com/beyondwords-io/wordpress-plugin/pull/454) PHP type declarations.
* [#447](https://github.com/beyondwords-io/wordpress-plugin/pull/447) Make PHP methods static.

**Compatibility**

* ~~**PHP 8.1** is now our minimum supported version.~~

= 5.5.0 =

Release date: 2nd July 2025
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "beyondwords-wordpress-plugin",
"version": "7.0.0-dev-4.0",
"version": "7.0.0-beta.1",
"private": true,
"description": "BeyondWords WordPress Plugin",
"repository": {
Expand Down
Loading
Loading