diff --git a/CHANGELOG.md b/CHANGELOG.md index 51d3dd5f6..eb0c86ca9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,27 @@ All notable changes to this project will be documented in this file, per [the Ke ### Security --> +## [4.6.1] - 2023-07-05 + +**Note that starting from the ElasticPress 5.0.0 release the `Users` feature will be moved to the [ElasticPress Labs](https://github.com/10up/ElasticPressLabs) plugin. The `Terms` and `Comments` features will remain in ElasticPress but will be available only if enabled via code. Check [our blog post](https://www.elasticpress.io/blog/2023/03/enabling-comments-and-terms-in-elasticpress-5-0) for more info.** + +### Added +* Add doc url for "Did You Mean" feature. Props [@burhandodhy](https://github.com/burhandodhy) via [#3529](https://github.com/10up/ElasticPress/pull/3529). + +### Changed +* Use `wp_cache_supports` over `wp_cache_supports_group_flush`. Props [@spacedmonkey](https://github.com/spacedmonkey) via [#3501](https://github.com/10up/ElasticPress/pull/3501). +* Update the `ep_exclude_from_search` post meta only if it is set or has some value. Props [@MARQAS](https://github.com/MARQAS) and [@columbian-chris](https://github.com/columbian-chris) via [#3521](https://github.com/10up/ElasticPress/pull/3521). + +### Fixed +* Deprecation notice in `ElasticPress\Feature\WooCommerce\Orders`. Props [@mwidmann](https://github.com/mwidmann) via [#3507](https://github.com/10up/ElasticPress/pull/3507). +* Don't apply a facet filter to the query if the filter value is empty. Props [@burhandodhy](https://github.com/burhandodhy) via [#3524](https://github.com/10up/ElasticPress/pull/3524). +* Syncing a post with empty post meta key. Props [@MARQAS](https://github.com/MARQAS) and [@oscarssanchez](https://github.com/oscarssanchez) via [#3516](https://github.com/10up/ElasticPress/pull/3516). +* Order by clauses with Elasticsearch field formats are not changed anymore. Props [@felipeelia](https://github.com/felipeelia) and [@tlovett1](https://github.com/tlovett1) via [#3512](https://github.com/10up/ElasticPress/pull/3512). +* Failed Query logs are automatically cleared on refreshing the "Status Report" page. Props [@burhandodhy](https://github.com/burhandodhy) via [#3533](https://github.com/10up/ElasticPress/pull/3533). +* Warning message on Health page when Last Sync information is not available. Props [@burhandodhy](https://github.com/burhandodhy) via [#3530](https://github.com/10up/ElasticPress/pull/3530). +* Deprecation notice: json_encode(): Passing null to parameter #2. Props [@burhandodhy](https://github.com/burhandodhy) via [#3532](https://github.com/10up/ElasticPress/pull/3532). +* Documentation of the `ep_facet_search_get_terms_args` filter. Props [@burhandodhy](https://github.com/burhandodhy) via [#3525](https://github.com/10up/ElasticPress/pull/3525). + ## [4.6.0] - 2023-06-13 **Note that starting from the ElasticPress 5.0.0 release the `Users` feature will be moved to the [ElasticPress Labs](https://github.com/10up/ElasticPressLabs) plugin. The `Terms` and `Comments` features will remain in ElasticPress but will be available only if enabled via code. Check [our blog post](https://www.elasticpress.io/blog/2023/03/enabling-comments-and-terms-in-elasticpress-5-0) for more info.** @@ -1831,6 +1852,7 @@ This is a bug fix release with some filter additions. - Initial plugin release [Unreleased]: https://github.com/10up/ElasticPress/compare/trunk...develop +[4.6.1]: https://github.com/10up/ElasticPress/compare/4.6.0...4.6.1 [4.6.0]: https://github.com/10up/ElasticPress/compare/4.5.2...4.6.0 [4.5.2]: https://github.com/10up/ElasticPress/compare/4.5.1...4.5.2 [4.5.1]: https://github.com/10up/ElasticPress/compare/4.5.0...4.5.1 diff --git a/CREDITS.md b/CREDITS.md index d0bb519dc..96d60613a 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -213,6 +213,7 @@ Thank you to all the people who have already contributed to this repository via [Alexander Z (@TorlockC)](https://github.com/TorlockC), [Nabi (@navidabdi)](https://github.com/navidabdi) [Dmitry Seleznyov (@selim13)](https://github.com/selim13) +[Martin Widmann (@mwidmann)](https://github.com/mwidmann) and [@qazaqstan2025](https://github.com/qazaqstan2025). diff --git a/elasticpress.php b/elasticpress.php index 0b90abe5d..afd0d1335 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: 4.6.0 + * Version: 4.6.1 * Requires at least: 5.6 * Requires PHP: 7.0 * 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', '4.6.0' ); +define( 'EP_VERSION', '4.6.1' ); /** * PSR-4-ish autoloading diff --git a/lang/elasticpress.pot b/lang/elasticpress.pot index 7efd6cdc8..3f301a8cf 100644 --- a/lang/elasticpress.pot +++ b/lang/elasticpress.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPL v2 or later. msgid "" msgstr "" -"Project-Id-Version: ElasticPress 4.6.0\n" +"Project-Id-Version: ElasticPress 4.6.1\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/elasticpress\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2023-06-13T13:37:04+00:00\n" +"POT-Creation-Date: 2023-07-05T16:24:55+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.7.1\n" "X-Domain: elasticpress\n" @@ -585,46 +585,50 @@ msgstr "" msgid "Recommend alternative search terms for misspelled queries or terms with no results." msgstr "" +#: includes/classes/Feature/DidYouMean/DidYouMean.php:28 +msgid "https://elasticpress.zendesk.com/hc/en-us/articles/16673223107085-Did-You-Mean" +msgstr "" + #. translators: Tutorial URL -#: includes/classes/Feature/DidYouMean/DidYouMean.php:64 +#: includes/classes/Feature/DidYouMean/DidYouMean.php:66 msgid "\"Did You Mean\" search feature provides alternative suggestions for misspelled or ambiguous search queries, enhancing search accuracy and user experience. To display suggestions in your theme, please follow this tutorial." msgstr "" -#: includes/classes/Feature/DidYouMean/DidYouMean.php:142 +#: includes/classes/Feature/DidYouMean/DidYouMean.php:144 msgid "Did you mean" msgstr "" -#: includes/classes/Feature/DidYouMean/DidYouMean.php:227 +#: includes/classes/Feature/DidYouMean/DidYouMean.php:229 #: includes/classes/Feature/Search/Synonyms.php:89 #: includes/classes/Feature/SearchOrdering/SearchOrdering.php:186 msgid "This feature requires the \"Post Search\" feature to be enabled" msgstr "" -#: includes/classes/Feature/DidYouMean/DidYouMean.php:242 +#: includes/classes/Feature/DidYouMean/DidYouMean.php:244 msgid "Search behavior when no result is found" msgstr "" -#: includes/classes/Feature/DidYouMean/DidYouMean.php:244 +#: includes/classes/Feature/DidYouMean/DidYouMean.php:246 msgid "Display the top suggestion" msgstr "" -#: includes/classes/Feature/DidYouMean/DidYouMean.php:245 +#: includes/classes/Feature/DidYouMean/DidYouMean.php:247 msgid "Display all the suggestions" msgstr "" -#: includes/classes/Feature/DidYouMean/DidYouMean.php:246 +#: includes/classes/Feature/DidYouMean/DidYouMean.php:248 msgid "Automatically redirect the user to the top suggestion" msgstr "" -#: includes/classes/Feature/DidYouMean/DidYouMean.php:284 +#: includes/classes/Feature/DidYouMean/DidYouMean.php:286 msgid "Other suggestions:" msgstr "" -#: includes/classes/Feature/DidYouMean/DidYouMean.php:384 +#: includes/classes/Feature/DidYouMean/DidYouMean.php:386 msgid "Showing results for: " msgstr "" -#: includes/classes/Feature/DidYouMean/DidYouMean.php:386 +#: includes/classes/Feature/DidYouMean/DidYouMean.php:388 msgid "No results for: " msgstr "" @@ -699,7 +703,7 @@ msgid "\"All\" will only show content that matches all facets. \"Any\" will show msgstr "" #. translators: URL -#: includes/classes/Feature/Facets/Facets.php:502 +#: includes/classes/Feature/Facets/Facets.php:505 msgid "Adds a Facet widget that administrators can add to the website's sidebars (widgetized areas), so that visitors can filter applicable content and search results by one or more taxonomy terms." msgstr "" diff --git a/package-lock.json b/package-lock.json index 9f7af18fc..68998ce0c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "elasticpress", - "version": "4.6.0", + "version": "4.6.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "elasticpress", - "version": "4.6.0", + "version": "4.6.1", "license": "GPL-2.0-or-later", "dependencies": { "@10up/component-tooltip": "^2.0.0", diff --git a/package.json b/package.json index 67672da57..059e2f577 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "elasticpress", - "version": "4.6.0", + "version": "4.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 0cc59bf53..e75eccd80 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: 6.2 -Stable tag: 4.6.0 +Stable tag: 4.6.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -81,6 +81,30 @@ For sure! Feel free to submit ideas or feedback in general to our [GitHub repo]( == Changelog == += 4.6.1 - 2023-07-05 = + +**Note that starting from the ElasticPress 5.0.0 release the `Users` feature will be moved to the [ElasticPress Labs](https://github.com/10up/ElasticPressLabs) plugin. The `Terms` and `Comments` features will remain in ElasticPress but will be available only if enabled via code. Check [our blog post](https://www.elasticpress.io/blog/2023/03/enabling-comments-and-terms-in-elasticpress-5-0) for more info.** + +__Added:__ + +* Add doc url for "Did You Mean" feature. Props [@burhandodhy](https://github.com/burhandodhy). + +__Changed:__ + +* Use `wp_cache_supports` over `wp_cache_supports_group_flush`. Props [@spacedmonkey](https://github.com/spacedmonkey). +* Update the `ep_exclude_from_search` post meta only if it is set or has some value. Props [@MARQAS](https://github.com/MARQAS) and [@columbian-chris](https://github.com/columbian-chris). + +__Fixed:__ + +* Deprecation notice in `ElasticPress\Feature\WooCommerce\Orders`. Props [@mwidmann](https://github.com/mwidmann). +* Don't apply a facet filter to the query if the filter value is empty. Props [@burhandodhy](https://github.com/burhandodhy). +* Syncing a post with empty post meta key. Props [@MARQAS](https://github.com/MARQAS) and [@oscarssanchez](https://github.com/oscarssanchez). +* Order by clauses with Elasticsearch field formats are not changed anymore. Props [@felipeelia](https://github.com/felipeelia) and [@tlovett1](https://github.com/tlovett1). +* Failed Query logs are automatically cleared on refreshing the "Status Report" page. Props [@burhandodhy](https://github.com/burhandodhy). +* Warning message on Health page when Last Sync information is not available. Props [@burhandodhy](https://github.com/burhandodhy). +* Deprecation notice: json_encode(): Passing null to parameter #2. Props [@burhandodhy](https://github.com/burhandodhy). +* Documentation of the `ep_facet_search_get_terms_args` filter. Props [@burhandodhy](https://github.com/burhandodhy). + = 4.6.0 - 2023-06-13 = **Note that starting from the ElasticPress 5.0.0 release the `Users` feature will be moved to the [ElasticPress Labs](https://github.com/10up/ElasticPressLabs) plugin. The `Terms` and `Comments` features will remain in ElasticPress but will be available only if enabled via code. Check [our blog post](https://www.elasticpress.io/blog/2023/03/enabling-comments-and-terms-in-elasticpress-5-0) for more info.**