Skip to content

Releases: publishpress/publishpress-future

4.9.4

18 Dec 17:16
465227f

Choose a tag to compare

Changelog

Added

  • Enhance workflow management with custom capabilities (Issue #1540).
    • Introduced new workflow capabilities: edit_publishpress_workflows, publish_publishpress_workflows, unpublish_publishpress_workflows
    • Update REST API to use workflow-specific capabilities instead of generic edit_posts
    • Add X-PP-Workflow-Nonce verification to all workflow endpoints for enhanced security

Fixed

  • Published pages via Future Actions show incorrect View links (Issue #1539).
  • Unable to edit imported workflow (Issue #1544).
  • "Query posts" step doesn't work when post type is not specified for custom posts, (Issue #1546)
  • Update ES-FR-IT translations (Issue #1537).

Full Changelog: 4.9.3...4.9.4

4.9.3

11 Dec 13:45
fc6cd4f

Choose a tag to compare

Changelog

Added

  • Added new conditional operators for workflow steps: "Is empty" and "Is not empty", allowing you to check if a value or field is empty or not within conditional logic (Issue #1518).

Fixed

  • Warning: Undefined array key "id" on an imported workflow, (Issue #1524)
  • Unable to re-schedule "On Schedule" trigger if it was already executed, (Issue #1527)
  • "Update post details" step not working with "Query posts" step, (Issue #1503).
  • Fixed how variable helpers are interpreted inside JSON logic conditions (Issue #1517).
  • "Query Posts" step has invalid settings validation, (Issue #1525)
  • Update ES-FR-IT translations (Issue #1477).
  • Remove email field from getAuthors REST API endpoint.
  • Convert workflow operations from GET to POST requests
  • Add capability checks for all workflow actions
  • Improve utils stripTags function
  • Implement backup structure validation to ensure data integrity
  • Add sanitization methods for workflows and settings data
  • Improve input validation with proper type checking and whitelisting
  • Enhanced workflow setDescription() method with wp_kses_post() sanitization
  • Enhance post expiration extraData data validation
  • Improve query parameter handling in settings controller
  • Enhance template rendering validation and path security
  • Add nonce verification to processMetaboxUpdate method
  • Improve input sanitization in debug log download
  • Add proper permission checks for post expiration data access
  • Add input sanitization for workflow node data values

Full Changelog: 4.9.2...4.9.3

4.9.2

18 Nov 10:06
0cbefc1

Choose a tag to compare

Changelog

Added

  • Add "User Role After Change" criteria to "User role is changed" trigger, (Issue #1473).

Changed

  • Re-organize Action Workflows quick edit links, (Issue #1479)
  • Resize workflow editor expression box modal, (Issue #1480)
  • Redirect users to "Action Workflows" screen on plugin activation, (Issue #1454)
  • Add validation to workflow schedule custom date source variable, (Issue #1481)

Fixed

  • Update ES-FR-IT translations (Issue #1477).
  • Enhance permission checks for REST API post modification endpoint, (Issue #1491).

Developers

  • Fixed duplicated constant values for hooks between modules and the core, (Issue #1292).

Full Changelog: 4.9.1...4.9.2

4.9.1

27 Oct 15:39
368e819

Choose a tag to compare

Changelog

Added

  • Add "Run" and "Cancel" Bulk Edit in Scheduled Actions screen, (Issue #1461).
  • Restore "User role change" trigger - PRO, (Issue #1212)

Changed

  • Enable "Cancel Scheduled Actions" link for active workflow, (Issue #1455).
  • Text changes for User role is changed, (Issue#1209)

Fixed

  • DoAction step arguments not available as variables in subsequent workflow steps, (Issue #1467).
  • Custom i18n wrapper doesn't fall back to original string when translation is empty, (Issue #1465).
  • "No results found." message is breaking when using nl_NL, showing a JS error message, (Issue #1140).
  • TypeError: t.terms.forEach is not a function, (Issue #1169).

Full Changelog: 4.9.0...4.9.1

4.9.0

14 Oct 04:31
ae84a2d

Choose a tag to compare

Changelog

Added

  • Add a new trigger (When terms are added to a post), (Issue #1130).
  • Add Terms to the execution context, (Issue #1271).
  • Add new operator("has" & "does not have") to compare array in workflow editor filters, (Issue #1271).
  • Add "Duplicate" button for workflow editor filters, (Issue #1297).
  • Create the "Future Actions" workflows as samples in the "Action Workflows" area on install, (Issue #1309).
    • Added "Change status to draft one week after publishing" workflow sample
    • Added "Delete post one week after publishing" workflow sample
    • Added "Remove all categories one week after publishing" workflow sample
    • Added "Remove selected categories one week after publishing" workflow sample
    • Added "Replace all categories one week after publishing" workflow sample
    • Added "Stick post one week after publishing" workflow sample
    • Added "Unstick post one week after publishing" workflow sample

Changed

  • Make the "Send email" actions available in the Free version, (Issue #1430).
  • Make the "Post status changed" actions available in the Free version, (Issue #1430).
  • Make the "Post is published" trigger available in the Free version, (Issue #1452).
  • Move items under workflow editor "Advanced" tab to "Actions" tab and remove "Advanced" tab, (Issue #1383).
  • Change workflow editor edit icon {} to text, (Issue #1295).

Fixed

  • Bulk Edit for Posts produces an empty Future box, (Issue #1302).
  • Newly created workflow "Manually run via Future Actions box" not working, (Issue #1425).
  • PHP message: PHP Fatal error: Uncaught ... NonexistentTermException in ...TermModel.php, (Issue #1442).
  • Issue with date timezones comparison in Future Actions, (Issue #1348).
  • Pro translations not working, (Issue #1444).
  • Update ES-FR-IT translations (Issues #1445, #1439).

Removed

  • Remove the sidebar promo box, (Issue #1426).

Developers

  • Refactor hardcoded do_action occurrences, (Issue #1335).
  • Update the actions scheduler library, (Issue #726).
  • Fixed workflow editor resolveExpressionsInJsonLogic forcing array into strings/json for all var.

Full Changelog: 4.8.2...4.9.0

4.8.2

30 Jul 09:33
906410b

Choose a tag to compare

Changelog

Added

  • Add updated_post_meta and added_post_meta to core HooksAbstract, (Issue #1416).
  • Add Pro nudge in Free version for Statuses and Metadata scheduling, (Issue #1371).

Changed

  • Hide options for "Automatically create actions" if disabled, (Issue #1398).

Fixed

  • Mapped meta field for scheduled action not working for post added from the front end, (Issue #1418).

Full Changelog: 4.8.1...v4.8.2

4.8.1

17 Jul 15:40
8cc9c5e

Choose a tag to compare

Changelog

Fixed

  • "Manually run via Future Actions box" not working in Gutenberg Editor, (Issue #1405).
  • Conflict in WordPress 6.8.2 breaking post editor, (Issue #1404).
  • PHP message: PUBLISHPRESS FUTURE - Error registering classic editor metabox: Post is null or ID is not set, cannot load workflows" while reading response header from upstream, (Issue #1407).
  • Update pt-BR translations - PRO (Issue #1402).

Full Changelog: 4.8.0...4.8.1

4.8.0

09 Jul 07:19
2ecc02f

Choose a tag to compare

Changelog

  • Add Key links on Plugins screen (Issue #1360).
  • Add new checkbox to hide specific fields in Metadata Mapping instead of the full metabox - PRO feature (Issue #1058).

Changed

  • Changed the default value of "Workflow" field in the "Deactivate workflow for post" action to automatically select the first available workflow option (Issue #958).
  • Improve consistency on the name of manually enabled triggers (Issue #1366).
  • Conflict between the future action metabox and custom metadata when it comes from 3rd party plugins - PRO feature (Issue #1058).
  • Update the field description Text on User interaction step (Issue #1384).
  • Consistency with "Filters" name (Issue #1296).
  • Workflow name consistency, update "Custom action" to "Do custom action" (Issue #1385).

Fixed

  • Fixed WooCommerce Order Notice: Function ID was called incorrectly. Order properties should not be accessed directly (Issue #1388).
  • Plugin's text domain is loaded too early (Issue #1350).
  • Pro license is not activating - PRO (Issue #1397).

Developers

  • Remove HooksAbstract::FILTER_ACTION_META_KEY filter application from PostModel

Full Changelog: 4.7.1...4.8.0

4.7.1

11 Jun 14:41
70e5025

Choose a tag to compare

Changelog

Fixed

  • Fixed Future Actions missing in post editor (Issue #1372).

Full Changelog: 4.7.0...4.7.1

4.7.0

10 Jun 15:27
c4b6a33

Choose a tag to compare

Changelog

Added

  • Add new workflow trigger "On custom action" that allows workflows to be triggered by custom WordPress action hooks, enabling integration with other plugins and custom code - PRO feature (Issue #1222).
  • Add new workflow step "Do action" that executes custom action hooks with arguments, enabling integration with other plugins and custom code - PRO feature (Issue #1222).
  • Add diagnostic check for Spatie Ray debugging tool in the Diagnostics and Tools settings tab, clarifying debugging capabilities.
  • Add a "Copy" button to workflows (Issue #1183).
  • Add a "Cancel Scheduled Actions" button to workflows lists (Issue #1326).
  • Add a new step for interactive delay that allows workflows to pause and wait for user interaction - PRO feature (Issue #1257).
  • Add new workflow engine action hooks for enhanced extensibility:
    • publishpressfuture_workflow_engine_initialize_workflow: Fires when a workflow is being initialized
    • publishpressfuture_workflow_engine_setup_trigger: Fires when configuring a workflow trigger
    • publishpressfuture_workflow_engine_setup_step: Fires when setting up a workflow step
    • publishpressfuture_workflow_engine_execute_scheduled_step: Fires when executing a scheduled workflow step
    • publishpressfuture_workflow_engine_execute_step: Fires when executing a workflow step
    • publishpressfuture_workflow_engine_workflows_initialized: Fires when all workflows are initialized
    • publishpressfuture_workflow_engine_start_engine: Fires when the workflow engine starts
    • publishpressfuture_workflow_engine_run_workflows: Fires when workflows begin execution
  • Add Trigger action publishpressfuture_workflow_engine_execute_event_driven_step when an event-driven step starts running - PRO feature.
  • Add new "Duplicate Post" workflow action - PRO feature (Issue #1170).
  • Add a loco.xml file to support translation of the free version from within the Pro plugin using Loco Translate - PRO (Issue #1352).
  • Add a way to sort / filter / search the in-site notifications - PRO feature (Issue #1367).

Changed

  • Stick and Unstick Post workflow steps can now be used anywhere in workflows, not just within Schedule branches (Issue #1204).
  • Clarify the "Metadata" description by including table name for each metadata (Issue #1247).
  • Stop automatic cancelation of scheduled actions when a workflow is disabled in support of manual button, (Issue #1326).
  • Upgrade woocommerce/action-scheduler from 3.7.0 to 3.9.2, fixing PHP 8.4 compatibility.
  • Consolidated JavaScript translations into the main .pot file and corresponding .po files, streamlining the translation workflow.

Fixed

  • Settings Controller processes form submissions on every admin page load (Issue #1310).
  • Fixed validation issue in the workflow editor where selecting "Remove all terms" not removing required error (Issue #1244).
  • Fixed issue where Pro-only workflow triggers were incorrectly executing subsequent workflow steps in the free version of the plugin.
  • Fixed PHP compatibility by replacing arrow functions with anonymous functions for PHP 7.3 support.
  • Fixed PHP Warning: Trying to access array offset on null when opening new post, (Issue #1311).
  • Update pt-BR translations - PRO (Issue #1339).
  • Enhanced workflow auto-layout algorithm to prevent connection line crossings by implementing source handle-based ordering instead of creation order, improving visual clarity and readability of complex workflows.

Removed

  • Remove site metadata from the execution context on workflows (Issue #1332).

Developers

  • Remove unused InitineLoopPreventer trait from some classes, replacing it with the service "future.free/workflow-execution-safeguard".
  • Add convertDynamicHandlesToStatic method to WorkflowModel for improved handle management in workflow processing.
  • Enhanced workflow editor components with new InteractiveCustomOptions component for better option management.
  • Update workflow editor CSS to increase max-width for react-flow nodes from 170px to 210px for better layout flexibility.
  • Implement options validation in NodeValidator component to ensure workflow step configuration integrity.
  • Enhanced workflow runner infinite loop prevention by implementing ExecutionContextInterface and adding execution ID tracking for improved detection accuracy.
  • Implemented a unified i18n system for JavaScript translations that consolidates all script-specific translations into the main .pot files, streamlining the translation workflow.