Releases: 10up/distributor
2.0.4
Added
- Repo Automator GitHub Action to automate repo operations (props @iamdharmesh, @jeffpaul via #1191).
Changed
- Address typos across the codebase (props @szepeviktor, @peterwilsoncc via #1184).
Fixed
- Address an issue with data being cached incorrectly (props @leogermani, @peterwilsoncc via #1185).
New Contributors
- @szepeviktor made their first contribution in #1184
Full Changelog: 2.0.3...2.0.4
View closed items in the milestone.
2.0.3
Added
- New filter,
dt_post_to_pull
, that allows modifying the post to be pulled (props @leogermani, @peterwilsoncc, @dkotter via #1181).
Fixed
- Ensure the code snippet for keeping the original post date is correct (props @leogermani, @peterwilsoncc via #1160).
Security
- Bump
tj-actions/changed-files
from 36 to 41 (props @dependabot[bot], @peterwilsoncc via #1172). - Bump
@wordpress/scripts
from 26.6.0 to 26.19.0 (props @dependabot[bot], @iamdharmesh via #1174).
New Contributors
- @leogermani made their first contribution in #1160
Full Changelog: 2.0.2...2.0.3
View closed items in the milestone.
2.0.2
Added
- New snippet detailing how to disable automatic content updates (props @dkotter, @peterwilsoncc via #1145).
Changed
- Show proper external connection status error messages when the status is checked (props @theskinnyghost, @peterwilsoncc via #1140).
- Updated our docs around how to connect two pieces of existing content (props @dkotter, @peterwilsoncc via #1145).
- Bump WordPress "tested up to" version 6.4 (props @severine-pozzo, @QAharshalkadu, @jeffpaul, @dkotter via #1151).
Fixed
- Copy the htaccess file when initilizing the E2E test environment (props @peterwilsoncc, @theskinnyghost, @dkotter via #1143).
- Prevent early publishing of scheduled posts when pulled internally (props @peterwilsoncc, @jeffpaul, @dkotter, @maxledoux, @pcrumm via #1156).
- Avoid a PHP fatal error when pulling content that has previously been pulled into a different network site (props @dkotter, @jeffpaul, @peterwilsoncc via #1159).
Security
- Bump
postcss
from 8.4.24 to 8.4.31 (props @dependabot[bot], @ravinderk via #1141). - Bump
@babel/traverse
from 7.22.5 to 7.23.2 (props @dependabot[bot], @peterwilsoncc via #1147).
New Contributors
- @severine-pozzo made their first contribution in #1151
- @maxledoux made their first contribution in #1156
Full Changelog: 2.0.1...2.0.2
View closed items in the milestone.
2.0.1
Changed
- Update from Cypress v10 to v13 (props @dkotter, @iamdharmesh, @peterwilsoncc via #1128).
- Documentation updates (props @jeffpaul, @peterwilsoncc via #1131).
Removed
- GitHub Actions for version 1.x releases (props @peterwilsoncc, @jeffpaul via #1135).
Fixed
- Invalid author IDs being set when pushing and pulling posts (props @peterwilsoncc, @faisal-alvi, @joemcgill, @margaretschneider via #1133).
- Featured image delete push issue (props @ravichdev, @helen, @dkotter, @adamsilverstein, @jeffpaul, @arsendovlatyan, @ravinderk, @peterwilsoncc via #310).
- Allow clicking on the
Save to draft
confirmation modal buttons (props @av3nger, @peterwilsoncc, @ravinderk, @pdewouters via #1042). - Admin icon has been updated so it has the same width and height (props @zach-adams, @ravinderk, @peterwilsoncc via #1132).
- Ensure our E2E tests pass on WordPress 6.3 (props @dkotter, @iamdharmesh, @peterwilsoncc via #1128).
Changes can be reviewed on the 2.0.1 milestone.
2.0.0
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
- Migration guide for version 1 to version 2 (props @peterwilsoncc, @faisal-alvi, @jeffpaul via #996).
- Show count of selected connections in Push menu (props @roshniahuja, @peterwilsoncc, @jeffpaul via #1020).
- Reduce duplication when pulling posts (props @peterwilsoncc, @jeffpaul, @dkotter, @ravinderk via #1017).
- Post abstraction class (props @peterwilsoncc, @dkotter via #964).
dt_push_external_post
anddt_push_network_post
action hooks (props @dkotter, @peterwilsoncc, @dhanendran, @ravinderk, @jeffpaul via #1024).- Register scripts with
EnqueueScript
class (props @ravinderk, @peterwilsoncc via #1014). - Snippets for setting meta data automatically (props @peterwilsoncc, @iamdharmesh via #1063).
- Documentation updates (props @adamsilverstein, @jeffpaul, @peterwilsoncc via #1066, #1072, #1112).
- End-to-end tests for minimum requirements (props @peterwilsoncc, @jeffpaul, @faisal-alvi via #936).
- Migrate WPAcceptance end-to-end tests to Cypress (props @cadic, @Sidsector9, @iamdharmesh, @jeffpaul, @peterwilsoncc via #941).
- Generate POT file with WP-CLI (props @ravinderk, @peterwilsoncc via #1014).
dt_before_set_meta
,dt_prepared_meta
anddt_prepared_taxonomy_terms
filter hooks (props @sethrubenstein, @jeffpaul, @peterwilsoncc via #1095).
Changed
- Now requires PHP 7.4 or later and WordPress 5.7 or later (props @peterwilsoncc, @vikrampm1, @iamdharmesh, @jeffpaul, @dkotter via #917).
- Descriptive warning message copy on remote, distributed posts (props @jeffpaul, @peterwilsoncc, @cadic via #1006).
- Indicate if the origin post has been deleted in Distributor push interface (props @peterwilsoncc, @cadic, @jeffpaul, @faisal-alvi via #1067).
- Toggles the Distributor admin bar element in Gutenberg based on the post status (props @ggutenberg, @jeffpaul, @peterwilsoncc via #1022, #1114).
- Reduced duplicate code pushing posts to connections (props @peterwilsoncc, @cadic, @jeffpaul, @faisal-alvi, @aaronware via #999).
- Unified translator comments (props @peterwilsoncc, @cadic via #949).
- WordPress "tested up to" version 6.3 (props @jayedul, @faisal-alvi, @jeffpaul, @dkotter via #1047, #1123).
- Browserlist database updated to version 1.0.30001489 (props @peterwilsoncc, @dkotter via #1059).
- Build process now uses
@wordpress/scripts
in place of Gulp (props @peterwilsoncc, @dinhtungdu, @dkotter via #916). - Migrated E2E tests to Cypress (props @peterwilsoncc, @jeffpaul, @iamdharmesh via #1070).
- Update
dependency-review.yml
(props @jeffpaul, @peterwilsoncc via #1054). - Order of operations setting meta, media and terms in the network push and pull functions (props @sethrubenstein, @jeffpaul, @peterwilsoncc via #1095).
- Upgrade the Plugin Update Checker library from 4.13 to 5.1 (props @dkotter via #1124).
Deprecated
dt_push_post
action hook (props @dkotter, @peterwilsoncc, @dhanendran, @ravinderk, @jeffpaul via #1024).
Removed
- Duplicate code modifying post/author meta data (props @peterwilsoncc, @dkotter via #988).
Fixed
- Author override fails in the block theme author block (props @ggutenberg, @jeffpaul, @peterwilsoncc via #1035).
- Distribute empty taxonomies to external sites (props @peterwilsoncc, @manolobevia, @jeffpaul, @cadic via #951).
- Ensure post meta and terms have saved prior to distribution (props @peterwilsoncc, @dinhtungdu, @dkotter, @timstl, @faisal-alvi, @jeffpaul via #938).
- Fatal error in WordPress versions 6.0 and earlier (props @peterwilsoncc, @ravinderk via #1056).
- Handle a PHP deprecation notice around converting
false
toarray
(props @dkotter, @peterwilsoncc, @jeffpaul via #1040). - Improved accuracy of determining authentication endpoint (props @peterwilsoncc, @TimothyBJacobs, @cadic, @jeffpaul via #934).
- Inconsistent data returned from post abstraction after site switch on multisite (props @peterwilsoncc, @dkotter, @jeffpaul via #1010).
- Prevent the modification of terms on Distributed content (props @peterwilsoncc, @turtlepod, @jeffpaul, @ravinderk, @kmgalanakis-sage, [@dkotter](ht...
2.0.0-rc1
Note that Distributor now requires PHP 7.4 or later and WordPress 5.7 or later.
This entry was generated for the 2.0.0-rc1 release and will be updated during the Beta and Release Candidate processes.
Added
- Migration guide for version 1 to version 2 (props @peterwilsoncc, @faisal-alvi, @jeffpaul via #996).
- Show count of selected connections in Push menu (props @roshniahuja, @peterwilsoncc, @jeffpaul via #1020).
- Reduce duplication when pulling posts (props @peterwilsoncc, @jeffpaul, @dkotter, @ravinderk via #1017).
- Post abstraction class (props @peterwilsoncc, @dkotter via #964).
dt_push_external_post
anddt_push_network_post
action hooks (props @dkotter, @peterwilsoncc, @dhanendran, @ravinderk, @jeffpaul via #1024).- Register scripts with
EnqueueScript
class (props @ravinderk, @peterwilsoncc via #1014). - Snippets for setting meta data automatically (props @peterwilsoncc, @iamdharmesh via #1063).
- Documentation updates (props @adamsilverstein, @jeffpaul, @peterwilsoncc via #1066, #1072, #1112).
- End-to-end tests for minimum requirements (props @peterwilsoncc, @jeffpaul, @faisal-alvi via #936).
- Migrate WPAcceptance end-to-end tests to Cypress (props @cadic, @Sidsector9, @iamdharmesh, @jeffpaul, @peterwilsoncc via #941).
- Generate POT file with WP-CLI (props @ravinderk, @peterwilsoncc via #1014).
dt_before_set_meta
,dt_prepared_meta
anddt_prepared_taxonomy_terms
filter hooks (props @sethrubenstein, @jeffpaul, @peterwilsoncc via #1095).
Changed
- Now requires PHP 7.4 or later and WordPress 5.7 or later (props @peterwilsoncc, @vikrampm1, @iamdharmesh, @jeffpaul, @dkotter via #917).
- Descriptive warning message copy on remote, distributed posts (props @jeffpaul, @peterwilsoncc, @cadic via #1006).
- Indicate if the origin post has been deleted in Distributor push interface (props @peterwilsoncc, @cadic, @jeffpaul, @faisal-alvi via #1067).
- Toggles the Distributor admin bar element in Gutenberg based on the post status (props @ggutenberg, @jeffpaul, @peterwilsoncc via #1022, #1114).
- Reduced duplicate code pushing posts to connections (props @peterwilsoncc, @cadic, @jeffpaul, @faisal-alvi, @aaronware via #999).
- Unified translator comments (props @peterwilsoncc, @cadic via #949).
- WordPress "tested up to" version 6.2 (props @jayedul, @faisal-alvi, @jeffpaul via #1047).
- Browserlist database updated to version 1.0.30001489 (props @peterwilsoncc, @dkotter via #1059).
- Build process now uses
@wordpress/scripts
in place of Gulp (props @peterwilsoncc, @dinhtungdu, @dkotter via #916). - Migrated E2E tests to Cypress (props @peterwilsoncc, @jeffpaul, @iamdharmesh via #1070).
- Update
dependency-review.yml
(props @jeffpaul, @peterwilsoncc via #1054). - Order of operations setting meta, media and terms in the network push and pull functions (props @sethrubenstein, @jeffpaul, @peterwilsoncc via #1095).
Deprecated
dt_push_post
action hook (props @dkotter, @peterwilsoncc, @dhanendran, @ravinderk, @jeffpaul via #1024).
Removed
- Duplicate code modifying post/author meta data (props @peterwilsoncc, @dkotter via #988).
Fixed
- Author override fails in the block theme author block (props @ggutenberg, @jeffpaul, @peterwilsoncc via #1035).
- Distribute empty taxonomies to external sites (props @peterwilsoncc, @manolobevia, @jeffpaul, @cadic via #951).
- Ensure post meta and terms have saved prior to distribution (props @peterwilsoncc, @dinhtungdu, @dkotter, @timstl, @faisal-alvi, @jeffpaul via #938).
- Fatal error in WordPress versions 6.0 and earlier (props @peterwilsoncc, @ravinderk via #1056).
- Handle a PHP deprecation notice around converting
false
toarray
(props @dkotter, @peterwilsoncc, @jeffpaul via #1040). - Improved accuracy of determining authentication endpoint (props @peterwilsoncc, @TimothyBJacobs, @cadic, @jeffpaul via #934).
- Inconsistent data returned from post abstraction after site switch on multisite (props @peterwilsoncc, @dkotter, @jeffpaul via #1010).
- Prevent the modification of terms on Distributed content (props @peterwilsoncc, @turtlepod, @jeffpaul, @ravinderk, @kmgalanakis-sage, @dkotter via #1069).
- Retain published time when editing distributed posts (props @madriverweb, @codiller, @peterwilsoncc, @Sidsector9 via [#956](h...
2.0.0-beta2
This version of the Distributor software is under development. Please do not install, run, or test this version on production or mission-critical websites. Instead, it is recommended you evaluate Beta 2 on a test server and site.
This entry was generated for the 2.0.0-beta2 release and will be updated during the Beta and Release Candidate processes.
Added
- Migration guide for version 1 to version 2 (props @peterwilsoncc, @faisal-alvi, @jeffpaul via #996).
- Show count of selected connections in Push menu (props @roshniahuja, @peterwilsoncc, @jeffpaul via #1020).
- Reduce duplication when pulling posts (props @peterwilsoncc, @jeffpaul, @dkotter, @ravinderk via #1017).
- Post abstraction class (props @peterwilsoncc, @dkotter via #964).
dt_push_external_post
anddt_push_network_post
action hooks (props @dkotter, @peterwilsoncc, @dhanendran, @ravinderk, @jeffpaul via #1024).- Register scripts with
EnqueueScript
class (props @ravinderk, @peterwilsoncc via #1014). - Snippets for setting meta data automatically (props @peterwilsoncc, @iamdharmesh via #1063).
- Documentation updates (props @adamsilverstein, @jeffpaul, @peterwilsoncc via #1066, #1072, #1112).
- End-to-end tests for minimum requirements (props @peterwilsoncc, @jeffpaul, @faisal-alvi via #936).
- Migrate WPAcceptance end-to-end tests to Cypress (props @cadic, @Sidsector9, @iamdharmesh, @jeffpaul, @peterwilsoncc via #941).
- Generate POT file with WP-CLI (props @ravinderk, @peterwilsoncc via #1014).
dt_before_set_meta
,dt_prepared_meta
anddt_prepared_taxonomy_terms
filter hooks (props @sethrubenstein, @jeffpaul, @peterwilsoncc via #1095).
Changed
- Now requires PHP 7.4 or later and WordPress 5.7 or later (props @peterwilsoncc, @vikrampm1, @iamdharmesh, @jeffpaul, @dkotter via #917).
- Descriptive warning message copy on remote, distributed posts (props @jeffpaul, @peterwilsoncc, @cadic via #1006).
- Indicate if the origin post has been deleted in Distributor push interface (props @peterwilsoncc, @cadic, @jeffpaul, @faisal-alvi via #1067).
- Toggles the Distributor admin bar element in Gutenberg based on the post status (props @ggutenberg, @jeffpaul, @peterwilsoncc via #1022).
- Reduced duplicate code pushing posts to connections (props @peterwilsoncc, @cadic, @jeffpaul, @faisal-alvi, @aaronware via #999).
- Unified translator comments (props @peterwilsoncc, @cadic via #949).
- WordPress "tested up to" version 6.2 (props @jayedul, @faisal-alvi, @jeffpaul via #1047).
- Browserlist database updated to version 1.0.30001489 (props @peterwilsoncc, @dkotter via #1059).
- Build process now uses
@wordpress/scripts
in place of Gulp (props @peterwilsoncc, @dinhtungdu, @dkotter via #916). - Migrated E2E tests to Cypress (props @peterwilsoncc, @jeffpaul, @iamdharmesh via #1070).
- Update
dependency-review.yml
(props @jeffpaul, @peterwilsoncc via #1054). - Order of operations setting meta, media and terms in the network push and pull functions (props @sethrubenstein, @jeffpaul, @peterwilsoncc via #1095).
Deprecated
dt_push_post
action hook (props @dkotter, @peterwilsoncc, @dhanendran, @ravinderk, @jeffpaul via #1024).
Removed
- Duplicate code modifying post/author meta data (props @peterwilsoncc, @dkotter via #988).
Fixed
- Author override fails in the block theme author block (props @ggutenberg, @jeffpaul, @peterwilsoncc via #1035).
- Distribute empty taxonomies to external sites (props @peterwilsoncc, @manolobevia, @jeffpaul, @cadic via #951).
- Ensure post meta and terms have saved prior to distribution (props @peterwilsoncc, @dinhtungdu, @dkotter, @timstl, @faisal-alvi, @jeffpaul via #938).
- Fatal error in WordPress versions 6.0 and earlier (props @peterwilsoncc, @ravinderk via #1056).
- Handle a PHP deprecation notice around converting
false
toarray
(props @dkotter, @peterwilsoncc, @jeffpaul via #1040). - Improved accuracy of determining authentication endpoint (props @peterwilsoncc, @TimothyBJacobs, @cadic, @jeffpaul via #934).
- Inconsistent data returned from post abstraction after site switch on multisite (props @peterwilsoncc, @dkotter, @jeffpaul via #1010).
- Prevent the modification of terms on Distributed content (props @peterwilsoncc, @turtlepod, @jeffpaul, @ravinderk, @kmgalanakis-sage, @dkotter via #1069).
- Retain published time when editing distributed posts (props @madriverweb, @codiller, [@peterwilson...
2.0.0-beta1
This version of the Distributor software is under development. Please do not install, run, or test this version on production or mission-critical websites. Instead, it is recommended you evaluate Beta 1 on a test server and site.
This entry was generated for the 2.0.0-beta1 release and will be updated during the beta and RC process.
Added
dt_push_external_post
anddt_push_network_post
action hooks. (props @dkotter, @peterwilsoncc, @dhanendran, @ravinderk, @jeffpaul via #1024)- Documentation updates. (props @jeffpaul, @peterwilsoncc via #1072)
- E2E tests for minimum requirements. (props @peterwilsoncc, @jeffpaul, @faisal-alvi via #936)
- Generate POT file with WP-CLI. (props @ravinderk, @peterwilsoncc via #1014)
- Migration guide for version 1 to version 2. (props @peterwilsoncc, @faisal-alvi, @jeffpaul via #996)
- Migrate WPAcceptance tests to Cypress (props @cadic, @Sidsector9, @iamdharmesh, @jeffpaul, @peterwilsoncc via #941)
- Post abstraction class. (props @peterwilsoncc, @dkotter via #964)
- Reduce duplication when pulling posts. (props @peterwilsoncc, @jeffpaul, @dkotter, @ravinderk via #1017)
- Register scripts with
EnqueueScript
class. (props @ravinderk, @peterwilsoncc via #1014) - Show count of selected connections in Push menu. (props @roshniahuja, @peterwilsoncc, @jeffpaul via #1020)
- Snippets for setting meta data automatically. (props @peterwilsoncc, @iamdharmesh via #1063)
Changed
- Browserlist database updated to version 1.0.30001489. (props @peterwilsoncc, @dkotter via #1059)
- Build process now uses
@wordpress/scripts
in place of Gulp. (props @peterwilsoncc, @dinhtungdu, @dkotter via #916) - Descriptive warning message copy on remote, distributed posts. (props @jeffpaul, @peterwilsoncc, @cadic via #1006)
- Documentation updates. (props @adamsilverstein, @jeffpaul, @peterwilsoncc via #1066)
- Indicate if the origin post has been deleted in Distributor push interface. (props @peterwilsoncc, @cadic, @jeffpaul, @faisal-alvi via #1067)
- Migrated E2E tests to Cypress. (props @peterwilsoncc, @jeffpaul, @iamdharmesh via #1070)
- Now requires PHP 7.4 or later and WordPress 5.7 or later. (props @peterwilsoncc, @vikrampm1, @iamdharmesh, @jeffpaul, @dkotter via #917)
- Reduced duplicate code pushing posts to connections. (props @peterwilsoncc, @cadic, @jeffpaul, @faisal-alvi, @aaronware via #999)
- Removed duplicate code modifying post/author meta data. (props @peterwilsoncc, @dkotter via #988)
- Toggles the Distributor admin bar element in Gutenberg based on the post status. (props @ggutenberg, @jeffpaul, @peterwilsoncc via #1022)
- WP compatibility version upgraded to 6.2 (props @jayedul, @faisal-alvi, @jeffpaul via #1047)
Deprecated
- dt_push_post action hook (props @dkotter, @peterwilsoncc, @dhanendran, @ravinderk, @jeffpaul via #1024)
Fixed
- Author override fails in the block theme author block. (props @ggutenberg, @jeffpaul, @peterwilsoncc via #1035)
- Distribute empty taxonomies to external sites. (props @peterwilsoncc, @manolobevia, @jeffpaul, @cadic via #951)
- Ensure post meta and terms have saved prior to distribution. (props @peterwilsoncc, @dinhtungdu, @dkotter, @timstl, @faisal-alvi, @jeffpaul via #938)
- Fatal error in WordPress versions 6.0 and earlier. (props @peterwilsoncc, @ravinderk via #1056)
- Handle a PHP deprecation notice around converting
false
toarray
(props @dkotter, @peterwilsoncc, @jeffpaul via #1040) - Improved accuracy of determining authentication endpoint. (props @peterwilsoncc, @TimothyBJacobs, @cadic, @jeffpaul via #934)
- Inconsistent data returned from post abstraction after site switch on multisite. (props @peterwilsoncc, @dkotter, @jeffpaul via #1010)
- Prevent the modification of terms on Distributed content. (props @peterwilsoncc, @turtlepod, @jeffpaul, @ravinderk, @kmgalanakis-sage, @dkotter via #1069)
- Retain published time when editing distributed posts. (props @madriverweb, @codiller, @peterwilsoncc, @Sidsector9 via #956)
- Undefined variable notice. (props @peterwilsoncc, @Sidsector9, @jeffpaul via #945)
- Updated numerous strings to improve their translatability. (props @helen, @peterwilsoncc, @Sidsector9 via #935)
Other
- Unified translator comments. (props @peterwilsoncc, @cadic via #949)
- Update dependency-review.yml (props @jeffpaul, [@peterwilsoncc](https://github.com/peterwils...
1.9.1
This release features one security fix. Because this is a security release, it is recommended that you update your sites immediately.
The Distributor team would like to thank the reporter for responsibly disclosing this issue, and allowing it to be fixed in this release. If you wish to report a potential security issue, please do so by submitting a security advisory.
Security
- Removed potential for data exposure via the REST API (props @dkotter, @jeffpaul, @peterwilsoncc via GHSA-q43c-v867-4cfp).
1.9.0
Changed
- Change uses of
blacklist
and useexclude
instead (props @dkotter, @jeffpaul, @peterwilsoncc via #961) - Indicate WordPress 6.1 support (props @peterwilsoncc, @faisal-alvi via #967).
Deprecated
- Deprecate the
Distributor\Utils\blacklisted_meta
function and thedt_blacklisted_meta
filter (props @dkotter, @jeffpaul, @peterwilsoncc via #961).
Fixed
- Prevent distribution of classic editor plugin related meta data. (props @peterwilsoncc, @faisal-alvi, @jeffpaul via #977).
- Return distributed author name when using the get_the_author_meta('display_name') function. (props @cadic, @ravinderk, @iamdharmesh, @mapamond, @peterwilsoncc, @jeffpaul, via #984, #952).
Other
- PHPCS workflow failures. (props @peterwilsoncc, @jeffpaul, @gsarig, @faisal-alvi via #969).
Changes can be reviewed on the 1.9.0 milestone.