Skip to content

4.1.0

Compare
Choose a tag to compare
@andergmartins andergmartins released this 11 Nov 20:03
· 118 commits to main since this release
9a5dcc5

Changelog

Added

  • Add more detailed debug logs to the workflow engine (Issue #724).
  • Add button to copy the debug logs to the clipboard (Issue #724).
  • Add "Published" status to the legacy expiration statuses (Issue #1023).
  • Add new workflow step to write a log message (Issue #690).

Fixed

  • Fixed the timezone in the default date applied from default action time (Issue #1005).
  • Fixed the timezone in the date preview (Issue #1004).

Changed

  • Improved the debug log viewer adding text to a textarea (Issue #724).
  • Improve the debug log viewer adding a button to download the entire log or copy it to the clipboard (Issue #724).
  • The debug log viewer now automatically scrolls to the bottom when the page loads (Issue #724).
  • Deprecate the class PublishPress\Future\Modules\Debug\Debug and use the logger facade instead.
  • Better handling of the exceptions and errors thrown by the plugin.
  • Removed the admin submenu item "Scheduled Actions" and added a button in the workflows list screen (Issue #1022).
  • Removed the "post-expirator-debug.php" file which is no longer used.

Developers

  • Add new class PublishPress\Future\Framework\System\DateTimeHandler to handle date and time operations.
  • Change the REST API /settings/validate-expire-offset endpoint return value renaming preview to calculatedTime.
  • Change the REST API /settings/validate-expire-offset endpoint to log an error message when the offset is invalid.
  • Add DateTimeHandlerInterface as dependency to the class PublishPress\Future\Modules\Expirator\Models\PostTypeDefaultDataModel.
  • Add LoggerInterface as dependency to the class PublishPress\Future\Modules\Expirator\Module.
  • Add DateTimeHandlerInterface as dependency to the class PublishPress\Future\Modules\Expirator\Module.
  • Deprecated the constant PublishPress\Future\Core::ACTION_ADMIN_ENQUEUE_SCRIPT in favor of PublishPress\Future\Core::ACTION_ADMIN_ENQUEUE_SCRIPTS.
  • Remove the action publishpressfuture_workflow_engine_running_step from the workflow engine.
  • Add new methods to the class PublishPress\Future\Framework\Logger\Logger to retrieve the log count, the log size, and to fetch the latest logs.
  • Node runner processors now accept a branch argument to get the next steps and run the next steps.****