PluginProbe
ElasticPress / 5.0.1
ElasticPress v5.0.1
5.3.5 5.3.4 3.6.5 3.6.6 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.7.0 4.7.1 4.7.2 5.0.0 5.0.1 5.0.2 All 108 releases
elasticpress / readme.txt

readme.txt in ElasticPress 5.0.1, at readme.txt

2,143 lines 169.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 === ElasticPress ===
2 Contributors: 10up, tlovett1, vhauri, tott, felipeelia, oscarssanchez, cmmarslender
3 Tags: performance, slow, search, elasticsearch, fuzzy, facet, aggregation, searching, autosuggest, suggest, elastic, advanced search, woocommerce, related posts, woocommerce
4 Tested up to: 6.4
5 Stable tag: 5.0.1
6 License: GPLv2 or later
7 License URI: https://www.gnu.org/licenses/gpl-2.0.html
8
9 A fast and flexible search and query engine for WordPress.
10
11 == Description ==
12 ElasticPress, a fast and flexible search and query engine for WordPress, enables WordPress to find or “query” relevant content extremely fast through a variety of highly customizable features. WordPress out-of-the-box struggles to analyze content relevancy and can be very slow. ElasticPress supercharges your WordPress website making for happier users and administrators. The plugin even contains features for popular plugins.
13
14 Here is a list of the amazing ElasticPress features included in the plugin:
15
16 __Search__: Instantly find the content you’re looking for. The first time.
17
18 __Instant Results__: A built for WordPress search experience that bypasses WordPress for optimal performance. Instant Results routes search queries through a dedicated API, separate from WordPress, returning results up to 10x faster than previous versions of ElasticPress.
19
20 __WooCommerce__: With ElasticPress, filtering WooCommerce product results is fast and easy. Your customers can find and buy exactly what they're looking for, even if you have a large or complex product catalog.
21
22 __Related Posts__: ElasticPress understands data in real time, so it can instantly deliver engaging and precise related content with no impact on site performance.
23
24 __Protected Content__: Optionally index all of your content, including private and unpublished content, to speed up searches and queries in places like the administrative dashboard.
25
26 __Documents__: Indexes text inside of popular file types, and adds those files types to search results.
27
28 __Autosuggest__: Suggest relevant content as text is entered into the search field.
29
30 __Filters__: Add controls to your website to filter content by one or more taxonomies.
31
32 __Comments__: Indexes your comments and provides a widget with type-ahead search functionality. It works with WooCommerce product reviews out-of-the-box.
33
34 == Frequently Asked Questions ==
35
36 = How does ElasticPress work? =
37
38 The ElasticPress plugin enables you to connect your WordPress site to the ElasticPress.io service, a SaaS solution that provides an enhanced search experience while reducing load on your WordPress site. For advanced users familiar with both WordPress and Elasticsearch hosting and management, ElasticPress also offers support for plugin functionality using an Elasticsearch instance. Please keep in mind that there are multiple security, performance, and configuration considerations to take into account if you take this approach.
39
40 = I have to use an in-house or custom Elasticsearch solution due to policy or institutional requirements. Can you still help? =
41
42 If circumstances prevent the use of a SaaS solution like ElasticPress.io, we can also provide [consulting](https://www.elasticpress.io/elasticpress-consulting/) around installation and configuration of custom Elasticsearch instances.
43
44 = Where can I find ElasticPress documentation and user guides? =
45
46 Please refer to [GitHub](https://github.com/10up/ElasticPress) for detailed usage instructions and documentation. FAQs and tutorials can be also found on our [support site](https://elasticpress.zendesk.com/hc/en-us).
47
48 = I have a problem with the plugin. Where can I get help? =
49
50 If you have identified a bug or would like to suggest an enhancement, please refer to our [GitHub repo](https://github.com/10up/ElasticPress). We do not provide support here at WordPress.org forums.
51
52 If you are an ElasticPress.io customer, please open a ticket in your account dashboard. If you need a custom solution, we also offer [consulting](https://www.elasticpress.io/elasticpress-consulting/).
53
54 = Where do I report security bugs? =
55
56 You can report any security bugs found in the source code of ElasticPress through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/elasticpress). The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin.
57
58 = Is ElasticPress compatible with OpenSearch or Elasticsearch X.Y? =
59
60 ElasticPress requirements can be found in the [Requirements section](https://github.com/10up/ElasticPress#requirements) of our GitHub repository. If your solution relies on a different server or version, you may find additional information on our [Compatibility documentation page](https://10up.github.io/ElasticPress/tutorial-compatibility.html).
61
62 = I really like ElasticPress! Can I contribute? =
63
64 For sure! Feel free to submit ideas or feedback in general to our [GitHub repo](https://github.com/10up/ElasticPress). If you can, also consider sending us [a review](https://wordpress.org/support/plugin/elasticpress/reviews/#new-post).
65
66 == Installation ==
67 1. First, you will need to properly [install and configure](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup.html) Elasticsearch.
68 2. Activate the plugin in WordPress.
69 3. In the ElasticPress settings page, input your Elasticsearch host.
70 4. Sync your content by clicking the sync icon.
71 5. Enjoy!
72
73 == Screenshots ==
74 1. Features Page
75 2. Search Fields & Weighting Dashboard
76 3. Sync Page
77 4. Synonyms Dashboard
78 5. Instant Results modal
79
80 == Changelog ==
81
82 = 5.0.1 - 2023-12-12 =
83
84 __Added:__
85
86 * Failed queries in the Index Health page will now be outputted with their error messages. Props [@felipeelia](https://github.com/felipeelia) and [@pvnanini](https://github.com/pvnanini).
87
88 __Fixed:__
89
90 * Queries failing due to a "request body is required" error. Props [@felipeelia](https://github.com/felipeelia).
91 * Fatal error when site has a bad cookie. Props [@burhandodhy](https://github.com/burhandodhy).
92 * Broken i18n of some strings. Props [@felipeelia](https://github.com/felipeelia) and [@iazema](https://github.com/iazema).
93 * PHP Warning on term archive pages when the term was not found. Props [@felipeelia](https://github.com/felipeelia) and [@Igor-Yavych](https://github.com/Igor-Yavych).
94 * PHP warning when using block themes. Props [@felipeelia](https://github.com/felipeelia) and [@tropicandid](https://github.com/tropicandid).
95 * Several typos. Props [@szepeviktor](https://github.com/szepeviktor).
96 * Index cleanup process - offset being zeroed too late. Props [@pknap](https://github.com/pknap).
97 * PHP warning in site health page. Props [@turtlepod](https://github.com/turtlepod).
98 * ReactDOM.render is no longer supported in React 18. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
99 * E2e tests with WordPress 6.4. Props [@felipeelia](https://github.com/felipeelia).
100 * PHP Setup in GitHub Actions. Props [@felipeelia](https://github.com/felipeelia).
101
102 = 5.0.0 - 2023-11-01 =
103
104 **ElasticPress 5.0.0 contains some important changes. Make sure to read these highlights before upgrading:**
105
106 * This version does not require a full reindex but it is recommended, especially for websites using synonyms containing spaces.
107 * Meta keys are not indexed by default anymore. The new Weighting Dashboard allows admin users to mark meta fields as indexables. The new `ep_prepare_meta_allowed_keys` filter allows to add meta keys programmatically.
108 * Features now have their fields declared in JSON. Custom features may need to implement the `set_settings_schema()` method to work.
109 * The `Users` feature was moved to the [ElasticPress Labs](https://github.com/10up/ElasticPressLabs) plugin and is no longer available in this plugin. If you use this feature, make sure to install and configure EP Labs before upgrading.
110 * The `Terms` and `Comments` features are now hidden by default for sites that do not have them active yet. Check [our blog post](https://www.elasticpress.io/blog/2023/03/enabling-comments-and-terms-in-elasticpress-5-0) for more info.
111 * New minimum versions are:
112 * Elasticsearch: 5.2
113 * WordPress: 6.0
114 * PHP: 7.4
115
116 __Added__:
117
118 * New Sync page. Props [@JakePT](https://github.com/JakePT), [@felipeelia](https://github.com/felipeelia), [@apurvrdx1](https://github.com/apurvrdx1), [@brandwaffle](https://github.com/brandwaffle), [@anjulahettige](https://github.com/anjulahettige), [@burhandodhy](https://github.com/burhandodhy), and [@MARQAS](https://github.com/MARQAS).
119 * New feature settings screen. Props [@JakePT](https://github.com/JakePT), [@felipeelia](https://github.com/felipeelia), [@apurvrdx1](https://github.com/apurvrdx1), [@brandwaffle](https://github.com/brandwaffle), and [@anjulahettige](https://github.com/anjulahettige).
120 * New weighting dashboard with support for making meta fields searchable. Props [@JakePT](https://github.com/JakePT), [@mehidi258](https://github.com/mehidi258), and [@felipeelia](https://github.com/felipeelia).
121 * New Date Filter Block. Props [@burhandodhy](https://github.com/burhandodhy), [@JakePT](https://github.com/JakePT), and [@felipeelia](https://github.com/felipeelia).
122 * Sync history to the Sync page. Props [@JakePT](https://github.com/JakePT), [@felipeelia](https://github.com/felipeelia), [@apurvrdx1](https://github.com/apurvrdx1), [@brandwaffle](https://github.com/brandwaffle), and [@anjulahettige](https://github.com/anjulahettige).
123 * Final status of syncs (success, with errors, failed, or aborted.) Props [@felipeelia](https://github.com/felipeelia) and [@JakePT](https://github.com/JakePT).
124 * REST API endpoint at `elasticpress/v1/features` for updating feature settings. Props [@JakePT](https://github.com/JakePT).
125 * New `ElasticsearchErrorInterpreter` class. Props [@felipeelia](https://github.com/felipeelia).
126 * New `default_search` analyzer to differentiate what is applied during sync and search time. Props [@felipeelia](https://github.com/felipeelia) and [@MARQAS](https://github.com/MARQAS).
127 * The sync page now describes what triggered the current sync, and previous syncs. Props [@JakePT](https://github.com/JakePT).
128 * Weighting and Synonyms Dashboards to multisites. Props [@felipeelia](https://github.com/felipeelia).
129 * No-cache headers to sync calls. Props [@felipeelia](https://github.com/felipeelia).
130
131 __Changed:__
132
133 * Abstracted Sync page logic into a provider pattern. Props [@JakePT](https://github.com/JakePT).
134 * Moved syncing from an `admin-ajax.php` callback to a custom REST API endpoint with support for additional arguments. Props [@JakePT](https://github.com/JakePT).
135 * Store previous syncs info, changed option name from `ep_last_index` to `ep_sync_history`. Props [@felipeelia](https://github.com/felipeelia) and [@JakePT](https://github.com/JakePT).
136 * Features settings declared as JSON. Props [@felipeelia](https://github.com/felipeelia) and [@JakePT](https://github.com/JakePT).
137 * Tweaked layout and notifications style on the Status Report screen for consistency with the updated Sync page. Props [@JakePT](https://github.com/JakePT).
138 * Moved REST API endpoint definitions to controller classes. Props [@JakePT](https://github.com/JakePT).
139 * SyncManager array queues are now indexed by the blog ID. Props [@sathyapulse](https://github.com/sathyapulse) and [@felipeelia](https://github.com/felipeelia).
140 * Comments and Terms are now hidden by default. Props [@felipeelia](https://github.com/felipeelia).
141 * WooCommerce-related hooks are now removed when switching to a site that does not have WC active. Props [@felipeelia](https://github.com/felipeelia) and [@MARQAS](https://github.com/MARQAS).
142 * Run e2e tests against the minimum supported WordPress version. Props [@felipeelia](https://github.com/felipeelia).
143 * Several tweaks in the Features settings API. Props [@JakePT](https://github.com/JakePT) via [#3708](https://github.com/10up/ElasticPress/pull/3708).
144 * EP Settings are now reverted if it is not possible to connect to the new ES Server. Props [@felipeelia](https://github.com/felipeelia), [@burhandodhy](https://github.com/burhandodhy), and [@scottbuscemi](https://github.com/scottbuscemi).
145 * Node packages updated. Props [@felipeelia](https://github.com/felipeelia).
146 * Updated the labels of feature settings and options for consistency and clarity. Props [@JakePT](https://github.com/JakePT).
147 * Depending on the requirements, some feature settings are now saved to be applied after a full sync. Props [@felipeelia](https://github.com/felipeelia) and [@JakePT](https://github.com/JakePT).
148 * Minimum requirements. Props [@felipeelia](https://github.com/felipeelia) and [@brandwaffle](https://github.com/brandwaffle).
149 * Old features will have their settings displayed based on their default setting values. Props [@felipeelia](https://github.com/felipeelia) and [@JakePT](https://github.com/JakePT).
150 * Radio and checkbox settings were changed from booleans to strings. Props [@felipeelia](https://github.com/felipeelia) and [@JakePT](https://github.com/JakePT).
151 * The troubleshooting article link was updated. Props [@felipeelia](https://github.com/felipeelia) and [@anjulahettige](https://github.com/anjulahettige).
152
153 __Deprecated:__
154
155 * The `IndexHelper::get_last_index` method was replaced by `IndexHelper::get_last_sync`.
156 * The `FailedQueries::maybe_suggest_solution_for_es` method was replaced by `ElasticsearchErrorInterpreter::maybe_suggest_solution_for_es`.
157 * `Weighting::render_settings_section`, `Weighting::handle_save`, `Weighting::redirect`, and `Weighting::save_weighting_configuration` were deprecated in favor of React components.
158
159 __Removed:__
160
161 * Users-related files from the main plugin. Props [@felipeelia](https://github.com/felipeelia).
162 * Removed mapping files related to older versions of Elasticsearch. Props [@MARQAS](https://github.com/MARQAS).
163
164 __Fixed:__
165
166 * Docblock for the `ep_facet_renderer_class` filter. Props [@misfist](https://github.com/misfist).
167 * Instant Results console warning. Props [@burhandodhy](https://github.com/burhandodhy).
168 * Total fields limit message interpretation. Props [@felipeelia](https://github.com/felipeelia) [@JakePT](https://github.com/JakePT).
169 * End to end tests intermittent failures. Props [@felipeelia](https://github.com/felipeelia).
170 * React warning on Sync page. Props [@burhandodhy](https://github.com/burhandodhy).
171 * Content was not showing properly on the tooltop on install page. Props [@burhandodhy](https://github.com/burhandodhy).
172 * Redirect to correct sync url after enabling feature that requires a new sync. Props [@burhandodhy](https://github.com/burhandodhy).
173 * Post type setting wasn't respected during sync. Props [@burhandodhy](https://github.com/burhandodhy).
174 * Fix a JS error appearing when sync requests are intentionally stopped. Props [@burhandodhy](https://github.com/burhandodhy).
175 * Features description copy. Props [@felipeelia](https://github.com/felipeelia), [@burhandodhy](https://github.com/burhandodhy), and [@MARQAS](https://github.com/MARQAS).
176 * Endpoint URL field is not a URL type field. Props [@burhandodhy](https://github.com/burhandodhy).
177 * WooCommerce feature not autoactivating. Props [@felipeelia](https://github.com/felipeelia).
178 * Elasticsearch errors interpretation. Props [@felipeelia](https://github.com/felipeelia).
179 * Deactivating a feature via WP-CLI also takes into account draft states. Props [@felipeelia](https://github.com/felipeelia).
180
181 = 4.7.2 - 2023-10-10 =
182
183 __Added:__
184
185 * New `ep_highlight_number_of_fragments` filter. Props [@dgnorrod](https://github.com/dgnorrod) and [@felipeelia](https://github.com/felipeelia).
186 * >=PHP 7.0 version check. Props [@bmarshall511](https://github.com/bmarshall511) and [@felipeelia](https://github.com/felipeelia).
187 * GitHub action to automatically open a new issue when a new version of WordPress is released. Props [@felipeelia](https://github.com/felipeelia).
188
189 __Removed:__
190
191 * Unnecessary aliases in use statements. Props [@felipeelia](https://github.com/felipeelia).
192
193 __Fixed:__
194
195 * Calls to `ep_woocommerce_default_supported_post_types` were ignored. Props [@felipeelia](https://github.com/felipeelia) and [@MARQAS](https://github.com/MARQAS).
196 * WooCommerce Orders search field disappearing when Orders Autosuggest receives an unexpected response from ElasticPress.io. Props [@JakePT](https://github.com/JakePT) and [@anjulahettige](https://github.com/anjulahettige).
197 * Call composer while building docs. Props [@felipeelia](https://github.com/felipeelia).
198 * Make sure `post__not_in` and `post_status` are translated into arrays, not objects. Props [@felipeelia](https://github.com/felipeelia).
199 * Updated phpDoc entries. Props [@renatonascalves](https://github.com/renatonascalves).
200 * Docblock for `Utils\get_option` return type. Props [@felipeelia](https://github.com/felipeelia).
201 * Docblock for `ep_capability` and `ep_network_capability` filters. Props [@burhandodhy](https://github.com/burhandodhy).
202 * PHP warning related to the Autosuggest template generation. Props [@felipeelia](https://github.com/felipeelia).
203 * WooCommerce unit tests running multiple times. Props [@felipeelia](https://github.com/felipeelia).
204 * Display the meta range facet block in versions prior to WP 6.1. Props [@felipeelia](https://github.com/felipeelia) and [@MARQAS](https://github.com/MARQAS).
205 * Number of expected arguments for `add_attachment` and `edit_attachment`. Props [@burhandodhy](https://github.com/burhandodhy).
206 * Error while running `composer install` on PHP 8. Props [@burhandodhy](https://github.com/burhandodhy).
207
208 __Security:__
209
210 * Bumped `composer/composer` from 2.5.8 to 2.6.4. Props [@dependabot](https://github.com/dependabot).
211
212
213 = 4.7.1 - 2023-08-31 =
214
215 **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.**
216
217 __Added:__
218
219 * Synonyms and weighting settings added to the status report. Props [@felipeelia](https://github.com/felipeelia).
220
221 __Changed:__
222
223 * Composer packages are namespaced by Strauss. Props [@felipeelia](https://github.com/felipeelia) and [@junaidbhura](https://github.com/junaidbhura).
224 * E2e tests now log the formatted query info from Debug Bar ElasticPress. Props [@felipeelia](https://github.com/felipeelia).
225
226 __Fixed:__
227
228 * WooCommerce products sorted by popularity are now always sorted in a descending order. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
229 * E2e tests with WordPress 6.3. Props [@felipeelia](https://github.com/felipeelia).
230
231 = 4.7.0 - 2023-08-10 =
232
233 **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.**
234
235 __Added:__
236
237 * Exclude Media Attachments from search results. Props [@burhandodhy](https://github.com/burhandodhy).
238 * New `Default to Site Language` option in the language dropdown in ElasticPress' settings page. Props [@felipeelia](https://github.com/felipeelia).
239 * Compatibility with block themes for the Facet meta blocks. Props [@felipeelia](https://github.com/felipeelia).
240 * Integrate Did You Mean feature in the Instant Results. Props [@burhandodhy](https://github.com/burhandodhy) and [@JakePT](https://github.com/JakePT).
241 * All blocks now support styling features in themes that support them. Props [@JakePT](https://github.com/JakePT).
242 * Descriptions and keywords have been added to all blocks. Props [@JakePT](https://github.com/JakePT).
243 * New `ep_stop` filter, that changes the stop words used according to the language set. Props [@felipeelia](https://github.com/felipeelia).
244 * New `get-index-settings` WP-CLI command. Props [@felipeelia](https://github.com/felipeelia).
245 * New `ep_facet_tax_special_slug_taxonomies` filter. Props [@oscarssanchez](https://github.com/oscarssanchez).
246 * New `--stop-on-error` flag to the `sync` command. Props [@oscarssanchez](https://github.com/oscarssanchez).
247 * New `get` WP-CLI command. Props [@felipeelia](https://github.com/felipeelia).
248 * Transient utility functions. Props [@felipeelia](https://github.com/felipeelia).
249 * Indices' language settings in status reports. Props [@felipeelia](https://github.com/felipeelia).
250 * Initial changes to implement a DI Container. Props [@felipeelia](https://github.com/felipeelia) and [@tott](https://github.com/tott).
251 * New `$only_indexable` parameter to the `Utils\get_sites()` function. Props [@felipeelia](https://github.com/felipeelia).
252
253 __Changed:__
254
255 * WooCommerce feature only integrates with queries that are the main query, a search, or have ep_integrate set as true. Props [@felipeelia](https://github.com/felipeelia).
256 * Miscellaneous changes to all blocks, including their category, names, and code structure. Props [@JakePT](https://github.com/JakePT), [@oscarssanchez](https://github.com/oscarssanchez), and [@felipeelia](https://github.com/felipeelia).
257 * The Facets feature was renamed to Filters. Props [@JakePT](https://github.com/JakePT) and [@felipeelia](https://github.com/felipeelia).
258 * The WooCommerce feature was refactored, separating code related to products and orders. Props [@felipeelia](https://github.com/felipeelia).
259 * Transients deletion during uninstall. Props [@felipeelia](https://github.com/felipeelia).
260 * Bump Elasticsearch version to 7.10.2 for E2E tests. Props [@burhandodhy](https://github.com/burhandodhy).
261 * Refactor `get_settings()` usage inside ElasticPress features. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@felipeelia](https://github.com/felipeelia).
262 * In a multisite, if a site is indexable or not is now stored in site meta, instead of a blog option. Props [@felipeelia](https://github.com/felipeelia).
263 * Autosuggest authenticated requests are not cached anymore and are only sent during the sync process or when the weighting dashboard is saved. Props [@felipeelia](https://github.com/felipeelia) and [@kovshenin](https://github.com/kovshenin).
264 * Use `createRoot` instead of `render` to render elements. Props [@oscarssanchez](https://github.com/oscarssanchez), [@burhandodhy](https://github.com/burhandodhy), [@JakePT](https://github.com/JakePT), and [@felipeelia](https://github.com/felipeelia).
265 * Moved methods to abstract Facet classes. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@felipeelia](https://github.com/felipeelia).
266 * Only display available languages in the Settings screen. Props [@felipeelia](https://github.com/felipeelia) and [@JakePT](https://github.com/JakePT).
267 * WooCommerce feature description. Props [@brandwaffle](https://github.com/brandwaffle), [@felipeelia](https://github.com/felipeelia), and [@JakePT](https://github.com/JakePT).
268
269 __Deprecated:__
270
271 * `Autosuggest::delete_cached_query()` was deprecated without a replacement. See [#3566](https://github.com/10up/ElasticPress/pull/3566).
272 * `EP_Uninstaller::delete_related_posts_transients()` and `EP_Uninstaller::delete_total_fields_limit_transients()` was merged into `EP_Uninstaller::delete_transients_by_name`. See [#3548](https://github.com/10up/ElasticPress/pull/3548).
273 * The `ep_woocommerce_default_supported_post_types` filter was split into `ep_woocommerce_orders_supported_post_types` and `ep_woocommerce_products_supported_post_types`. See [#3502](https://github.com/10up/ElasticPress/pull/3502).
274 * The `ep_woocommerce_supported_taxonomies` filter is now `ep_woocommerce_products_supported_taxonomies`. See [#3502](https://github.com/10up/ElasticPress/pull/3502).
275 * All old `WooCommerce\Orders` methods were migrated to the new `WooCommerce\OrdersAutosuggest` class. See [#3502](https://github.com/10up/ElasticPress/pull/3502).
276 * The `Elasticsearch::clear_total_fields_limit_cache()` method was replaced by `Elasticsearch::clear_index_settings_cache()`. See [#3552](https://github.com/10up/ElasticPress/pull/3552).
277 * Several methods that were previously part of the `WooCommerce\WooCommerce` class were moved to the new `WooCommerce\Product` class. See [#3502](https://github.com/10up/ElasticPress/pull/3502).
278 * Several methods that were specific to Facet types were moved to the new `Block` and `Renderer` abstract classes. See [#3499](https://github.com/10up/ElasticPress/pull/3499).
279
280 __Fixed:__
281
282 * Same error message being displayed more than once on the Dashboard sync. Props [@felipeelia](https://github.com/felipeelia), [@MARQAS](https://github.com/MARQAS), [@tott](https://github.com/tott), and [@wildberrylillet](https://github.com/wildberrylillet).
283 * Sync media item when attaching or detaching media. Props [@MARQAS](https://github.com/MARQAS) and [@felipeelia](https://github.com/felipeelia).
284 * Display "Loading results" instead of "0 results" on first search using Instant Results. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@JakePT](https://github.com/JakePT).
285 * Highlighting returning inaccurate post title when partial/no term match on Instant Results. Props [@oscarssanchez](https://github.com/oscarssanchez), [@JakePT](https://github.com/JakePT), and [@tomi10up](https://github.com/tomi10up).
286 * Warning in Orders Autosuggest: `"Creation of dynamic property $search_template is deprecated"`. Props [@burhandodhy](https://github.com/burhandodhy).
287 * Warning while using PHP 8.1+: `Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated`. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
288 * Warning in the metadata range facet renderer: `Undefined array key "is_preview"`. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
289
290 __Security:__
291
292 * Bumped `word-wrap` from 1.2.3 to 1.2.4. Props [@dependabot](https://github.com/dependabot).
293 * Bumped `tough-cookie` from 4.1.2 to 4.1.3 and `@cypress/request` from 2.88.10 to 2.88.12. Props [@dependabot](https://github.com/dependabot).
294
295 = 4.6.1 - 2023-07-05 =
296
297 **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.**
298
299 __Added:__
300
301 * Add doc url for "Did You Mean" feature. Props [@burhandodhy](https://github.com/burhandodhy).
302
303 __Changed:__
304
305 * Use `wp_cache_supports` over `wp_cache_supports_group_flush`. Props [@spacedmonkey](https://github.com/spacedmonkey).
306 * 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).
307
308 __Fixed:__
309
310 * Deprecation notice in `ElasticPress\Feature\WooCommerce\Orders`. Props [@mwidmann](https://github.com/mwidmann).
311 * Don't apply a facet filter to the query if the filter value is empty. Props [@burhandodhy](https://github.com/burhandodhy).
312 * Syncing a post with empty post meta key. Props [@MARQAS](https://github.com/MARQAS) and [@oscarssanchez](https://github.com/oscarssanchez).
313 * Order by clauses with Elasticsearch field formats are not changed anymore. Props [@felipeelia](https://github.com/felipeelia) and [@tlovett1](https://github.com/tlovett1).
314 * Failed Query logs are automatically cleared on refreshing the "Status Report" page. Props [@burhandodhy](https://github.com/burhandodhy).
315 * Warning message on Health page when Last Sync information is not available. Props [@burhandodhy](https://github.com/burhandodhy).
316 * Deprecation notice: json_encode(): Passing null to parameter #2. Props [@burhandodhy](https://github.com/burhandodhy).
317 * Documentation of the `ep_facet_search_get_terms_args` filter. Props [@burhandodhy](https://github.com/burhandodhy).
318
319 = 4.6.0 - 2023-06-13 =
320
321 **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.**
322
323 __Added:__
324
325 * 'Did you mean' feature. Props [@burhandodhy](https://github.com/burhandodhy), [@felipeelia](https://github.com/felipeelia), [@brandwaffle](https://github.com/brandwaffle), and [@tott](https://github.com/tott).
326 * Facet by Post type. Props [@oscarssanchez](https://github.com/oscarssanchez), [@felipeelia](https://github.com/felipeelia), and [@burhandodhy](https://github.com/burhandodhy).
327 * Two new options to disable weighting results by date in WooCommerce products related queries. Props [@MARQAS](https://github.com/MARQAS) and [@felipeelia](https://github.com/felipeelia).
328 * Sort meta queries by named clauses and sort by different meta types. Props [@felipeelia](https://github.com/felipeelia) and [@selim13](https://github.com/selim13).
329 * New `--force` flag in the sync WP-CLI command, to stop any other ongoing syncs. Props [@felipeelia](https://github.com/felipeelia) and [@tomjn](https://github.com/tomjn).
330 * Installers added to composer.json, so `installer-paths` works without any additional requirement. Props [@felipeelia](https://github.com/felipeelia) and [@tomjn](https://github.com/tomjn).
331 * Links to Patchstack Vulnerability Disclosure Program. Props [@felipeelia](https://github.com/felipeelia) and [@brandwaffle](https://github.com/brandwaffle).
332 * E2E tests for Password Protected Post. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
333
334 __Changed:__
335
336 * If no index is found, the "failed queries" message will be replaced with a prompt to sync. Props [@felipeelia](https://github.com/felipeelia).
337 * Bumped Cypress version to v12. Props [@felipeelia](https://github.com/felipeelia).
338 * Documentation partially moved to Zendesk. Props [@felipeelia](https://github.com/felipeelia) and [@brandwaffle](https://github.com/brandwaffle).
339
340 __Fixed:__
341
342 * Fatal error related to the `maybe_process_error_limit` function. Props [@burhandodhy](https://github.com/burhandodhy).
343 * Display the error message returned by Elasticsearch if a mapping operation fails. Props [@felipeelia](https://github.com/felipeelia) via [#3464](https://github.com/10up/ElasticPress/pull/3464).
344 * Negative `menu_order` values being transformed into positive numbers. Props [@felipeelia](https://github.com/felipeelia) and [@navidabdi](https://github.com/navidabdi).
345 * Password protected content being indexed upon save when Protected Content is not active. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
346 * Error message when the Elasticsearch server is not available during the put mapping operation. Props [@felipeelia](https://github.com/felipeelia).
347
348 = 4.5.2 - 2023-04-19 =
349
350 **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.**
351
352 __Added:__
353
354 * New `ep_enable_query_integration_during_indexing` filter. Props [@rebeccahum](https://github.com/rebeccahum).
355
356 __Changed:__
357
358 * Automated message sent in GitHub issues after 3 days of inactivity. Props [@felipeelia](https://github.com/felipeelia) and [@brandwaffle](https://github.com/brandwaffle).
359
360 __Fixed:__
361
362 * Authenticated requests for autosuggest were not being properly cached while using external object cache. Props [@felipeelia](https://github.com/felipeelia).
363
364 = 4.5.1 - 2023-04-11 =
365
366 **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.**
367
368 __Added:__
369
370 * New `ep_instant_results_args_schema` filter for filtering Instant Results arguments schema. Props [@JakePT](https://github.com/JakePT).
371 * New `ep.Autosuggest.navigateCallback` JS filter for changing the behavior of a clicked element on Autosuggest. Props [@oscarssanchez](https://github.com/oscarssanchez), [@felipeelia](https://github.com/felipeelia), and [@JakePT](https://github.com/JakePT).
372 * New `ep.Autosuggest.fetchOptions` JS filter for filtering Elasticsearch fetch configuration of Autosuggest. Props [@tlovett1](https://github.com/,tlovett1), [@MARQAS](https://github.com/MARQAS), and [@felipeelia](https://github.com/felipeelia).
373 * Code linting before pushing to the repository. Props [@felipeelia](https://github.com/felipeelia).
374 * Unit tests for the Status Reports feature. Props [@burhandodhy](https://github.com/burhandodhy).
375
376 __Changed:__
377
378 * Meta field facets now only filter based on fields selected on blocks. The new `ep_facet_should_check_if_allowed` filter reverts this behavior. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
379
380 __Fixed:__
381
382 * Instant Results crashing when using taxonomies as facets that are attached to both searchable and non-searchable post types. Props [@JakePT](https://github.com/JakePT).
383 * Fatal error during plugin uninstall. Props [@felipeelia](https://github.com/felipeelia).
384 * Compatibility issue which prevented Instant Results from working in WordPress 6.2. Props [@JakePT](https://github.com/JakePT).
385 * Fatal error while syncing on older versions of WordPress. Props [@felipeelia](https://github.com/felipeelia), [@TorlockC](https://github.com/TorlockC).
386 * Facets removing taxonomy parameters in the URL when not using pretty permalinks. Props [@MARQAS](https://github.com/MARQAS) and [@felipeelia](https://github.com/felipeelia).
387 * JS errors when creating Facet blocks in WP 6.2. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
388 * `ep_index_meta` option blowing up on an indexing process with many errors. Props [@rebeccahum](https://github.com/rebeccahum) and [@felipeelia](https://github.com/felipeelia).
389 * Typo in `index_output` WP-CLI command help text. Props [@bratvanov](https://github.com/bratvanov).
390 * React warning messages for the comments block. Props [@burhandodhy](https://github.com/burhandodhy).
391 * Fixed `action_edited_term` to call `kill_sync` in SyncManager for post Indexable. Props [@rebeccahum](https://github.com/rebeccahum).
392 * Undefined array key `'index'` during sync. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
393 * Meta Range Facet Block e2e tests. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@felipeelia](https://github.com/felipeelia).
394 * Users e2e tests using WP 6.2. Props [@felipeelia](https://github.com/felipeelia).
395
396 __Security:__
397
398 * Bumped `webpack` from 5.75.0 to 5.76.3. Props [@dependabot](https://github.com/dependabot).
399
400 = 4.5.0 - 2023-03-09 =
401
402 **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.**
403
404 ElasticPress 4.5.0 release highlights:
405
406 * Autosuggest for WooCommerce Orders ([#3175](https://github.com/10up/ElasticPress/pull/3175), [#3308](https://github.com/10up/ElasticPress/pull/3308), [#3321](https://github.com/10up/ElasticPress/pull/3321), [#3324](https://github.com/10up/ElasticPress/pull/3324), [#3323](https://github.com/10up/ElasticPress/pull/3323), [#3310](https://github.com/10up/ElasticPress/pull/3310), [#3349](https://github.com/10up/ElasticPress/pull/3349), [#3339](https://github.com/10up/ElasticPress/pull/3339), and [#3363](https://github.com/10up/ElasticPress/pull/3363))
407 * New Facet by Meta Range block ([#3289](https://github.com/10up/ElasticPress/pull/3289), [#3342](https://github.com/10up/ElasticPress/pull/3342), [#3337](https://github.com/10up/ElasticPress/pull/3337), [#3361](https://github.com/10up/ElasticPress/pull/3361), [#3364](https://github.com/10up/ElasticPress/pull/3364), [#3368](https://github.com/10up/ElasticPress/pull/3368), and [#3365](https://github.com/10up/ElasticPress/pull/3365))
408 * ElasticPress.io messages system ([#3162](https://github.com/10up/ElasticPress/pull/3162) and [#3376](https://github.com/10up/ElasticPress/pull/3376))
409 * Indices of disabled features will be deleted during a full sync ([#3261](https://github.com/10up/ElasticPress/pull/3261))
410 * WooCommerce Queries ([#3259](https://github.com/10up/ElasticPress/pull/3259) and [#3362](https://github.com/10up/ElasticPress/pull/3362))
411
412 __Added:__
413
414 * Autosuggest for WooCommerce Orders. Props [@JakePT](https://github.com/JakePT) and [@felipeelia](https://github.com/felipeelia).
415 * New Facet by Meta Range block (currently in Beta.) Props [@felipeelia](https://github.com/felipeelia).
416 * Option to display term counts in Facets blocks. Props [@felipeelia](https://github.com/felipeelia).
417 * New capability for managing ElasticPress. Props [@tlovett1](https://github.com/tlovett1), [@tott](https://github.com/tott), and [@felipeelia](https://github.com/felipeelia).
418 * New "Download report" button in the Status Report page. Props [@felipeelia](https://github.com/felipeelia).
419 * ElasticPress.io messages system. Props [@felipeelia](https://github.com/felipeelia) and [@JakePT](https://github.com/JakePT).
420 * WP CLI commands `get-search-template`, `put-search-template`, and `delete-search-template`. Props [@oscarssanchez](https://github.com/oscarssanchez).
421 * New `--status` parameter to the `get-indices` WP-CLI command. Props [@felipeelia](https://github.com/felipeelia).
422 * New `ep_instant_results_per_page` filter for changing the number of results per page in Instant Results. Props [@JakePT](https://github.com/JakePT).
423 * Support for `post_parent__in` and `post_parent__not_in`. Props [@MARQAS](https://github.com/MARQAS).
424 * New `ep_sync_args` filter. Props [@felipeelia](https://github.com/felipeelia) and [@nickchomey](https://github.com/nickchomey).
425 * "Full Sync" (Yes/No) to the Last Sync section in Status Report. Props [@felipeelia](https://github.com/felipeelia).
426 * New `ep_user_register_feature` and `ep_feature_is_visible` filters. Props [@felipeelia](https://github.com/felipeelia).
427 * Requests now have a new header called `X-ElasticPress-Request-ID` to help with debugging. Props [@felipeelia](https://github.com/felipeelia).
428 * Compatibility with `'orderby' => 'none'` in WP_Query. Props [@felipeelia](https://github.com/felipeelia).
429 * Unit tests related to the `ep_weighting_configuration_for_search` filter. Props [@felipeelia](https://github.com/felipeelia).
430 * New Unit tests for the WooCoomerce feature. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
431 * Description for the `--network-wide` flag in WP-CLI commands. Props [@MARQAS](https://github.com/MARQAS).
432 * New `is_available()` helper method in the Feature class. Props [@burhandodhy](https://github.com/burhandodhy).
433
434 __Changed:__
435
436 * Indices of disabled features will be deleted during a full sync. Mappings of needed but non-existent indices will be added even during a regular sync. Props [@felipeelia](https://github.com/felipeelia).
437 * Reduced number of WooCommerce product queries automatically integrated with ElasticPress. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
438 * The number of results per page in Instant Results now matches the site's posts per page setting. Props [@JakePT](https://github.com/JakePT).
439 * Under the hood improvements to the structure of Instant Results. Props [@JakePT](https://github.com/JakePT).
440 * Apply the "Exclude from Search" filter directly on ES Query. Props [@burhandodhy](https://github.com/burhandodhy).
441 * Avoid using Elasticsearch if query has an unsupported orderby clause. Props [@burhandodhy](https://github.com/burhandodhy).
442 * E2e tests split into 2 groups to be executed in parallel. Props [@iamchughmayank](https://github.com/iamchughmayank), [@burhandodhy](https://github.com/burhandodhy), and [@felipeelia](https://github.com/felipeelia).
443 * Filter command flags using `get_flag_value()`. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@felipeelia](https://github.com/felipeelia).
444 * Code Standards are now applied to the test suite as well. Props [@felipeelia](https://github.com/felipeelia).
445 * Text displayed when a feature that requires a sync is about to be enabled. Props [@felipeelia](https://github.com/felipeelia) and [@brandwaffle](https://github.com/brandwaffle).
446
447 __Removed:__
448
449 * Remove legacy filters `woocommerce_layered_nav_query_post_ids`, `woocommerce_unfiltered_product_ids`, and `ep_wp_query_search_cached_posts`. Props [@burhandodhy](https://github.com/burhandodhy).
450
451 __Fixed:__
452
453 * API requests for Instant Results sent on page load before the modal has been opened. Props [@JakePT](https://github.com/JakePT).
454 * Prevent search queries for coupons from using Elasticsearch. Props [@burhandodhy](https://github.com/burhandodhy).
455 * Thumbnails are not removed from indexed WooCommerce Products when the attachments are deleted. Props [@burhandodhy](https://github.com/burhandodhy) and [@JakePT](https://github.com/JakePT).
456 * Auto sync posts associated with a child term when the term parent is changed. Props [@MARQAS](https://github.com/MARQAS) and [@felipeelia](https://github.com/felipeelia).
457 * Status Report page firing requests to ES twice. Props [@felipeelia](https://github.com/felipeelia).
458 * Sanitization of Meta Queries. Props [@MARQAS](https://github.com/MARQAS).
459 * Facets styles not enqueued more than once. Props [@felipeelia](https://github.com/felipeelia) and [@MediaMaquina](https://github.com/MediaMaquina).
460 * Duplicate terms listed in Instant Results facets. Props [@felipeelia](https://github.com/felipeelia).
461 * Not setting the post context when indexing a post. Props [@tomjn](https://github.com/tomjn).
462 * Some utilitary methods in the Command class treated as WP-CLI Commands. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
463 * Make the "Failed Queries" notice dismissible. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@felipeelia](https://github.com/felipeelia).
464 * Undefined index `'elasticpress'` in the Status Report page. Props [@MARQAS](https://github.com/MARQAS).
465 * Undefined array key `'displayCount'` error for facet. Props [@burhandodhy](https://github.com/burhandodhy).
466 * Warnings on the feature setup page. Props [@burhandodhy](https://github.com/burhandodhy).
467
468 __Security:__
469
470 * Bumped `http-cache-semantics` from 4.1.0 to 4.1.1. Props [@dependabot](https://github.com/dependabot).
471 * Bumped `got` from 9.6.0 to 11.8.5 and `simple-bin-help` from 1.7.7 to 1.8.0. Props [@dependabot](https://github.com/dependabot).
472 * Bumped `simple-git` from 3.15.1 to 3.16.0. Props [@dependabot](https://github.com/dependabot).
473 * Bumped `json5` from 1.0.1 to 1.0.2. Props [@dependabot](https://github.com/dependabot).
474
475 = 4.4.1 - 2023-01-10 =
476
477 **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.**
478
479 This is a bug fix release.
480
481 __Added:__
482
483 * Node 18 support. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
484 * Unit tests for WP-CLI Commands. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
485 * Unit tests for the `HealthCheckElasticsearch` class, Protected Feature, and #3106. Props [@burhandodhy](https://github.com/burhandodhy).
486
487 __Changed:__
488
489 * Detection of indexable meta fields when visiting the sync and status report pages. Props [@felipeelia](https://github.com/felipeelia), [@paoloburzacca](https://github.com/paoloburzacca), and [@burhandodhy](https://github.com/burhandodhy).
490 * `put-mapping` WP-CLI command returns an error message if mapping failed. Props [@burhandodhy](https://github.com/burhandodhy), [@JakePT](https://github.com/JakePT), and [@felipeelia](https://github.com/felipeelia).
491 * Last Sync subsection title in the Status Report page. Props [@MARQAS](https://github.com/MARQAS), [@felipeelia](https://github.com/felipeelia), and [@tomioflagos](https://github.com/tomioflagos).
492 * Title for Autosuggest and Instant results features, if connected to an ElasticPress.io account. Props [@burhandodhy](https://github.com/burhandodhy), [@felipeelia](https://github.com/felipeelia), and [@NV607FOX](https://github.com/NV607FOX).
493 * "Exclude from search" checkbox text. Props [@burhandodhy](https://github.com/burhandodhy), [@JakePT](https://github.com/JakePT), [@felipeelia](https://github.com/felipeelia), and [@anjulahettige](https://github.com/anjulahettige).
494 * Visibility of the `analyze_log` method of the `FailedQueries` class. Props [@MARQAS](https://github.com/MARQAS).
495 * Text of the notice under the Documents feature. Props [@MARQAS](https://github.com/MARQAS) and [@NV607FOX](https://github.com/NV607FOX).
496 * Usage of `get_index_default_per_page` instead of a direct call to `Utils\get_option`. Props [@burhandodhy](https://github.com/burhandodhy).
497
498 __Removed:__
499
500 * Unnecessary `remove_filters` from the unit tests. Props [@burhandodhy](https://github.com/burhandodhy).
501
502 __Fixed:__
503
504 * Sync is stopped if put mapping throws an error. Props [@burhandodhy](https://github.com/burhandodhy), [@JakePT](https://github.com/JakePT), and [@felipeelia](https://github.com/felipeelia).
505 * Layout issue in Instant Results that would occur with small result sets. Props [@JakePT](https://github.com/JakePT).
506 * Issue where keyboard focus on a facet option was lost upon selection. Props [@JakePT](https://github.com/JakePT).
507 * JS error on Status Report page. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
508 * Hooks documentation reference. Props [@burhandodhy](https://github.com/burhandodhy).
509 * `'current'` as value for the `'sites'` parameter. Props [@burhandodhy](https://github.com/burhandodhy), [@oscarssanchez](https://github.com/oscarssanchez), and [@anders-naslund](https://github.com/anders-naslund).
510 * `Uncaught ArgumentCountError: Too few arguments to function WP_CLI::halt()` message. Props [@burhandodhy](https://github.com/burhandodhy) and [@JakePT](https://github.com/JakePT).
511 * Queries with `post_parent` set to `0` not working correctly. Props [@JiveDig](https://github.com/JiveDig).
512 * Sync command exits without any error message if mapping fails. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
513 * Evaluate the WP-CLI `--pretty` flag as real boolean. Props [@oscarssanchez](https://github.com/oscarssanchez).
514 * Remove deprecated command from the error message. Props [@burhandodhy](https://github.com/burhandodhy).
515 * CLI command `delete-index --network-wide` throws error when EP is not network activated. Props [@burhandodhy](https://github.com/burhandodhy).
516 * E2E tests for PHP 8. Props [@burhandodhy](https://github.com/burhandodhy).
517 * Feature title issue on the report page and notices. Props [@burhandodhy](https://github.com/burhandodhy) and [@JakePT](https://github.com/JakePT).
518 * Autosuggest Site Health Info containing incorrect information unrelated to Autosuggest. Props [@JakePT](https://github.com/JakePT).
519 * Styling of the Instant Results Facets field. Props [@JakePT](https://github.com/JakePT).
520
521 __Security:__
522
523 * Bumped `simple-git` from 3.6.0 to 3.15.1. Props [@dependabot](https://github.com/dependabot).
524
525 = 4.4.0 - 2022-11-29 =
526
527 **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.**
528
529 ElasticPress 4.4.0 release highlights:
530
531 * New Status Report page and failed queries logs ([#3130](https://github.com/10up/ElasticPress/pull/3130), [#3148](https://github.com/10up/ElasticPress/pull/3148), and [#3136](https://github.com/10up/ElasticPress/pull/3136))
532 * Instant Results template customization ([#2959](https://github.com/10up/ElasticPress/pull/2959))
533 * Facets by Meta available by default. Users should delete the 1-file plugin released with 4.3.0 ([#3071](https://github.com/10up/ElasticPress/pull/3071))
534 * New option to exclude posts from search ([#3100](https://github.com/10up/ElasticPress/pull/3100))
535 * Renamed some WP-CLI commands and added deprecation notices for the old versions (see table below)
536
537 __Added:__
538
539 * New Status Report page. Props [@felipeelia](https://github.com/felipeelia), [@JakePT](https://github.com/JakePT), [@tott](https://github.com/tott), and [@brandwaffle](https://github.com/brandwaffle).
540 * New Query Logger to display admin notices about failed queries and the list in the new Status Report page. Props [@felipeelia](https://github.com/felipeelia), [@JakePT](https://github.com/JakePT), and [@brandwaffle](https://github.com/brandwaffle).
541 * New option to exclude posts from search. Props [@burhandodhy](https://github.com/burhandodhy), [@felipeelia](https://github.com/felipeelia), and [@JakePT](https://github.com/JakePT).
542 * Search Comments block. Replaces the Comments widget in the block editor. Props [@JakePT](https://github.com/JakePT) and [@felipeelia](https://github.com/felipeelia).
543 * [Instant Results] Notice when ElasticPress is network activated warning that Instant Results will not work on all sites without additional steps. Props [@JakePT](https://github.com/JakePT).
544 * Extra debugging information in the browser console when syncing fails and more useful error messages with a troubleshooting URL. Props [@JakePT](https://github.com/JakePT).
545 * New `elasticpress.InstantResults.Result` JavaScript filter for filtering the component used for Instant Results search results. Props [@JakePT](https://github.com/JakePT).
546 * New `window.epInstantResults.openModal()` method for developers to manually open Instant Results. Props [@JakePT](https://github.com/JakePT).
547 * Support for `stock_status` filter on the WooCommerce Admin Product List. Props [@felipeelia](https://github.com/felipeelia) and [@jakgsl](https://github.com/jakgsl).
548 * Option to toggle the term count in Instant results. Props [@MARQAS](https://github.com/MARQAS) and [@JakePT](https://github.com/JakePT).
549 * New `ep_autosuggest_query_args` filter, to change WP Query args of the autosuggest query template. Props [@felipeelia](https://github.com/felipeelia).
550 * New `ep_post_filters` filter and refactor of the `Post::format_args` method. Props [@felipeelia](https://github.com/felipeelia).
551 * New `get_index_settings()` method to retrieve index settings. Props [@rebeccahum](https://github.com/rebeccahum).
552 * New `ep_woocommerce_default_supported_post_types` and `ep_woocommerce_admin_searchable_post_types` filters. Props [@ecaron](https://github.com/ecaron).
553 * Add test factories for Post, User and Term. Props [@burhandodhy](https://github.com/burhandodhy).
554 * Unit tests to check access to custom results endpoints. Props [@burhandodhy](https://github.com/burhandodhy).
555 * New unit tests for the user feature. Props [@burhandodhy](https://github.com/burhandodhy).
556
557 __Changed:__
558
559 * Facets by Meta available by default. Props [@burhandodhy](https://github.com/burhandodhy).
560 * If an Elasticsearch index is missing, force a full sync. Props [@MARQAS](https://github.com/MARQAS), [@felipeelia](https://github.com/felipeelia), and [@JakePT](https://github.com/JakePT).
561 * ElasticPress.io clients only need to enter the Subscription ID now. Props [@MARQAS](https://github.com/MARQAS) and [@felipeelia](https://github.com/felipeelia).
562 * `Renderer::order_by_selected` visibility. Props [@burhandodhy](https://github.com/burhandodhy).
563 * After editing a term, only sync posts if the term is associated with fewer posts than the Content Items per Index Cycle number. Props [@felipeelia](https://github.com/felipeelia), [@cmcandrew](https://github.com/cmcandrew), [@DenisFlorin](https://github.com/DenisFlorin), and [@burhandodhy](https://github.com/burhandodhy).
564 * The `meta_query` clause when using the `meta_key` parameter. Props [@felipeelia](https://github.com/felipeelia), [@MARQAS](https://github.com/MARQAS), and [@Greygooo](https://github.com/Greygooo).
565 * Facets filters are not applied in the WP Query level anymore. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
566 * To be compatible with WordPress 6.1, when passing `'all'` as the `fields` parameter of `WP_User_Query` only user IDs will be returned. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
567 * `update_term_meta_cache` parameter set as false while getting terms for Facets. Props [@mae829](https://github.com/mae829).
568 * Small refactor of Indexables' `parse_orderby` to make it easier to read. Props [@felipeelia](https://github.com/felipeelia).
569 * Search algorithms descriptions. Props [@felipeelia](https://github.com/felipeelia).
570 * Hide taxonomies from facet block whose `show_ui` is set to false. Props [@burhandodhy](https://github.com/burhandodhy).
571 * Use `Utils\*_option()` when possible. Props [@rebeccahum](https://github.com/rebeccahum).
572 * Remove unnecessary check from `allow_excerpt_html`. Props [@burhandodhy](https://github.com/burhandodhy).
573 * Updated Cypress (version 9 to 10). Props [@felipeelia](https://github.com/felipeelia).
574 * Use factory to create comments for tests. Props [@burhandodhy](https://github.com/burhandodhy).
575 * Improved e2e tests performance. Props [@felipeelia](https://github.com/felipeelia).
576 * GitHub Action used by PHPCS. Props [@felipeelia](https://github.com/felipeelia).
577
578 __Deprecated:__
579
580 * The following WP-CLI commands were deprecated. They will still work but with a warning.
581 * `wp elasticpress index` in favor of `wp elasticpress sync`
582 * `wp elasticpress get-cluster-indexes` in favor of `wp elasticpress get-cluster-indices`
583 * `wp elasticpress get-indexes` in favor of `wp elasticpress get-indices`
584 * `wp elasticpress clear-index` in favor of `wp elasticpress clear-sync`
585 * `wp elasticpress get-indexing-status` in favor of `wp elasticpress get-ongoing-sync-status`
586 * `wp elasticpress get-last-cli-index` in favor of `wp elasticpress get-last-cli-sync`
587 * `wp elasticpress stop-indexing` in favor of `wp elasticpress stop-sync`
588
589 Props [@MARQAS](https://github.com/MARQAS) and [@felipeelia](https://github.com/felipeelia).
590
591 * The `sites` parameter for WP_Query, WP_Term_Query and WP_Comment_Query was deprecated in favor of the new `site__in` and `site__not_in`. Props [@burhandodhy](https://github.com/burhandodhy).
592
593 __Removed:__
594
595 * Compatibility code for WP < 4.6 in the Post Search feature. Props [@burhandodhy](https://github.com/burhandodhy).
596 * Legacy hook from unit tests. Props [@burhandodhy](https://github.com/burhandodhy).
597 * Time average box in the Index Health page. Props [@felipeelia](https://github.com/felipeelia) and [@alaa-alshamy](https://github.com/alaa-alshamy).
598 * [Protected Content] Removed post types to be indexed by default: ep-synonym, ep-pointer, wp_global_styles, wp_navigation, wp_template, and wp_template_part. Props [@felipeelia](https://github.com/felipeelia).
599
600 __Fixed:__
601
602 * Clicking on the Facet Term redirect to Homepage. Props [@burhandodhy](https://github.com/burhandodhy).
603 * Custom results are not highlighted. Props [@burhandodhy](https://github.com/burhandodhy).
604 * Error when passing an array of post types to WP_Comment_Query. Props [@felipeelia](https://github.com/felipeelia), [@JakePT](https://github.com/JakePT), and [@MARQAS](https://github.com/MARQAS).
605 * Deprecated filters for search algorithms do not overwrite values set with the newer filters. Props [@felipeelia](https://github.com/felipeelia) and [@marc-tt](https://github.com/marc-tt).
606 * No posts returned when an invalid value was passed to the tax_query parameter. Props [@burhandodhy](https://github.com/burhandodhy).
607 * Incorrect excerpt when `get_the_excerpt` is called outside the Loop and Excerpt highlighting option is enabled. Props [@burhandodhy](https://github.com/burhandodhy).
608 * Facet returns no result for a term having accent characters. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
609 * An issue where some characters in taxonomy terms would appear encoded when displayed in Instant Results. Props [@JakePT](https://github.com/JakePT).
610 * An issue that caused Autosuggest filter functions to no longer work. Props [@JakePT](https://github.com/JakePT).
611 * An issue that prevented clicking Autosuggest suggestions if they had been customized with additional markup. Props [@JakePT](https://github.com/JakePT).
612 * WooCommerce custom product sort order. Props [@felipeelia](https://github.com/felipeelia) and [@MARQAS](https://github.com/MARQAS).
613 * Network alias creation failed warning when one of the sites is deactivated. Props [@burhandodhy](https://github.com/burhandodhy).
614 * JS Error on widget screen. Props [@burhandodhy](https://github.com/burhandodhy).
615 * PHP Warning when a post has no comments. Props [@felipeelia](https://github.com/felipeelia) and [@JiveDig](https://github.com/JiveDig).
616 * `put-mapping --network-wide` throws error when plugin is not activated on network. Props [@burhandodhy](https://github.com/burhandodhy).
617 * Internationalization of strings in JavaScript files. Props [@felipeelia](https://github.com/felipeelia).
618 * Documentation of the `ep_woocommerce_admin_products_list_search_fields` filter. Props [@felipeelia](https://github.com/felipeelia).
619 * Warning if `_source` is not returned in query hit. Props [@pschoffer](https://github.com/pschoffer).
620 * Undefined variable `$update` on synonyms page. Props [@burhandodhy](https://github.com/burhandodhy).
621 * PHP 8 deprecation warning related to `uasort()` usage. Props [@burhandodhy](https://github.com/burhandodhy).
622 * Cypress intermittent tests failures. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
623 * Fix PHP Unit Tests for PHP 8. Props [@burhandodhy](https://github.com/burhandodhy).
624
625 __Security:__
626
627 * Bumped `loader-utils` from 1.4.0 to 1.4.2. Props [@dependabot](https://github.com/dependabot).
628
629 = 4.3.1 - 2022-09-27 =
630
631 This release fixes some bugs and also adds some new filters.
632
633 __Added:__
634
635 * New `ep_facet_taxonomy_terms` filter to filter the Facet terms. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
636 * Added `ep.Autosuggest.itemHTML`, `ep.Autosuggest.listHTML`, `ep.Autosuggest.query`, and `ep.Autosuggest.element` JavaScript hooks to Autosuggest and migrated filter functions to hook callbacks for backwards compatibility. Props [@JakePT](https://github.com/JakePT).
637 * E2E tests for the Comments Feature. Props [@burhandodhy](https://github.com/burhandodhy).
638 * E2E tests for the Instant Results feature. Props [@MARQAS](https://github.com/MARQAS) and [@felipeelia](https://github.com/felipeelia).
639 * More E2E tests for the WooCommerce Feature. Props [@burhandodhy](https://github.com/burhandodhy).
640
641 __Changed:__
642
643 * REST API endpoints used for managing custom results are no longer publicly accessible. Props [@JakePT](https://github.com/JakePT) and [@PypWalters](https://github.com/PypWalters).
644
645 __Fixed:__
646
647 * WooCommerce data privacy eraser query deleting all orders if EP is enabled for admin and Ajax requests. Props [@sun](https://github.com/sun) and [@bogdanarizancu](https://github.com/bogdanarizancu).
648 * Facets removing WooCommerce sorting. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
649 * Facets triggering the ElasticPress integration in feed pages. Props [@felipeelia](https://github.com/felipeelia) and [@rafaucau](https://github.com/rafaucau).
650 * Taxonomy Facet tree issue when child category is selected. Props [@burhandodhy](https://github.com/burhandodhy).
651 * Term search in the admin panel for non-public taxonomies returning nothing. Props [@burhandodhy](https://github.com/burhandodhy).
652 * Clicking a Related Posts link while in the editor no longer follows the link. Props [@JakePT](https://github.com/JakePT).
653 * Visual alignment of elements in the Settings page. Props [@MARQAS](https://github.com/MARQAS) and [@felipeelia](https://github.com/felipeelia).
654 * Intermittent tests failures. Props [@burhandodhy](https://github.com/burhandodhy).
655
656 = 4.3.0 - 2022-08-31 =
657
658 ElasticPress 4.3.0 fixes some bugs and introduces some new and exciting changes.
659
660 WooCommerce Product Variations SKUs are now a publicly searchable field. Site administrators wanting to allow users to search for their product variations SKUs can enable it in the _Search Fields & Weighting_ Dashboard, under Products. If a user searches for a variation SKU, the parent product will be displayed in the search results.
661
662 The last ElasticPress sync information is now available in WordPress's Site Health. If you want to check information like the date of the last full sync, time spent, number of indexed content, or errors go to Tools -> Site Health, open the Info tab and click on _ElasticPress - Last Sync_.
663
664 Facets received some further improvements in this version. In addition to some refactoring related to WordPress Block Editor, ElasticPress 4.3.0 ships with an experimental version of a _Facet By Meta_ block. With that, users will be able to filter content based on post meta fields. If you want to try it, download and activate [this plugin](https://raw.githubusercontent.com/10up/ElasticPress/develop/tests/cypress/wordpress-files/test-plugins/elasticpress-facet-by-meta.php). Do you have an idea of an enhancement? Search in our [`facets`](https://github.com/10up/ElasticPress/labels/module%3Afacets) label in GitHub and if it is not there yet, feel free to open a new issue. We would love to hear new ideas!
665
666 __Added:__
667
668 * Search products by their variations' SKUs. Props [@burhandodhy](https://github.com/burhandodhy).
669 * New block to Facet by Meta fields. Props [@felipeelia](https://github.com/felipeelia) and [@tott](https://github.com/@tott).
670 * Display last sync info in site health screen. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@felipeelia](https://github.com/felipeelia).
671 * New `epwr_decay_field` filter to set the decay field for date weighting. Props [@MARQAS](https://github.com/MARQAS) and [@HypeAU](https://github.com/HypeAU).
672 * Autosuggest: filter the autosuggest ElasticSearch query by defining a `window.epAutosuggestQueryFilter()` function in JavaScript. Props [@johnwatkins0](https://github.com/johnwatkins0).
673 * Autosuggest: filter the HTML of all results by defining a `window.epAutosuggestListItemsHTMLFilter()` function in JavaScript. Props [@JakePT](https://github.com/JakePT).
674 * Autosuggest: filter the container element by defining a `window.epAutosuggestElementFilter()` function in JavaScript. Props [@JakePT](https://github.com/JakePT).
675 * Documentation for Autosuggest JavaScript filters. Props [@JakePT](https://github.com/JakePT) and [@brandwaffle](https://github.com/brandwaffle).
676 * Documentation for styling Instant Results. Props [@JakePT](https://github.com/JakePT).
677 * Use `wp_cache_flush_group()` for autosuggest when available. Props [@tillkruss](https://github.com/tillkruss).
678 * The public search API is automatically deactivated when the Instant Results feature is deactivated. Props [@JakePT](https://github.com/JakePT).
679 * Support for transforming instances of the legacy Facet and Related Posts widgets into blocks. Props [@JakePT](https://github.com/JakePT).
680 * Use `wp_cache_flush_runtime()` when available. Props [@tillkruss](https://github.com/tillkruss), [@felipeelia](https://github.com/felipeelia), and [@tott](https://github.com/@tott).
681 * E2E tests for the Custom Results feature. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
682 * E2E tests for the Terms feature. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
683
684 __Changed:__
685
686 * Improved performance in `get_term_tree()`. Props [@rebeccahum](https://github.com/rebeccahum).
687 * Migrated Related Posts block definitions to `block.json`. Props [@JakePT](https://github.com/JakePT).
688 * Total comment count made during sync process to be a proper count call. Props [@felipeelia](https://github.com/felipeelia) and [@bsabalaskey](https://github.com/bsabalaskey).
689 * Search algorithms moved to separate classes. Props [@felipeelia](https://github.com/felipeelia).
690 * The legacy Facet and Related Posts widgets are now hidden when using the block editor. Props [@JakePT](https://github.com/JakePT).
691 * Facets are now divided by types and received their own class. Props [@felipeelia](https://github.com/felipeelia).
692 * PHP compatibility check merged to regular lint. Props [@felipeelia](https://github.com/felipeelia).
693 * E2e tests to run WP-CLI commands in an existent docker container. Props [@felipeelia](https://github.com/felipeelia).
694 * Increased E2e tests coverage for WP-CLI commands. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
695
696 __Deprecated:__
697
698 * The following filters were deprecated. They will still work but add a notice in the error logs.
699 * Deprecated `ep_formatted_args_query` in favour of `ep_post_formatted_args_query`
700 * Deprecated `ep_match_phrase_boost` in favour of `ep_post_match_phrase_boost`
701 * Deprecated `ep_match_boost` in favour of `ep_post_match_boost`
702 * Deprecated `ep_fuzziness_arg` in favour of `ep_post_fuzziness_arg`
703 * Deprecated `ep_match_fuzziness` in favour of `ep_post_match_fuzziness`
704 * Deprecated `ep_match_cross_fields_boost` in favour of `ep_post_match_cross_fields_boost`
705
706 __Fixed:__
707
708 * Error returned by the `recreate-network-alias` CLI command when called on single site. Props [@burhandodhy](https://github.com/burhandodhy).
709 * Term objects in `format_hits_as_terms` to use `WP_Term` instead of `stdClass` to match WordPress expectations. Props [@jonathanstegall](https://github.com/jonathanstegall).
710 * Post reindex on meta deletion. Props [@pschoffer](https://github.com/pschoffer).
711 * Autosaved drafts not showing up in draft post listing when using the Protected Content feature. Props [@rebeccahum](https://github.com/rebeccahum) and [@felipeelia](https://github.com/felipeelia).
712 * Display fatal error messages in the Sync Dashboard. Props [@felipeelia](https://github.com/felipeelia) and [@orasik](https://github.com/orasik).
713 * An issue where syncing after skipping setup, instead of deleting and syncing, resulted in an error. Props [@JakePT](https://github.com/JakePT).
714 * Stuck progress bar when no post is found. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
715 * Infinite loop during sync if the site has just password protected posts and no other content. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
716 * JS error on Custom Results edit page. Props [@burhandodhy](https://github.com/burhandodhy).
717 * Horizontal scroll in ElasticPress Quick Setup Screen. Props [@MARQAS](https://github.com/MARQAS) and [@JakePT](https://github.com/JakePT).
718 * Allows to replace `post_excerpt` with highlighted results from within AJAX and other integrated contexts. Props [@nickchomey](https://github.com/nickchomey).
719 * Empty results for taxonomy terms that have non ASCII characters. Props [@alaa-alshamy](https://github.com/alaa-alshamy).
720 * Format of highlight tags quotation mark. Props [@nickchomey](https://github.com/nickchomey).
721 * Intermittent error with sticky posts in the tests suite. Props [@felipeelia](https://github.com/felipeelia).
722
723 __Security:__
724
725 * Bumped `terser` from 5.12.0 to 5.14.2. Props [@dependabot](https://github.com/dependabot).
726 * Bumped `@wordpress/env` from 4.5.0 to 5.0.0. Props [@felipeelia](https://github.com/felipeelia).
727
728 = 4.2.2 - 2022-07-14 =
729
730 This is a bug fix release.
731
732 __Added:__
733
734 * New `ep_enable_do_weighting` filter and re-factor with new function `apply_weighting`. Props [@rebeccahum](https://github.com/rebeccahum) and [@felipeelia](https://github.com/felipeelia).
735 * New `ep_default_analyzer_char_filters` filter. Props [@rebeccahum](https://github.com/rebeccahum).
736 * E2E test to prevent saving feature settings during a sync. Props [@burhandodhy](https://github.com/burhandodhy).
737 * Full compatibility with Composer v2. Props [@felipeelia](https://github.com/felipeelia).
738
739 __Changed:__
740
741 * `update_index_settings()` now accounts for the index closing action timing out and re-opens index if closed. Props [@rebeccahum](https://github.com/rebeccahum).
742
743 __Fixed:__
744
745 * Wrong post types being displayed on the homepage while having the Facets feature enabled. Props [@felipeelia](https://github.com/felipeelia) and [@oscarssanchez](https://github.com/oscarssanchez).
746 * Wrong notice about unsupported server software. Props [@felipeelia](https://github.com/felipeelia).
747
748 __Security:__
749
750 * Bumped `moment` from 2.29.2 to 2.29.4. Props [@dependabot](https://github.com/dependabot).
751
752 = 4.2.1 - 2022-06-28 =
753
754 This is a bug fix release.
755
756 __Added:__
757
758 * Server type/software detection and warning. Props [@felipeelia](https://github.com/felipeelia) and [@brandwaffle](https://github.com/brandwaffle).
759 * Coverage of E2E tests for the activate-feature command. Props [@burhandodhy](https://github.com/burhandodhy).
760
761 __Changed:__
762
763 * Sync button `title` attribute. Props [@burhandodhy](https://github.com/burhandodhy) and [@JakePT](https://github.com/JakePT).
764 * `npm run build:zip` to use `git archive`. Props [@felipeelia](https://github.com/felipeelia).
765
766 __Fixed:__
767
768 * Fatal error related to WP-CLI timers on long-running syncs. Props [@felipeelia](https://github.com/felipeelia) and [@przestrzal](https://github.com/przestrzal).
769 * Uncaught TypeError on the Settings Page. Props [@burhandodhy](https://github.com/burhandodhy).
770 * Meta values that are not dates converted into date format. Props [@burhandodhy](https://github.com/burhandodhy), [@oscarssanchez](https://github.com/oscarssanchez), [@tott](https://github.com/@tott), and [@felipeelia](https://github.com/felipeelia).
771 * An issue where feature settings could be saved during a sync. Props [@JakePT](https://github.com/JakePT).
772 * Admin menu bar items are not clickable when instant results popup modal is activated. Props [@MARQAS](https://github.com/MARQAS) and [@JakePT](https://github.com/JakePT).
773 * Facet block wrongly available in the post editor. Props [@oscarssanchez](https://github.com/oscarssanchez).
774 * Show Facet widgets on taxonomy archives. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
775 * Meta queries with 'exists' as compare operator and empty meta values handling. Props [@burhandodhy](https://github.com/burhandodhy).
776 * Sync interruption message always mentioning ElasticPress.io. Props [@burhandodhy](https://github.com/burhandodhy) and [@JakePT](https://github.com/JakePT).
777 * An issue where the Related Posts block would display the wrong posts in the preview when added inside a Query Loop block. Props [@JakePT](https://github.com/JakePT).
778 * E2e tests for the Facets feature. Props [@felipeelia](https://github.com/felipeelia).
779 * Intermittent error on GitHub Actions using the latest node 16 version. Props [@felipeelia](https://github.com/felipeelia).
780
781 = 4.2.0 - 2022-05-26 =
782
783 ElasticPress 4.2.0 fixes some bugs and introduces some new and exciting changes.
784
785 The sync functionality had its JavaScript refactored. Timeouts, memory limits, and general errors are now properly handled and do not make the sync get stuck when performed via the WP-CLI `index` command. There is also a new `get-last-sync` WP-CLI command to check the errors and numbers from the last sync.
786
787 We've improved the admin search experience for sites using both WooCommerce and Protected Content. Previously, WooCommerce was processing that screen with two different queries, and EP was used only in one of them. Now, it will be only one query, fully handled by ElasticPress. Users wanting to keep the previous behavior can do so by adding `add_filter( 'ep_woocommerce_integrate_admin_products_list', '__return_false' );` to their website's codebase.
788
789 Facets are now available through a WordPress block. If you are using the Full Site Editing feature, you can now add ElasticPress Facets to your theme with just a few clicks! This block has been introduced with a simplified user interface to enable compatibility with Full Site Editing and will continue to be iterated and improved in future versions of the plugin.
790
791 __Added:__
792
793 * E2e tests for the Facets feature. Props [@felipeelia](https://github.com/felipeelia).
794 * `$post_args` and `$post_id` to the `ep_pc_skip_post_content_cleanup` filter. Props [@felipeelia](https://github.com/felipeelia) and [@ecaron](https://github.com/ecaron).
795 * New filter `ep_integrate_search_queries`. Props [@rebeccahum](https://github.com/rebeccahum) and [@felipeelia](https://github.com/felipeelia).
796 * New `get-last-sync` WP-CLI command. Props [@felipeelia](https://github.com/felipeelia).
797 * Facet block (previously only available as a widget.) Props [@felipeelia](https://github.com/felipeelia).
798 * New `_variations_skus` field to WooCommerce products. Props [@felipeelia](https://github.com/felipeelia), [@kallehauge](https://github.com/kallehauge), and [@lukaspawlik](https://github.com/lukaspawlik).
799 * Support for ordering Users by `user_registered` and lowercase `id`. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
800 * New filter `ep_sync_number_of_errors_stored`. Props [@felipeelia](https://github.com/felipeelia), [@tott](https://github.com/tott) and [@JakePT](https://github.com/JakePT).
801
802 __Changed:__
803
804 * Facets widgets rendered by a separate class. Props [@felipeelia](https://github.com/felipeelia).
805 * Deprecated `ElasticPress\Feature\Facets\Widget::get_facet_term_html()` in favor of `ElasticPress\Feature\Facets\Renderer::get_facet_term_html()`. Props [@felipeelia](https://github.com/felipeelia).
806 * Log errors and remove indexing status on failed syncs. Props [@felipeelia](https://github.com/felipeelia).
807 * Refactored Sync page JavaScript. Props [@JakePT](https://github.com/JakePT).
808 * Updated admin scripts to use WordPress's version of React. Props [@JakePT](https://github.com/JakePT).
809 * WooCommerce products list in the Dashboard now properly leverages ElasticPress. Props [@felipeelia](https://github.com/felipeelia).
810 * Removed Instant Results' dependency on `@wordpress/components` and `@wordpress/date`. Props [@JakePT](https://github.com/JakePT) and [@felipeelia](https://github.com/felipeelia).
811 * (Protected Content) Password-protected posts are only hidden on searches. Props [@felipeelia](https://github.com/felipeelia), [@JakePT](https://github.com/JakePT), and [@burhandodhy](https://github.com/burhandodhy).
812 * The plugin is now available via Composer without any additional steps required. Props [@felipeelia](https://github.com/felipeelia), [@jeffpaul](https://github.com/jeffpaul), and [@johnbillion](https://github.com/johnbillion).
813
814 __Fixed:__
815
816 * WP-CLI parameters documentation. Props [@felipeelia](https://github.com/felipeelia).
817 * Full indices removal after e2e tests. Props [@felipeelia](https://github.com/felipeelia) and [@dustinrue](https://github.com/dustinrue).
818 * Usage of the `$return` parameter in `Feature\RelatedPosts::find_related()`. Props [@felipeelia](https://github.com/felipeelia) and [@altendorfme](https://github.com/altendorfme).
819 * Link to API Functions under the Related Posts feature -> Learn more. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
820 * Sync of WooCommerce Orders fields when WooCommerce and Protected Content features are enabled. Props [@felipeelia](https://github.com/felipeelia) and [@ecaron](https://github.com/ecaron).
821 * An issue where selecting no features during install would just cause the install page to reload without any feedback. Props [@JakePT](https://github.com/JakePT) and [@tlovett1](https://github.com/tlovett1).
822 * An issue where deselecting a feature during install would not stop that feature from being activated. Props [@JakePT](https://github.com/JakePT).
823 * Add the missing text domain for the Related Posts block. Props [@burhandodhy](https://github.com/burhandodhy).
824 * Console error when hitting enter on search inputs with autosuggest. Props [@burhandodhy](https://github.com/burhandodhy), [@felipeelia](https://github.com/felipeelia), and [@MarijnvSprundel](https://github.com/MarijnvSprundel).
825 * An issue where attribute selectors could not be used for the Autosuggest Selector. Props [@JakePT](https://github.com/JakePT) and [@oscarssanchez](https://github.com/oscarssanchez).
826 * "Time elapsed" and "Total time elapsed" in WP-CLI index command. Props [@felipeelia](https://github.com/felipeelia) and [@archon810](https://github.com/archon810).
827 * Sync process with skipped objects. Props [@juliecampbell](https://github.com/juliecampbell) and [@felipeelia](https://github.com/felipeelia).
828 * Typo in the sync page. Props [@JakePT](https://github.com/JakePT) and [@davidegreenwald](https://github.com/davidegreenwald).
829 * WP-CLI index command without the `--network-wide` only syncs the main site. Props [@felipeelia](https://github.com/felipeelia) and [@colegeissinger](https://github.com/colegeissinger).
830 * WP-CLI commands `get-mapping`, `get-indexes`, `status`, and `stats` only uses all sites' indices name when network activated. Props [@felipeelia](https://github.com/felipeelia) and [@colegeissinger](https://github.com/colegeissinger).
831 * A bug where URL search parameters could be cleared when using Instant Results. Props [@JakePT](https://github.com/JakePT) and [@yashumitsu](https://github.com/yashumitsu).
832 * Undefined index notice in Facets renderer. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
833 * Prevent an unnecessary call when the ES server is not set yet. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
834 * An incompatibility with the way WP 6.0 handles WP_User_Query using fields. Props [@felipeelia](https://github.com/felipeelia).
835
836 __Security:__
837
838 * Bumped `moment` from 2.29.1 to 2.29.2. Props [@dependabot](https://github.com/dependabot).
839 * Bumped `@wordpress/env` from 4.4.0 to 4.5.0. Props [@felipeelia](https://github.com/felipeelia).
840
841 = 4.1.0 - 2022-04-05 =
842
843 __Added:__
844
845 * Utility command to create zip packages: `npm run build:zip`. Props [@felipeelia](https://github.com/felipeelia).
846 * E2e tests for the Synonyms feature. Props [@felipeelia](https://github.com/felipeelia).
847 * `generate_mapping()` to post and comment indexables. Props [@rebeccahum](https://github.com/rebeccahum).
848 * `get_related_query()` to the `RelatedPosts` class. Props [@ayebare](https://github.com/ayebare).
849 * New `--pretty` flag to the WP-CLI commands that output a JSON. Props [@felipeelia](https://github.com/felipeelia) and [@oscarssanchez](https://github.com/oscarssanchez).
850 * Support for an array of aggregations in the `aggs` parameter of `WP_Query`. Props [@felipeelia](https://github.com/felipeelia) and [@oscarssanchez](https://github.com/oscarssanchez).
851
852 __Changed:__
853
854 * Refactored remaining admin scripts to remove jQuery as a dependency. Props [@JakePT](https://github.com/JakePT).
855 * Generate Instant Results' search template as an anonymous user by default. Props [@JakePT](https://github.com/JakePT).
856
857 __Fixed:__
858
859 * PHP warning Trying to access array offset on value of type int in `get_index_names()`. Props [@sun](https://github.com/sun).
860 * Searches by WooCommerce Order ID. Props [@felipeelia](https://github.com/felipeelia).
861 * Display and error message if syncing failed due to invalid JSON response from the server. Props [@dsawardekar](https://github.com/dsawardekar).
862 * Better compatibility with PHP 8.1 by replacing the deprecated `FILTER_SANITIZE_STRING`. Props [@sjinks](https://github.com/sjinks).
863 * `get_term_tree()` no longer infinite loops when parent ID is non-existent. Props [@rebeccahum](https://github.com/rebeccahum).
864 * User search results include users who do not exist in the current site. Props [@tfrommen](https://github.com/tfrommen) and [@felipeelia](https://github.com/felipeelia).
865 * Pagination while syncing Indexables other than Posts. Props [@felipeelia](https://github.com/felipeelia) and [@derringer](https://github.com/derringer).
866 * Handle the output of an array of messages in sync processes. Props [@felipeelia](https://github.com/felipeelia).
867 * Truthy values for the `'enabled'` field's attribute while using the `ep_weighting_configuration_for_search` filter. Props [@felipeelia](https://github.com/felipeelia) and [@moritzlang](https://github.com/moritzlang).
868 * "Learn More" link on the Sync Page. Props [@felipeelia](https://github.com/felipeelia), [@JakePT](https://github.com/JakePT), and [@brandwaffle](https://github.com/brandwaffle).
869 * Icons alignment in the WP Dashboard. Props [@jakemgold](https://github.com/jakemgold), [@felipeelia](https://github.com/felipeelia), [@brandwaffle](https://github.com/brandwaffle), and [@tlovett1](https://github.com/tlovett1).
870
871 __Security:__
872
873 * Bumped `node-forge` from 1.2.1 to 1.3.0. Props [@dependabot](https://github.com/dependabot).
874 * Bumped` @wordpress/env` from 4.2.2 to 4.4.0, and `minimist` from 1.2.5 to 1.2.6. Props [@felipeelia](https://github.com/felipeelia).
875
876 = 4.0.1 - 2022-03-16 =
877
878 **This is a security release affecting users running ElasticPress 4.0 with both the WooCommerce and Protected Content Features activated. Please update to the latest version of ElasticPress if the WooCommerce and Protected Content features are activated and you're using ElasticPress 4.0.**
879
880 __Security:__
881
882 * Orders belonging to all users loaded in the My Account WooCommerce page. Props [@tomburtless](https://github.com/tomburtless) and [@oscarssanchez](https://github.com/oscarssanchez).
883
884 = 4.0.0 - 2022-03-08 =
885
886 **ElasticPress 4.0 contains some important changes. Make sure to read these highlights before upgrading:**
887
888 * This version requires a full reindex.
889 * It introduces a new search algorithm that may change the search results displayed on your site.
890 * A new feature called "Instant Results" is available. As it requires a full reindex, if you plan to use it, we recommend you enable it first and reindex only once.
891 * Users upgrading from Beta 1 need to re-save the Instant Results feature settings.
892 * New minimum versions are:
893
894 ||Min|Max|
895 |---|:---:|:---:|
896 |Elasticsearch|5.2|7.10|
897 |WordPress|5.6+|latest|
898 |PHP|7.0+|latest|
899
900 **Note that ElasticPress 4.0.0 release removes built assets from the `develop` branch, replaced `master` with `trunk`, added a ZIP with the plugin and its built assets in the [GitHub Releases page](https://github.com/10up/ElasticPress/releases), and included 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 `trunk` or to GitHub Releases depending on whether you require built assets or not. (See changes in [#2622](https://github.com/10up/ElasticPress/pull/2622).)
901
902 The Facets widget is not currently available within Full Site Editing mode.
903
904 __Added:__
905
906 * Instant Results. Props [@JakePT](https://github.com/JakePT), [@felipeelia](https://github.com/felipeelia), and [Pratheep Chandrasekhar](https://www.linkedin.com/in/pratheepch/).
907 * New default search algorithm prioritizing exact matches, matches in the same field, then matches across different fields. Props [@brandwaffle](https://github.com/brandwaffle) and [@felipeelia](https://github.com/felipeelia).
908 * Filter `ep_load_search_weighting` to disable search weighting engine. Props [@rebeccahum](https://github.com/rebeccahum) and [@felipeelia](https://github.com/felipeelia).
909 * Post types to facet labels when needed to to differentiate facets with duplicate labels. Props [@JakePT](https://github.com/JakePT) and [@felipeelia](https://github.com/felipeelia).
910 * Support for search form post type fields to Instant Results. Props [@JakePT](https://github.com/JakePT).
911 * Alternative way to count total posts on larger DBs during indexing. Props [@rebeccahum](https://github.com/rebeccahum) and [@felipeelia](https://github.com/felipeelia).
912 * Do not count posts in `get_total_objects_for_query_from_db()` if any object limit IDs are passed in. Props [@rebeccahum](https://github.com/rebeccahum).
913 * Show WP-CLI progress on the new Sync page. Props [@Rahmon](https://github.com/Rahmon) and [@felipeelia](https://github.com/felipeelia).
914 * Display results counts for facet options in Instant Results. Props [@JakePT](https://github.com/JakePT), [@felipeelia](https://github.com/felipeelia).
915 * ARIA attributes to Facet widget links to improve accessibility. Props [@JakePT](https://github.com/JakePT).
916 * Support for shareable URLs to Instant Results. Props [@JakePT](https://github.com/JakePT) and [@felipeelia](https://github.com/felipeelia).
917 * Dynamic bulk requests limits. Instead of sending only one request per document batch, send several adjusting their sizes based on the Elasticsearch response. Props [@felipeelia](https://github.com/felipeelia), [@dinhtungdu](https://github.com/dinhtungdu), [@brandwaffle](https://github.com/brandwaffle), and [@Rahmon](https://github.com/Rahmon).
918 * New step in the installation process: users can now select features before the initial sync. Props [@felipeelia](https://github.com/felipeelia), [@JakePT](https://github.com/JakePT), [Jonathan Netek](https://www.linkedin.com/in/jonathan-netek/), and [@brandwaffle](https://github.com/brandwaffle).
919
920 __Changed:__
921
922 * Sync page and code responsible for indexing. Props [@helen](https://github.com/helen), [@felipeelia](https://github.com/felipeelia), [@Rahmon](https://github.com/Rahmon), [@mckdemps](https://github.com/mckdemps), [@tott](https://github.com/tott), and [Pratheep Chandrasekhar](https://www.linkedin.com/in/pratheepch/).
923 * When Protected Content is enabled, ElasticPress will have a more similar behavior to WordPress core but the post content and meta will not be indexed (the new `ep_pc_skip_post_content_cleanup` can be used to skip that removal.) Props [@rebeccahum](https://github.com/rebeccahum), [@oscarssanchez](https://github.com/oscarssanchez), [@felipeelia](https://github.com/felipeelia), [@dinhtungdu](https://github.com/dinhtungdu), [@cristianuibar](https://github.com/cristianuibar), and [@allan23](https://github.com/allan23), [@mallorydxw](https://github.com/mallorydxw).
924 * Bump minimum required versions of Elasticsearch from 5.0 to 5.2 and WordPress from 3.7.1 to 5.6. Props [@felipeelia](https://github.com/felipeelia).
925 * Bump minimum required PHP version from 5.6 to 7.0. Props [@felipeelia](https://github.com/felipeelia), [@ActuallyConnor](https://github.com/ActuallyConnor), and [@brandwaffle](https://github.com/brandwaffle).
926 * Internationalize start and end datetimes of sync. Props [@Rahmon](https://github.com/Rahmon) and [@felipeelia](https://github.com/felipeelia).
927 * `ep_integrate` argument in WP_Query to accept `0` and `'false'` as valid negative values. Props [@oscarssanchez](https://github.com/oscarssanchez), [@Rahmon](https://github.com/Rahmon), and [@felipeelia](https://github.com/felipeelia).
928 * To comply with modern WooCommerce behavior, ElasticPress no longer changes the `orderby` parameter. Props [@felipeelia](https://github.com/felipeelia) and [@beazuadmin](https://github.com/beazuadmin).
929 * Query parameters for facets to start with `ep_filter`, changeable via the new `ep_facet_filter_name` filter. Props [@oscarssanchez](https://github.com/oscarssanchez), [@felipeelia](https://github.com/felipeelia), and [@slaxxarn](https://github.com/slaxxarn).
930 * Output of sync processes using offset to display the number of documents skipped. Props [@oscarssanchez](https://github.com/oscarssanchez), [@felipeelia](https://github.com/felipeelia), [@cbratschi](https://github.com/cbratschi), and [@brandwaffle](https://github.com/brandwaffle).
931 * Switched from WP Acceptance to Cypress for end to end tests. Props [@felipeelia](https://github.com/felipeelia), [@Sidsector9](https://github.com/Sidsector9), and [@dustinrue](https://github.com/dustinrue).
932 * CSS vars usage in the new Sync page. Props [@Rahmon](https://github.com/Rahmon), [@JakePT](https://github.com/JakePT), [@mehidi258](https://github.com/mehidi258), and [@felipeelia](https://github.com/felipeelia).
933 * Features screen: improved accessibility and jQuery dependency removal. Props [@JakePT](https://github.com/JakePT).
934 * Taxonomy parameters now reflect the WordPress parsed `tax_query` value. Props [@felipeelia](https://github.com/felipeelia) and [@sathyapulse](https://github.com/sathyapulse).
935 * Features order in the Features screen. Props [@felipeelia](https://github.com/felipeelia) and [@brandwaffle](https://github.com/brandwaffle).
936 * WooCommerce's `search` parameter also to be used by ElasticPress queries. Props [@felipeelia](https://github.com/felipeelia), [@dianfishekqi](https://github.com/dianfishekqi), and [@oscarssanchez](https://github.com/oscarssanchez).
937 * Posts are now reindexed when a new term is associated with them and also when an associated term is updated or deleted. Props [@nickdaugherty](https://github.com/nickdaugherty), [@felipeelia](https://github.com/felipeelia), [@brandon-m-skinner](https://github.com/brandon-m-skinner), [@mckdemps](https://github.com/mckdemps), [@rebeccahum](https://github.com/rebeccahum).
938 * Complement to the resync message related to Instant Results. Props [@felipeelia](https://github.com/felipeelia) and [@brandwaffle](https://github.com/brandwaffle).
939 * Updated `jsdoc` from 3.6.9 to 3.6.10 and fixed the documentation of the `ep_thumbnail_image_size` filter. Props [@felipeelia](https://github.com/felipeelia).
940 * Instant Results: type and initial value of search template and move save to the end of sync. Props [@felipeelia](https://github.com/felipeelia) and [@oscarssanchez](https://github.com/oscarssanchez).
941
942 __Removed:__
943
944 * Built assets (minified JavaScript and CSS files) from the repository. Props [@felipeelia](https://github.com/felipeelia) and [@jeffpaul](https://github.com/jeffpaul).
945 * Duplicate `case 'description':` from `ElasticPress\Indexable\Term\Term::parse_orderby`. Props [@sjinks](https://github.com/sjinks).
946
947 __Fixed:__
948
949 * CSS issues on Features page. Props [@JakePT](https://github.com/JakePT).
950 * AJAX URL on subsites. Props [@Rahmon](https://github.com/Rahmon).
951 * PHP Notice while monitoring a WP-CLI sync in the dashboard. Props [@felipeelia](https://github.com/felipeelia) and [@ParhamG](https://github.com/ParhamG).
952 * Sync page when WooCommerce's "hide out of stock items" and Instant Results are both enabled. Props [@felipeelia](https://github.com/felipeelia).
953 * PHPUnit Tests and WordPress 5.9 compatibility. Props [@felipeelia](https://github.com/felipeelia).
954 * WooCommerce Orders Search when searching for an order ID. Props [@felipeelia](https://github.com/felipeelia).
955 * Code standards. Props [@felipeelia](https://github.com/felipeelia).
956 * Posts insertion and deletion in the same thread. Props [@felipeelia](https://github.com/felipeelia) and [@tcrsavage](https://github.com/tcrsavage).
957 * Invalid values in `tax_query` terms resulting in a query failure. Props [@rinatkhaziev](https://github.com/rinatkhaziev) and [@felipeelia](https://github.com/felipeelia).
958 * New Sync Page to display a message when an indexing is stopped by the WP-CLI `stop-indexing` command. Props [@Rahmon](https://github.com/Rahmon), [@felipeelia](https://github.com/felipeelia), and [@brandwaffle](https://github.com/brandwaffle).
959 * Nested queries are no longer deleted. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@christianc1](https://github.com/christianc1).
960 * Type hints for `epwr_decay` and `epwr_weight` hooks. Props [@edwinsiebel](https://github.com/edwinsiebel).
961 * Errors count in the new Sync page. Props [@felipeelia](https://github.com/felipeelia).
962 * Multisite could index posts from a disabled indexing site. Props [@oscarssanchez](https://github.com/oscarssanchez), [@chrisvanpatten](https://github.com/chrisvanpatten), [@felipeelia](https://github.com/felipeelia).
963 * New sync code and the `upper-limit-object-id` and `lower-limit-object-id` parameters in WP-CLI command. Props [@felipeelia](https://github.com/felipeelia).
964 * Sync link on index health page. Props [@JakePT](https://github.com/JakePT).
965 * Logic checking if it is a full sync and if search should go or not through ElasticPress. Props [@felipeelia](https://github.com/felipeelia) and [@JakePT](https://github.com/JakePT).
966
967 __Security:__
968
969 * Use most recent external GitHub Actions versions. Props [@felipeelia](https://github.com/felipeelia) and [@qazaqstan2025](https://github.com/qazaqstan2025).
970 * Updated `10up-toolkit` from 1.0.13 to 3.0.1, `jsdoc` from 3.6.7 to 3.6.9, `terser-webpack-plugin` from 5.2.4 to 5.3.0, `@wordpress/env` from 4.1.1 to 4.2.2, and `promise-polyfill` from 8.2.0 to 8.2.1. Props [@felipeelia](https://github.com/felipeelia).
971 * Bumped `follow-redirects` from 1.14.7 to 1.14.9. Props [@dependabot](https://github.com/dependabot).
972
973 = 3.6.6 - 2021-12-20 =
974
975 ElasticPress 4.0 Beta 1 is [now available](https://github.com/10up/ElasticPress/releases/tag/4.0.0-beta.1) for non-production testing.
976
977 **Note that the upcoming ElasticPress 4.0.0 release will remove built assets from the `develop` branch, will replace `master` with `trunk`, will add a zip with the plugin and its built assets in the GitHub release page, 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 `trunk` or to GitHub releases depending on whether you require built assets or not.
978
979 Supported versions changes planned for ElasticPress 4.0.0:
980
981 * Elasticsearch: from 5.0 - 7.9 to 5.2 - 7.10.
982 * WordPress: from 3.7.1+ to 5.6+.
983 * PHP: from 5.6+ to 7.0+.
984
985 __Added:__
986
987 * Ensure array query parameters do not contain empty items. Props [@roborourke](https://github.com/roborourke).
988 * WP-CLI `request` subcommand. Props [@joehoyle](https://github.com/joehoyle) and [@felipeelia](https://github.com/felipeelia).
989
990 __Changed:__
991
992 * Enabling features that require a reindex will now ask for confirmation. Props [@JakePT](https://github.com/JakePT), [@felipeelia](https://github.com/felipeelia), [@Rahmon](https://github.com/Rahmon), [@columbian-chris](https://github.com/columbian-chris), and [@brandwaffle](https://github.com/brandwaffle).
993
994 __Fixed:__
995
996 * Broken search pagination on hierarchical post types. Props [@tfrommen](https://github.com/tfrommen).
997 * Synonyms erased when syncing via WP-CLI. Props [@felipeelia](https://github.com/felipeelia) and [@oscarssanchez](https://github.com/oscarssanchez).
998 * Deleting a metadata without passing an object id now updates all associated posts. Props [@oscarssanchez](https://github.com/oscarssanchez), [@felipeelia](https://github.com/felipeelia), and [@Shrimpstronaut](https://github.com/Shrimpstronaut).
999 * Not indexable sites added to indexes list in WP-CLI commands. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@felipeelia](https://github.com/felipeelia).
1000
1001 = 3.6.5 - 2021-11-30 =
1002
1003 **Note that the upcoming ElasticPress 4.0.0 release will remove built assets from the `develop` branch, will replace `master` with `trunk`, will add a zip with the plugin and its built assets in the GitHub release page, 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 `trunk` or to GitHub releases depending on whether you require built assets or not.
1004
1005 Supported versions changes planned for ElasticPress 4.0.0:
1006
1007 * Elasticsearch: from 5.0 - 7.9 to 5.2 - 7.10.
1008 * WordPress: from 3.7.1+ to 5.6+.
1009 * PHP: from 5.6+ to 7.0+.
1010
1011 __Added:__
1012
1013 * Docs: Link to the support page in README.md. Props [@brandwaffle](https://github.com/brandwaffle).
1014 * New `ep_weighting_default_enabled_taxonomies` filter. Props [@felipeelia](https://github.com/felipeelia) and [@tott](https://github.com/tott).
1015 * `$blog_id` and `$indexable_slug` parameters to the `ep_keep_index` filter. Props [@felipeelia](https://github.com/felipeelia) and [@brandwaffle](https://github.com/brandwaffle).
1016
1017 __Changed:__
1018
1019 * Add `$type` parameter to `ep_do_intercept_request` filter. Props [@rebeccahum](https://github.com/rebeccahum) and [@felipeelia](https://github.com/felipeelia).
1020 * Cache the detected Posts mapping version, avoiding `get_mapping` calls in all admin requests. Props [@felipeelia](https://github.com/felipeelia).
1021 * Docs: Required ES and WP versions planned for ElasticPress 4.0.0. Props [@felipeelia](https://github.com/felipeelia).
1022 * The `admin.min.js` file was split in `notice.min.js` and `weighting.min.js`, being loaded accordingly. Props [@felipeelia](https://github.com/felipeelia) and [@barryceelen](https://github.com/barryceelen).
1023
1024 __Fixed:__
1025
1026 * Force fetching `ep_wpcli_sync_interrupted` transient from remote to allow for more reliable remote interruption. Props [@rinatkhaziev](https://github.com/rinatkhaziev) and [@rebeccahum](https://github.com/rebeccahum).
1027 * Duplicate orderby statement in Users query. Props [@brettshumaker](https://github.com/brettshumaker), [@pschoffer](https://github.com/pschoffer), and [@rebeccahum](https://github.com/rebeccahum).
1028 * When using offset and default maximum result window value for size, subtract offset from size. Props [@rebeccahum](https://github.com/rebeccahum).
1029 * Order for Custom Search Results in autosuggest. Props [@felipeelia](https://github.com/felipeelia) and [@johnwatkins0](https://github.com/johnwatkins0).
1030 * WP-CLI stats and status to output all indices related to ElasticPress. Props [@felipeelia](https://github.com/felipeelia).
1031 * Tests: Ensure that Posts related queries use ElasticPress. Props [@Rahmon](https://github.com/Rahmon).
1032 * Tests: PHPUnit and yoast/phpunit-polyfills. Props [@felipeelia](https://github.com/felipeelia).
1033
1034 __Security:__
1035
1036 * Bumped `path-parse` from 1.0.6 to 1.0.7. Props [@dependabot](https://github.com/dependabot).
1037 * Bumped `10up-toolkit` from 1.0.12 to 1.0.13. Props [@felipeelia](https://github.com/felipeelia).
1038
1039 = 3.6.4 - 2021-10-26 =
1040
1041 **Note that the upcoming ElasticPress 4.0.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,~~ will add a zip with the plugin and its built assets in the GitHub release page, 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` or to GitHub releases depending on whether you require built assets or not.
1042
1043 Supported versions changes planned for ElasticPress 4.0.0:
1044
1045 * Elasticsearch: from 5.0 - 7.9 to 5.2 - 7.10.
1046 * WordPress: from 3.7.1+ to 5.6+.
1047 * PHP: from 5.6+ to 7.0+.
1048
1049 __Added:__
1050
1051 * WP-CLI: New `get-mapping` command. Props [@tfrommen](https://github.com/tfrommen), [@felipeelia](https://github.com/felipeelia), and [@Rahmon](https://github.com/Rahmon).
1052 * New filters: `ep_query_request_args` and `ep_pre_request_args`. Props [@felipeelia](https://github.com/felipeelia).
1053 * Support for Autosuggest to dynamically inserted search inputs. Props [@JakePT](https://github.com/JakePT), [@rdimascio](https://github.com/rdimascio), [@brandwaffle](https://github.com/brandwaffle), and [@felipeelia](https://github.com/felipeelia).
1054
1055 __Changed:__
1056
1057 * Automatically generated WP-CLI docs. Props [@felipeelia](https://github.com/felipeelia).
1058 * Verification of active features requirement. Props [@Rahmon](https://github.com/Rahmon), [@felipeelia](https://github.com/felipeelia), and [@WPprodigy](https://github.com/WPprodigy).
1059 * `ewp_word_delimiter` base filter: changed from `word_delimiter` to `word_delimiter_graph`. Props [@pschoffer](https://github.com/pschoffer), [@Rahmon](https://github.com/Rahmon) and [@yolih](https://github.com/yolih).
1060 * Terms search query in admin will not be fuzzy. Props [@rebeccahum](https://github.com/rebeccahum).
1061
1062 __Fixed:__
1063
1064 * Elapsed time beyond 1000 seconds in WP-CLI index command. Props [@felipeelia](https://github.com/felipeelia) and [@dustinrue](https://github.com/dustinrue).
1065 * Layout of Index Health totals on small displays. Props [@JakePT](https://github.com/JakePT) and [@oscarssanchez](https://github.com/oscarssanchez).
1066 * Deprecated URL for multiple documents get from ElasticSearch. Props [@pschoffer](https://github.com/pschoffer).
1067 * Add new lines and edit terms in the Advanced Synonym Editor. Props [@JakePT](https://github.com/JakePT) and [@johnwatkins0](https://github.com/johnwatkins0).
1068 * Terms: Avoid falling back to MySQL when results are empty. Props [@felipeelia](https://github.com/felipeelia).
1069 * Terms: Usage of several parameters for searching and ordering. Props [@felipeelia](https://github.com/felipeelia) and [@Rahmon](https://github.com/Rahmon).
1070 * Attachment indexing on Elasticsearch 7. Props [@Rahmon](https://github.com/Rahmon).
1071 * Tests: Ensure that Documents related queries use ElasticPress. Props [@Rahmon](https://github.com/Rahmon).
1072 * Tests: Ensure that WooCommerce related queries use ElasticPress. Props [@Rahmon](https://github.com/Rahmon) and [@felipeelia](https://github.com/felipeelia).
1073 * Tests: Ensure that Comments related queries use ElasticPress. Props [@Rahmon](https://github.com/Rahmon) and [@felipeelia](https://github.com/felipeelia).
1074 * Tests: Ensure that Multisite related queries use ElasticPress. Props [@Rahmon](https://github.com/Rahmon) and [@felipeelia](https://github.com/felipeelia).
1075 * Tests: Ensure that Terms related queries use ElasticPress. Props [@felipeelia](https://github.com/felipeelia).
1076
1077 = 3.6.3 - 2021-09-29 =
1078
1079 **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.
1080
1081 Official PHP support is currently 5.6+. Minimum PHP version for ElasticPress 3.7.0 will be 7.0+.
1082
1083 __Added:__
1084
1085 * New `ep_facet_widget_term_html` and `ep_facet_widget_term_label` filters to the Facet widget for filtering the HTML and label of individual facet terms. Props [@JakePT](https://github.com/JakePT), [@Rahmon](https://github.com/Rahmon), and [@felipeelia](https://github.com/felipeelia).
1086 * New `ep_set_sort` filter for changing the `sort` clause of the ES query if `orderby` is not set in WP_Query. Props [@rebeccahum](https://github.com/rebeccahum) and [@felipeelia](https://github.com/felipeelia).
1087 * WP-CLI documentation for some commands and parameters. Props [@felipeelia](https://github.com/felipeelia).
1088
1089 __Changed:__
1090
1091 * In addition to post titles, now autosuggest also partially matches taxonomy terms. Props [@felipeelia](https://github.com/felipeelia) and [@Rahmon](https://github.com/Rahmon).
1092 * Date parsing change to avoid `E_WARNING`s. Props [@pschoffer](https://github.com/pschoffer).
1093
1094 __Fixed:__
1095
1096 * Comments created by anonymous users (but approved by default) are now indexed. Props [@tomjn](https://github.com/tomjn) and [@Rahmon](https://github.com/Rahmon).
1097 * Deleted terms are now properly removed from the Elasticsearch index. Props [@felipeelia](https://github.com/felipeelia).
1098 * Children of deleted terms are now properly removed from the Elasticsearch index. Props [@pschoffer](https://github.com/pschoffer).
1099 * Post tag duplicated in the Elasticsearch query. Props [@oscarssanchez](https://github.com/oscarssanchez), [@Rahmon](https://github.com/Rahmon), and [@felipeelia](https://github.com/felipeelia).
1100 * Infinite loading state of ElasticPress Related Posts block in the Widgets Edit Screen. Props [@felipeelia](https://github.com/felipeelia).
1101 * Return of `Search::integrate_search_queries()` when `is_integrated_request`. Props [@adiloztaser](https://github.com/adiloztaser).
1102 * Mapping determination based on existing info. Props [@felipeelia](https://github.com/felipeelia).
1103 * `WP_Term_Query` and `parent = 0`. Props [@felipeelia](https://github.com/felipeelia) and [@juansanchezfernandes](https://github.com/juansanchezfernandes).
1104 * WP Acceptance Tests. Props [@felipeelia](https://github.com/felipeelia).
1105 * Typos in the output of some WP-CLI Commands. Props [@rebeccahum](https://github.com/rebeccahum).
1106
1107 __Security:__
1108
1109 * Bumped `10up-toolkit` from 1.0.11 to 1.0.12, `terser-webpack-plugin` from 5.1.4 to 5.2.4, `@wordpress/api-fetch` from 3.21.5 to 3.23.1, and `@wordpress/i18n` from 3.18.0 to 3.20.0. Props [@felipeelia](https://github.com/felipeelia).
1110
1111 = 3.6.2 - 2021-08-26 =
1112 **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.
1113
1114 This version bumps official PHP support from 5.3+ to 5.6+. Minimum PHP version for ElasticPress 3.7.0 will be 7.0+.
1115
1116 __Added:__
1117
1118 * GitHub Action to test compatibility with different PHP versions. Props [@felipeelia](https://github.com/felipeelia).
1119 * Validate mapping currently in index against expected version. Props [@tott](https://github.com/tott), [@tlovett1](https://github.com/tlovett1), [@asharirfan](https://github.com/asharirfan), [@oscarssanchez](https://github.com/oscarssanchez), and [@felipeelia](https://github.com/felipeelia).
1120 * `ep_default_analyzer_filters` filter to adjust default analyzer filters. Props [@pschoffer](https://github.com/pschoffer) and [@felipeelia](https://github.com/felipeelia).
1121 * `title` and `aria-labels` attributes to each icon hyperlink in the header toolbar. Props [@claytoncollie](https://github.com/claytoncollie) and [@felipeelia](https://github.com/felipeelia).
1122 * `Utils\is_integrated_request()` function to centralize checks for admin, AJAX, and REST API requests. Props [@JakePT](https://github.com/JakePT), [@felipeelia](https://github.com/felipeelia), [@brandwaffle](https://github.com/brandwaffle), [@moritzlang](https://github.com/moritzlang), and [@lkraav](https://github.com/lkraav).
1123
1124 __Changed:__
1125
1126 * Use `10up-toolkit` to build assets. Props [@Rahmon](https://github.com/Rahmon), [@felipeelia](https://github.com/felipeelia), and [@nicholasio](https://github.com/nicholasio).
1127 * Official PHP supported version bumped to 5.6. Props [@felipeelia](https://github.com/felipeelia).
1128 * Lint React rules using `10up/eslint-config/react`. Props [@Rahmon](https://github.com/Rahmon).
1129 * For ES 7.0+ mappings, change `edgeNGram` to `edge_ngram`. Props [@pschoffer](https://github.com/pschoffer) and [@rinatkhaziev](https://github.com/rinatkhaziev).
1130
1131 __Removed:__
1132
1133 * Remove duplicate category_name, cat and tag_id from ES query when tax_query set. Props [@rebeccahum](https://github.com/rebeccahum) and [@oscarssanchez](https://github.com/oscarssanchez).
1134 * Remove unused `path` from `dynamic_templates`. Props [@pschoffer](https://github.com/pschoffer).
1135
1136 __Fixed:__
1137
1138 * Remove data from Elasticsearch on a multisite network when a site is archived, deleted or marked as spam. Props [@dustinrue](https://github.com/dustinrue) and [@felipeelia](https://github.com/felipeelia).
1139 * `stats` and `status` commands in a multisite scenario. Props [@Rahmon](https://github.com/Rahmon), [@felipeelia](https://github.com/felipeelia), and [@dustinrue](https://github.com/dustinrue).
1140 * Multiple words synonyms. Props [@scooterlord](https://github.com/scooterlord), [@jonasstrandqvist](https://github.com/jonasstrandqvist), and [@felipeelia](https://github.com/felipeelia).
1141 * Category slug used when doing cat Tax Query with ID. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@karols0](https://github.com/karols0).
1142 * Restore current blog when the_post triggers outside the loop in multisite environment and the whole network is searched if the first result is from another blog. Props [@gonzomir](https://github.com/gonzomir) and [@felipeelia](https://github.com/felipeelia).
1143 * Prevents a post from being attempted to delete twice. Props [@pauarge](https://github.com/pauarge).
1144 * Indexing button on Health screen. Props [@Rahmon](https://github.com/Rahmon) and [@oscarssanchez](https://github.com/oscarssanchez).
1145 * WP Acceptance tests and Page Crashed errors. Props [@felipeelia](https://github.com/felipeelia) and [@jeffpaul](https://github.com/jeffpaul).
1146 * Facets: Children of selected terms ordered by count. Props [@oscarssanchez](https://github.com/oscarssanchez), [@Rahmon](https://github.com/Rahmon), and [@felipeelia](https://github.com/felipeelia).
1147
1148 __Security:__
1149
1150 * Bumps `path-parse` from 1.0.6 to 1.0.7. Props [@dependabot](https://github.com/dependabot).
1151
1152 = 3.6.1 - 2021-07-15 =
1153 **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.
1154
1155 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.
1156
1157 __Added:__
1158
1159 * 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).
1160 * Flagged `3.6.0` as version that needs a full reindex. Props [@adiloztaser](https://github.com/adiloztaser) and [@felipeelia](https://github.com/felipeelia).
1161
1162 __Changed:__
1163
1164 * Notice when a sync is needed is now an error. Props [@felipeelia](https://github.com/felipeelia) and [@brandwaffle](https://github.com/brandwaffle).
1165
1166 __Fixed:__
1167
1168 * Encode the Search Term header before sending it to ElasticPress.io. Props [@felipeelia](https://github.com/felipeelia).
1169
1170 = 3.6.0 - 2021-07-07 =
1171 **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.
1172
1173 This version requires a full reindex.
1174
1175 __Breaking Changes:__
1176
1177 * 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).
1178 * Facets Widget presentation, replacing the `<input type="checkbox">` 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).
1179 * Confirmation for destructive WP-CLI commands. Props [@nickdaugherty](https://github.com/nickdaugherty) and [@Rahmon](https://github.com/Rahmon).
1180
1181 __Added:__
1182
1183 * Comments Indexable. Props [@dkotter](https://github.com/dkotter), [@dinhtungdu](https://github.com/dinhtungdu), [@Rahmon](https://github.com/Rahmon), and [@felipeelia](https://github.com/felipeelia).
1184 * "ElasticPress - Comments", a search form for comments. Props [@Rahmon](https://github.com/Rahmon) and [@felipeelia](https://github.com/felipeelia).
1185 * Facets: new `ep_facet_allowed_query_args` filter. Props [@mustafauysal](https://github.com/mustafauysal), [@JakePT](https://github.com/JakePT),[@Rahmon](https://github.com/Rahmon), and [@felipeelia](https://github.com/felipeelia).
1186 * Facets: new `ep_facet_use_field` filter. Props [@moraleida](https://github.com/moraleida).
1187 * GitHub Action to auto-close non-responsive reporter feedback issues after 3 days. Props [@jeffpaul](https://github.com/jeffpaul).
1188 * Autosuggest: new `ep_autosuggest_default_selectors` filter. Props [@JakePT](https://github.com/JakePT) and [@johnbillion](https://github.com/johnbillion).
1189 * 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).
1190 * `Elasticsearch::get_documents()` and `Indexable::multi_get()`. Props [@nickdaugherty](https://github.com/nickdaugherty), [@felipeelia](https://github.com/felipeelia), and [@Rahmon](https://github.com/Rahmon).
1191 * Custom sorting to features on the Features page. Props [@Rahmon](https://github.com/Rahmon).
1192 * Terms: add a new `facet` field to hold the entire term object in json format. Props [@moraleida](https://github.com/moraleida).
1193 * Elasticsearch connection check to Site Health page. Props [@spacedmonkey](https://github.com/spacedmonkey) and [@Rahmon](https://github.com/Rahmon).
1194 * Support for NOT LIKE operator for meta_query. Props [@Thalvik)](https://github.com/Thalvik) and [@Rahmon](https://github.com/Rahmon).
1195 * Support for `category__not_in` and `tag__not_in`. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@felipeelia](https://github.com/felipeelia).
1196 * Support for `post__name_in`. Props [@jayhill90](https://github.com/jayhill90) and [@oscarssanchez](https://github.com/oscarssanchez).
1197 * `$indexable_slug` property to `ElasticPress\Indexable\Post\SyncManager`. Props [@edwinsiebel](https://github.com/edwinsiebel).
1198 * Permission check bypass for indexing / deleting for cron and WP CLI. Props [@nickdaugherty](https://github.com/nickdaugherty) and [@felipeelia](https://github.com/felipeelia).
1199 * Check if term exists before a capabilities check is done. Props [@msawicki](https://github.com/msawicki).
1200 * New `ep_show_indexing_option_on_multisite` filter. Props [@johnbillion](https://github.com/johnbillion) and [@Rahmon](https://github.com/Rahmon).
1201 * Documentation updates related to upcoming changes in 3.7.0. Props [@jeffpaul](https://github.com/jeffpaul).
1202 * Documentation about how to search using rendered content (shortcodes and reusable blocks). Props [@johnbillion](https://github.com/johnbillion) and [@felipeelia](https://github.com/felipeelia).
1203 * Autosuggest: filter results HTML by defining a `window.epAutosuggestItemHTMLFilter()` function in JavaScript. Props [@JakePT](https://github.com/JakePT).
1204
1205 __Changed:__
1206
1207 * Facets Widget presentation, replacing the `<input type="checkbox">` 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).
1208 * Autosuggest: JavaScript is not loaded anymore when ElasticPress is indexing. Props [@fagiani](https://github.com/fagiani) and [@felipeelia](https://github.com/felipeelia).
1209 * `Indexable\Post\Post::prepare_date_terms()` to only call `date_i18n()` once. Props [@WPprodigy](https://github.com/WPprodigy) and [@Rahmon](https://github.com/Rahmon).
1210
1211 __Removed:__
1212
1213 * Assets source mappings. Props [@Rahmon](https://github.com/Rahmon) and [@MadalinWR](https://github.com/MadalinWR).
1214 * References to `posts_by_query` property and `spl_object_hash` calls. Props [@danielbachhuber](https://github.com/danielbachhuber) and [@Rahmon](https://github.com/Rahmon).
1215
1216 __Fixed:__
1217
1218 * GitHub issue templates. Props [@jeffpaul](https://github.com/jeffpaul).
1219 * Facets: error in filters where terms wouldn't match if the user types a space. Props [@felipeelia](https://github.com/felipeelia).
1220 * Facets: pagination parameters in links are now removed when clicking on filters. Props [@shmaltz](https://github.com/shmaltz), [@oscarssanchez](https://github.com/oscarssanchez), and [@Rahmon](https://github.com/Rahmon).
1221 * Output of WP-CLI index errors. Props [@notjustcode-sp](https://github.com/notjustcode-sp) and [@felipeelia](https://github.com/felipeelia).
1222 * `index_name` is transformed in lowercase before the index creation in Elasticsearch. Props [@teoteo](https://github.com/teoteo) and [@felipeelia](https://github.com/felipeelia).
1223 * Validate that a meta_value is a recognizable date value before storing. Props [@jschultze](https://github.com/jschultze), [@moraleida](https://github.com/moraleida) and [@Rahmon](https://github.com/Rahmon).
1224 * Array with a MIME type without the subtype in `post_mime_type` argument. Props [@ethanclevenger91](https://github.com/ethanclevenger91) and [@Rahmon](https://github.com/Rahmon).
1225 * Sort for WP_User_Query. Props [@Rahmon](https://github.com/Rahmon).
1226 * WP Acceptance Tests. Props [@felipeelia](https://github.com/felipeelia).
1227 * Styling issue of Autosuggest and search block (WP 5.8). Props [@dinhtungdu](https://github.com/dinhtungdu).
1228 * `Undefined variable: closed` notice in `Elasticsearch::update_index_settings()`. Props [@nickdaugherty](https://github.com/nickdaugherty) and [@pschoffer](https://github.com/pschoffer).
1229 * Documentation for WP-CLI `*-feature` commands. Props [@felipeelia](https://github.com/felipeelia).
1230 * Custom Results: a `current_user_can()` call now receives the post ID instead of the whole object. Props [@Sysix](https://github.com/Sysix).
1231 * Autosuggest: adjust debounce to avoid sending unnecessary requests to the server. Props [@Rahmon](https://github.com/Rahmon).
1232
1233 __Security:__
1234
1235 * Updated browserslist and jsdoc versions. Props [@felipeelia](https://github.com/felipeelia).
1236 * Updated lodash, hosted-git-info, ssri, rmccue/requests, and y18n versions. Props [@dependabot](https://github.com/dependabot).
1237
1238 = 3.5.6 - 2021-03-18 =
1239 This release fixes some bugs and also adds some new actions and filters.
1240
1241 __Security Fix:__
1242
1243 * Updated JS dependencies. Props [@hats00n](https://github.com/hats00n) and [@felipeelia](https://github.com/felipeelia)
1244
1245 __Bug Fixes:__
1246
1247 * Fixed document indexing when running index command with nobulk option. Props [@Rahmon](https://github.com/Rahmon)
1248 * Added an extra check in the iteration over the aggregations. Props [@felipeelia](https://github.com/felipeelia)
1249 * Fixed no mapping found for [name.sortable] for Elasticsearch version 5. Props [@Rahmon](https://github.com/Rahmon)
1250 * Fixed uninstall process to remove all options and transients. Props [@Rahmon](https://github.com/Rahmon)
1251
1252 __Enhancements:__
1253
1254 * Added missing inline JS documentation. Props [@JakePT](https://github.com/JakePT)
1255 * Added the filter `ep_autosuggest_http_headers`. Props [@Rahmon](https://github.com/Rahmon)
1256 * Added terms indexes to the status and stats WP-CLI commands. Props [@felipeelia](https://github.com/felipeelia)
1257 * The Protected Content feature isn't auto-activated when using ElasticPress.io anymore. Props [@felipeelia](https://github.com/felipeelia)
1258 * Added the new filter `ep_highlight_should_add_clause` to let developers decide where the highlight clause should be added to the ES query. Props [@felipeelia](https://github.com/felipeelia)
1259 * Added the new filter `epwr_weight` and changed the default way scores are applied based on post date. Props [@Rahmon](https://github.com/Rahmon)
1260
1261 = 3.5.5 - 2021-02-25 =
1262 This release fixes some bugs and also adds some new actions and filters.
1263
1264 __Bug Fixes:__
1265
1266 * Fix a problem in autosuggest when highlighting is not active. Props [@felipeelia](https://github.com/felipeelia) and [@Rahmon](https://github.com/Rahmon)
1267 * Fix a wrong phrase in the Indexables documentation. Props [@jpowersdev](https://github.com/jpowersdev)
1268 * Fix Facet Term Search for more than one Widget. Props [@goaround](https://github.com/goaround)
1269 * Fix a Warning that was triggered while using PHP 8. Props [@Rahmon](https://github.com/Rahmon)
1270
1271 __Enhancements:__
1272
1273 * Add an `is-loading` class to the search form while autosuggestions are loading. Props [@JakePT](https://github.com/JakePT)
1274 * Add the new `set-algorithm-version` and `get-algorithm-version` WP-CLI commands. Props [@felipeelia](https://github.com/felipeelia)
1275 * Add a new `ep_query_weighting_fields` filter. Props [@felipeelia](https://github.com/felipeelia) and [@tott](https://github.com/tott)
1276 * Add two parameters to the `ep_formatted_args_query` filter. Props [@felipeelia](https://github.com/felipeelia) and [@tott](https://github.com/tott)
1277 * Add the new `set-algorithm-version` and `get-algorithm-version` WP-CLI commands. Props [@felipeelia](https://github.com/felipeelia)
1278 * Create a new section in documentation called `Theme Integration`. Props [@JakePT](https://github.com/JakePT)
1279 * Improvements to contributing documentation and tests. Props [@jeffpaul](https://github.com/jeffpaul) and [@felipeelia](https://github.com/felipeelia)
1280 * Add the following new actions: `ep_wp_cli_after_index`, `ep_after_dashboard_index`, `ep_cli_before_set_search_algorithm_version`, `ep_cli_after_set_search_algorithm_version`, `ep_after_update_feature`, `ep_cli_before_clear_index`, and `ep_cli_after_clear_index`. Props [@felipeelia](https://github.com/felipeelia) and [@Rahmon](https://github.com/Rahmon)
1281
1282 = 3.5.4 - 2021-02-11 =
1283 This is primarily a security and bug fix release. PLEASE NOTE that versions 3.5.2 and 3.5.3 contain a vulnerability that allows a userto bypass the nonce check associated with re-sending the unaltered default search query to ElasticPress.io that is used for providing Autosuggest queries. If you are running version 3.5.2. or 3.5.3 please upgrade to 3.5.4 immediately.
1284
1285 __Security Fix:__
1286
1287 * Fixed a nonce check associated with updating the default Autosuggest search query in ElasticPress.io. Props [@felipeelia](https://github.com/felipeelia)
1288
1289 __Bug Fixes:__
1290
1291 * Fix broken click on highlighted element in Autosuggest results. Props [@felipeelia](https://github.com/felipeelia)
1292 * Properly cast `from` parameter in `$formatted_args` to an integer to prevent errors if empty. Props [@CyberCyclone](https://github.com/CyberCyclone)
1293
1294 __Enhancements:__
1295
1296 * Add an `ep_is_facetable` filter to enable custom control over where to show or hide Facets. Props [@moraleida]
1297 * Improvements to contributing documentation and tests. Props [@jeffpaul](https://github.com/jeffpaul) and [@felipeelia](https://github.com/felipeelia)
1298
1299 = 3.5.3 - 2021-01-28 =
1300 This is a bug fix release.
1301
1302 __Bug Fixes:__
1303
1304 * Fixed a bug where the `ep-synonym` post type is updated to a regular post, which can cause it to be accidentally deleted. Props [@Rahmon](https://github.com/Rahmon)
1305 * Fixed CSS formatting issues in the Settings and Features menus. Props [@Rahmon](https://github.com/Rahmon)
1306
1307 = 3.5.2 - 2021-01-18 =
1308 This is a bug fix release.
1309
1310 __Bug Fixes:__
1311
1312 * Fixed a typo in elasticpress.pot. Props [@alexwoollam](https://github.com/alexwoollam)
1313 * Don’t use timestamps that cause 5 digit years. Props [@brandon-m-skinner](https://github.com/brandon-m-skinner)
1314 * Fix admin notice on the Synonyms page. Props [@Rahmon](https://github.com/Rahmon)
1315 * Properly update slider numbers while sliding. Props [@Rahmon](https://github.com/Rahmon)
1316 * Properly handle error from `get_terms()`. Props [@ciprianimike](https://github.com/ciprianimike)
1317 * Fix incorrect titles page. Props [@Rahmon](https://github.com/Rahmon)
1318 * Fix linting tests. Props [@felipeelia](https://github.com/felipeelia)
1319 * Fix issue with price filter unsetting previous query. Props [@oscarssanchez](https://github.com/oscarssanchez)
1320
1321 __Enhancements:__
1322
1323 * Added actions that fire after bulk indexing (`ep_after_bulk_index`), in event of an invalid Elasticsearch response (`ep_invalid_response`), and before object deletion (`ep_delete_{indexable slug}`); added filters `ep_skip_post_meta_sync`, `pre_ep_index_sync_queue`, `ep_facet_taxonomies_size`, `epwr_decay_function`, `and epwr_score_mode`. Props [@brandon-m-skinner](https://github.com/brandon-m-skinner)
1324 * Added `ep_filesystem_args` filter. Props [@pjohanneson](https://github.com/pjohanneson)
1325 * Add SKU field to Weighting Engine if WooCommerce is active and fix issue with overriding `search_fields`. Props [@felipeelia](https://github.com/felipeelia)
1326 * Support `author__in` and `author__not_in` queries. Props [@dinhtungdu](https://github.com/dinhtungdu)
1327 * Update multiple unit tests. Props [@petenelson](https://github.com/petenelson)
1328 * Show CLI indexing status in EP dashboard. Props [@Rahmon](https://github.com/Rahmon)
1329 * Add `ep_query_send_ep_search_term_header` filter and don’t send `EP-Search-Term` header if not using ElasticPress.io. Props [@felipeelia](https://github.com/felipeelia)
1330
1331 = 3.5.1 - 2020-10-29 =
1332 A bug fix release.
1333
1334 __Bug fixes:__
1335
1336 * Fixes highlighting so that full content is returned instead of only snippets.
1337 * Fix empty synonym bug.
1338 * Only highlight post content, excerpt, and title.
1339
1340 __Enhancements:__
1341
1342 * Track CLI index in a headless fashion
1343
1344 = 3.5.0 - 2020-10-20 =
1345 Version 3.5 is a very exciting release as it contains two major new features: a synonym dashboard and search term result highlighting. The synonym dashboard empowerers users to create synonym lists for searches. For example. searching "New York City" would return contain with "NYC". Search term highlighting will underline and add a CSS class to keywords within content that matches the current search.
1346
1347 The new version also includes a revamp of the search algorithm. This is a backwards compatibility break. If you'd like to revert to the old search algorithm, you can use the following code: `add_filter( 'ep_search_algorithm_version', function() { return '3.4'; } );`. The new algorithm offers much more relevant search results and removes fuzziness which results in mostly unwanted results for most people. If you are hooking in and modifying the search query directly, it's possible this code might break and you might need to tweak it.
1348
1349 __Bug fixes:__
1350
1351 * Fix default autosuggest selector.
1352 * Fix facet feature $_GET parameter naming collision.
1353 * Autosuggest a11y fixes. Props [amesplant](https://github.com/amesplant).
1354 * Check $feature type before calling Feature methods. Props [pdewouters](https://github.com/pdewouters).
1355 * Ensure trashed post is removed from Elasticsearch. Props [edwinsiebel](https://github.com/edwinsiebel).
1356 * Add default permission callback to REST routes. Props [dkotter](https://github.com/dkotter).
1357 * Hide links to weighting and synonym dashboard if network activated. Props [felipeelia](https://github.com/felipeelia).
1358 * Only sync post on allow listed post meta. Props [felipeelia](https://github.com/felipeelia).
1359 * Check if site is indexable before syncing in network activated mode.
1360 * Fix facet widget and 3-level deep hierarchical taxonomy. Props [dinhtungdu](https://github.com/dinhtungdu).
1361 * Make sure AJAX sync is disabled if EP_DASHBOARD is set to false.. Props [turtlepod](https://github.com/turtlepod).
1362
1363 __Enhancements:__
1364
1365 * Synonym dashboard. Props [christianc1](https://github.com/christianc1).
1366 * Search term highlighting. Props [oscarsanchez](https://github.com/oscarsanchez).
1367 * Search algorithm improvements.
1368 * Improved WP Acceptance tests. Props [asharirfan](https://github.com/asharirfan).
1369 * Rename ElasticPress submenu to "Features". Props [helen](https://github.com/helen).
1370 * Add functionality for skipping ElasticPress install.
1371 * Increase max supported Elasticsearch version to 7.9.
1372 * Add filter to prepared user meta data. Props [g-kanoufi](https://github.com/g-kanoufi).
1373 * Improve Terms Feature terminology to remove confusion.
1374 * Add filter to facet terms query arguments. Props [felipeelia](https://github.com/felipeelia).
1375
1376 = 3.4.3 - 2020-07-21 =
1377 __Enhancements:__
1378
1379 * Remove jQuery from front end JavaScript dependencies.
1380
1381 __Bug Fixes:__
1382
1383 * Fix accessibility bug on autosuggest.
1384 * Fix broken facet search.
1385
1386 = 3.4.2 - 2020-06-17 =
1387 __Bug fixes:__
1388
1389 * uninstall.php: Change the EP_FILE const to its value. Props [felipeelia](https://github.com/felipeelia).
1390 * Fix list features WP CLI command. Props [felipeelia](https://github.com/felipeelia).
1391 * Add `rel="nofollow"` to facet links. Props [mlaroy](https://github.com/mlaroy).
1392 * Facets widget: Move <div> outside ob_start(). Props [kallehauge](https://github.com/kallehauge).
1393 * Load facet scripts and styles only when they are really necessary. Props [goaround](https://github.com/goaround).
1394 * Index attachments with Protected Content and query for them in media search. Props [oscarsanchez](https://github.com/oscarsanchez).
1395 * Fixed `Deprecated field [include] used, expected [includes] instead.`. Props [dinhtungdu](https://github.com/dinhtungdu).
1396
1397 __Enhancements:__
1398
1399 * Add filter for enabling sticky posts. Props [shadyvb](https://github.com/shadyvb).
1400 * Add sync kill filter. Props [barryceelen](https://github.com/barryceelen).
1401 * Add timeout filters for bulk_index and index_document. Props [@oscarsanchez](https://github.com/oscarsanchez).
1402
1403 = 3.4.1 - 2020-3-31 =
1404 * Make weighting dashboard flex containers to prevent the slider from changing size. Props [@mlaroy](https://github.com/mlaroy).
1405 * Fix issue where weightings wouldn't save properly for certain post types. Props [mustafauysal](https://github.com/mustafauysal).
1406 * Fix bug where terms wouldn't finish syncing in certain scenarios.
1407 * Properly order WooCommerce products using double to account for decimals. Props [@oscarsanchez](https://github.com/oscarsanchez).
1408 * Show current indices in index health dashboard. Props [moraleida](https://github.com/moraleida).
1409
1410 = 3.4.0 - 2020-03-03 =
1411 * Addition of Terms Indexable and Feature. ElasticPress can now integrate with `WP_Term_Query`. Props [dkotter](https://github.com/dkotter).
1412 * Fixes for `WP_User_Query` 'fields' parameter. Props [petenelson](https://github.com/petenelson).
1413 * Support all taxonomies in root of `WP_Query`
1414 * Readd `ep_retrieve_aggregations` hook for backwards compatibility
1415 * Move indexable posts class registration into a function that runs in the `plugins_loaded` action. Props [petenelson](https://github.com/petenelson).
1416 * Fix author name in weighting and use post_author.display_name for weighted author field search. Props [petenelson](https://github.com/petenelson).
1417 * Add `ep_prepared_*_meta` filters
1418 * Refactor CLI indexing code for simplicity.
1419 * Limit indexed Protected Content post types removing `revision`, `oembed_cache`, `custom_css`, `user_request`, `customize_changeset`, and `wp_block`.
1420 * Cast taxonomy slug to array in case it's already an array in `WP_Query`.
1421 * Remove unnecessary usage of `--network-wide` CLI parameter.
1422 * Add name, nickname, and display name to fields used for user search.
1423 * Add `clear-transient` WP CLI command.
1424 * Don't make product categories facetable when WooCommerce feature is not active. Props [mustafauysal](https://github.com/mustafauysal).
1425
1426 = 3.3.0 - 2018-12-18 =
1427 * Officially support Elasticsearch 7.5
1428 * Add optional Google Analytics Autosuggest tracking Event
1429 * Fix single node warning before sync has occurred.
1430 * When `ep_integrate` is set to false, do not apply faceting.
1431 * Fix search ordering error when there are no pointers.
1432 * Add filter `ep_get_hits_from_query` to modify retrieved Elasticsearch hits.
1433 * Make sure `post_type` array does not include keys. Fixes a bbPress issue.
1434 * Pass query object to EP response so we can check for main query. This fixes a faceting bug.
1435 * Add EP-Search-Term header to autosuggest requests to EP.io
1436 * Clean up indexing transient on sigkill
1437
1438 = 3.2.6 - 2019-11-27 =
1439 This is a bugfix release
1440
1441 * Under some edge conditions content for autosuggest can be large - don't cache it
1442
1443 = 3.2.5 - 2019-11-20 =
1444 This is a bug fix version.
1445
1446 * Fix WP <5.0 fatal error on register_block_type.
1447
1448 = 3.2.4 - 2019-11-19 =
1449 This is a bug fix version.
1450
1451 * Fix Gutenberg block initialization
1452 * Fix Autosuggest: remove filter with proper priority in query generation. Props [Maxdw](https://github.com/Maxdw).
1453 * Fix Autosuggest: returning WP_Error for non object cache autosuggest queries causes issue. Fallback to transient
1454
1455 = 3.2.3 - 2019-11-13 =
1456 This is a bug fix version.
1457
1458 * Ensure query building for Autosuggest does not fallback to WPDB.
1459
1460 = 3.2.2 - 2019-11-05 =
1461 This is a bug fix version with some feature additions.
1462
1463 * Fix PHPCS errors. Props [mmcachran](https://github.com/mmcachran)
1464 * Fix ensuring stats are built prior to requesting information
1465 * Fix related post block enqueue block assets on the frontend
1466 * Fix custom order results change webpack config for externals:lodash
1467 * Fix don't overwrite search fields
1468 * Autosuggest queries generated though PHP instead of JavaScript
1469 * Add WP Acceptance tests
1470 * Add new WP-CLI commands: get_indexes and get_cluster_indexes
1471
1472 = 3.2.1 - 2019-10-14 =
1473 This is a bug fix version.
1474
1475 * Fix Gutenberg breaking issue with Related Posts and image blocks. Props [adamsilverstein](https://github.com/adamsilverstein)
1476
1477 = 3.2.0 - 2019-10-08 =
1478 ElasticPress 3.2 is a feature release. We've added quite a few useful features including an index health page, the ability to control which sites are indexed in a network activated multisite setup, a related posts Gutenberg block, and more.
1479
1480 * Improve block asset enqueueing: hook on `enqueue_block_editor_assets`. Props [adamsilverstein](https://github.com/adamsilverstein).
1481 * Handle empty search weighting fields bug.
1482 * Integrate WooCommerce default filter by price widget with ES range query.
1483 * Improve messaging for custom result post type.
1484 * Index health page.
1485 * Add tag_in and tag__and support.
1486 * Related posts Gutenberg block.
1487 * Facet widget ordering option. Props [psorensen](https://github.com/psorensen).
1488 * Control Index-ability of individual sites in multisite.
1489 * Integrate WooCommerce default filter by price widget with ES range query.
1490
1491 See https://github.com/10up/ElasticPress/pulls?utf8=%E2%9C%93&q=is%3Apr+milestone%3A3.2.0+is%3Aclosed+
1492
1493 = 3.1.4 - 2019-08-28 =
1494 Version 3.1.4 is a bug fix release.
1495
1496 See fixes: https://github.com/10up/ElasticPress/pulls?q=is%3Apr+milestone%3A3.1.4+is%3Aclosed
1497
1498 = 3.1.3 - 2019-08-22 =
1499 This is a bug fix release.
1500
1501 * Check wpcli transient before integrating with queries
1502 * Fix version comparison bug when comparing Elasticsearch versions
1503 * Use proper taxonomy name for WooCommerce attributes.
1504 * Increase Elasticsearch minimum supported version to 5.0
1505 * Fix product attribute archives
1506
1507 = 3.1.2 - 2019-08-16 =
1508 This is a bug fix release with some filter additions.
1509
1510 * Add ep_es_query_results filter.
1511 * Add option to sync prior to shutdown.
1512 * Readme update around WPCLI post syncing. Props [@mmcachran](https://github.com/mmcachran)
1513 * Ignore sticky posts in `find_related`. Props [@columbian-chris](https://github.com/columbian-chris)
1514 * Weighting dashboard fixes around saving. [@oscarsanchez](https://github.com/oscarsanchez)
1515 * Weighting UI improvements. Props [@mlaroy](https://github.com/mlaroy)
1516
1517 = 3.1.1 - 2019-07-25 =
1518 * Ensure taxonomies that are shared among multiple post types show up on the weighting screen
1519
1520 = 3.1.0 - 2019-07-22 =
1521 * Support for nested tax queries. Props [@dkotter](https://github.com/dkotter)
1522 * `ep_bulk_index_action_args` filter. Props [@fabianmarz](https://github.com/fabianmarz)
1523 * Add filters to control MLT related posts params.
1524 * `ep_allow_post_content_filtered_index` filter to bypass filtered post content on indexing.
1525 * Weighting dashboard to control weights of specific fields on a per post type basis
1526 * Search ordering feature. Enables custom results for specific search queries.
1527 * Refactor admin notice, admin screen "resolver", and install path logic
1528 * WordPress.org profile
1529 * New EP settings interface. Props [@dkoo](https://github.com/dkoo)
1530 * Delete pagination from facet URL.
1531 * allows WooCommerce product attributes to be facetable in 3.0
1532 * Autosuggest queries now match the search queries performed by WordPress, including weighting and any custom results
1533 * Fix data escaping in WP 4.8.x
1534 * Support order by "type"/"post_type" in EP queries
1535 * Properly redirect after network sync
1536 * User mapping for pre 5.0 Props [@mustafauysal](https://github.com/mustafauysal)
1537 * Avoid multiple reflows in autosuggest. Props [@fabianmarz](https://github.com/fabianmarz)
1538 * 400 error when popularity is default sorting.
1539 * Fixed Facet widget not rendering WC product attribute options. Props [@fabianmarz](https://github.com/fabianmarz)
1540 * Delete wpcli sync option/transient when an error occurs
1541 * Create index/network alias when adding a new site on a network activated installation. Props [@elliott-stocks](https://github.com/elliott-stocks)
1542 * Fix WooCommerce order search when WooCommerce module activated but protected content turned off.
1543
1544 = 3.0.3 - 2019-06-04 =
1545 * Pass $post_id twice in ep_post_sync_kill for backwards compatibility. Props [aaemnnosttv](https://github.com/aaemnnosttv)
1546 * Add `ep_search_request_path` filter for backwards compant.
1547 * Add `ep_query_request_path` filter for modifying the query path.
1548 * Fix missing action name in post query integration.
1549 * Properly add date filter to WP_Query.
1550
1551 = 3.0.2 - 2019-05-23 =
1552 3.0.2 is a minor bug release version. Here is a list of fixes:
1553
1554 * Fix date query errors
1555 * Readd ep_retrieve_the_{type} filter. Props [gassan](https://github.com/gassan)
1556 * Fix empty autosuggest selector notice
1557
1558 = 3.0.1 - 2019-05-20 =
1559 3.0.1 is a minor bug release version. Here is a list of fixes:
1560
1561 * `wp elasticpress stats` and `wp elasticpress status` commands fatal error fixed.
1562 * Add autosuggest selector field default to fix notice.
1563 * Re-add `ep_find_related` as deprecated function.
1564 * Changed max int to use core predefined constant. Props [@fabianmarz](https://github.com/fabianmarz)
1565 * Properly support legacy feature registration callbacks per #1329.
1566 * Properly disable settings as needed on dashboard.
1567 * Don't force document search on REST requests.
1568
1569 = 3.0 - 2019-05-13 =
1570 NOTICE: Requires re-index.
1571
1572 3.0 is a refactor of ElasticPress for modern coding standards (PHP 5.4 required) as well as the introduction to indexables. Indexables abstracts out content types so data types other than post can be indexed and searched. 3.0 includes user indexing and search (integration with WP_User_Query). User features require at least WordPress version 5.1.
1573
1574 The refactor changes a lot of ElasticPress internals. The biggest change is the feature registration API has completely changed. Now, new features should extend the `ElasticPress\Feature` class rather than calling `ep_register_feature`. Older features should be backwards compatible.
1575
1576 Other Features:
1577 * Elasticsearch language setting in admin
1578
1579 Here are a list of filters/actions removed or changed:
1580
1581 ### Actions Removed:
1582
1583 * `ep_feature_setup`
1584
1585 ### Filters changed:
1586
1587 * `ep_post_sync_kill` - Removed `$post_args` argument.
1588
1589 ### Other changes:
1590
1591 * `posts-per-page` changed to `per-page` for WP-CLI index command.
1592
1593 = 2.8.2 - 2019-03-26 =
1594 * Enhancement: WooCommerce product attributes as facets.
1595 * Enhancement: Performance Boost for document indexing.
1596 * Bugfix for issue on WP REST API searches.
1597 * Bugfix for case-sensitivity issue with facet search.
1598
1599 = 2.8.1 - 2019-02-13 =
1600 * Bugfix for homepage out of chronological order.
1601 * Bugfix for missing meta key. (Props [turtlepod](https://github.com/turtlepod))
1602 * Bugfix for bulk indexing default value on settings page.
1603
1604 = 2.8.0 - 2019-02-08 =
1605 ElasticPress 2.8 provides some new enhancements and bug fixes.
1606
1607 * Sticky posts support.
1608 * Meta LIKE query adjustment.
1609 * Autosuggest bugfix.
1610 * Autosuggest to abide by plugin settings.
1611 * WooCommerce searches with custom fields.
1612 * Adjustment to `wp elasticpress status`
1613 * Add Elasticsearch version in settings. (Props [turtlepod](https://github.com/turtlepod))
1614 * Allow user to set number of posts during bulk indexing cycle.
1615 * Facet query string customization (Props [ray-lee](https://github.com/ray-lee))
1616 * Removal of logic that determines if blog is public / indexable. (Resolves sync issue.)
1617 * Fix for auto activating sync notices. (Props [petenelson](https://github.com/petenelson))
1618 * Removal of date weighting for protected content admin queries.
1619 * Protected content: filtering of filtered post types.
1620 * Implemented --post-ids CLI option to index only specific posts. (Props [dotancohen](https://github.com/dotancohen))
1621
1622 = 2.7.0 - 2018-12-06 =
1623 NOTICE: Requires re-index
1624
1625 ElasticPress 2.7 provides some new enhancements and bug fixes.
1626
1627 * Prevent indexing when blog is deleted or not public.
1628 * Do not apply absint to comment_status.
1629 * ElasticPress.io credentials bugfix.
1630 * Related posts bugfix.
1631 * Random WooCommerce ordering allowed.
1632 * Query only post IDs when indexing. (Props [elliott-stocks](https://github.com/elliott-stocks))
1633 * Better error notices. (Props [petenelson](https://github.com/petenelson))
1634
1635 = 2.6.1 - 2018-08-24 =
1636 * Resolves issue of missing file for wp-cli.
1637
1638 = 2.6.0 - 2018-08-22 =
1639 ElasticPress 2.6 provides some new enhancements and bug fixes.
1640
1641 * Ability to set autosuggest endpoint by a constant (EP_AUTOSUGGEST_ENDPOINT).
1642 * Enable WooCommerce products to be included in autosuggest results.
1643 * Support for tax_query operators EXISTS and NOT EXISTS.
1644 * Addition of new filter to change default orderby/sort (ep_set_default_sort).
1645 * Do not search for author_name when searching products in WooCommerce.
1646
1647 = 2.5.2 - 2018-05-09 =
1648 NOTICE: Requires re-index.
1649
1650 This is a small bug fix release.
1651
1652 * Removed unnecessary facet JavaScript
1653 * Fix facet aggregations warning
1654
1655 = 2.5.1 - 2018-05-02 =
1656 NOTICE: Requires re-index.
1657
1658 This if a bug fix release. This version requires a re-index as we change the way data is being sent to Elasticsearch.
1659
1660 It's also worth noting for ElasticPress version 2.5+, the Facets feature, which is on by default, will run post type archive and search page main queries through Elasticsearch. If Elasticsearch is out of sync with your content (possible in rare edge cases), this could result in incorrect content being shown. Turning off Facets would fix the problem.
1661
1662 ### Bug Fixes
1663
1664 * Don't pre-strip HTML before sending it to Elasticsearch.
1665 * Support PHP 5.2 backwards compat.
1666 * Don't show faceting widget if post type doesn't support taxonomy.
1667
1668 = 2.5 - 2018-04-23 =
1669 ElasticPress 2.5 includes a new Facets feature that makes it easy to add high performance content filtering controls to a website.
1670
1671 A new Facets widget enables site administrators to add taxonomy facets to a sidebar (or any widgetized area). When viewing a content list on the front end of the website, the widget will display the name of the taxonomy – e.g. “Categories” – and a checklist with all of its terms. Visitors can narrow down content by selecting terms they are interested in. The Facets feature can be globally configured to narrow results to content that is tagged with any or all of the selected terms. The widget’s front end output contains carefully named CSS classes, so that designers and developers can apply unique styling.
1672
1673 Version 2.5 also includes a number of smaller enhancements and fixes, including official support for Elasticsearch 6.2, and increased functional parity with the WP_Query API.
1674
1675 Here is a detailed list of what's been included in the release:
1676
1677 ### Enhancements
1678 * Facets feature
1679 * `--post-ids` CLI option to index only specific posts. Props [dotancohen](https://github.com/dotancohen).
1680 * Filter for hiding host setting in dashboard. Props [tomdxw](https://github.com/tomdxw).
1681 * Support `WP_Query` meta query `not between` comparator.
1682
1683 ### Bugs
1684 * Disallow duplicated Elasticsearch requests on WooCommerce orders page. Props [lukaspawlik](https://github.com/lukaspawlik)
1685 * Fix taxonomy sync object warning. Props [eugene-manuilov](https://github.com/eugene-manuilov)
1686 * `true` in `is_empty_query` terminates ep_query process when it shouldn't. Props [yaronuliel](https://github.com/yaronuliel)
1687
1688 = 2.4.2 - 2018-01-31 =
1689 Version 2.4.2 is a bug fix version.
1690
1691 * Fix related posts not showing up bug.
1692
1693 = 2.4.1 - 2018-01-30 =
1694 Version 2.4.1 is a bug fix and maintenance release. Here are a listed of issues that have been resolved:
1695
1696 * Support Elasticsearch 6.1 and properly send Content-Type header with application/json. Props [eugene-manuilov](https://github.com/eugene-manuilov).
1697 * Fix autosuggest event target issue bug. Props [eugene-manuilov](https://github.com/eugene-manuilov).
1698 * Fix widget init bug. Props [eugene-manuilov](https://github.com/eugene-manuilov).
1699 * Fix taxonomy sync parameter warning. Props [eugene-manuilov](https://github.com/eugene-manuilov).
1700 * Increase maximum Elasticsearch compatibility to 6.1
1701
1702 = 2.4 - 2017-11-01 =
1703 Version 2.4 introduces the Autosuggest feature. When enabled, input fields of type "search" or with the CSS class "search-field" or "ep-autosuggest" will be enhanced with autosuggest functionality. As text is entered into the search field, suggested content will appear below it, based on top search results for the text. Suggestions link directly to the content.
1704
1705 We also added hooks and filters to ElasticPress that make query logging possible. The [Debug Bar ElasticPress](https://github.com/10up/debug-bar-elasticpress) plugin now adds a Query Log screen to the ElasticPress admin menu. The Query Log is an extremely powerful tool for diagnosing search and indexing issues.
1706
1707 Here is a comphrensive list of changes:
1708
1709 ### Enhancements
1710 * Autosuggest feature
1711 * Hooks for query log functionality in [Debug Bar ElasticPress](https://github.com/10up/debug-bar-elasticpress)
1712 * Support `WP_Query` `fields` parameter. Props [kallehauge](https://github.com/kallehauge).
1713 * Add setting for enabling/disabling date weighting in search. Props [lukaspawlik](https://github.com/kallehauge).
1714 * Remove extra post meta storage key from Elasticsearch
1715 * Add shipping class as indexed WooCommerce taxonomy. Props [kallehauge](https://github.com/kallehauge).
1716 * Allow WooCommerce orders to be searched by items. Props [kallehauge](https://github.com/kallehauge).
1717 * Support Elasticsearch 5.6
1718 * Add filter to granularly control admin notices. Props [mattonomics](https://github.com/mattonomics).
1719 * Support ES 5.5+ strict content type checking. Props [sc0ttclark](https://github.com/sc0ttclark)
1720
1721 ### Bug Fixes
1722 * Fix `author_name` search field. Props [ivankristianto](https://github.com/ivankristianto).
1723 * Fix unavailable taxonomy issue in WooCommerce. Props [ivankristianto](https://github.com/ivankristianto).
1724 * Index all publicly queryable taxonomies. Props [allan23](https://github.com/allan23).
1725 * Resolve case insensitive sorting issues. Props [allan23](https://github.com/allan23).
1726 * Add escaping per VIP standards. Props [jasonbahl](https://github.com/jasonbahl).
1727 * Fix WooCommerce post type warnings.
1728
1729 = 2.3.1, 2.3.2 - 2017-06-30=
1730 Version 2.3.1-2.3.2 is a bug fix release. Here are a listed of issues that have been resolved:
1731
1732 * Cache ES plugins request. This is super important. Instead of checking the status of ES on every page load, do it every 5 minutes. If ES isn't available, show admin notification that allows you to retry the host.
1733 * Fix broken upgrade sync notification.
1734 * Properly respect WC product visibility. Props [ivankristianto](https://github.com/ivankristianto). This requires a re-index if you are using the WooCommerce feature.
1735
1736 = 2.3 - 2017-05-26 =
1737 Version 2.3 introduces the Documents feature which indexes text inside of popular file types, and adds those files types to search results. We've also officially added support for Elasticsearch 5.3.
1738
1739 ### Enhancements
1740 * Documents feature
1741 * Enable multiple feature status messages
1742 * Disable dashboard sync via constant: `define( 'EP_DASHBOARD_SYNC', false );`. Props [rveitch](https://github.com/rveitch).
1743 * Add filter for custom WooCommerce taxonomies. Props [kallehauge](https://github.com/kallehauge).
1744 * Support WooCommerce `product_type` taxonomy. Props [kallehauge](https://github.com/kallehauge).
1745
1746 ### Bug Fixes
1747 * Fix WP-CLI `--no-bulk` number of posts indexed message. Props [ivankristianto](https://github.com/ivankristianto).
1748 * Honor `ep_integrate` in WooCommerce queries. Props [ivankristianto](https://github.com/ivankristianto).
1749 * Properly check when ES results are empty. Props [lukaspawlik](https://github.com/lukaspawlik)
1750 * Incorrect `found_posts` set in query when ES is unavailable. Props [lukaspawlik](https://github.com/lukaspawlik)
1751
1752 = 2.2.1 - 2017-03-30 =
1753 Version 2.2.1 is a bug fix release. Here are a listed of issues that have been resolved:
1754
1755 * Fix dashboard syncing delayed start issues.
1756 * If plugins endpoint errors, try root endpoint to get the ES version.
1757 * Make sure orderby is correct for default WooCommerce sorting. Props [ivankristianto](https://github.com/ivankristianto).
1758 * Remove operator=>AND unneed execution code.
1759 * Stop dashboard sync if error occurs in the middle. Props [ivankristianto](https://github.com/ivankristianto).
1760 * Add `EP_INDEX_PREFIX` constant. If set, index names will be prefixed with the constant. Props [allan23](https://github.com/allan23).
1761 * Increase total field limit to 5000 and add filter. Props [ssorathia](https://github.com/ssorathia).
1762 * Prevent EP from auto-activating a feature that was force deactivated
1763 * Prevent massive field Elasticsearch error when indexing large strings
1764 * Increase max result window size to 1000000 and add filter.
1765
1766 = 2.2 - 2017-02-28 =
1767 NOTICE: Requires re-index.
1768
1769 Version 2.2 rethinks the module process to make ElasticPress a more complete query engine solution. Modules are now auto-on and really just features. Why would anyone want to not use amazing functionality that improves speed and relevancy on their website? Features (previously modules) can of course be overridden and disabled. Features that don't have their minimum requirements met, such as a missing plugin dependency, are auto-disabled.
1770
1771 We've bumped the minimum Elasticsearch version to 1.7 (although we strongly recommend 2+). The maximum tested version of Elasticsearch is version 5.2. If you are running Elasticsearch outside this version range, you will see a warning in the dashboard.
1772
1773 ### Enhancements
1774 * __(Breaking change)__ Module registration API changed. See `register_module` in `classes/class-ep-modules.php`.
1775 * __(Breaking change)__ Related posts are now in a widget instead of automatically being appending to content.
1776 * __(Breaking change)__ Admin module renamed to Protected Content.
1777 * Admin warning if current Elasticsearch version is not between the min/max supported version. Version 2.2 supports versions 1.3 - 5.1.
1778 * Auto-reindex on versions requiring reindex.
1779 * User friendly admin notifications for ElasticPress not set up, first sync needed, and feature auto activation.
1780 * Protected Content feature applies to all features. This means if Protected Content isn't active, search or WooCommerce integration won't happen in the admin.
1781 * Add support for post_mime_type. Props [Ritesh-patel](https://github.com/Ritesh-patel)
1782
1783 ### Bug Fixes
1784 * Back compat with old `ep_search` function.
1785 * Respect indexable post types in WooCommerce feature
1786 * New product drafts not showing in WooCommerce admin list
1787 * WooCommerce feature breaking image search in media library. Props [Ritesh-patel](https://github.com/Ritesh-patel)
1788 * WooCommerce order search broken
1789 * Stop the insansity made private. Props [sc0ttclark](https://github.com/sc0ttclark)
1790 * Fix multidimensional meta queries. Props [Ritesh-patel](https://github.com/Ritesh-patel).
1791 * Properly show bulk index errors in WP-CLI
1792 * Update ep_delete_post, include $post_type argument. Props [Ritesh-patel](https://github.com/Ritesh-patel)
1793 * Fix post_type product getting set in any WP_Query if tax_query is provided in WooCommerce feature. Props [Ritesh-patel](https://github.com/Ritesh-patel)
1794 * Adds 'number' param to satisfy WP v4.6+ fixing get_sites call. Props [rveitch](https://github.com/rveitch)
1795 * Order by proper relevancy in WooCommerce product search. Props [ivankristianto](https://github.com/ivankristianto)
1796 * Fix recursion fatal error due to oembed discovery during syncing. Props [ivankristianto](https://github.com/ivankristianto)
1797
1798 = 2.1.2 - 2016-11-11 =
1799 NOTICE: Requires re-index.
1800
1801 * Separate mapping for ES 5.0+
1802 * Fix some unit tests
1803
1804 = 2.1.1 - 2016-09-29 =
1805 * Fix PHP 5.3 errors
1806 * Properly show syncing button module placeholder during sync
1807
1808 = 2.1 - 2016-09-20 =
1809 * Redo UI
1810 * Make plugin modular
1811 * Remove unnecessary back up hosts code
1812 * Bundle existing modules into plugin
1813 * Support `meta_key` and `meta_value`
1814 * Order by `meta_value_num`
1815 * Properly support `post_parent = 0`. Props [tuanmh](https://github.com/tuanmh)
1816 * Add search scope file. Props [rveitch](https://github.com/rveitch)
1817 * Support WP_Query `post_status`. Props [sc0ttclark](https://github.com/sc0ttkclark)
1818
1819 ### Backward compat breaks:
1820 * Move ep_admin_wp_query_integration to search integration only. EP integration by default is available everywhere.
1821 * Remove `keep alive` setting
1822 * Remove setting to integrate with search (just activate the module instead)
1823 * Back up hosts code removed
1824 * Remove active/inactive state. Rather just check if an index is going on our not.
1825
1826 ### Bug fixes
1827 * Fix `post__in` support
1828 * Fix `paged` overwriting `offset`
1829 * Fix integer and comma separated string `sites` WP_Query processing. Props [jaisgit](https://github.com/jaisgit).
1830
1831 = 2.0.1 - 2016-08-02 =
1832 ### Bug fixes
1833 * Don't load settings on front end. This fixes a critical bug causing ElasticPress to check the Elasticsearch connection on the front end.
1834
1835 = 2.0 - 2016-06-01 =
1836 10up ships ElasticPress 2.0 with __radical search algorithm improvements__ and a __more comprehensive integration of WP_Query__. ElasticPress is now even closer to supporting the complete WP_Query API. This version also improves upon post syncing ensuring that post meta updates are synced to Elasticsearch, adds a number of important hooks, and, of course, fixes some pesky bugs.
1837
1838 ### Enhancements
1839 * Radical search algorithm improvements for more relevant results (see [#508](https://github.com/10up/ElasticPress/pull/508) for details)
1840 * Support meta `BETWEEN` queries.
1841 * Improve GUI by disabling index status meta box text and improving instructions. Props [ivanlopez](https://github.com/ivanlopez)
1842 * Support `OR` relation for tax queries.
1843 * Sync post to Elasticsearch when meta is added/updated.
1844 * Support all taxonomies as root WP_Query arguments. Props [tuanmh](https://github.com/tuanmh)
1845 * Add `ID` field to Elasticsearch mapping
1846 * Support `post_parent` WP_Query arguments. Props [tuanmh](https://github.com/tuanmh)
1847 * Add filter to disable printing of post index status. Props [tuanmh](https://github.com/tuanmh)
1848 * Add useful CLI hooks
1849 * Add a filter to bypass permission checking on sync (critical for front end updates)
1850
1851 ### Bugs
1852 * Consider all remote request 20x responses as successful. Props [tuanmh](https://github.com/tuanmh)
1853 * Fix plugin localization. Props [mustafauysal](https://github.com/mustafauysal)
1854 * Do query logging by default. Props [lukaspawlik](https://github.com/lukaspawlik)
1855 * Fix cannot redeclare class issue. Props [tuanmh](https://github.com/tuanmh)
1856 * Fix double querying Elasticsearch by ignoring `category_name` when `tax_query` is present.
1857 * Fix post deletion endpoint URL. Props [lukaspawlik](https://github.com/lukaspawlik)
1858
1859 A special thanks goes out to [Tuan Minh Huynh](https://github.com/tuanmh) and everyone else for contributions to version 2.0.
1860
1861 = 1.9.1 - 2016-05-23 =
1862 Quick bug fix version to address the GUI not working properly when plugin is not network enabled within multisite. Props to [Ivan Lopez](https://github.com/ivanlopez)
1863
1864 = 1.9 - 2016-05-17 =
1865 ElasticPress 1.9 adds in an admin UI, where you can set your Elasticsearch Host and run your index command, without needing to us WP-CLI. Version 1.9 also adds in some performance improvements to reduce memory consumption during indexing. Full list of enhancements and bug fixes:
1866
1867 ### Enhancements:
1868 * Add in an Admin GUI to handle indexing. Props [ChrisWiegman](https://github.com/ChrisWiegman).
1869 * Add option to not disable ElasticPress while indexing. Props [lukaspawlik](https://github.com/lukaspawlik).
1870 * Allow filtering of which post types we want to search for. Props [rossluebe](https://github.com/rossluebe).
1871 * Remove composer.lock from the repo. Props [ChrisWiegman](https://github.com/ChrisWiegman).
1872 * Ensure both PHPUnit and WP-CLI are available in the development environment. Props [ChrisWiegman](https://github.com/ChrisWiegman).
1873 * User lower-case for our composer name, so packagist can find us. Props [johnpbloch](https://github.com/johnpbloch).
1874 * Check query_vars, not query to determine status. Props [ChrisWiegman](https://github.com/ChrisWiegman).
1875 * Improve memory usage during indexing and fix unnecessary cache flushes. Props [cmmarslender](https://github.com/cmmarslender).
1876 * Further reduce memory usage during indexing. Props [lukaspawlik](https://github.com/lukaspawlik).
1877 * Add post__in and post__not_in documentation. Props [mgibbs189](https://github.com/mgibbs189).
1878 * Add Elasticsearch Shield authentication headers if constant is set. Props [rveitch](https://github.com/rveitch).
1879
1880 ### Bugs:
1881 * Fix the --no-bulk indexing option. Props [lukaspawlik](https://github.com/lukaspawlik).
1882 * Fixed an error that occurs if no Elasticsearch host is running. Props [petenelson](https://github.com/petenelson).
1883 * Fixed an exception error. Props [dkotter](https://github.com/dkotter).
1884 * Fixed the WP-CLI status command. Props [dkotter](https://github.com/dkotter).
1885
1886 = 1.8 - 2016-01-19 =
1887 NOTICE: Mapping change, requires re-index.
1888
1889 ElasticPress 1.8 adds a bunch of mapping changes for accomplishing more complex WP_Query functions such as filtering by term id and sorting by any Elasticsearch property. Version 1.8 also speeds up post syncing dramatically through non-blocking queries. Full list of enhancements and bug fixes:
1890
1891 ### Enhancements:
1892 * Add a filter around the search fuzziness argument. Props [dkotter](https://github.com/dkotter).
1893 * Make post indexing a non-blocking query. Props [cmmarslender](https://github.com/cmmarslender).
1894 * Log queries for debugging. Makes [ElasticPress Debug Bar](https://github.com/10up/debug-bar-elasticpress) plugin possible.
1895 * Make `posts_per_page = -1` possible.
1896 * Support term id and name tax queries.
1897 * Add raw/sortable to property to term mapping. Props [sc0ttkclark](https://github.com/sc0ttkclark)
1898 * Add raw/sortable property to meta mapping. Props [sc0ttkclark](https://github.com/sc0ttkclark)
1899 * Add raw/sortable to author display name and login
1900
1901 ### Bugs:
1902 * Fix post deletion. Props [lukaspawlik](https://github.com/lukaspawlik).
1903 * Properly flush cache with `wp_cache_flush`. Props [jstensved](https://github.com/jstensved)
1904 * When directly comparing meta values in a meta query, use the `raw` property instead of `value`.
1905 * Support arbitrary document paths in orderby. Props [sc0ttkclark](https://github.com/sc0ttkclark).
1906
1907 = 1.7 - 2015-12-11 =
1908 NOTICE: Mapping change, requires re-index.
1909
1910 ElasticPress 1.7 restructures meta mapping for posts for much more flexible meta queries. The `post_meta` Elasticsearch post property has been left for backwards compatibility. As of this version, post meta will be stored in the `meta` Elasticsearch property. `meta` is structured as follows:
1911
1912 * `meta.value` (string)
1913 * `meta.raw` (unanalyzed string)
1914 * `meta.long` (unanalyzed number)
1915 * `meta.double` (unanalyzed number)
1916 * `meta.boolean` (unanalyzed number)
1917 * `meta.date` (unanalyzed yyyy-MM-dd date)
1918 * `meta.datetime` (unanalyzed yyyy-MM-dd HH:mm:ss datetime)
1919 * `time` (unanalyzed HH:mm:ss time)
1920
1921 When querying posts, you will get back `meta.value`. However, if you plan to mess with the new post mapping, it's important to understand the intricacies.
1922
1923 The real implications of this is in `meta_query`. You can now effectively search by meta types. See the new section in README.md for details on this.
1924
1925 1.7 also contains the following bugs/enhancements:
1926
1927 * (Bug) Prevent missed post indexing when duplicate post dates. Props [lukaspawlik](https://github.com/lukaspawlik)
1928 * (Bug) Complex meta types are automatically serialized upon storage.
1929 * (Enhancement) Index posts according to post type. Props [sc0ttkclark](https://github.com/sc0ttkclark)
1930
1931 = 1.6.2 - 2015-11-12 =
1932 NOTICE: Mapping change, requires re-index.
1933
1934 ElasticPress 1.6.2 fixes ALL backwards compatibility issues with Elasticsearch 2.0:
1935
1936 * Removes `fuzzy_like_this` query and uses `multi_match` instead.
1937 * Uses string instead of array for post type term when there is only one term.
1938
1939 = 1.6.1 - 2015-11-09 =
1940 NOTICE: Mapping change, requires re-index.
1941
1942 ElasticPress 1.6.1 fixes mapping backwards compatibility issues with Elasticsearch 2.0:
1943
1944 * Removes the fields field type from object typed fields as they should be called properties.
1945 * Remove path from object field types.
1946
1947 = 1.6 - 2015-08-31 =
1948 ElasticPress 1.6 contains a number of important enhancements and bug fixes. Most notably, we now support Elasticsearch fallback hosts and the indexing of attachments.
1949
1950 ### Bug Fixes:
1951 * Clean up PHP Code Sniffer errors. Props [chriswiegman](https://github.com/chriswiegman)
1952 * Properly document Elasticsearch version
1953 * Abide by `exclude_from_search` instead of `public` when indexing post types. Props [allan23](https://github.com/allan23) and [ghosttoast](https://github.com/ghosttoast).
1954 * Allow posts to be indexed with invalid date values. Props [tuanmh](https://github.com/tuanmh)
1955 * Support `ep_post_sync_kill` filter in bulk indexing. Props [Stayallive](https://github.com/Stayallive)
1956
1957 ### Enhancements:
1958 * Add blog id to `ep_index_name` filter. Props [kovshenin](https://github.com/kovshenin)
1959 * Support post caching in search
1960 * Add recursive term indexing for heirarchal taxonomies. Props [tuanmh](https://github.com/tuanmh)
1961 * Enable indexing of attachments
1962 * Support fallback hosts in case main EP host is unavailable. Props [chriswiegman](https://github.com/chriswiegman)
1963 * Add `ep_retrieve_the_post` filter to support relevancy score manipulation. Props [matthewspencer](https://github.com/matthewspencer)
1964 * Make search results filterable. Props [chriswiegman](https://github.com/chriswiegman)
1965
1966 = 1.5.1 - 2015-07-06 =
1967 ### Bug Fixes:
1968 * Prevent notices from being thrown when non-existent index properties are accessed. This was happening for people how upgraded to 1.5 without doing a re-index. Props [allan23](https://github.com/allan23)
1969
1970 = 1.5 - 2015-06-25 =
1971 ### Bug Fixes:
1972 * Prevent direct access to any PHP files. Props [joelgarciajr84](https://github.com/joelgarciajr84)
1973 * Fixed fields not being loaded from ES. Props [stayallive](https://github.com/stayallive)
1974 * Fixed inclusive check in date_query integration. Props [EduardMaghakyan](https://github.com/EduardMaghakyan)
1975
1976 ### Enhancements:
1977 * Add support for category_name WP_Query parameter. Props [ocean90](https://github.com/ocean90)
1978 * Support limiting sites in network wide commands. Props [bordoni](https://github.com/bordoni)
1979 * Add support for method to un-integrate WP_Query. Props [kingkool68](https://github.com/kingkool68)
1980 * Support `cache_results` in WP_Query
1981 * Add action prior to starting WP-CLI index command
1982 * Add missing headers to WP_CLI commands. Props [chriswiegman](https://github.com/chriswiegman)
1983 * Improve error reporting in bulk indexing during bad ES requests.
1984 * Fix is_search check notice. Props [allenmoore](https://github.com/allenmoore) and [allan23](https://github.com/allan23)
1985 * Added a filter to modify request headers. Props [tuanmh](https://github.com/tuanmh)
1986 * Prevent bulk index from sending useless error emails. Props [cmmarslender](https://github.com/cmmarslender)
1987 * Add --offset parameter to cli indexing command. [Stayallive](https://github.com/stayallive)
1988 * Change the syncing hook to play better with plugins. Props [jonathanbardo](https://github.com/jonathanbardo)
1989 * Support like query in post meta. Props [tuanmh](https://github.com/tuanmh)
1990 * Sanitization fixes for PHPCS. Props [mphillips](https://github.com/mphillips)
1991 * Added filter to set default sort order. Props [HKandulla](https://github.com/HKandulla)
1992 * MySQL DB completely removed from integrated ElasticPress WP Query. Props [EduardMaghakyan](https://github.com/EduardMaghakyan) and [crebacz](https://github.com/crebacz)
1993
1994 = 1.4 - 2015-05-18 =
1995 ### Bug Fixes:
1996 * Duplicate sync post hooks separated. Props [superdummy](https://github.com/superdummy)
1997 * Don't send empty index error emails. Props [cmmarslender](https://github.com/cmmarslender)
1998 * Remove default shard and indices configuration numbers but maintain backwards compatibility. Props [zamoose](https://github.com/zamoose)
1999 * Fix wrong author ID in post data. Props [eduardmaghakyan](https://github.com/eduardmaghakyan)
2000
2001 ### Enhancements:
2002 * `date_query` and date parameters now supported in WP_Query. Props [joeyblake](https://github.com/joeyblake) and [eduardmaghakyan](https://github.com/eduardmaghakyan)
2003 * Make all request headers filterable
2004 * Add EP API key to all requests as a header if a constant is defined. Props [zamoose](https://github.com/zamoose)
2005 * Add index exists function; remove indexes on blog deletion/deactivation. Props [joeyblake](https://github.com/joeyblake)
2006 * Refactor wp-cli stats for multisite. Props [jaace](https://github.com/jaace)
2007 * Index mappings array moved to separate file. Props [mikaelmattsson](https://github.com/mikaelmattsson)
2008 * Support meta inequality comparisons. Props [psorensen](https://github.com/psorensen)
2009
2010 = 1.3.1 - 2015-04-09 =
2011 * Support `date` in WP_Query `orderby`. Props [psorensen](https://github.com/psorensen)
2012
2013 = 1.3 - 2015-02-03 =
2014 * Support `meta_query` in WP_Query integration
2015 * Improved documentation. Each WP-CLI command has been documented
2016 * Add `elasticsearch` property to global post object to assist in debugging
2017 * `ep_integrate` param added to allow for WP_Query integration without search. (Formally called ep_match_all)
2018 * Filter added for post statuses (defaults to `publish`). Change the sync mechanism to make sure it takes all post statuses into account. Props [jonathanbardo](https://github.com/jonathanbardo)
2019 * Bug fix: check if failed post exists in indexing. Props [elliot-stocks](https://github.com/elliott-stocks)
2020 * Bug fix: properly check if setup is defined in indexing. Props [elliot-stocks](https://github.com/elliott-stocks)
2021 * Bug fix: add WP_Query integration on init rather than plugins loaded. Props [adamsilverstein](https://github.com/adamsilverstein)
2022 * Bug fix: Properly set global post object post type in loop. Props [tott](https://github.com/tott)
2023 * Bug fix: Do not check if index exists on every page load. Refactor so we can revert to MySQL after failed ES ping.
2024 * Bug fix: Make sure we check `is_multisite()` if `--network-wide` is provided. Props [ivankruchkoff](https://github.com/ivankruchkoff)
2025 * Bug fix: Abide by the `exclude_from_search` flag from post type when running search queries. Props [ryanboswell](https://github.com/ryanboswell)
2026 * Bug fix: Correct mapping of `post_status` to `not_analyzed` to allow for filtering of the search query (will require a re-index). Props [jonathanbardo](https://github.com/jonathanbardo)
2027
2028 = 1.2 - 2014-12-05 =
2029 * Allow number of shards and replicas to be configurable.
2030 * Improved searching algorithm. Favor exact matches over fuzzy matches.
2031 * Query stack implementation to allow for query nesting.
2032 * Filter and disable query integration on a per query basis.
2033 * Support orderby` parameter in `WP_Query
2034 * (Bug) We don't want to add the like_text query unless we have a non empty search string. This mimcs the behavior of MySQL or WP which will return everything if s is empty.
2035 * (Bug) Change delete action to action_delete_post instead of action_trash_post
2036 * (Bug) Remove _boost from mapping. _boost is deprecated by Elasticsearch.
2037 * Improve unit testing for query ordering.
2038
2039 = 1.1 - 2014-10-27 =
2040 * Refactored `is_alive`, `is_activated`, and `is_activated_and_alive`. We now have functions `is_activated`, `elasticsearch_alive`, `index_exists`, and `is_activated`. This refactoring helped us fix #150.
2041 * Add support for post_title and post_name orderby parameters in `WP_Query` integration. Add support for order parameters.
2042
2043 = 1.0 - 2014-10-20 =
2044 * Support `search_fields` parameter. Support author, title, excerpt, content, taxonomy, and meta within this parameter.
2045 * Move all management functionality to WP-CLI commands
2046 * Remove ES_Query and support everything through WP_Query
2047 * Disable sync during import
2048 * Check for valid blog ids in index names
2049 * Improved bulk error handling
2050 * No need for `ep_last_synced` meta
2051 * No need for syncing taxonomy
2052 * Improved unit test coverage
2053 * `sites` WP_Query parameter to allow for search only on specific blogs
2054
2055 = 0.9.3 - 2014-09-26 =
2056 Added:
2057 * Better documentation surrounding `WP_Query` parameters (props @tlovett1).
2058 * Option to allow for using `match_all` (props @colegeissinger for suggestion).
2059 * Better tests for some `WP_Query` parameters (props @tlovett1).
2060 * Allow for manual control over search integration.
2061 * Support for passing an array of sites to search against (props @tlovett1).
2062 * Filter for controlling whether or not ElasticPress is enabled during a `wp_query` request.
2063 * Filter to allow adjusting which fields are searched (`ep_search_fields`).
2064
2065 Changed:
2066 * Prevented filtering `WP_Query` in admin (props @cmmarslender).
2067 * Updated tests to better conform to WordPress repo 5.2 compatibility (props @tlovett1).
2068 * Made running re-indexing commands simpler and easier by adding support for a new `--setup` flag on the `index` command.
2069 * Disable search integration during syncing.
2070
2071 Fixed:
2072 * Bug that would cause a post to stay in the index when a post was unpublished.
2073 * Bug that would cause site to be improperly switched after a `wp_reset_postdata` while not in the loop.
2074 * Bug that would cause EP to individually sync each post during an import - disabled syncing during import - requires a full re-index after import.
2075
2076 = 0.9.2 - 2014-09-11 =
2077 Added:
2078 * Wrapper method for wp_get_sites, added filter.
2079 * Ability to change scope of search to other sites in network.
2080 * tax_query support.
2081
2082 Changed:
2083 * Aggregation filter update.
2084
2085 = 0.9.1 - 2014-09-05 =
2086 Added:
2087 * Action to allow for retrieval of raw response.
2088 * Filter to retrieve aggregations.
2089 * Pagination tests.
2090 * ep_min_similarity and ep_formatted_args filters.
2091 * ep_search_fields filter for adding custom search fields.
2092 * Filter to allow for specific site selection on multisite indexing.
2093
2094 Changed:
2095 * Adjust default fuzziness to .75 instead of .5.
2096
2097 Removed:
2098 * Main query check on ep wp query integration.
2099
2100 = 0.9 - 2014-09-03 =
2101 Added:
2102 * Make labels clickable in admin.
2103 * Setup plugin textdomain; POT file for translation; localize stray string in cron.
2104 * Tests for is_alive function.
2105 * search_meta key param support to ES_Query.
2106 * Test WP Query integration on multisite setup.
2107 * Flush and re-put mapping on admin sync request.
2108 * WP Query integration.
2109
2110 Changed:
2111 * Simplify sync.
2112 * do_scheduled_syncs into do_syncs.
2113 * Make config files static.
2114
2115 Removed:
2116 * EP hidden taxonomy.
2117
2118 Fixed:
2119 * Cron stuff.
2120 * Statii.
2121 * Type coercion in equality checks.
2122
2123 = 0.1.2 - 2014-06-27 =
2124 * Only index public taxonomies
2125 * Support ES_Query parameter that designates post meta entries to be searched
2126 * Escape post ID and site ID in API calls
2127 * Fix escaping issues
2128 * Additional tests
2129 * Translation support
2130 * Added is_alive function for checking health status of Elasticsearch server
2131 * Renamed `statii` to `status`
2132
2133 = 0.1.0 - Unknown =
2134 * Initial plugin
2135
2136 == Upgrade Notice ==
2137
2138 = 4.0.0 =
2139 **Note that ElasticPress 4.0.0 release removes built assets from the `develop` branch, replaced `master` with `trunk`, added a ZIP with the plugin and its built assets in the [GitHub Releases page](https://github.com/10up/ElasticPress/releases), and included 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 `trunk` or to GitHub Releases depending on whether you require built assets or not.
2140
2141 = 3.6.0 =
2142 **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.
2143