diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 3bba9d4af..2ab03c5d0 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -47,11 +47,11 @@ jobs: - {name: 'PHP Default', version: null} core: - {name: 'WP stable', version: 'latest'} - - {name: 'WP 6.3', version: 'WordPress/WordPress#6.3'} + - {name: 'WP 6.4', version: 'WordPress/WordPress#6.4'} - {name: 'WP trunk', version: 'WordPress/WordPress#master'} include: - php: {name: 'PHP 7.4', version: '7.4'} - core: {name: 'WP 6.3', version: 'WordPress/WordPress#6.3'} + core: {name: 'WP 6.4', version: 'WordPress/WordPress#6.4'} - php: {name: 'PHP 8.1', version: '8.1'} core: {name: 'WP stable', version: 'latest'} steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 7dd842f35..ce8aa1f56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,45 @@ All notable changes to this project will be documented in this file, per [the Ke ## [Unreleased] - TBD +## [2.0.5] - 2024-08-15 +**Note that Distributor now requires WordPress 6.4 or later.** + +### Added +- Introduce "View all" post type view when pulling content from external connections (props [@mehul0810](https://github.com/mehul0810), [@ravinderk](https://github.com/ravinderk), [@cadic](https://github.com/cadic), [@peterwilsoncc](https://github.com/peterwilsoncc), [@ankitrox](https://github.com/ankitrox), [@Sidsector9](https://github.com/Sidsector9), [@jeffpaul](https://github.com/jeffpaul) via [#1002](https://github.com/10up/distributor/pull/1002)). + +### Changed +- Account for FSE post types in rest endpoints (props [@mehul0810](https://github.com/mehul0810), [@peterwilsoncc](https://github.com/peterwilsoncc), [@faisal-alvi](https://github.com/faisal-alvi) via [#1246](https://github.com/10up/distributor/pull/1246)). +- Bump WordPress "tested up to" version 6.6 (props [@jeffpaul](https://github.com/jeffpaul), [@qasumitbagthariya](https://github.com/qasumitbagthariya), [@dkotter](https://github.com/dkotter) via [#1214](https://github.com/10up/distributor/pull/1214), [#1243](https://github.com/10up/distributor/pull/1243)). +- Bump WordPress minimum from 5.7 to 6.4 (props [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#1214](https://github.com/10up/distributor/pull/1214), [#1261](https://github.com/10up/distributor/pull/1261)). + +### Fixed +- Ensure you can publish distributed posts in WordPress 6.6 (props [@claudiulodro](https://github.com/claudiulodro), [@phpbits](https://github.com/phpbits), [@faisal-alvi](https://github.com/faisal-alvi) via [#1252](https://github.com/10up/distributor/pull/1252)). +- Address an issue where the incorrect featured image can sometimes be pushed with a post (props [@phpbits](https://github.com/phpbits), [@matthew-upslope](https://github.com/matthew-upslope), [@dkotter](https://github.com/dkotter), [@faisal-alvi](https://github.com/faisal-alvi) via [#1254](https://github.com/10up/distributor/pull/1254)). +- Add a check to ensure a connection is internal and exit early if not (props [@kirtangajjar](https://github.com/kirtangajjar), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#1225](https://github.com/10up/distributor/pull/1225)). +- Ensure the proper admin CSS file loads (props [@psorensen](https://github.com/psorensen), [@Sidsector9](https://github.com/Sidsector9) via [#1208](https://github.com/10up/distributor/pull/1208)). +- Address a PHP deprecation notice (props [@kirtangajjar](https://github.com/kirtangajjar), [@peterwilsoncc](https://github.com/peterwilsoncc), [@faisal-alvi](https://github.com/faisal-alvi) via [#1227](https://github.com/10up/distributor/pull/1227)). +- Ensure no errors occur in the synced patterns editor (props [@kirtangajjar](https://github.com/kirtangajjar), [@peterwilsoncc](https://github.com/peterwilsoncc), [@Sidsector9](https://github.com/Sidsector9) via [#1228](https://github.com/10up/distributor/pull/1228)). +- Undefined array key "id" warning on the Pull Content page (props [@Sidsector9](https://github.com/Sidsector9), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#1247](https://github.com/10up/distributor/pull/1247)). +- PHP warning about invalid argument supplied for foreach in `\Distributor\Utils\prepare_meta()` (props [@dhanendran](https://github.com/dhanendran), [@peterwilsoncc](https://github.com/peterwilsoncc), [@faisal-alvi](https://github.com/faisal-alvi), [@kirtangajjar](https://github.com/kirtangajjar) via [#1167](https://github.com/10up/distributor/pull/1167)). +- Deprecation notice in `PullListTable` when distributed posts are not allowed to be edited (props [@kirtangajjar](https://github.com/kirtangajjar), [@faisal-alvi](https://github.com/faisal-alvi) via [#1245](https://github.com/10up/distributor/pull/1245)). +- Undefined "id" notices showing in the error log (props [@phpbits](https://github.com/phpbits), [@dkotter](https://github.com/dkotter) via [#1253](https://github.com/10up/distributor/pull/1253)). + +### Security +- Bump `follow-redirects` from 1.15.4 to 1.15.6 (props [@dependabot](https://github.com/apps/dependabot), [@faisal-alvi](https://github.com/faisal-alvi) via [#1209](https://github.com/10up/distributor/pull/1209)). +- Bump `ip` from 1.1.8 to 1.1.9 (props [@dependabot](https://github.com/apps/dependabot), [@faisal-alvi](https://github.com/faisal-alvi) via [#1209](https://github.com/10up/distributor/pull/1209)). +- Bump `jsdoc` from 3.6.11 to 4.0.2 (props [@dependabot](https://github.com/apps/dependabot), [@faisal-alvi](https://github.com/faisal-alvi) via [#1209](https://github.com/10up/distributor/pull/1209)). +- Bump `webpack-dev-middleware` from 5.3.3 to 5.3.4 (props [@dependabot](https://github.com/apps/dependabot), [@faisal-alvi](https://github.com/faisal-alvi) via [#1209](https://github.com/10up/distributor/pull/1209)). +- Bump `express` from 4.18.2 to 4.19.2 (props [@dependabot[bot]](https://github.com/apps/dependabot), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#1213](https://github.com/10up/distributor/pull/1213)). +- Bump `braces` from 3.0.2 to 3.03, `pac-resolver` from 7.0.0 to 7.0.1, `socks` from 2.7.1 to 2.8.3, `ws` from 7.5.9 to 7.5.10 and remove `ip` (props [@dependabot[bot]](https://github.com/apps/dependabot), [@Sidsector9](https://github.com/Sidsector9) via [#1234](https://github.com/10up/distributor/pull/1234)). + +### Developer +- "Testing" section in the `CONTRIBUTING.md` file (props [@kmgalanakis](https://github.com/kmgalanakis), [@iamdharmesh](https://github.com/iamdharmesh), [@jeffpaul](https://github.com/jeffpaul) via [#1219](https://github.com/10up/distributor/pull/1219)). +- Bumped `actions/upload-artifact` from v3 to v4 (props [@iamdharmesh](https://github.com/iamdharmesh), [@jeffpaul](https://github.com/jeffpaul) via [#1217](https://github.com/10up/distributor/pull/1217)). +- Replaced `lee-dohm/no-response` with `actions/stale` to help with closing no-response/stale issues (props [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#1206](https://github.com/10up/distributor/pull/1206)). +- Use `GITHUB_OUTPUT` envvar instead of `set-output` command (props [@arunsathiya](https://github.com/arunsathiya), [@iamdharmesh](https://github.com/iamdharmesh) via [#1178](https://github.com/10up/distributor/pull/1178)). +- Fix some failing E2E tests (props [@kirtangajjar](https://github.com/kirtangajjar), [@iamdharmesh](https://github.com/iamdharmesh) via [#1242](https://github.com/10up/distributor/pull/1242)). +- Add `taffydb` as devDependecy (props [@dependabot](https://github.com/apps/dependabot), [@faisal-alvi](https://github.com/faisal-alvi) via [#1209](https://github.com/10up/distributor/pull/1209)). + ## [2.0.4] - 2024-02-29 ### Added - Repo Automator GitHub Action to automate repo operations (props [@iamdharmesh](https://github.com/iamdharmesh), [@jeffpaul](https://github.com/jeffpaul) via [#1191](https://github.com/10up/distributor/pull/1191)). @@ -525,6 +564,7 @@ This adds a post type selector when viewing the Pull Content list for both exter - Initial closed release. [Unreleased]: https://github.com/10up/distributor/compare/trunk...develop +[2.0.5]: https://github.com/10up/distributor/compare/2.0.4...2.0.5 [2.0.4]: https://github.com/10up/distributor/compare/2.0.3...2.0.4 [2.0.3]: https://github.com/10up/distributor/compare/2.0.2...2.0.3 [2.0.2]: https://github.com/10up/distributor/compare/2.0.1...2.0.2 diff --git a/CREDITS.md b/CREDITS.md index 97fb5b159..af58ea3ec 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -10,7 +10,7 @@ The following individuals are responsible for curating the list of issues, respo Thank you to all the people who have already contributed to this repository via bug reports, code, design, ideas, project management, translation, testing, etc. -[10up (@10up)](https://github.com/10up), [Taylor Lovett (@tlovett1)](https://github.com/tlovett1), [Zane Matthew (@zanematthew)](https://github.com/zanematthew), [Aaron Brazell (@technosailor)](https://github.com/technosailor), [Marco Pereirinha (@pereirinha)](https://github.com/pereirinha), [Joshua Abenazer (@joshuaabenazer)](https://github.com/joshuaabenazer), [Adam Silverstein (@adamsilverstein)](https://github.com/adamsilverstein), [Helen Hou-Sandí (@helen)](https://github.com/helen), [Chris Marslender (@cmmarslender)](https://github.com/cmmarslender), [Tom J Nowell (@tomjn)](https://github.com/tomjn), [Tim Nolte (@timnolte)](https://github.com/timnolte), [(@sericgoran)](https://github.com/sericgoran), [Jason Bahl (@jasonbahl)](https://github.com/jasonbahl), [Barry Ceelen (@barryceelen)](https://github.com/barryceelen), [Ryan Welcher (@ryanwelcher)](https://github.com/ryanwelcher), [Ben Greeley (@bengreeley)](https://github.com/bengreeley), [Robbie Trencheny (@robbiet480)](https://github.com/robbiet480), [Jake Goldman (@jakemgold)](https://github.com/jakemgold), [Stephanie Leary (@sillybean)](https://github.com/sillybean), [Darin Kotter (@dkotter)](https://github.com/dkotter), [Echo (@ChaosExAnima)](https://github.com/ChaosExAnima), [Burhan Nasir (@burhandodhy)](https://github.com/burhandodhy), [Rebecca Hum (@rebeccahum)](https://github.com/rebeccahum), [Sean Hayes (@seanchayes)](https://github.com/seanchayes), [Jeremy Felt (@jeremyfelt)](https://github.com/jeremyfelt), [Gago (@madmax3365)](https://github.com/madmax3365), [Ivan Kruchkoff(@)](https://github.com/ivankruchkoff), [Sérgio Santos (@s3rgiosan)](https://github.com/s3rgiosan), [Ravi Chandra (@ravichdev)](https://github.com/ravichdev), [Jay Hoffmann (@JasonHoffmann)](https://github.com/JasonHoffmann), [Arsen Dovlatyan (@arsendovlatyan)](https://github.com/arsendovlatyan), [Jeroen Sormani (@JeroenSormani)](https://github.com/JeroenSormani), [Ritesh Patel (@Ritesh-patel)](https://github.com/Ritesh-patel), [Gary Thayer (@gthayer)](https://github.com/gthayer), [Evan Mattson (@aaemnnosttv)](https://github.com/aaemnnosttv), [Nate Allen (@nate-allen)](https://github.com/nate-allen), [Michael Phillips (@mphillips)](https://github.com/mphillips), [Jay Wood (@JayWood)](https://github.com/JayWood), [Dreb Bits (@drebbits)](https://github.com/drebbits), [Jeffrey Paul (@jeffpaul)](https://github.com/jeffpaul), [Matthew McAchran (@mmcachran)](https://github.com/mmcachran), [Ulrich Pogson (@grappler)](https://github.com/grappler), [(@avag-novembit)](https://github.com/avag-novembit), [Manuel Razzari (@mrazzari)](https://github.com/mrazzari), [Moe Browne (@moebrowne)](https://github.com/moebrowne), [Dave McHale (@dmchale)](https://github.com/dmchale), [Tommy Ferry (@tommyferry)](https://github.com/tommyferry), [Pete Nelson (@petenelson)](https://github.com/petenelson), [Alexander Berthelsen (@lakrisgubben)](https://github.com/lakrisgubben), [John Watkins (@johnwatkins0)](https://github.com/johnwatkins0), [Tung Du (@dinhtungdu)](https://github.com/dinhtungdu), [Darío Hereñú (@kant)](https://github.com/kant), [Arman Hovhannisyan (@ahovhannissian)](https://github.com/ahovhannissian), [John Spellman (@jspellman814)](https://github.com/jspellman814), [Oszkar Nagy (@oszkarnagy)](https://github.com/oszkarnagy), [Sami Keijonen (@samikeijonen)](https://github.com/samikeijonen), [(@PaddyWhacks)](https://github.com/PaddyWhacks), [(@eriktad)](https://github.com/eriktad), [(@dmaslogh)](https://github.com/dmaslogh), [Kevin Pudlo (@Kpudlo)](https://github.com/Kpudlo), [Barrett Golding (@hearvox)](https://github.com/hearvox), [Rob Marscher (@rmarscher)](https://github.com/rmarscher), [Ivan Lopez (@ivanlopez)](https://github.com/ivanlopez), [Catherine Cavanagh (@biggiebangle)](https://github.com/biggiebangle), [Tommy Ferry (@pragmatic-tf)](https://github.com/pragmatic-tf), [Joshua Walker (@jshwlkr)](https://github.com/jshwlkr), [Caleb Burks (@WPprodigy)](https://github.com/WPprodigy), [(@jonny-bull)](https://github.com/jonny-bull), [Ricky Lee Whittemore (@rickalee)](https://github.com/rickalee), [Rob Cain (@robcain)](https://github.com/robcain), [(@j0HnC0untry)](https://github.com/j0HnC0untry), [(@dfardon)](https://github.com/dfardon), [(@anilpainuly121)](https://github.com/anilpainuly121), [(@vimalagarwalasentech)](https://github.com/vimalagarwalasentech), [Chris Wieber (@cdwieber)](https://github.com/cdwieber), [Dhanendran Rajagopal (@dhanendran)](https://github.com/dhanendran), [Andrew Ortolano (@andrewortolano)](https://github.com/andrewortolano), [(@xyralothep)](https://github.com/xyralothep), [Garth Gutenberg (@ggutenberg)](https://github.com/ggutenberg), [Jaime Martínez (@jmslbam)](https://github.com/jmslbam), [Francisco Domo (@francisco-domo)](https://github.com/francisco-domo), [Elliott Stocks (@elliott-stocks)](https://github.com/elliott-stocks), [David Purdy (@davidmpurdy)](https://github.com/davidmpurdy), [(@zacnboat)](https://github.com/zacnboat), [Spencer Brower (@sbrow)](https://github.com/sbrow), [Ross Pickerill (@rosspbauer)](https://github.com/rosspbauer), [Jackie Kjome (@JackieKjome)](https://github.com/JackieKjome), [SieBer15 (@SieBer15)](https://github.com/SieBer15), [Pascal Knecht (@pascalknecht)](https://github.com/pascalknecht), [Justin Young (@justiny)](https://github.com/justiny), [Johan Pretorius (@Drmzindec)](https://github.com/Drmzindec), [Clayton Collie (@claytoncollie)](https://github.com/claytoncollie), [Max Lyuchin (@cadic)](https://github.com/cadic), [Joe Grainger (@jjgrainger)](https://github.com/jjgrainger), [Lily Bonney](https://www.linkedin.com/in/lilybonney/), [Mollie Pugh](https://www.linkedin.com/in/molliepugh/), [Martina Haines](https://www.linkedin.com/in/martinahaines/), [Luca Ricci (@theskinnyghost)](https://github.com/theskinnyghost), [Lucy Bowe (@LucyTurtle)](https://github.com/LucyTurtle), [Dharmesh Patel (@iamdharmesh)](https://github.com/iamdharmesh), [(@jmstew3)](https://github.com/jmstew3), [Phil Crumm (@pcrumm)](https://github.com/pcrumm), [Faisal Alvi (@faisal-alvi)](https://github.com/faisal-alvi), [Siddharth Thevaril (@Sidsector9)](https://github.com/Sidsector9), [Will Skora (@skorasaurus)](https://github.com/skorasaurus), [Mohit Dadhich (@mohitwp)](https://github.com/mohitwp), [Will Howat-Comandré (@willhowat)](https://github.com/willhowat), [@Borkent](https://github.com/Borkent), [Dishit Pala (@dishitpala)](https://github.com/dishitpala), [@markusvisse](https://github.com/markusvisse), [@MonsterKing](https://github.com/MonsterKing), [James Morrison (@jamesmorrison)](https://github.com/jamesmorrison), [Mehul Kaklotar (@mehulkaklotar)](https://github.com/mehulkaklotar), [@espechtcfe](https://github.com/espechtcfe), [@romeowski](https://github.com/romeowski), [@vlastaw](https://github.com/vlastaw), [Jamie Adams (@jadamsbit)](https://github.com/jadamsbit), [Yoni Bee (@ybalkind)](https://github.com/ybalkind), [Akshit Sethi (@akshitsethi)](https://github.com/akshitsethi), [Vikram (@vikrampm1)](https://github.com/vikrampm1), [Josh Wilson (@joshwilsondotme)](https://github.com/joshwilsondotme), [Groupe-Mgel (@Groupe-Mgel)](https://github.com/Groupe-Mgel), [Emma (@emmawenger)](https://github.com/emmawenger), [@bcobin](https://github.com/bcobin), [@alexwolk](https://github.com/alexwolk), [Maxime Freschard (@ligne13)](https://github.com/ligne13), [Shazahan Kabir Saju (@sksaju)](https://github.com/sksaju), [Peter Wilson (@peterwilsoncc)](https://github.com/peterwilsoncc), [@Pitemedia](https://github.com/Pitemedia), [Michal Letavka (@michalletavka)](https://github.com/michalletavka), [@shu05](https://github.com/shu05), [Lukas Pawlik (@lukaspawlik)](https://github.com/lukaspawlik), [Amal Ajith PM (@amalajith)](https://github.com/amalajith), [Paul de Wouters (@pdewouters)](https://github.com/pdewouters), [Andre Gagnon (@andygagnon)](https://github.com/andygagnon), [Ravinder Kumar (@ravinderk)](https://github.com/ravinderk), [mapamond (@mapamond)](https://github.com/mapamond), [Giorgos Sarigiannidis (@gsarig)](https://github.com/gsarig), [Dan Maby (@danmaby)](https://github.com/danmaby), [Tim Gieseking (@timstl)](https://github.com/timstl), [David Chandra Purnama (@turtlepod)](https://github.com/turtlepod), [Manolo Bevia (@manolobevia)](https://github.com/manolobevia), [madriverweb (@madriverweb)](https://github.com/madriverweb), [ale8521 (@ale8521)](https://github.com/ale8521), [roshniahuja (@roshniahuja)](https://github.com/roshniahuja), [Jayedul K. (@jayedul)](https://github.com/jayedul), [Konstantinos Galanakis (@kmgalanakis-sage)](https://github.com/kmgalanakis-sage), [Seth Rubenstein (@sethrubenstein)](https://github.com/sethrubenstein), [Harshal Kadu (@QAharshalkadu)](https://github.com/QAharshalkadu), [Joe McGill (@joemcgill)](https://github.com/joemcgill), [Margaret Schneider (@margaretschneider)](https://github.com/margaretschneider), [Anton Vanyukov (@av3nger)](https://github.com/av3nger), [Zach Adams (@zach-adams)](https://github.com/zach-adams), [Severine Pozzo (@severine-pozzo)](https://github.com/severine-pozzo), [Maxim Ledoux (@maxledoux)](https://github.com/maxledoux), [Leo Germani (@leogermani)](https://github.com/leogermani), [Viktor Szépe (@szepeviktor)](https://github.com/szepeviktor). +[10up (@10up)](https://github.com/10up), [Taylor Lovett (@tlovett1)](https://github.com/tlovett1), [Zane Matthew (@zanematthew)](https://github.com/zanematthew), [Aaron Brazell (@technosailor)](https://github.com/technosailor), [Marco Pereirinha (@pereirinha)](https://github.com/pereirinha), [Joshua Abenazer (@joshuaabenazer)](https://github.com/joshuaabenazer), [Adam Silverstein (@adamsilverstein)](https://github.com/adamsilverstein), [Helen Hou-Sandí (@helen)](https://github.com/helen), [Chris Marslender (@cmmarslender)](https://github.com/cmmarslender), [Tom J Nowell (@tomjn)](https://github.com/tomjn), [Tim Nolte (@timnolte)](https://github.com/timnolte), [(@sericgoran)](https://github.com/sericgoran), [Jason Bahl (@jasonbahl)](https://github.com/jasonbahl), [Barry Ceelen (@barryceelen)](https://github.com/barryceelen), [Ryan Welcher (@ryanwelcher)](https://github.com/ryanwelcher), [Ben Greeley (@bengreeley)](https://github.com/bengreeley), [Robbie Trencheny (@robbiet480)](https://github.com/robbiet480), [Jake Goldman (@jakemgold)](https://github.com/jakemgold), [Stephanie Leary (@sillybean)](https://github.com/sillybean), [Darin Kotter (@dkotter)](https://github.com/dkotter), [Echo (@ChaosExAnima)](https://github.com/ChaosExAnima), [Burhan Nasir (@burhandodhy)](https://github.com/burhandodhy), [Rebecca Hum (@rebeccahum)](https://github.com/rebeccahum), [Sean Hayes (@seanchayes)](https://github.com/seanchayes), [Jeremy Felt (@jeremyfelt)](https://github.com/jeremyfelt), [Gago (@madmax3365)](https://github.com/madmax3365), [Ivan Kruchkoff(@)](https://github.com/ivankruchkoff), [Sérgio Santos (@s3rgiosan)](https://github.com/s3rgiosan), [Ravi Chandra (@ravichdev)](https://github.com/ravichdev), [Jay Hoffmann (@JasonHoffmann)](https://github.com/JasonHoffmann), [Arsen Dovlatyan (@arsendovlatyan)](https://github.com/arsendovlatyan), [Jeroen Sormani (@JeroenSormani)](https://github.com/JeroenSormani), [Ritesh Patel (@Ritesh-patel)](https://github.com/Ritesh-patel), [Gary Thayer (@gthayer)](https://github.com/gthayer), [Evan Mattson (@aaemnnosttv)](https://github.com/aaemnnosttv), [Nate Allen (@nate-allen)](https://github.com/nate-allen), [Michael Phillips (@mphillips)](https://github.com/mphillips), [Jay Wood (@JayWood)](https://github.com/JayWood), [Dreb Bits (@drebbits)](https://github.com/drebbits), [Jeffrey Paul (@jeffpaul)](https://github.com/jeffpaul), [Matthew McAchran (@mmcachran)](https://github.com/mmcachran), [Ulrich Pogson (@grappler)](https://github.com/grappler), [(@avag-novembit)](https://github.com/avag-novembit), [Manuel Razzari (@mrazzari)](https://github.com/mrazzari), [Moe Browne (@moebrowne)](https://github.com/moebrowne), [Dave McHale (@dmchale)](https://github.com/dmchale), [Tommy Ferry (@tommyferry)](https://github.com/tommyferry), [Pete Nelson (@petenelson)](https://github.com/petenelson), [Alexander Berthelsen (@lakrisgubben)](https://github.com/lakrisgubben), [John Watkins (@johnwatkins0)](https://github.com/johnwatkins0), [Tung Du (@dinhtungdu)](https://github.com/dinhtungdu), [Darío Hereñú (@kant)](https://github.com/kant), [Arman Hovhannisyan (@ahovhannissian)](https://github.com/ahovhannissian), [John Spellman (@jspellman814)](https://github.com/jspellman814), [Oszkar Nagy (@oszkarnagy)](https://github.com/oszkarnagy), [Sami Keijonen (@samikeijonen)](https://github.com/samikeijonen), [(@PaddyWhacks)](https://github.com/PaddyWhacks), [(@eriktad)](https://github.com/eriktad), [(@dmaslogh)](https://github.com/dmaslogh), [Kevin Pudlo (@Kpudlo)](https://github.com/Kpudlo), [Barrett Golding (@hearvox)](https://github.com/hearvox), [Rob Marscher (@rmarscher)](https://github.com/rmarscher), [Ivan Lopez (@ivanlopez)](https://github.com/ivanlopez), [Catherine Cavanagh (@biggiebangle)](https://github.com/biggiebangle), [Tommy Ferry (@pragmatic-tf)](https://github.com/pragmatic-tf), [Joshua Walker (@jshwlkr)](https://github.com/jshwlkr), [Caleb Burks (@WPprodigy)](https://github.com/WPprodigy), [(@jonny-bull)](https://github.com/jonny-bull), [Ricky Lee Whittemore (@rickalee)](https://github.com/rickalee), [Rob Cain (@robcain)](https://github.com/robcain), [(@j0HnC0untry)](https://github.com/j0HnC0untry), [(@dfardon)](https://github.com/dfardon), [(@anilpainuly121)](https://github.com/anilpainuly121), [(@vimalagarwalasentech)](https://github.com/vimalagarwalasentech), [Chris Wieber (@cdwieber)](https://github.com/cdwieber), [Dhanendran Rajagopal (@dhanendran)](https://github.com/dhanendran), [Andrew Ortolano (@andrewortolano)](https://github.com/andrewortolano), [(@xyralothep)](https://github.com/xyralothep), [Garth Gutenberg (@ggutenberg)](https://github.com/ggutenberg), [Jaime Martínez (@jmslbam)](https://github.com/jmslbam), [Francisco Domo (@francisco-domo)](https://github.com/francisco-domo), [Elliott Stocks (@elliott-stocks)](https://github.com/elliott-stocks), [David Purdy (@davidmpurdy)](https://github.com/davidmpurdy), [(@zacnboat)](https://github.com/zacnboat), [Spencer Brower (@sbrow)](https://github.com/sbrow), [Ross Pickerill (@rosspbauer)](https://github.com/rosspbauer), [Jackie Kjome (@JackieKjome)](https://github.com/JackieKjome), [SieBer15 (@SieBer15)](https://github.com/SieBer15), [Pascal Knecht (@pascalknecht)](https://github.com/pascalknecht), [Justin Young (@justiny)](https://github.com/justiny), [Johan Pretorius (@Drmzindec)](https://github.com/Drmzindec), [Clayton Collie (@claytoncollie)](https://github.com/claytoncollie), [Max Lyuchin (@cadic)](https://github.com/cadic), [Joe Grainger (@jjgrainger)](https://github.com/jjgrainger), [Lily Bonney](https://www.linkedin.com/in/lilybonney/), [Mollie Pugh](https://www.linkedin.com/in/molliepugh/), [Martina Haines](https://www.linkedin.com/in/martinahaines/), [Luca Ricci (@theskinnyghost)](https://github.com/theskinnyghost), [Lucy Bowe (@LucyTurtle)](https://github.com/LucyTurtle), [Dharmesh Patel (@iamdharmesh)](https://github.com/iamdharmesh), [(@jmstew3)](https://github.com/jmstew3), [Phil Crumm (@pcrumm)](https://github.com/pcrumm), [Faisal Alvi (@faisal-alvi)](https://github.com/faisal-alvi), [Siddharth Thevaril (@Sidsector9)](https://github.com/Sidsector9), [Will Skora (@skorasaurus)](https://github.com/skorasaurus), [Mohit Dadhich (@mohitwp)](https://github.com/mohitwp), [Will Howat-Comandré (@willhowat)](https://github.com/willhowat), [@Borkent](https://github.com/Borkent), [Dishit Pala (@dishitpala)](https://github.com/dishitpala), [@markusvisse](https://github.com/markusvisse), [@MonsterKing](https://github.com/MonsterKing), [James Morrison (@jamesmorrison)](https://github.com/jamesmorrison), [Mehul Kaklotar (@mehulkaklotar)](https://github.com/mehulkaklotar), [@espechtcfe](https://github.com/espechtcfe), [@romeowski](https://github.com/romeowski), [@vlastaw](https://github.com/vlastaw), [Jamie Adams (@jadamsbit)](https://github.com/jadamsbit), [Yoni Bee (@ybalkind)](https://github.com/ybalkind), [Akshit Sethi (@akshitsethi)](https://github.com/akshitsethi), [Vikram (@vikrampm1)](https://github.com/vikrampm1), [Josh Wilson (@joshwilsondotme)](https://github.com/joshwilsondotme), [Groupe-Mgel (@Groupe-Mgel)](https://github.com/Groupe-Mgel), [Emma (@emmawenger)](https://github.com/emmawenger), [@bcobin](https://github.com/bcobin), [@alexwolk](https://github.com/alexwolk), [Maxime Freschard (@ligne13)](https://github.com/ligne13), [Shazahan Kabir Saju (@sksaju)](https://github.com/sksaju), [Peter Wilson (@peterwilsoncc)](https://github.com/peterwilsoncc), [@Pitemedia](https://github.com/Pitemedia), [Michal Letavka (@michalletavka)](https://github.com/michalletavka), [@shu05](https://github.com/shu05), [Lukas Pawlik (@lukaspawlik)](https://github.com/lukaspawlik), [Amal Ajith PM (@amalajith)](https://github.com/amalajith), [Paul de Wouters (@pdewouters)](https://github.com/pdewouters), [Andre Gagnon (@andygagnon)](https://github.com/andygagnon), [Ravinder Kumar (@ravinderk)](https://github.com/ravinderk), [mapamond (@mapamond)](https://github.com/mapamond), [Giorgos Sarigiannidis (@gsarig)](https://github.com/gsarig), [Dan Maby (@danmaby)](https://github.com/danmaby), [Tim Gieseking (@timstl)](https://github.com/timstl), [David Chandra Purnama (@turtlepod)](https://github.com/turtlepod), [Manolo Bevia (@manolobevia)](https://github.com/manolobevia), [madriverweb (@madriverweb)](https://github.com/madriverweb), [ale8521 (@ale8521)](https://github.com/ale8521), [roshniahuja (@roshniahuja)](https://github.com/roshniahuja), [Jayedul K. (@jayedul)](https://github.com/jayedul), [Konstantinos Galanakis (@kmgalanakis-sage)](https://github.com/kmgalanakis-sage), [Seth Rubenstein (@sethrubenstein)](https://github.com/sethrubenstein), [Harshal Kadu (@QAharshalkadu)](https://github.com/QAharshalkadu), [Joe McGill (@joemcgill)](https://github.com/joemcgill), [Margaret Schneider (@margaretschneider)](https://github.com/margaretschneider), [Anton Vanyukov (@av3nger)](https://github.com/av3nger), [Zach Adams (@zach-adams)](https://github.com/zach-adams), [Severine Pozzo (@severine-pozzo)](https://github.com/severine-pozzo), [Maxim Ledoux (@maxledoux)](https://github.com/maxledoux), [Leo Germani (@leogermani)](https://github.com/leogermani), [Viktor Szépe (@szepeviktor)](https://github.com/szepeviktor), [Mehul Gohil (@mehul0810)](https://github.com/mehul0810), [Ankit Gade (@ankitrox)](https://github.com/ankitrox), [Sumit Bagthariya (@qasumitbagthariya)](https://github.com/qasumitbagthariya), [Claudiu Lodromanean (@claudiulodro)](https://github.com/claudiulodro), [Jeffrey Carandang (@phpbits)](https://github.com/phpbits), [Matthew Upslope (@matthew-upslope)](https://github.com/matthew-upslope), [Kirtan Gajjar (@kirtangajjar)](https://github.com/kirtangajjar), [Peter Sorensen (@psorensen)](https://github.com/psorensen), [Arun Sathiya (@arunsathiya)](https://github.com/arunsathiya). ## Libraries diff --git a/README.md b/README.md index a17e3cfbe..32658fc5e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ > Distributor is a WordPress plugin that makes it easy to distribute and reuse content across your websites — whether in a single multisite or across the web. -[![Support Level](https://img.shields.io/badge/support-active-green.svg)](#support-level) [![Tests](https://github.com/10up/distributor/actions/workflows/test.yml/badge.svg)](https://github.com/10up/distributor/actions/workflows/test.yml) [![Linting](https://github.com/10up/distributor/actions/workflows/lint.yml/badge.svg)](https://github.com/10up/distributor/actions/workflows/lint.yml) [![Code scanning](https://github.com/10up/distributor/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/10up/distributor/actions/workflows/codeql-analysis.yml) [![Release Version](https://img.shields.io/github/release/10up/distributor.svg)](https://github.com/10up/distributor/releases/latest) ![WordPress tested up to version](https://img.shields.io/badge/WordPress-v6.5%20tested-success.svg) [![License](https://img.shields.io/github/license/10up/distributor.svg)](https://github.com/10up/distributor/blob/develop/LICENSE.md) +[![Support Level](https://img.shields.io/badge/support-active-green.svg)](#support-level) [![Tests](https://github.com/10up/distributor/actions/workflows/test.yml/badge.svg)](https://github.com/10up/distributor/actions/workflows/test.yml) [![Linting](https://github.com/10up/distributor/actions/workflows/lint.yml/badge.svg)](https://github.com/10up/distributor/actions/workflows/lint.yml) [![Code scanning](https://github.com/10up/distributor/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/10up/distributor/actions/workflows/codeql-analysis.yml) [![Release Version](https://img.shields.io/github/release/10up/distributor.svg)](https://github.com/10up/distributor/releases/latest) ![WordPress tested up to version](https://img.shields.io/badge/WordPress-v6.6%20tested-success.svg) [![License](https://img.shields.io/github/license/10up/distributor.svg)](https://github.com/10up/distributor/blob/develop/LICENSE.md) *You can learn more about Distributor's features at [DistributorPlugin.com](https://distributorplugin.com) and documentation at the [Distributor documentation site](https://10up.github.io/distributor/).* @@ -55,7 +55,7 @@ Distributor is built with the same extensible approach as WordPress itself, with ## Requirements * PHP 7.4+ -* [WordPress](http://wordpress.org) 5.7+ +* [WordPress](http://wordpress.org) 6.4+ * External connections require HTTP Basic Authentication or [WordPress.com OAuth2](https://developer.wordpress.com/docs/oauth2/) (must be on [WordPress VIP](https://wpvip.com/)) be set up on the remote website. For Basic Auth, we recommend using [Application Passwords](https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/#Getting-Credentials) built in to WordPress. * For external connections, Distributor needs to be installed on BOTH sides of the connection. * Version 2.0.0 of Distributor requires version 2.0.0 on BOTH sides of all connections. For other version 2.0.0 specific changes, please see our [migration guide](https://10up.github.io/distributor/tutorial-migration-guide-version-1-to-version-2.html). diff --git a/distributor.php b/distributor.php index 69626649d..b68ac2370 100644 --- a/distributor.php +++ b/distributor.php @@ -4,8 +4,8 @@ * Plugin URI: https://github.com/10up/distributor * Update URI: https://distributorplugin.com * Description: Makes it easy to distribute and reuse content across your websites, whether inside of a multisite or across the web. - * Version: 2.0.4 - * Requires at least: 6.3 + * Version: 2.0.5 + * Requires at least: 6.4 * Requires PHP: 7.4 * Author: 10up Inc. * Author URI: https://distributorplugin.com @@ -28,7 +28,7 @@ exit; // Exit if accessed directly. } -define( 'DT_VERSION', '2.0.4' ); +define( 'DT_VERSION', '2.0.5' ); define( 'DT_PLUGIN_FILE', preg_replace( '#^.*plugins/(.*)$#i', '$1', __FILE__ ) ); define( 'DT_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); define( 'DT_PLUGIN_FULL_FILE', __FILE__ ); @@ -50,7 +50,7 @@ * @return string Minimum version required. */ function minimum_wp_requirement() { - return '5.7'; + return '6.4'; } /** @@ -88,7 +88,7 @@ function site_meets_php_requirements() { } /** - * Require PHP 7.4+, WP 5.7+ - throw an error if the plugin is activated on an older version. + * Require PHP 7.4+, WP 6.4+ - throw an error if the plugin is activated on an older version. */ register_activation_hook( __FILE__, diff --git a/includes/debug-info.php b/includes/debug-info.php index 076465f41..bfd445c90 100644 --- a/includes/debug-info.php +++ b/includes/debug-info.php @@ -144,10 +144,10 @@ function add_debug_info( $info ) { /** * Get and format internal connections. * - * @deprecated x.x.x Use get_formatted_internal_connections + * @deprecated 2.0.4 Use get_formatted_internal_connections */ function get_formatted_internal_connnections() { - _deprecated_function( __FUNCTION__, 'x.x.x.', __NAMESPACE__ . '\\get_formatted_internal_connections' ); + _deprecated_function( __FUNCTION__, '2.0.4', __NAMESPACE__ . '\\get_formatted_internal_connections' ); return get_formatted_internal_connections(); } @@ -186,10 +186,10 @@ function get_formatted_internal_connections() { /** * Get and format external connections. * - * @deprecated x.x.x Use get_formatted_external_connections + * @deprecated 2.0.4 Use get_formatted_external_connections */ function get_formatted_external_connnections() { - _deprecated_function( __FUNCTION__, 'x.x.x', __NAMESPACE__ . '\\get_formatted_external_connections' ); + _deprecated_function( __FUNCTION__, '2.0.4', __NAMESPACE__ . '\\get_formatted_external_connections' ); return get_formatted_external_connections(); } diff --git a/package-lock.json b/package-lock.json index 37facda5b..893c58c3d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "distributor", - "version": "2.0.4", + "version": "2.0.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "distributor", - "version": "2.0.4", + "version": "2.0.5", "license": "GPL-2.0-or-later", "dependencies": { "mustache": "^4.2.0" diff --git a/package.json b/package.json index 823127fcd..c19a01cf0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "distributor", - "version": "2.0.4", + "version": "2.0.5", "description": "Distributor is a WordPress plugin that makes it easy to distribute and reuse content across your websites — whether in a single multisite or across the web.", "author": { "name": "10up", diff --git a/phpcs.xml b/phpcs.xml index 1d98347e6..2e60d642b 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -28,7 +28,7 @@ - + /vendor/* diff --git a/readme.txt b/readme.txt index f4a5fab65..02c3b7ada 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: 10up Tags: content, distribution, syndication, management Tested up to: 6.6 -Stable tag: 2.0.4 +Stable tag: 2.0.5 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -32,5 +32,8 @@ There are two connection types: `internal` and `external`. == Upgrade Notice == += 2.0.5 = +**Distributor now requires WordPress 6.4 or later.** + = 2.0.0 = **Distributor now requires PHP 7.4 or later and WordPress 5.7 or later.** diff --git a/tests/php/bootstrap.php b/tests/php/bootstrap.php index 002ce94ac..d1a83abd2 100644 --- a/tests/php/bootstrap.php +++ b/tests/php/bootstrap.php @@ -10,7 +10,7 @@ WP_Mock::bootstrap(); define( 'DT_PLUGIN_PATH', dirname( __DIR__, 2 ) ); -define( 'DT_VERSION', '2.0.4' ); +define( 'DT_VERSION', '2.0.5' ); require_once __DIR__ . '/includes/common.php'; require_once __DIR__ . '/includes/TestCase.php';