Skip to content

Releases: Freespoke/wordpress-plugin

v2.2.0

02 Jun 13:35

Choose a tag to compare

What's Changed

Added

  • Test Mode. A new "Test Mode" setting (Tools → Freespoke Publisher) submits posts to Freespoke end-to-end for validation without storing the resulting content — useful for verifying the integration. It can also be locked via a FREESPOKE_TEST_MODE constant, and a persistent admin notice warns while test mode is active. Submissions carry the test_mode flag through to the API.
  • Automatic deletion on trash/delete. When a tracked post is trashed (wp_trash_post) or permanently deleted (before_delete_post), the plugin now calls the Freespoke delete API to remove the previously-indexed content. Deletes are targeted by the post's permalink and its stored document id.
  • Document ID tracking. On job completion the plugin stores the indexed document id (doc_id) in post meta (_freespoke_doc_id) and uses it to target deletes.

Changed

  • Retryable vs. permanent error handling. Failed index jobs and API exceptions are now classified. Permanent failures (HTTP 4xx other than 408/429, and gRPC codes like INVALID_ARGUMENT, NOT_FOUND, PERMISSION_DENIED, FAILED_PRECONDITION, etc.) set a no-retry flag so the cron job stops resubmitting until the post changes; transient failures (timeouts, 429, 5xx, network/parse errors) remain retryable. Pre-existing stored errors default to retryable for backwards compatibility.
  • Single submission per request. onPostSave now collapses the multiple wp_after_insert_post fires Gutenberg emits per publish (and wp_update_post() calls from other plugins' save_post handlers) into a single submission, preventing duplicate index requests. This replaces the previous separate transition_post_status (future→publish) handler.

Dependencies

  • Bundled freespoke/partner SDK updated to include the delete() method, test_mode article flag, and doc_id parsing.
  • Guzzle 7.10.07.10.4, guzzlehttp/psr7 2.9.02.10.2, guzzlehttp/promises 2.3.02.4.1, symfony/deprecation-contracts 3.6.03.7.0.

Full Changelog: https://github.com/Freespoke/wordpress-plugin/commits/v2.2.0

v2.1.0

15 May 17:03

Choose a tag to compare

Update wordpress-plugin from 0fb8b0d3

v2.0.1

23 Apr 19:48

Choose a tag to compare

Update wordpress-plugin from eef42533

v2.0.0

03 Apr 01:56

Choose a tag to compare

Update wordpress-plugin from f10144fb

v2.0.0-alpha1

23 Mar 16:58
11ae9ff

Choose a tag to compare

Update release.yml