Skip to content

Releases: publishpress/PublishPress-Future

4.0.0

21 Oct 18:08
05d0548
Compare
Choose a tag to compare

Changelog

Added

  • Add the Workflows feature, with the workflow editor and the workflow engine.

Changes

  • The list of scheduled actions now displays the repetition count/date limits (Issue #928).
  • Update language files.
  • Updated the UI in the advanced settings page.
  • Move some advanced settings to the "Display" tab (Issue #952)
  • Add title to the future action panel for UI consistency (Issue #965)
  • Renamed the PublishPress Future metabox to Future Actions for UI consistency (Issue #965)

Fixed

  • Update post model to update post date when setting post status to publish.
  • Prevent error when the current_post->ID is empty for unknown reasons, usually related to 3rd party plugins.

Developers

  • Interface PublishPress\Future\Core\HookableInterface: Add new method removeFilter to remove a hooked filter.
  • Interface PublishPress\Future\Core\HookableInterface: Add new method removeAction to remove a hooked action.
  • Class PublishPress\Future\Framework\WordPress\Facade\HooksFacade: Add new method removeFilter to remove a hooked filter.
  • Class PublishPress\Future\Framework\WordPress\Facade\HooksFacade: Add new method removeAction to remove a hooked action.
  • New method to publish posts using the class PublishPress\Future\Framework\WordPress\Models\PostModel.
  • Add new filter 'publishpressfuture_migrations' to filter the list of migrations that will be executed.
  • Call the action 'publishpressfuture_fix_db_schema' when a DB fix is executed from the settings page.
  • Call the action 'publishpressfuture_upgrade_plugin' when the plugin is upgraded.
  • Change the data type from void to int for the method 'PublishPress\Future\Modules\Expirator\Interfaces\CronInterfac::scheduleRecurringAction'.
  • Change the data type from void to int for the method 'PublishPress\Future\Modules\Expirator\Interfaces\CronInterfac::scheduleAsyncAction'.
  • Add new filter 'publishpressfuture_schema_is_healthy' to check if the DB schema is healthy.
  • The method 'PublishPress\Future\Modules\Workflows\Models\WorkflowModel::getStepFromRoutineTreeRecursively' now always returns an array.
  • Add new filter 'action_scheduler_list_table_column_recurrence' to filter the recurrence column in the scheduled actions list.
  • Add new method 'getNodeById' to the class 'PublishPress\Future\Modules\Workflows\Models\WorkflowModel'.

3.4.5-beta.1

11 Sep 13:52
80737b9
Compare
Choose a tag to compare
3.4.5-beta.1 Pre-release
Pre-release

Changelog

  • Fixed the issue #932

3.4.4-beta.1

11 Sep 13:53
8d9d436
Compare
Choose a tag to compare
Release 3.4.4

3.4.4

22 Aug 17:28
8d9d436
Compare
Choose a tag to compare

Changelog

[3.4.4] - 21 Aug, 2024

Fixed

  • Improve notice message when scheduled action runs after pressing "run" (PR #896).
  • Fixed support for the Event Espresso plugin (PR #900).
  • Fixed React warning about createRoot being deprecated.
  • Fixed empty fieldset displayed when the bos is disabled for the post type (Issue #792).
  • Update language files.

Changed

  • Add tabs for post types in the post types settings page (PR #895).

Added

  • Added computed date preview to the general settings page (PR #897).
  • Added option to hide the calendar by default in the future action panel (PR #899).
  • Added new filter publishpressfuture_posts_future_action_column_output to the Future Action column.

3.4.3

06 Aug 15:51
846f671
Compare
Choose a tag to compare

Changelog

The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.

[3.4.3] - 06 Aug, 2024

Changed

  • Remove icon from the Future metabox in the block editor, #821

Fixed

  • Update translation files
  • Only load the quick-edit script if in the post list screen
  • Fix quick edit action box to use the filter to hide action box when deactivated for the post type, #884
  • Fixed the database schema check to also check the debug log table, #887
  • Fixed the database schema check to check the table indexes, #887

3.4.2

15 Jul 18:56
cfbf40a
Compare
Choose a tag to compare

Changelog

The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.

[3.4.2] - 15 Jul, 2024

Added

  • Add the current date and time to date preview in the date/time offset setting field, #840

Fixed

  • Optimized the date/time offset validation requests in the Post Types settings, #840
  • Fix error message in the date/time offset setting field, #841
  • Fix user capabilities check in the block editor, #727
  • Update ES, FR, and IT translations, #859

Changed

  • Change the text in the promo screen for the Actions Workflow feature, #867

3.4.1

02 Jul 16:54
abab71c
Compare
Choose a tag to compare

Changelog

Added

  • Implement add promo screen for Actions Workflows, #777
  • Implement the post_id attribute to the futureaction shortcode, #814

Fixed

  • Fix some translations in ES, FR, and IT languages, #798
  • Fix “no future actions” message in the scheduled actions list, #788
  • Try to avoid fatal error for wrong argument counting
  • Minor issues pointed by PHPCS
  • Escape an exception message

Changed

  • Update language files
  • Improve the exception message when the date/time offset is invalid
  • Update composer files for dev dependencies

3.4.0.1

20 Jun 22:06
57b5398
Compare
Choose a tag to compare

Changelog

  • FIXED: Fix fatal error for low-level users when PublishPress menu is not available, #803;
  • FIXED: Fix wrong action date on the future action panel, #802;
  • CHANGED: The interface PublishPress\Future\Modules\Expirator\Interfaces\ActionArgsModelInterface has changed:
    • Method setCronActionId now returns void instead of ActionArgsModelInterface;
    • Method setPostId now returns void instead of ActionArgsModelInterface;
    • Method setArgs now returns void instead of ActionArgsModelInterface;
    • Method setArg now returns void instead of ActionArgsModelInterface;
    • Method setCreatedAt now returns void instead of ActionArgsModelInterface;
    • Method setEnabled now returns void instead of ActionArgsModelInterface;
    • Method setScheduledDate now returns void instead of ActionArgsModelInterface;
    • Method setScheduledDateFromISO8601 now returns void instead of ActionArgsModelInterface;
    • Method setScheduledDateFromUnixTime now returns void instead of ActionArgsModelInterface;
    • Method convertUnixTimeDateToISO8601 is now public;
    • Method convertISO8601DateToUnixTime is now public;

3.4.0

20 Jun 16:37
43868c2
Compare
Choose a tag to compare

Changelog

  • ADDED: In the JS context, implemented a way to extend the future action panel using SlotFill FutureActionPanelAfterActionField and setting extra fields to the panel, right after the action field;
  • ADDED: Add a new filter to allow filtering the options of the future action being scheduled: publishpressfuture_prepare_post_expiration_opts;
  • ADDED: Add method scheduleRecurringAction to the CronToWooActionSchedulerAdapter to schedule recurring action;
  • ADDED: Add method scheduleAsyncAction to the CronToWooActionSchedulerAdapter to schedule async action;
  • ADDED: In the JS context, added the slot FutureActionPanelTop to the beginning of the future panel;
  • CHANGED: Added $unique and $priority arguments to the scheduleSingleAction method in the CronToWooActionSchedulerAdapter class;
  • CHANGED: Method scheduleRecurringAction renamed to scheduleRecurringActionInSeconds in the CronToWooActionSchedulerAdapter class;
  • CHANGED: Added argument $clearOnlyPendingActions to the method signature clearScheduledAction to the CronInterface interface;
  • CHANGED: Changed the method clearScheduledAction in the class CronToWooActionSchedulerAdapter adding new argument $clearOnlyPendingActions, allowing to remove running actions;
  • CHANGED: The plugin activation and deactivation callback functions were moved from the main file to independent files;
  • CHANGED: Change the admin menu names for clarity;
  • CHANGED: Update the promo sidebar for mentioning the Actions Workflow feature;
  • FIXED: Fix error when quick-edit data is not available, #730;
  • FIXED: Fix dependency of the enqueued scripts for the future action box. Add 'wp-i18n', 'wp-components', 'wp-url', 'wp-data', 'wp-api-fetch', 'wp-element', 'inline-edit-post', 'wp-html-entities', 'wp-plugins' as dependencies;
  • FIXED: Updated ES, FR and IT translations, #698;
  • FIXED: Redirects to the settings page after activating the plugin, #764;
  • FIXED: Fix access to the View Debug settings tab when debug is disabled;
  • FIXED: Fix the position of the "Upgrade to Pro" and "Settings" menu items in the admin bar;

3.4.0-beta.1

20 May 12:58
7303206
Compare
Choose a tag to compare
3.4.0-beta.1 Pre-release
Pre-release

Changelog

  • ADDED: Workflow builder and workflow engine;
    • Add workflow triggers:
      • Post is saved
      • Post is updated
      • Manually enabled for Post on save
      • Legacy Future action
      • On Init
      • On Admin Init
    • Add workflow actions:
      • Delete Post
      • Stick Post
      • Unstick Post
      • Add extra terms to post
      • Replace all terms to post
      • Remove terms to post
      • Move post to status
      • Ray - Debug
      • Query Posts
    • Add workflow flows:
      • Schedule
      • Simple Condition (partially implemented)
  • FIXED: Fix localization making string translatable in ScheduledActionsTable.php file (thanks @DAnn2012), #703;