From 4a8719922f1b7dcd158647b97b0b77b3938a4c6f Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Tue, 13 Jul 2021 16:01:26 -0300 Subject: [PATCH 1/6] Initial version of changelog and version bumps --- CHANGELOG.md | 20 +++++++++++++++++++- CREDITS.md | 2 +- elasticpress.php | 4 ++-- package-lock.json | 2 +- package.json | 2 +- readme.txt | 17 ++++++++++++++++- 6 files changed, 40 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89382c7d50..ee0e8619dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,30 @@ All notable changes to this project will be documented in this file, per [the Ke ## [Unreleased] +## [3.6.1] - TBD +**Note that the upcoming ElasticPress 3.7.0 release will remove built assets from the `develop` branch, will replace `master` with `trunk`, will build a stable release version including built assets into a `stable` branch, and will include a build script should you want to build assets from a branch.** As such, please plan to update any references you have from `master` to either `stable` or `trunk` depending on whether you require built assets or not. + +This version requires a full reindex. + +### Added +* Filter `ep_remote_request_add_ep_user_agent`. Passing `true` to that, the ElasticPress version will be added to the User-Agent header in the request. Props [@felipeelia](https://github.com/felipeelia) via [#2264](https://github.com/10up/ElasticPress/pull/2264) +* Flagged `3.6.0` as version that needs a full reindex. Props [@adiloztaser](https://github.com/adiloztaser) and [@felipeelia](https://github.com/felipeelia) via [#2264](https://github.com/10up/ElasticPress/pull/2264) + +### Changed +* Notice when a sync is needed is now an error. Props [@felipeelia](https://github.com/felipeelia) and [@brandwaffle](https://github.com/brandwaffle) via [#2264](https://github.com/10up/ElasticPress/pull/2264) + +### Fixed +* Encode the Search Term header before sending it to ElasticPress.io. Props [@felipeelia](https://github.com/felipeelia) via [#2265](https://github.com/10up/ElasticPress/pull/2265) + ## [3.6.0] - 2021-07-07 **Note that the upcoming ElasticPress 3.7.0 release will remove built assets from the `develop` branch, will replace `master` with `trunk`, will build a stable release version including built assets into a `stable` branch, and will include a build script should you want to build assets from a branch.** As such, please plan to update any references you have from `master` to either `stable` or `trunk` depending on whether you require built assets or not. +This version requires a full reindex. + ### Breaking Changes * Autosuggest will now respect the `[name="post_type"]` input in the same form. Before it would bring all post types. Props [@mustafauysal](https://github.com/mustafauysal) and [@JakePT](https://github.com/JakePT) via [#1689](https://github.com/10up/ElasticPress/pull/1689) * Facets Widget presentation, replacing the `` elements in option links with a custom `.ep-checkbox presentational` div. Props [@MediaMaquina](https://github.com/MediaMaquina), [@amesplant](https://github.com/amesplant), [@JakePT](https://github.com/JakePT), and [@oscarssanchez](https://github.com/oscarssanchez) via [#1886](https://github.com/10up/ElasticPress/pull/1886) +* Confirmation for destructive WP-CLI commands. Props [@nickdaugherty](https://github.com/nickdaugherty) and [@Rahmon](https://github.com/Rahmon) via [#2120](https://github.com/10up/ElasticPress/pull/2120) ### Added * Comments Indexable. Props [@dkotter](https://github.com/dkotter), [@dinhtungdu](https://github.com/dinhtungdu), [@Rahmon](https://github.com/Rahmon), and [@felipeelia](https://github.com/felipeelia) via [#1531](https://github.com/10up/ElasticPress/pull/1531) @@ -19,7 +37,6 @@ All notable changes to this project will be documented in this file, per [the Ke * GitHub Action to auto-close non-responsive reporter feedback issues after 3 days. Props [@jeffpaul](https://github.com/jeffpaul) via [#2199](https://github.com/10up/ElasticPress/pull/2199) * Autosuggest: new `ep_autosuggest_default_selectors` filter. Props [@JakePT](https://github.com/JakePT) and [@johnbillion](https://github.com/johnbillion) via [#2181](https://github.com/10up/ElasticPress/pull/2181) * WP-CLI: Index by ID ranges with `--upper-limit-object-id` and `--lower-limit-object-id`. Props [@WPprodigy](https://github.com/WPprodigy), [@Rahmon](https://github.com/Rahmon), and [@felipeelia](https://github.com/felipeelia) via [#2171](https://github.com/10up/ElasticPress/pull/2171) -* Confirmation for destructive WP-CLI commands. Props [@nickdaugherty](https://github.com/nickdaugherty) and [@Rahmon](https://github.com/Rahmon) via [#2120](https://github.com/10up/ElasticPress/pull/2120) * `Elasticsearch::get_documents()` and `Indexable::multi_get()`. Props [@nickdaugherty](https://github.com/nickdaugherty), [@felipeelia](https://github.com/felipeelia), and [@Rahmon](https://github.com/Rahmon) via [#2210](https://github.com/10up/ElasticPress/pull/2210) * Custom sorting to features on the Features page. Props [@Rahmon](https://github.com/Rahmon) via [#1987](https://github.com/10up/ElasticPress/pull/1987) * Terms: add a new `facet` field to hold the entire term object in json format. Props [@moraleida](https://github.com/moraleida) via [#2071](https://github.com/10up/ElasticPress/pull/2071) @@ -981,6 +998,7 @@ See https://github.com/10up/ElasticPress/pulls?utf8=%E2%9C%93&q=is%3Apr+mileston - Initial plugin release [Unreleased]: https://github.com/10up/ElasticPress/compare/master...develop +[3.6.1]: https://github.com/10up/ElasticPress/compare/3.6.0...3.6.1 [3.6.0]: https://github.com/10up/ElasticPress/compare/3.5.6...3.6.0 [3.5.6]: https://github.com/10up/ElasticPress/compare/3.5.5...3.5.6 [3.5.5]: https://github.com/10up/ElasticPress/compare/3.5.4...3.5.5 diff --git a/CREDITS.md b/CREDITS.md index a6c92df90f..a69b2fe40b 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -12,7 +12,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. -[Taylor Lovett (@tlovett1)](https://github.com/tlovett1), [Aaron Holbrook (@AaronHolbrook)](https://github.com/AaronHolbrook), [Ivan Lopez (@ivanlopez)](https://github.com/ivanlopez), [Matt Gross (@mattonomics)](https://github.com/mattonomics), [Chris Marslender (@cmmarslender)](https://github.com/cmmarslender), [Gustave F. Gerhardt (@GhostToast)](https://github.com/GhostToast), [Scott Kingsley Clark (@sc0ttkclark)](https://github.com/sc0ttkclark), [Cole Geissinger (@colegeissinger)](https://github.com/colegeissinger), [Elliott Stocks (@elliott-stocks)](https://github.com/elliott-stocks). [Adam Silverstein (@adamsilverstein)](https://github.com/adamsilverstein), [Ivan Kruchkoff (@ivankruchkoff)](https://github.com/ivankruchkoff), [Jonathan Bardo (@jonathanbardo)](https://github.com/jonathanbardo), [Ryan Boswell (@ryanboswell)](https://github.com/ryanboswell), [Peter Sorensen (@psorensen)](https://github.com/psorensen), [Jason Boyle (@Jaace)](https://github.com/Jaace), [Joey Blake (@joeyblake)](https://github.com/joeyblake), [Mikael Mattsson (@mikaelmattsson)](https://github.com/mikaelmattsson), [Eduard Maghakyan (@EduardMaghakyan)](https://github.com/EduardMaghakyan), [Allan Collins (@allan23)](https://github.com/allan23), [Doug Stewart (@zamoose)](https://github.com/zamoose), [Hannes Kandulla (@HKandulla)](https://github.com/HKandulla), [Michael Phillips (@mphillips)](https://github.com/mphillips), [Tuan Minh Huynh (@tuanmh)](https://github.com/tuanmh), [Alex Bouma (@stayallive)](https://github.com/stayallive), [James Mehorter (@jamesmehorter)](https://github.com/jamesmehorter), [Chris Wiegman (@ChrisWiegman)](https://github.com/ChrisWiegman), [Gustavo Bordoni (@bordoni)](https://github.com/bordoni), [Joel Garcia Jr (@joelgarciajr84)](https://github.com/joelgarciajr84), [Dominik Schilling (@ocean90)](https://github.com/ocean90), [Russell Heimlich (@kingkool68)](https://github.com/kingkool68), [Matthew Spencer (@matthewspencer)](https://github.com/matthewspencer), [Konstantin Kovshenin (@kovshenin)](https://github.com/kovshenin), [John P. Bloch (@johnpbloch)](https://github.com/johnpbloch), [Lukas Pawlik (@lukaspawlik)](https://github.com/lukaspawlik), [Brian Watson (@bswatson)](https://github.com/bswatson), [Matthew McAchran (@mmcachran)](https://github.com/mmcachran), [Darin Kotter (@dkotter)](https://github.com/dkotter), [Dana Ross (@dana-ross)](https://github.com/dana-ross), [Jonas Stensved (@jstensved)](https://github.com/jstensved), [Pete Nelson (@petenelson)](https://github.com/petenelson), [Ross Luebe (@rossluebe)](https://github.com/rossluebe), [Matt Gibbs (@mgibbs189)](https://github.com/mgibbs189), [Mustafa Uysal (@mustafauysal)](https://github.com/mustafauysal), [Craig Miller (@craigmillerdev)](https://github.com/craigmillerdev), [Ryan Veitch (@rveitch)](https://github.com/rveitch), [Ritesh Patel (@Ritesh-patel)](https://github.com/Ritesh-patel), [Kristoffer Svanmark (@Svanmark)](https://github.com/Svanmark), [Jerry Volfson (@jvolfson)](https://github.com/jvolfson), [David Naber (@dnaber-de)](https://github.com/dnaber-de), [David Arceneaux (@DArcMattr)](https://github.com/DArcMattr), [Ben Cumber (@bcumber)](https://github.com/bcumber), [Nícholas André (@nicholasio)](https://github.com/nicholasio), [Jeremy Madison (@jdmadison)](https://github.com/jdmadison), [Ivan Kristianto (@ivankristianto)](https://github.com/ivankristianto), [Dreb Bits (@drebbits)](https://github.com/drebbits), [Shakeel Sorathia (@ssorathia)](https://github.com/ssorathia), [André Philip Kallehauge (@kallehauge)](https://github.com/kallehauge), [Fabian Marz (@fabianmarz)](https://github.com/fabianmarz), [IWriteThings (@IWriteThings)](https://github.com/IWriteThings), [Ricardo Moraleida (@moraleida)](https://github.com/moraleida), [Jason Bahl (@jasonbahl)](https://github.com/jasonbahl), [Dustin Rue (@dustinrue)](https://github.com/dustinrue), [Eugene Manuilov (@eugene-manuilov)](https://github.com/eugene-manuilov), [Mallory Adams (@mallorydxw)](https://github.com/mallorydxw), [John Eismeier (@jeis2497052)](https://github.com/jeis2497052), [Dotan Cohen (@dotancohen)](https://github.com/dotancohen), [Yaron Uliel (@yaronuliel)](https://github.com/yaronuliel), [Oscar Sanchez S. (@oscarssanchez)](https://github.com/oscarssanchez), [Vasken Hauri (@brandwaffle)](https://github.com/brandwaffle), [Derrick Koo (@dkoo)](https://github.com/dkoo), [Aaron Brazell (@technosailor)](https://github.com/technosailor), [Johannes Kinast (@goaround)](https://github.com/goaround), [Jeffrey Paul (@jeffpaul)](https://github.com/jeffpaul), [Gassan Gousseinov (@gassan)](https://github.com/gassan), [Evan Mattson (@aaemnnosttv)](https://github.com/aaemnnosttv), [Helen Hou-Sandi (@helen)](https://github.com/helen), [Peter Sorensen (@psorensen)](https://github.com/psorensen), [columbian-chris (@columbian-chris)](https://github.com/columbian-chris), [John Spellman (@jspellman814)](https://github.com/jspellman814), [Mindaugas Budreika (@mch0lic)](https://github.com/mch0lic), [Thorsten Ott (@tott)](https://github.com/tott), [William Gladstone (@willgladstone)](https://github.com/willgladstone), [Michael LaRoy (@mlaroy)](https://github.com/mlaroy), [Shady Sharaf (@shadyvb)](https://github.com/shadyvb), [Liam Gladdy (@lgladdy)](https://github.com/lgladdy), [John Watkins (@johnwatkins0)](https://github.com/johnwatkins0), [Retro64XYZ (@Retro64XYZ)](https://github.com/Retro64XYZ), [Alex Wybraniec (@alexwybraniec)](https://github.com/alexwybraniec), [Ashar Irfan (@asharirfan)](https://github.com/asharirfan), [Barry Ceelen (@barryceelen)](https://github.com/barryceelen), [Felipe Elia (@felipeelia)](https://github.com/felipeelia), [Tung Du (@dinhtungdu)](https://github.com/dinhtungdu), [Christian Chung (@christianc1)](https://github.com/christianc1), [Paul de Wouters (@pdewouters)](https://github.com/pdewouters), [Edwin Siebel (@edwinsiebel)](https://github.com/edwinsiebel), [Guillaume Kanoufi (@g-kanoufi)](https://github.com/g-kanoufi), [Ames Plant (@amesplant)](https://github.com/amesplant), [David Chandra Purnama (@turtlepod)](https://github.com/turtlepod), [Brandon Skinner (@brandon-m-skinner)](https://github.com/brandon-m-skinner), [johanneson (@johanneson)](https://github.com/johanneson), [Alex Woollam (@alexwoollam)](https://github.com/alexwoollam), [Michele Cipriani (@ciprianimike)](https://github.com/ciprianimike), [Ramon Ahnert (@Rahmon)](https://github.com/Rahmon), [Casey Gibson (@CyberCyclone)](https://github.com/CyberCyclone), [Jon Powers (@jpowersdev)](https://github.com/jpowersdev), [Jacob Peattie (@JakePT)](https://github.com/JakePT), [HatsOn (@hats00n)](https://github.com/hats00n), [Antonio García (@MediaMaquina)](https://github.com/MediaMaquina), [@MadalinWR](https://github.com/MadalinWR), [John Blackbourn (@johnbillion)](https://github.com/johnbillion), [Caleb Burks (@WPprodigy)](https://github.com/WPprodigy), [Nick Daugherty (@nickdaugherty)](https://github.com/nickdaugherty), [@notjustcode-sp](https://github.com/notjustcode-sp), [Paulo Fagiani (@fagiani)](https://github.com/fagiani), [@shmaltz](https://github.com/shmaltz), [Jonny Harris (@spacedmonkey)](https://github.com/spacedmonkey), [@teoteo](https://github.com/teoteo), [Johannes Schultze (@jschultze)](https://github.com/jschultze), [Aleksandar Andrijevic (@Thalvik)](https://github.com/Thalvik), [Ethan Clevenger (@ethanclevenger91)](https://github.com/ethanclevenger91), [Daniel Bachhuber (@danielbachhuber)](https://github.com/danielbachhuber), [Mike Sawicki (@msawicki)](https://github.com/msawicki), [Jay Hill (@jayhill90)](https://github.com/jayhill90), [Pavel Schoffer (@pschoffer)](https://github.com/pschoffer), and [Alexander S. (@Sysix)](https://github.com/Sysix). +[Taylor Lovett (@tlovett1)](https://github.com/tlovett1), [Aaron Holbrook (@AaronHolbrook)](https://github.com/AaronHolbrook), [Ivan Lopez (@ivanlopez)](https://github.com/ivanlopez), [Matt Gross (@mattonomics)](https://github.com/mattonomics), [Chris Marslender (@cmmarslender)](https://github.com/cmmarslender), [Gustave F. Gerhardt (@GhostToast)](https://github.com/GhostToast), [Scott Kingsley Clark (@sc0ttkclark)](https://github.com/sc0ttkclark), [Cole Geissinger (@colegeissinger)](https://github.com/colegeissinger), [Elliott Stocks (@elliott-stocks)](https://github.com/elliott-stocks). [Adam Silverstein (@adamsilverstein)](https://github.com/adamsilverstein), [Ivan Kruchkoff (@ivankruchkoff)](https://github.com/ivankruchkoff), [Jonathan Bardo (@jonathanbardo)](https://github.com/jonathanbardo), [Ryan Boswell (@ryanboswell)](https://github.com/ryanboswell), [Peter Sorensen (@psorensen)](https://github.com/psorensen), [Jason Boyle (@Jaace)](https://github.com/Jaace), [Joey Blake (@joeyblake)](https://github.com/joeyblake), [Mikael Mattsson (@mikaelmattsson)](https://github.com/mikaelmattsson), [Eduard Maghakyan (@EduardMaghakyan)](https://github.com/EduardMaghakyan), [Allan Collins (@allan23)](https://github.com/allan23), [Doug Stewart (@zamoose)](https://github.com/zamoose), [Hannes Kandulla (@HKandulla)](https://github.com/HKandulla), [Michael Phillips (@mphillips)](https://github.com/mphillips), [Tuan Minh Huynh (@tuanmh)](https://github.com/tuanmh), [Alex Bouma (@stayallive)](https://github.com/stayallive), [James Mehorter (@jamesmehorter)](https://github.com/jamesmehorter), [Chris Wiegman (@ChrisWiegman)](https://github.com/ChrisWiegman), [Gustavo Bordoni (@bordoni)](https://github.com/bordoni), [Joel Garcia Jr (@joelgarciajr84)](https://github.com/joelgarciajr84), [Dominik Schilling (@ocean90)](https://github.com/ocean90), [Russell Heimlich (@kingkool68)](https://github.com/kingkool68), [Matthew Spencer (@matthewspencer)](https://github.com/matthewspencer), [Konstantin Kovshenin (@kovshenin)](https://github.com/kovshenin), [John P. Bloch (@johnpbloch)](https://github.com/johnpbloch), [Lukas Pawlik (@lukaspawlik)](https://github.com/lukaspawlik), [Brian Watson (@bswatson)](https://github.com/bswatson), [Matthew McAchran (@mmcachran)](https://github.com/mmcachran), [Darin Kotter (@dkotter)](https://github.com/dkotter), [Dana Ross (@dana-ross)](https://github.com/dana-ross), [Jonas Stensved (@jstensved)](https://github.com/jstensved), [Pete Nelson (@petenelson)](https://github.com/petenelson), [Ross Luebe (@rossluebe)](https://github.com/rossluebe), [Matt Gibbs (@mgibbs189)](https://github.com/mgibbs189), [Mustafa Uysal (@mustafauysal)](https://github.com/mustafauysal), [Craig Miller (@craigmillerdev)](https://github.com/craigmillerdev), [Ryan Veitch (@rveitch)](https://github.com/rveitch), [Ritesh Patel (@Ritesh-patel)](https://github.com/Ritesh-patel), [Kristoffer Svanmark (@Svanmark)](https://github.com/Svanmark), [Jerry Volfson (@jvolfson)](https://github.com/jvolfson), [David Naber (@dnaber-de)](https://github.com/dnaber-de), [David Arceneaux (@DArcMattr)](https://github.com/DArcMattr), [Ben Cumber (@bcumber)](https://github.com/bcumber), [Nícholas André (@nicholasio)](https://github.com/nicholasio), [Jeremy Madison (@jdmadison)](https://github.com/jdmadison), [Ivan Kristianto (@ivankristianto)](https://github.com/ivankristianto), [Dreb Bits (@drebbits)](https://github.com/drebbits), [Shakeel Sorathia (@ssorathia)](https://github.com/ssorathia), [André Philip Kallehauge (@kallehauge)](https://github.com/kallehauge), [Fabian Marz (@fabianmarz)](https://github.com/fabianmarz), [IWriteThings (@IWriteThings)](https://github.com/IWriteThings), [Ricardo Moraleida (@moraleida)](https://github.com/moraleida), [Jason Bahl (@jasonbahl)](https://github.com/jasonbahl), [Dustin Rue (@dustinrue)](https://github.com/dustinrue), [Eugene Manuilov (@eugene-manuilov)](https://github.com/eugene-manuilov), [Mallory Adams (@mallorydxw)](https://github.com/mallorydxw), [John Eismeier (@jeis2497052)](https://github.com/jeis2497052), [Dotan Cohen (@dotancohen)](https://github.com/dotancohen), [Yaron Uliel (@yaronuliel)](https://github.com/yaronuliel), [Oscar Sanchez S. (@oscarssanchez)](https://github.com/oscarssanchez), [Vasken Hauri (@brandwaffle)](https://github.com/brandwaffle), [Derrick Koo (@dkoo)](https://github.com/dkoo), [Aaron Brazell (@technosailor)](https://github.com/technosailor), [Johannes Kinast (@goaround)](https://github.com/goaround), [Jeffrey Paul (@jeffpaul)](https://github.com/jeffpaul), [Gassan Gousseinov (@gassan)](https://github.com/gassan), [Evan Mattson (@aaemnnosttv)](https://github.com/aaemnnosttv), [Helen Hou-Sandi (@helen)](https://github.com/helen), [Peter Sorensen (@psorensen)](https://github.com/psorensen), [columbian-chris (@columbian-chris)](https://github.com/columbian-chris), [John Spellman (@jspellman814)](https://github.com/jspellman814), [Mindaugas Budreika (@mch0lic)](https://github.com/mch0lic), [Thorsten Ott (@tott)](https://github.com/tott), [William Gladstone (@willgladstone)](https://github.com/willgladstone), [Michael LaRoy (@mlaroy)](https://github.com/mlaroy), [Shady Sharaf (@shadyvb)](https://github.com/shadyvb), [Liam Gladdy (@lgladdy)](https://github.com/lgladdy), [John Watkins (@johnwatkins0)](https://github.com/johnwatkins0), [Retro64XYZ (@Retro64XYZ)](https://github.com/Retro64XYZ), [Alex Wybraniec (@alexwybraniec)](https://github.com/alexwybraniec), [Ashar Irfan (@asharirfan)](https://github.com/asharirfan), [Barry Ceelen (@barryceelen)](https://github.com/barryceelen), [Felipe Elia (@felipeelia)](https://github.com/felipeelia), [Tung Du (@dinhtungdu)](https://github.com/dinhtungdu), [Christian Chung (@christianc1)](https://github.com/christianc1), [Paul de Wouters (@pdewouters)](https://github.com/pdewouters), [Edwin Siebel (@edwinsiebel)](https://github.com/edwinsiebel), [Guillaume Kanoufi (@g-kanoufi)](https://github.com/g-kanoufi), [Ames Plant (@amesplant)](https://github.com/amesplant), [David Chandra Purnama (@turtlepod)](https://github.com/turtlepod), [Brandon Skinner (@brandon-m-skinner)](https://github.com/brandon-m-skinner), [johanneson (@johanneson)](https://github.com/johanneson), [Alex Woollam (@alexwoollam)](https://github.com/alexwoollam), [Michele Cipriani (@ciprianimike)](https://github.com/ciprianimike), [Ramon Ahnert (@Rahmon)](https://github.com/Rahmon), [Casey Gibson (@CyberCyclone)](https://github.com/CyberCyclone), [Jon Powers (@jpowersdev)](https://github.com/jpowersdev), [Jacob Peattie (@JakePT)](https://github.com/JakePT), [HatsOn (@hats00n)](https://github.com/hats00n), [Antonio García (@MediaMaquina)](https://github.com/MediaMaquina), [@MadalinWR](https://github.com/MadalinWR), [John Blackbourn (@johnbillion)](https://github.com/johnbillion), [Caleb Burks (@WPprodigy)](https://github.com/WPprodigy), [Nick Daugherty (@nickdaugherty)](https://github.com/nickdaugherty), [@notjustcode-sp](https://github.com/notjustcode-sp), [Paulo Fagiani (@fagiani)](https://github.com/fagiani), [@shmaltz](https://github.com/shmaltz), [Jonny Harris (@spacedmonkey)](https://github.com/spacedmonkey), [@teoteo](https://github.com/teoteo), [Johannes Schultze (@jschultze)](https://github.com/jschultze), [Aleksandar Andrijevic (@Thalvik)](https://github.com/Thalvik), [Ethan Clevenger (@ethanclevenger91)](https://github.com/ethanclevenger91), [Daniel Bachhuber (@danielbachhuber)](https://github.com/danielbachhuber), [Mike Sawicki (@msawicki)](https://github.com/msawicki), [Jay Hill (@jayhill90)](https://github.com/jayhill90), [Pavel Schoffer (@pschoffer)](https://github.com/pschoffer), [Alexander S. (@Sysix)](https://github.com/Sysix), and [Adil Öztaşer (@adiloztaser)](https://github.com/adiloztaser). ## Libraries diff --git a/elasticpress.php b/elasticpress.php index 154eb8dd9e..742932dd06 100644 --- a/elasticpress.php +++ b/elasticpress.php @@ -3,7 +3,7 @@ * Plugin Name: ElasticPress * Plugin URI: https://github.com/10up/ElasticPress * Description: A fast and flexible search and query engine for WordPress. - * Version: 3.6.0 + * Version: 3.6.1 * Requires at least: 3.7.1 * Requires PHP: 5.4 * Author: 10up @@ -32,7 +32,7 @@ define( 'EP_URL', plugin_dir_url( __FILE__ ) ); define( 'EP_PATH', plugin_dir_path( __FILE__ ) ); define( 'EP_FILE', plugin_basename( __FILE__ ) ); -define( 'EP_VERSION', '3.6.0' ); +define( 'EP_VERSION', '3.6.1' ); /** * PSR-4-ish autoloading diff --git a/package-lock.json b/package-lock.json index 95827b9c70..1909e930f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "elasticpress", - "version": "3.5.6", + "version": "3.6.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 115751e9ef..2d037ec615 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "elasticpress", - "version": "3.6.0", + "version": "3.6.1", "license": "GPL-2.0-or-later", "description": "A fast and flexible search and query engine for WordPress.", "devDependencies": { diff --git a/readme.txt b/readme.txt index 795e678f04..ae6663d7f9 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: 10up, tlovett1, vhauri, tott, oscarssanchez, cmmarslender Tags: performance, slow, search, elasticsearch, fuzzy, facet, aggregation, searching, autosuggest, suggest, elastic, advanced search, woocommerce, related posts, woocommerce Tested up to: 5.8 -Stable tag: 3.6.0 +Stable tag: 3.6.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -44,6 +44,21 @@ Please refer to [Github](https://github.com/10up/ElasticPress) for detailed usag == Changelog == += 3.6.1 = +**Note that the upcoming ElasticPress 3.7.0 release will remove built assets from the `develop` branch, will replace `master` with `trunk`, will build a stable release version including built assets into a `stable` branch, and will include a build script should you want to build assets from a branch.** As such, please plan to update any references you have from `master` to either `stable` or `trunk` depending on whether you require built assets or not. + +This version requires a full reindex. + +Added: +* Filter `ep_remote_request_add_ep_user_agent`. Passing `true` to that, the ElasticPress version will be added to the User-Agent header in the request. Props [@felipeelia](https://github.com/felipeelia) via [#2264](https://github.com/10up/ElasticPress/pull/2264) +* Flagged `3.6.0` as version that needs a full reindex. Props [@adiloztaser](https://github.com/adiloztaser) and [@felipeelia](https://github.com/felipeelia) via [#2264](https://github.com/10up/ElasticPress/pull/2264) + +Changed: +* Notice when a sync is needed is now an error. Props [@felipeelia](https://github.com/felipeelia) and [@brandwaffle](https://github.com/brandwaffle) via [#2264](https://github.com/10up/ElasticPress/pull/2264) + +Fixed: +* Encode the Search Term header before sending it to ElasticPress.io. Props [@felipeelia](https://github.com/felipeelia) via [#2265](https://github.com/10up/ElasticPress/pull/2265) + = 3.6.0 = **Note that the upcoming ElasticPress 3.7.0 release will remove built assets from the `develop` branch, will replace `master` with `trunk`, will build a stable release version including built assets into a `stable` branch, and will include a build script should you want to build assets from a branch.** As such, please plan to update any references you have from `master` to either `stable` or `trunk` depending on whether you require built assets or not. From 3fa960c97d7093add581c66d329920f867497ce6 Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Wed, 14 Jul 2021 12:53:34 -0300 Subject: [PATCH 2/6] Explain why 3.6.0 and 3.6.1 requires a new sync --- CHANGELOG.md | 2 +- readme.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee0e8619dc..b8ede2aaab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ All notable changes to this project will be documented in this file, per [the Ke ## [3.6.1] - TBD **Note that the upcoming ElasticPress 3.7.0 release will remove built assets from the `develop` branch, will replace `master` with `trunk`, will build a stable release version including built assets into a `stable` branch, and will include a build script should you want to build assets from a branch.** As such, please plan to update any references you have from `master` to either `stable` or `trunk` depending on whether you require built assets or not. -This version requires a full reindex. +This version requires a full reindex. The new `facet` field introduced in `3.6.0` requires a change in the mapping, otherwise, all content sync related to posts will silently fail. If you've upgraded to 3.6.0 and didn't resync your content yet (via Dashboard or with WP-CLI `wp elasticpress index --setup`) make sure to do so. ### Added * Filter `ep_remote_request_add_ep_user_agent`. Passing `true` to that, the ElasticPress version will be added to the User-Agent header in the request. Props [@felipeelia](https://github.com/felipeelia) via [#2264](https://github.com/10up/ElasticPress/pull/2264) diff --git a/readme.txt b/readme.txt index ae6663d7f9..ed098f290f 100644 --- a/readme.txt +++ b/readme.txt @@ -47,7 +47,7 @@ Please refer to [Github](https://github.com/10up/ElasticPress) for detailed usag = 3.6.1 = **Note that the upcoming ElasticPress 3.7.0 release will remove built assets from the `develop` branch, will replace `master` with `trunk`, will build a stable release version including built assets into a `stable` branch, and will include a build script should you want to build assets from a branch.** As such, please plan to update any references you have from `master` to either `stable` or `trunk` depending on whether you require built assets or not. -This version requires a full reindex. +This version requires a full reindex. The new `facet` field introduced in `3.6.0` requires a change in the mapping, otherwise, all content sync related to posts will silently fail. If you've upgraded to 3.6.0 and didn't resync your content yet (via Dashboard or with WP-CLI `wp elasticpress index --setup`) make sure to do so. Added: * Filter `ep_remote_request_add_ep_user_agent`. Passing `true` to that, the ElasticPress version will be added to the User-Agent header in the request. Props [@felipeelia](https://github.com/felipeelia) via [#2264](https://github.com/10up/ElasticPress/pull/2264) From 62caebf43ac35845097f7c8ee6104d971c37a310 Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Thu, 15 Jul 2021 10:07:26 -0300 Subject: [PATCH 3/6] Update 3.6.1 release date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8ede2aaab..0fced36f91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file, per [the Ke ## [Unreleased] -## [3.6.1] - TBD +## [3.6.1] - 2021-07-15 **Note that the upcoming ElasticPress 3.7.0 release will remove built assets from the `develop` branch, will replace `master` with `trunk`, will build a stable release version including built assets into a `stable` branch, and will include a build script should you want to build assets from a branch.** As such, please plan to update any references you have from `master` to either `stable` or `trunk` depending on whether you require built assets or not. This version requires a full reindex. The new `facet` field introduced in `3.6.0` requires a change in the mapping, otherwise, all content sync related to posts will silently fail. If you've upgraded to 3.6.0 and didn't resync your content yet (via Dashboard or with WP-CLI `wp elasticpress index --setup`) make sure to do so. From 378065270f95195880bde7e2ec716af0ce839ba5 Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Thu, 15 Jul 2021 10:07:37 -0300 Subject: [PATCH 4/6] Add comments to readme --- readme.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readme.txt b/readme.txt index ed098f290f..9aa61e107a 100644 --- a/readme.txt +++ b/readme.txt @@ -29,6 +29,8 @@ __Facets__: Add controls to your website to filter content by one or more taxono __Users__: Improve user search relevancy and query performance. +__Comments__: Indexes your comments and provides a widget with type-ahead search functionality. It works with WooCommerce product reviews out-of-the-box. + Please refer to [Github](https://github.com/10up/ElasticPress) for detailed usage instructions and documentation. == Installation == From 097ba32fec53b2ab483d4c59a2e565324597d90e Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Thu, 15 Jul 2021 11:04:37 -0300 Subject: [PATCH 5/6] Update breaking changes in 3.6.0 (readme.txt) --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 9aa61e107a..15a677d6f8 100644 --- a/readme.txt +++ b/readme.txt @@ -67,6 +67,7 @@ Fixed: Breaking Changes: * Autosuggest will now respect the `[name="post_type"]` input in the same form. Before it would bring all post types. Props [@mustafauysal](https://github.com/mustafauysal) and [@JakePT](https://github.com/JakePT) via [#1689](https://github.com/10up/ElasticPress/pull/1689) * Facets Widget presentation, replacing the `` elements in option links with a custom `.ep-checkbox presentational` div. Props [@MediaMaquina](https://github.com/MediaMaquina), [@amesplant](https://github.com/amesplant), [@JakePT](https://github.com/JakePT), and [@oscarssanchez](https://github.com/oscarssanchez) via [#1886](https://github.com/10up/ElasticPress/pull/1886) +* Confirmation for destructive WP-CLI commands. Props [@nickdaugherty](https://github.com/nickdaugherty) and [@Rahmon](https://github.com/Rahmon) via [#2120](https://github.com/10up/ElasticPress/pull/2120) Added: * Comments Indexable. Props [@dkotter](https://github.com/dkotter), [@dinhtungdu](https://github.com/dinhtungdu), [@Rahmon](https://github.com/Rahmon), and [@felipeelia](https://github.com/felipeelia) via [#1531](https://github.com/10up/ElasticPress/pull/1531) @@ -76,7 +77,6 @@ Added: * GitHub Action to auto-close non-responsive reporter feedback issues after 3 days. Props [@jeffpaul](https://github.com/jeffpaul) via [#2199](https://github.com/10up/ElasticPress/pull/2199) * Autosuggest: new `ep_autosuggest_default_selectors` filter. Props [@JakePT](https://github.com/JakePT) and [@johnbillion](https://github.com/johnbillion) via [#2181](https://github.com/10up/ElasticPress/pull/2181) * WP-CLI: Index by ID ranges with `--upper-limit-object-id` and `--lower-limit-object-id`. Props [@WPprodigy](https://github.com/WPprodigy), [@Rahmon](https://github.com/Rahmon), and [@felipeelia](https://github.com/felipeelia) via [#2171](https://github.com/10up/ElasticPress/pull/2171) -* Confirmation for destructive WP-CLI commands. Props [@nickdaugherty](https://github.com/nickdaugherty) and [@Rahmon](https://github.com/Rahmon) via [#2120](https://github.com/10up/ElasticPress/pull/2120) * `Elasticsearch::get_documents()` and `Indexable::multi_get()`. Props [@nickdaugherty](https://github.com/nickdaugherty), [@felipeelia](https://github.com/felipeelia), and [@Rahmon](https://github.com/Rahmon) via [#2210](https://github.com/10up/ElasticPress/pull/2210) * Custom sorting to features on the Features page. Props [@Rahmon](https://github.com/Rahmon) via [#1987](https://github.com/10up/ElasticPress/pull/1987) * Terms: add a new `facet` field to hold the entire term object in json format. Props [@moraleida](https://github.com/moraleida) via [#2071](https://github.com/10up/ElasticPress/pull/2071) From 7ad1831886d2a3c0d58de22f1eb7778b7685f6ee Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Thu, 15 Jul 2021 11:05:41 -0300 Subject: [PATCH 6/6] Mark 3.6.0 as requires full index (readme.txt) --- readme.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readme.txt b/readme.txt index 15a677d6f8..bbe41692c3 100644 --- a/readme.txt +++ b/readme.txt @@ -64,6 +64,8 @@ Fixed: = 3.6.0 = **Note that the upcoming ElasticPress 3.7.0 release will remove built assets from the `develop` branch, will replace `master` with `trunk`, will build a stable release version including built assets into a `stable` branch, and will include a build script should you want to build assets from a branch.** As such, please plan to update any references you have from `master` to either `stable` or `trunk` depending on whether you require built assets or not. +This version requires a full reindex. + Breaking Changes: * Autosuggest will now respect the `[name="post_type"]` input in the same form. Before it would bring all post types. Props [@mustafauysal](https://github.com/mustafauysal) and [@JakePT](https://github.com/JakePT) via [#1689](https://github.com/10up/ElasticPress/pull/1689) * Facets Widget presentation, replacing the `` elements in option links with a custom `.ep-checkbox presentational` div. Props [@MediaMaquina](https://github.com/MediaMaquina), [@amesplant](https://github.com/amesplant), [@JakePT](https://github.com/JakePT), and [@oscarssanchez](https://github.com/oscarssanchez) via [#1886](https://github.com/10up/ElasticPress/pull/1886)