Skip to content

4.7.0

Choose a tag to compare

@ojopaul ojopaul released this 10 Jun 15:27
c4b6a33

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.