Skip to content

Latest commit

 

History

History
566 lines (461 loc) · 65.9 KB

CHANGELOG.md

File metadata and controls

566 lines (461 loc) · 65.9 KB

Changelog

All notable changes to this project will be documented in this file, per the Keep a Changelog standard.

2.0.4 - 2024-02-29

Added

Changed

Fixed

2.0.3 - 2024-01-18

Added

Fixed

Security

2.0.2 - 2023-11-29

Added

Changed

Fixed

Security

2.0.1 - 2023-09-18

Changed

Removed

Fixed

2.0.0 - 2023-09-05

Note that Distributor now requires PHP 7.4 or later and WordPress 5.7 or later.

Please see the migration guide for important changes between version 1 and version 2 that may require your action.

Added

Changed

Deprecated

Removed

Fixed

Security

1.9.1 - 2023-03-15

Security

1.9.0 - 2022-12-15

Changed

Deprecated

Fixed

Other

1.8.0 - 2022-09-29

Changed

Other

1.7.1 - 2022-08-04

Added

Fixed

1.7.0 - 2022-07-26

Added

Changed

Fixed

Removed

Security

1.6.9 - 2022-04-18

Added

Changed

Fixed

  • Ensure content updates work for distributed items that use the block editor in WordPress 5.9+ (props @dkotter, @cadic via #845).
  • Tidied up the position and style of the help icon that shows on the Distributor settings page (props @willhowat, @dkotter via #871).

Security

1.6.8 - 2022-02-02

Added

  • New hook dt_get_pull_content_rest_query_args to filter WP_Query args for the list-pull-content REST endpoint (props @theskinnyghost, @dkotter via #839).

Changed

  • Clear out a user's authorized site list instead of rebuilding it on site changes (props @dkotter , @cadic via #829).

Fixed

Security

  • Bump actions/checkout in GitHub Action workflow files from v1/v2 to v2.4.0 (props @faisal-alvi via #828).

1.6.7 - 2021-11-09

Added

Fixed

1.6.6 - 2021-09-28

Added

  • Add filters to control terms and meta distribution for internal connections: dt_push_post_meta and dt_push_post_terms (props @dinhtungdu, @dkotter via #800).

Fixed

  • Ensure error messages are shown properly if an error happens during a push (props @dkotter, @Drmzindec via #803).

1.6.5 - 2021-09-01

Added

  • Better support for the Block Editor's fullscreen mode via a new Distributor panel with a toggle option (props @dkotter, @dinhtungdu, @helen, @jeffpaul via #750, #790).
  • Update URI header to ensure only legitimate Distributor updates are applied to this install (props @jeffpaul via #778).
  • Issue management automation via GitHub Actions (props @jeffpaul #782).

Changed

Fixed

  • Ensure original site information is set properly on content Pulled from external connections (props @dkotter, @justiny via #776).
  • Ensure we are on a multisite before using switch_to_blog (props @dkotter, @Drmzindec via #780).

Security

1.6.4 - 2021-03-24

Added

Changed

  • Continuous Integration: Switch from Travis to GH Actions for linting and PHPUnit testing (props @dinhtungdu via #663).

Fixed

Security

1.6.3 - 2021-03-09

Added

Changed

Fixed

1.6.2 - 2021-01-14

Fixed

Security

1.6.1 - 2020-11-19

Added

Fixed

Security

1.6.0 - 2020-07-02

Added

Changed

Fixed

Security

1.5.0 - 2019-07-18

Added

Changed

  • More efficient method of generating internal connection data on push and pull screens (props @dkotter via #355)
  • Lazy load available push connections in toolbar dropdown to avoid blocking page render (props @dkotter via #365)
  • More performant retrieval and consistent ordering on the pull content screen (props @helen via #431 and #434)
  • Unify args provided to the dt_push_post_args filter (props @gthayer via #371)
  • Bumped WordPress version support to 5.2 (props @adamsilverstein, @jeffpaul via #376)

Fixed

  • Avoid connection errors on the pull content screen for connections with a lot of pulled/skipped content (props @helen via #431)
  • Pass slug when distributing terms to avoid duplicating terms with special characters or custom slugs (props @arsendovlatyan and @helen via #262)
  • Simplify and avoid a fatal error in is_using_gutenberg() (props @helen via #426)
  • Avoid PHP notices (props @grappler via #401 and @mrazzari via #420)

1.4.1 - 2019-03-15

Fixed

  • Improve block editor detection, correcting an issue with post saving.

1.4.0 - 2019-03-07

Added

  • Clearer instructions and help text when adding an external connection.
  • Log image sideloading failures when using DISTRIBUTOR_DEBUG.

Fixed

  • Allow attachments to be distributed from local environments.
  • Ensure pagination is reset when switching views on the pull content screen.
  • Remove extraneous checkboxes from pulled content screen.
  • Suppress a PHP warning when no meta is being distributed for attachments.

1.3.9 - 2019-02-21

Fixed

  • Ensure posts distributed as draft can be published.

1.3.8 - 2019-01-30

Added

  • Add dt_after_set_meta action.
  • Add dt_process_subscription_attributes action.

Fixed

  • Ensure post types without excerpt support can be distributed.

1.3.7 - 2019-01-16

Added

  • Distribute plaintext URLs instead of full markup for automatic embeds (oEmbeds). This was causing issues for non-privileged users where the markup was subject to sanitization/kses.
  • Add push/pull context to get_available_authorized_sites().
  • Add dt_allowed_media_extensions and dt_media_processing_filename filters so that different media types or specific files can be detected and targeted.

Fixed

  • Ensure media meta is passed through prepare_meta() to apply the exclusion. This completes the generated image size info fix from 1.3.3.
  • Avoid a PHP notice when only using the block editor on the receiving site.
  • Avoid a jQuery Migrate notice.

1.3.6 - 2018-12-19

Fixed (for WP 5.0 block editor)

  • Properly detect block editor content.
  • Show notices with actions.
  • Ensure distributed posts can be published.
  • Fully disable editing of classic blocks in distributed posts.
  • Clean up distribution status display in side panel.
  • Not block editor: Avoid notices on the pull content screen when no connections are set up yet.

1.3.5 - 2018-12-05

Added

  • Add a dt_available_pull_post_types filter to enable pulling of post types not registered on the destination site. NOTE: This requires custom handling to pull into an existing post type.

Fixed

  • Avoid duplicating empty meta values.
  • Align with JS i18n coming in WordPress 5.0.

1.3.4 - 2018-11-20

Added

  • Provide $taxonomy to the dt_update_term_hierarchy filter.

Fixed

  • Enable distribution of multiple meta values stored using the same key.
  • Retain comment status, pingback status, and post passwords on pull.

1.3.3 - 2018-10-19

Fixed

  • Do not interfere with non-subscription REST API requests.
  • Retain generated image size info after media distribution.

1.3.2 - 2018-10-16

Fixed

  • Correctly encode search query in the pull list.
  • Properly check the key for subscription updates.
  • Ensure featured images are properly detected from environments that type juggle.
  • Add plugin icon to plugin update UI.

1.3.1 - 2018-10-09

Fixed

  • Retain keys for associative array meta.
  • Properly pass CPT slugs to external connections.
  • Don't push updates to network sites that no longer exist.
  • Escaping improvements.
  • Stable build now only contains files necessary for production.

1.3.0 - 2018-09-20

Added

  • Add a media processing option to only distribute the featured image instead of the featured image and all attached media.

Important note: This is now the default option for all sites. Attached media is often loosely correlated with media use and in-content media URLs are not rewritten on distribution, making local copies of most attached media unnecessary in default setups, even as they add significant overhead to distribution. To retain the previous behavior of distributing all attached media (children attachments), change the setting on the receiving site to Process the featured image and any attached images.

  • Support pulling multiple post types for external connections.

This adds a post type selector when viewing the Pull Content list for both external and internal connections, which is both easier to use and more performant.

  • Distributed copies of posts that are later permanently deleted are now marked as skipped in the Pull Content list, making them available for pull again while not appearing as new content.
  • Add dt_original_post_parent to post meta, allowing developers to better manage post parent handling.

Fixed

  • Restore support for storing arrays in meta
  • Don't show pushed posts as available for pull on the receiving site
  • Correctly save screen options on Distributor pages
  • Removed a redundant argument
  • Code formatting fixes

1.2.3 - 2018-08-16

Fixed

  • Issue that was hiding the "As Draft" checkbox on the push screen. We've introduced a new filter "dt_allow_as_draft_distribute" which can be set to false to disable the "as draft" checkbox.

1.2.2 - 2018-08-14

Added

  • Helper function to return post statuses that are allowed to be distributed
  • Utilize the og:url from Yoast for external connections
  • Add new filters for authorized sites for internal connections
  • Documentation and formatting updates

Changed

  • Don’t set Distributor meta data on REST API post creation unless post was created by Distributor
  • Exclude the _wp_old_slug and _wp_old_date meta
  • Disable pull UI while switching between pull connections

Fixed

  • Issue where content pulled or skipped from an internal connection (in the Pull interface) would show up as "pulled" across all internal sites / connections. Backwards compatibility break: internal posts that were previously skipped or pulled will show as available for pull again in all internal sites.

1.2.1 - 2018-07-06

Fixed

  • Block editor bugs; parent post bug.

1.2.0 - 2018-05-27

Added

  • Block editor support, public release.

1.1.0 - 2018-01-19

Added

  • WordPress.com Oauth2 authentication.

1.0.0 - 2016-09-26

  • Initial closed release.