All notable changes to this project will be documented in this file, per the Keep a Changelog standard.
Unreleased - TBD
1.6.0 - 2020-07-02
- Authorization Setup Wizard for External Connections leveraging Application Passwords (props @adamsilverstein, @dkotter, @dinhtungdu, @helen, @jeffpaul, @hearvox via #368, #594, #601)
- "Select All" and "Clear" options in the Push menu (props @biggiebangle, @dkotter, @oszkarnagy, @helen via #495, #589)
- "Pull" row action in the Pull menu (props @lakrisgubben via #508)
- "View" link for distribguted posts in Push menu for External Connections (props @dinhtungdu, @PaddyWhacks via #571)
- Accessibility improvements (props @samikeijonen, @dinhtungdu, @dkotter via #558, #559, #560, #562, #565, #566, #569)
- Site Health integration to display Distributor debug information (props @dinhtungdu, @jeffpaul, @johnwatkins0, @dkotter via #517)
dt_syndicatable_capabilities
filter to Push menu (props @pragmatic-tf via #473)dt_subscription_post_timeout
filter to modify request timeout (props @ahovhannissian, @dinhtungdu via #529)- Hook documentation GitHub Pages site generated by GitHub Actions (props @adamsilverstein, @helen, @jeffpaul via #448, #467, #474, #475, #476, #477, #478, #479, #482, #485, #545)
- JSON PHP extension as a Composer requirement (props @moebrowne, @adamsilverstein, @dinhtungdu via #460)
- GitHub Actions to build and add release asset (props @helen, @jeffpaul via #608)
- Documentation improvements (props @jeffpaul, @dmchale, @kant, @petenelson, @dinhtungdu, @jakemgold via #433, #462, #489, #513, #525, #528, #542, #544, #588, #598, #599)
- Internal distribution prepares posts the same for Push or Pull actions (props @rmarscher, @dinhtungdu via #169)
- Use filesystem for copying media when doing a network pull/push instead of
download_url()
(props @petenelson, @dkotter, @dmaslogh, @Kpudlo via #567) - Redirect to pulled content tab after content is pulled (props @joshuaabenazer, @dkotter, @hearvox via #575)
- Remove
hoverIntent
and add empty placeholder child item in Push menu to improve keyboard support (props @samikeijonen, @dinhtungdu, @dkotter via #564, #607) - Order of "View" and "Edit" links in the Pull menu to match WordPress standard order (props @jspellman814, @hearvox via #532)
- Show/hide credentials fields based on registration status on that Registration and Settings screen (props @dinhtungdu, @oszkarnagy via #543)
date()
togmdate()
per PHPCS (props @helen via #602)- Bumped WordPress version support to 5.3 (props @dkotter via #499)
- Update all packages and build process (props @adamsilverstein, @dkotter via #450)
- Run WP Acceptance tests in parallel in Travis (props @adamsilverstein via #439)
- Gutenberg compatibility issues (@dkotter, @dinhtungdu via #579)
- Issue where push menu would disappear when push is in progress (props @dinhtungdu, @dkotter, @helen via #538)
- Undefined variable issue causing external pushes to not fully work (props @dkotter via #578)
- Check for value of remote post id to verify push result (props @dinhtungdu, @eriktad, @arsendovlatyan via #574)
- Issue with wrong permission route that causes External Connections to fail on creation (props @dinhtungdu, @dkotter via #570)
- Issue where view links for external connections are incorrect if it is set up with a trailing slash (props @dkotter via #586)
- Issue with timeouts on
ajax_verify_external_connection
(props @madmax3365, @dinhtungdu via #245) - Issue where searching for posts during a multisite pull does not work correctly (props @petenelson, @dinhtungdu via #533)
- Issue where block content pulled through External Connections get converted to classic block (props @dinhtungdu, @jshwlkr via #534)
- Issue where shortcodes were not rendered when pulling content within a multisite instance (props @petenelson, @dkotter via #498)
- Issue where updating a post in a multisite environment was setting the distributed post's author to the current user rather than maintaining the original author (props @petenelson via #527)
- Issue where REST API field was not getting populated correctly (props @dinhtungdu, @dkotter, @ivanlopez via #519)
- Issue where terms/meta/etc. gets distributed when updating a previously distributed post (props @lakrisgubben, @dkotter via #518)
- Replace
has_blocks
withuse_block_editor_for_post
inis_using_gutenberg check
(props @johnwatkins0, @dkotter via #514) - Issue where previously distributed posts appear as distributable for External Connections (props @madmax3365, @avag-novembit, @adamsilverstein via #444)
- Enable multisite support for VIP Go sites (props @dinhtungdu, @WPprodigy, @jonny-bull via #606)
- External connections page markup enhancements (props @joshuaabenazer, @samikeijonen via #576)
- Fixes and updates unit and acceptance tests, coding standards issues, and WordPress tested-up-to version (props @dinhtungdu via #603)
- Bump
websocket-extensions
from 0.1.3 to 0.1.4 (props @dependabot via #587) - Bump
acorn
from 5.7.3 to 5.7.4 (props @dependabot via #548) - Bump
extend
from 3.0.1 to 3.0.2 (props @dependabot via #447)
1.5.0 - 2019-07-18
- Provide more context to the
dt_create_missing_terms
hook (props @mmcachran, @helen via #378) - Test against multiple WP Snapshot variations and block tests (props @adamsilverstein via #342 and #367)
- Documentation improvements (props @adamsilverstein, @jeffpaul, @arsendovlatyan via #352, #363, #403, #414, #415)
- 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)
- 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
- Improve block editor detection, correcting an issue with post saving.
1.4.0 - 2019-03-07
- Clearer instructions and help text when adding an external connection.
- Log image sideloading failures when using
DISTRIBUTOR_DEBUG
.
- 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
- Ensure posts distributed as draft can be published.
1.3.8 - 2019-01-30
- Add
dt_after_set_meta
action. - Add
dt_process_subscription_attributes
action.
- Ensure post types without excerpt support can be distributed.
1.3.7 - 2019-01-16
- 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 toget_available_authorized_sites()
. - Add
dt_allowed_media_extensions
anddt_media_processing_filename
filters so that different media types or specific files can be detected and targeted.
- Ensure media meta is passed through
prepare_meta()
to apply the blacklist. 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
- 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
- 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.
- Avoid duplicating empty meta values.
- Align with JS i18n coming in WordPress 5.0.
1.3.4 - 2018-11-20
- Provide
$taxonomy
to thedt_update_term_hierarchy
filter.
- 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
- Do not interfere with non-subscription REST API requests.
- Retain generated image size info after media distribution.
1.3.2 - 2018-10-16
- 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
- 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
- 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.
- 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
- 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
- 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
- Don’t set Distributor meta data on REST API post creation unless post was created by Distributor
- Blacklist the
_wp_old_slug
and_wp_old_date
meta - Disable pull UI while switching between pull connections
- 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
- Gutenberg bugs; parent post bug.
1.2.0 - 2018-05-27
- Gutenberg support, public release.
1.1.0 - 2018-01-19
- WordPress.com Oauth2 authentication.
1.0.0 - 2016-09-26
- Initial closed release.