Releases: publishpress/PublishPress-Future
Releases · publishpress/PublishPress-Future
4.0.0
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 methodremoveFilter
to remove a hooked filter. - Interface
PublishPress\Future\Core\HookableInterface
: Add new methodremoveAction
to remove a hooked action. - Class
PublishPress\Future\Framework\WordPress\Facade\HooksFacade
: Add new methodremoveFilter
to remove a hooked filter. - Class
PublishPress\Future\Framework\WordPress\Facade\HooksFacade
: Add new methodremoveAction
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
Changelog
- Fixed the issue #932
3.4.4-beta.1
Release 3.4.4
3.4.4
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
3.4.3
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
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
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
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 ofActionArgsModelInterface
; - Method
setPostId
now returns void instead ofActionArgsModelInterface
; - Method
setArgs
now returns void instead ofActionArgsModelInterface
; - Method
setArg
now returns void instead ofActionArgsModelInterface
; - Method
setCreatedAt
now returns void instead ofActionArgsModelInterface
; - Method
setEnabled
now returns void instead ofActionArgsModelInterface
; - Method
setScheduledDate
now returns void instead ofActionArgsModelInterface
; - Method
setScheduledDateFromISO8601
now returns void instead ofActionArgsModelInterface
; - Method
setScheduledDateFromUnixTime
now returns void instead ofActionArgsModelInterface
; - Method
convertUnixTimeDateToISO8601
is now public; - Method
convertISO8601DateToUnixTime
is now public;
- Method
3.4.0
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 theCronToWooActionSchedulerAdapter
to schedule recurring action; - ADDED: Add method
scheduleAsyncAction
to theCronToWooActionSchedulerAdapter
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 thescheduleSingleAction
method in theCronToWooActionSchedulerAdapter
class; - CHANGED: Method
scheduleRecurringAction
renamed toscheduleRecurringActionInSeconds
in theCronToWooActionSchedulerAdapter
class; - CHANGED: Added argument
$clearOnlyPendingActions
to the method signatureclearScheduledAction
to theCronInterface
interface; - CHANGED: Changed the method
clearScheduledAction
in the classCronToWooActionSchedulerAdapter
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
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)
- Add workflow triggers:
- FIXED: Fix localization making string translatable in ScheduledActionsTable.php file (thanks @DAnn2012), #703;