Version 3.6.0
Note that the upcoming ElasticPress 3.7.0 release will remove built assets from the develop branch, will replace master with trunk, will build a stable release version including built assets into a stable branch, and will include a build script should you want to build assets from a branch. As such, please plan to update any references you have from master to either stable or trunk depending on whether you require built assets or not.
Breaking Changes
- Autosuggest will now respect the
[name="post_type"]input in the same form. Before it would bring all post types. Props @mustafauysal and @JakePT via #1689 - Facets Widget presentation, replacing the
<input type="checkbox">elements in option links with a custom.ep-checkbox presentationaldiv. Props @MediaMaquina, @amesplant, @JakePT, and @oscarssanchez via #1886
Added
- Comments Indexable. Props @dkotter, @dinhtungdu, @Rahmon, and @felipeelia via #1531
- "ElasticPress - Comments", a search form for comments. Props @Rahmon and @felipeelia via #2238
- Facets: new
ep_facet_allowed_query_argsfilter. Props @mustafauysal, @JakePT,@Rahmon, and @felipeelia via #1689 - Facets: new
ep_facet_use_fieldfilter. Props @moraleida via #2071 - GitHub Action to auto-close non-responsive reporter feedback issues after 3 days. Props @jeffpaul via #2199
- Autosuggest: new
ep_autosuggest_default_selectorsfilter. Props @JakePT and @johnbillion via #2181 - WP-CLI: Index by ID ranges with
--upper-limit-object-idand--lower-limit-object-id. Props @WPprodigy, @Rahmon, and @felipeelia via #2171 - Confirmation for destructive WP-CLI commands. Props @nickdaugherty and @Rahmon via #2120
Elasticsearch::get_documents()andIndexable::multi_get(). Props @nickdaugherty, @felipeelia, and @Rahmon via #2210- Custom sorting to features on the Features page. Props @Rahmon via #1987
- Terms: add a new
facetfield to hold the entire term object in json format. Props @moraleida via #2071 - Elasticsearch connection check to Site Health page. Props @spacedmonkey and @Rahmon via #2084
- Support for NOT LIKE operator for meta_query. Props @Thalvik) and @Rahmon via #2157.
- Support for
category__not_inandtag__not_in. Props @oscarssanchez and @felipeelia via #2174 - Support for
post__name_in. Props @jayhill90 and @oscarssanchez via #2194 $indexable_slugproperty toElasticPress\Indexable\Post\SyncManager. Props @edwinsiebel via #2196- Permission check bypass for indexing / deleting for cron and WP CLI. Props @nickdaugherty and @felipeelia via #2172
- Check if term exists before a capabilities check is done. Props @msawicki via #2230
- New
ep_show_indexing_option_on_multisitefilter. Props @johnbillion and @Rahmon via #2156 - Documentation updates related to upcoming changes in 3.7.0. Props @jeffpaul via #2248
- Documentation about how to search using rendered content (shortcodes and reusable blocks). Props @johnbillion and @felipeelia via #2127
- Autosuggest: filter results HTML by defining a
window.epAutosuggestItemHTMLFilter()function in JavaScript. Props @JakePT via #2146
Changed
- Autosuggest: JavaScript is not loaded anymore when ElasticPress is indexing. Props @fagiani and @felipeelia via #2163
Indexable\Post\Post::prepare_date_terms()to only calldate_i18n()once. Props @WPprodigy and @Rahmon via #2214
Removed
- Assets source mappings. Props @Rahmon and @MadalinWR via #2162
- References to
posts_by_queryproperty andspl_object_hashcalls. Props @danielbachhuber and @Rahmon via #2158
Fixed
- GitHub issue templates. Props @jeffpaul via #2145
- Facets: error in filters where terms wouldn't match if the user types a space. Props @felipeelia via #2218
- Facets: pagination parameters in links are now removed when clicking on filters. Props @shmaltz, @oscarssanchez, and @Rahmon via #2229
- Output of WP-CLI index errors. Props @notjustcode-sp and @felipeelia via #2243
index_nameis transformed in lowercase before the index creation in Elasticsearch. Props @teoteo and @felipeelia via #2173- Validate that a meta_value is a recognizable date value before storing. Props @jschultze, @moraleida and @Rahmon via #1703
- Array with a MIME type without the subtype in
post_mime_typeargument. Props @ethanclevenger91 and @Rahmon via #2222 - Sort for WP_User_Query. Props @Rahmon via #2226
- WP Acceptance Tests. Props @felipeelia via #2184
- Styling issue of Autosuggest and search block (WP 5.8). Props @dinhtungdu via #2219
Undefined variable: closednotice inElasticsearch::update_index_settings(). Props @nickdaugherty and @pschoffer via #2159- Documentation for WP-CLI
*-featurecommands. Props @felipeelia via #2164 - Custom Results: a
current_user_can()call now receives the post ID instead of the whole object. Props @Sysix via #2255 - Autosuggest: adjust debounce to avoid sending unnecessary requests to the server. Props @Rahmon via #2257
Security
- Updated browserslist and jsdoc versions. Props @felipeelia via #2246
- Updated lodash, hosted-git-info, ssri, rmccue/requests, and y18n versions. Props @dependabot via #2203, #2204, #2179, #2188, and #2153
See: https://github.com/10up/ElasticPress/pulls?q=is%3Apr+milestone%3A3.6.0+is%3Aclosed+