Skip to content

Commit

Permalink
Merge pull request #3531 from 10up/release/4.6.1
Browse files Browse the repository at this point in the history
[Release] Version 4.6.1
  • Loading branch information
felipeelia authored Jul 5, 2023
2 parents a5f8ec3 + dc3fb86 commit 2ab656b
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 19 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.**
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
4 changes: 2 additions & 2 deletions elasticpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
30 changes: 17 additions & 13 deletions lang/elasticpress.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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"
Expand Down Expand Up @@ -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 <a href=\"%s\">this tutorial</a>."
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 ""

Expand Down Expand Up @@ -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 <a href='%s'>Facet widget</a> 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 ""

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
26 changes: 25 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.**
Expand Down

0 comments on commit 2ab656b

Please sign in to comment.