All notable changes to WP Curate
will be documented in this file.
- Bug Fix: Posts not of type 'post' are flagged as being deleted.
- Enhancement: Enable support for hiding post type selection from block settings UI.
- Enhancement: Subquery block added to allow a separate set of posts within a query block. see #200
- Bug Fix: Hold space on the front end for curated posts that were deleted.
- Bug Fix: Prevent block transforms from crashing the Query block.
- Bug Fix: Backfill posts filling out of order in the Editor.
- Enhancement: Enable block filter support for Post Title block setting Heading Level select.
- Stack post buttons (move, pin, etc.) in smaller block widths.
- Enhancement: Introduce
SWR
for caching API requests in the Query block.
- Bug Fix: Handle cases where a pinned post has been deleted or unpublished.
- Enhancement: Ability to customize the post title for a post that appears in a Query block.
- Enhancement: Ability to move pinned posts by clicking the Move Post button, then clicking the destination block.
- Enhancement: Update Mantle Testkit to
v1.0.0
. - Enhancement: Allow for unique pinned posts on pages with deduplication enabled.
- Bug Fix: Unit testing in Github Actions.
- Bug Fix: Update block-editor-tools to prevent errors/block crashes related to the PostPicker.
- Enhancement: Fire the
wp_curate_clear_history_post_ids
action to clear the history of post IDs that have used on the page and would be deduplicated from subsequent queries. - Changed: Signatures for
Query_Block_Context
andRecorded_Curated_Posts
.
- Enhancement: Add
wp_curate_plugin_curated_post_query
filter for the arguments used for querying posts that match query block attributes. - Enhancement: Add
wp_curate_rest_posts_query
filter for the arguments used for querying posts over the REST API for the query block editor preview. - Enhancement: Make the ID of the post being edited available to
wp_curate_rest_posts_query
filter.
- Bug Fix: Improve handling of default post types on the Query block.
- Enhancement: Exclude current post in backfilled posts query.
- Bug Fix: Error in 1.8.1 when Parse.ly is not instantiated.
- Bug Fix: Query blocks set to ordery trending fatal when Parse.ly is not set up.
- Enhancement: Integration with WPGraphQL plugin to support custom GraphQL interface type and connection.
- Bug Fix: Query block does not update with posts from custom post types when selected in Query Paramaters block settings.
- Enhancement: Integration with Parse.ly plugin to support querying trending posts.
- Bug Fix: Selecting a post more than once in a Query block causes empty slots at the end.
- Bug Fix: Add intentional spacing before PostPicker buttons.
- Make nunomaduro/collision a dev dependency.
- Switch alleyinteractive/wp-type-extensions to tagged version.
- Change GitHub actions back to PHP 8.1 so that sites are not required to run 8.2 yet.
- Bug Fix: Avoid BlockControl toolbar obstructing PostPicker button when Post inner blocks are selected.
- Enhancement: Bumps tested up to and requires WP to 6.4.
- Bug fix: Adds support to Windows file path validation with
validate_file
function.
- Bug fix: Update to the
Parsed_Block
new namespace.
- Bug fix: Adds in a temporary fix for alleyinteractive/alley-scripts#473
- Bug fix: Lock nunomaduro/collision at v6.0. Fixes failing tests via Github Actions.
- Bug fix: PHP tax_query wants
AND
orIN
foroperator
. REST API wantsAND
orOR
. - Default operator should be
OR
/IN
.
- Bug fix: allow blocks when no post type is defined.
- Bug fix: prevents error if
termRelations
attribute is not set.
- Only show the blocks and register the meta on supported post types.
- Supported post types defaults to all Block Editor post types, but can be filtered by filtering
wp_curate_supported_post_types
.
- Adds support for AND/OR operators in the Query Parameters, giving more control over what posts to show.
- Bug fix: prevents error if post type does not support meta.
- Initial release