Note that this release bumps the WordPress minimum supported version from 6.5 to 6.6.
Added
- The
distributor_register_datafunction that enables developers to register stored data references, such as IDs stored in post meta, shortcodes, or block attributes and define custom pre-distribution and post-distribution callbacks to process these references (props @iamdharmesh, @jeffpaul, @peterwilsoncc, @dkotter via #1302). - Add some default pre and post callback functions to the
distributor_register_datafunction, allowing easy processing of common entities like posts, terms, and media (props @iamdharmesh, @jeffpaul, @peterwilsoncc, @dkotter via #1309). - Ability to auto-distribute posts when turned on via a filter,
dt_auto_distribution_enabled(props @peterwilsoncc, @faisal-alvi, @jeffpaul, @dkotter via #1321).
Changed
- Bump WordPress "tested up to" version 6.8 (props @Sourabh208, @dkotter via #1311).
- Bump WordPress minimum to 6.6 (props @Sourabh208, @jeffpaul, @peterwilsoncc via #1312).
Fixed
- Ensure post data is slashed when sent via a subscription update (props @chandrapatel, @peterwilsoncc via #1310).
- Broken images in docs (props @GaryJones, @jeffpaul, @av3nger, @dkotter via #1319).
Security
- Prevent cross-site scripting vulnerabilities on the pull screen (props @iamdharmesh, @peterwilsoncc, @jeffpaul, @Sidsector9, @dkotter via #1273, #1274, #1316).
- Bump
wsfrom 7.5.10 to 8.18.0 and@wordpress/scriptsfrom 26.19.0 to 29.0.0 (props @dependabot, @Sidsector9 via #1270). - Bump
axiosfrom 1.7.4 to 1.9.0,body-parserfrom 1.20.2 to 1.20.3,expressfrom 4.19.2 to 4.21.2,@wordpress/e2e-test-utils-playwrightfrom 1.7.0 to 1.23.0,http-proxy-middlewarefrom 2.0.6 to 2.0.9,tar-fsfrom 3.0.4 to 3.0.8,serialize-javascriptfrom 6.0.1 to 6.0.2,mochafrom 10.2.0 to 11.3.0 andsendfrom 0.18.0 to 0.19.0; also removescookie(props @dependabot, @peterwilsoncc via #1314). - Bump
on-headersfrom 1.0.2 to 1.1.0 andcompressionfrom 1.7.4 to 1.8.1 (props @dependabot, @dkotter via #1325). - Bump
tmpfrom 0.2.1 to 0.2.5 and@wordpress/envfrom 10.5.0 to 10.29.0 (props @dependabot, @dkotter via #1334).
Developer
- Fix eslint errors (props @GaryJones, @iamdharmesh via #1320).
- Update all third-party actions our workflows rely on to use versions based on specific commit hashes (props @dkotter, @jeffpaul, @faisal-alvi via #1305).
- Fix featured media E2E tests (props @peterwilsoncc, @dkotter via #1332).
New Contributors
- @chandrapatel made their first contribution in #1310
- @Sourabh208 made their first contribution in #1311
- @GaryJones made their first contribution in #1319
Full Changelog: 2.1.0...2.2.0
View closed items in the milestone.