Releases: 10up/ElasticPress
Releases · 10up/ElasticPress
Version 5.3.2
Added
- Notice about keeping the sync page open during the sync process. Props @felipeelia and @tott via #4240.
Fixed
- Media search not working in the admin dashboard. Props @burhandodhy, @ognjanovic, and @maciejmackowiak via #4239.
- [Autosuggest] Setting allowed values. Props @felipeelia via #4238.
See: https://github.com/10up/ElasticPress/milestone/91?closed=1
Version 5.3.1
Fixed
- Compatibility with PHP 7.4. Props @realrellek and @felipeelia via #4232.
See: https://github.com/10up/ElasticPress/milestone/90?closed=1
Version 5.3.0
Highlights of this version:
- Improved compatibility with Elementor
- Better UX/UI in the Features Screen: Grouped features and conditional display of fields
- New indicator in the WordPress Admin Bar: See if your content is powered by Elasticsearch and how many queries were fired and failed in the current page.
Added
- Grouped features. Props @ZacharyRener and @felipeelia via #4137, #4154, and #4207.
- Selected features and groups now persist across reload. Props @ZacharyRener, @burhandodhy, and @felipeelia via #4138.
- Feature fields can be dependent on other fields. Props @ZacharyRener and @felipeelia via #4141 and #4215.
- Ability to create groups of fields. Props @ZacharyRener and @felipeelia via #4142, #4171, and #4172.
- Ability for a feature to require multiple other features, instead of just one. Props @ZacharyRener and @felipeelia via #4143 and #4229.
- Add new widgets for Date, Meta, and Meta Range Filters. Props @burhandodhy via #4156.
- Status indicator in the WordPress Admin Bar. Props @felipeelia, @burhandodhy, and @tott via #4199 and #4219.
- Add Elasticsearch 9 support. Props @burhandodhy via #4194.
- Support for rand with a seed in the orderby clause. Props @asharirfan, @asharirfan, @burhandodhy, @felipeelia, @tlovett1, @mustafauysal, and @jgmedialtd via #1639.
- Implement "OR" filter relationship in DateQuery. Props @burhandodhy and @eartahhj via #4165.
- Add support for new WP_Query argument
ep_intercept_request. Props @burhandodhy via #4185. - New ElasticPressIoTemplateManager class. Props @burhandodhy and @JakePT via #4189.
- Support for painless scripts in the ES queries. Props @burhandodhy and @scottbuckel via #4181.
- Support to set an array value in the
orderby_meta_mappingfilters. Props @burhandodhy and @jzzaj via #4188. - New
ep_skip_search_exclusionsWP_Query argument. Props @burhandodhy and @JakePT via #4184. - [Autosuggest] Added link in Status Report to send allowed parameters directly. Props @felipeelia, @burhandodhy, and @tott via #4199.
- New
ep_get_query_logfilter. Props @felipeelia via #4209.
Changed
- Index
srcsetfor post thumbnails. Props @burhandodhy and @JakePT via #3693. - Menu SVG icon with default WP color. Props @LenVan via #4167.
- Aggregation data stored at query level instead of a global variable. Props @burhandodhy and @JakePT via #4182.
- Text explaining when a manual sync may be required. Props @felipeelia and @anjulahettige via #4203.
- ElasticPress.io endpoint to fetch messages and available services. Props @felipeelia via #4124.
- [Autosuggest] WP_Query arguments are now passed to Elasticsearch->query() when setting allowed parameters. Props @felipeelia via #4204.
- Exceptions thrown during a post sync will now become error messages in sync processes. Props @felipeelia via #4210.
- Points the taxonomy filter URL to the facet section. Props @burhandodhy via #4217.
- Bumped
react-router-domfrom 6.14.3 to 7.9.4. Props @burhandodhy via #4214.
Deprecated
- Remove deprecated side param from edge_ngram filter for ES 8.16.x compatibility. Props @rebeccahum via #4155 and #4173.
- The
ep_bypass_exclusion_from_searchfilter (replaced by the newep_skip_search_exclusionsWP_Query argument). Props @burhandodhy and @JakePT via #4184.
Removed
- Old feature settings code. Props @burhandodhy and @JakePT via #4187.
Fixed
- Autosuggest doesn't work if the placeholder is changed via a
ep_autosuggest_query_placeholderfilter. Props @fabianmarz and @burhandodhy via #1619. - Link to compatibility documentation in admin notices. Props @dilipbheda via #4126.
- [Metadata Range filter] Warning
Undefined array key "is_preview". Props @burhandodhy via #4157. - 'Filter by Taxonomy' widget does not appear in Elementor. Props @burhandodhy via #4152.
- Add support to handle values in array format when the comparison operator was 'IN' or 'NOT IN'. Props @burhandodhy via #4168.
- Users could see other authors' private posts. Props @burhandodhy via #4169.
- Undefined array key warning related to media mime types. Props @burhandodhy and @DarioBF via #4208.
- Warning: value prop on "input" should not be null. Props @burhandodhy via #4216 and #4221.
- Comment query when orderby set to none. Props @burhandodhy via #4220.
- JS warnings on Status Report page. Props @burhandodhy via #4218.
Security
- Bumped
http-proxy-middlewarefrom 2.0.7 to 2.0.9. Props @dependabot via #4135. - Bumped
tar-fsfrom 3.0.8 to 3.1.1. Props @dependabot via #4160 and #4225. - Bumped
compressionfrom 1.7.5 to 1.8.1. Props @dependabot via #4175. - Bumped
form-datafrom 4.0.1 to 4.0.4. Props @dependabot via #4178. - Overwrite package
@babel/runtimecoming from core packages due to a vulnerability. Props @hugosolar via #4177.
Developer
- Fixed e2e tests on WP 6.8. Props @felipeelia via [#41...
Version 5.2.0
This version bumps the minimum WordPress version to 6.2+.
Added
- New ACF Repeater Field Compatibility feature. Props @felipeelia via #4075.
- Add new filter
ep.InstantResults.filter.taxonomy.terms. Props @burhandodhy and @syedc via #4067. - Support to "number" fields in the Features Settings API. Props @felipeelia via #4072.
- Add
include,exclude,upper-limit-object-id, andlower-limit-object-idsupport for the term and comment indexable. Props @burhandodhy via #4074, #4102, and #4099. - Ability to display results on focus back + cached autosuggest results on same query. Props @oscarssanchezz, @JakePT, and @felipeelia via #4064.
- Document status displayed in the admin bar. Props @felipeelia, @tott, and @burhandodhy via #4096 and #4100.
Changed
- Minimum required version of WordPress (from 6.0 to 6.2). Props @felipeelia via #4082.
ElasticPress\Feature\RelatedPosts::get_related_query(),ElasticPress\Feature\RelatedPosts::find_related()parameter name change to$post_return. Props @oscarssanchez and @felipeelia via #4061.- The
ep_remote_requestaction to also run on non-blocking requests. Props @felipeelia via #4093. - Potentially resource intensive status reports are loaded on demand with AJAX. Props @oscarssanchezz, @felipeelia, and @archon810 via #4095.
- If a feature doesn't have all its requirements fulfilled, prevent it to run its setup method. Props @felipeelia via #4107.
Fixed
- PHP warning: Attempt to read property "base" on null. Props @burhandodhy and @yarovikov via #4060.
- Notice not displayed while updating a term. Props @burhandodhy and @MARQAS via #4070.
- PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Props @burhandodhy via #4065.
- PHP 8.4: Implicitly marking parameter $woocommerce as nullable is deprecated. Props @BrookeDot via #4087.
- WP-CLI sync timer resetting after 16 minutes. Props @felipeelia and @columbian-chris via #4094.
- Cannot get outside of autosuggest list pressing up on first item. Props @oscarssanchezz, @JakePT, and @felipeelia via #4064.
- Prevent other code from modifying the ORDERBY clause in Post and Term indexable queries. Props @burhandodhy and @felipeelia via #4101.
- Date Query returns no result when the before and after range is the same and inclusive is set to true. Props @burhandodhy and @ErikBrendel via #4103.
- Warning for undefined "post_type" array key. Props @econscript via #4106.
- Delete a post from the index if it had a password added. Props @felipeelia and @dtakken via #4108.
- [Synonyms] Linebreaks being wrongly replaced in Windows Systems. Props @nymwo via #4056.
- Deprecated
36px default size is deprecatedwarnings. Props @burhandodhy via #4109. - The Sync Complete message being displayed when the log is cleared. Props @felipeelia and @burhandodhy via #4114.
- Selecting a value in the date filter not redirecting users back to page 1. Props @felipeelia and @burhandodhy via #4119.
- Discard Changes button coming back when saving the feature twice. Props @felipeelia and @burhandodhy via #4120.
- WooCommerce Orders Incompatibility not appearing when plugin is activated network wide. Props @burhandodhy via #4121.
Security
- Bumped
serialize-javascriptfrom 6.0.1 to 6.0.2,jsdocfrom 3.6.11 to 4.0.4, andtaffydb. Props @dependabot via #4078. - Bumped
tar-fsfrom from 3.0.6 to 3.0.8. Props @dependabot via #4117.
Developer
- Trufflehog GitHub Action to detect secrets leak. Props @felipeelia and @tott via #4052.
- Install Unit Tests without relying on SVN. Props @felipeelia via #4058.
- Remove the setup step from the
build-with-vendor-prefixed.ymland standardize the use of Node Version. Props @burhandodhy via #4062. - Fixed E2E tests. Props @burhandodhy via #4069.
- PHP, JS and Style lint fixes. Props @oscarssanchez and @felipeelia via #4061.
- Several node and composer packages updated. Props @felipeelia via #4079 and #4083.
- Updated the chart.js library. Props @felipeelia via #4081.
See: https://github.com/10up/ElasticPress/milestone/81?closed=1
Version 5.1.4
Added
- New filter
ep_facet_selected_filters. Props @burhandodhy via #3953. - New filter
ep_disable_query_loggingto disable query logging. Props @davidsword and @rebeccahum via #4019. - New setting to Protect Content to use WP default order in admin. Props @felipeelia and @realrellek via #4028.
Changed
- Apply ElasticPress filters to the requests in status and stats CLI commands. Props @edpittol via #4000.
- Autosuggest Endpoint field explanation. Props @burhandodhy and @felipeelia via #4009.
- Alignment of custom search results action icons. Props @felipeelia and @anjulahettige via #4020.
- Update all of our blocks apiVersion from 2 to 3, to indicate support for working in an iframed editor. Props @dkotter and @JakePT via #4029.
- If using the new way to index meta, avoid querying distinct meta fields in the sync page. Props @felipeelia and @majiix via #4033.
- Updated several composer and node packages. Node 20 is now the default version. Props @felipeelia via #4039 and #4043.
- Improve readability of sync output (MB/GB) and number formatting on the Health Status page. Props @columbian-chris via #4042.
Fixed
- Hardcoded
tmppath replaced with a dynamic value. Props @burhandodhy via #3962. - Variable names and descriptions in the docblocks for
ep_formatted_argsandep_post_formatted_args. Props @barryceelen via #3977. - Remove 'None' from Highlight tag list. Props @burhandodhy via #3979.
- [Facets] Incorrect link on description when not using a block theme. Props @felipeelia and @burhandodhy via #3997.
- Deprecation warning in
strtotime()call. Props @felipeelia and @barryceelen via #3998. - Special characters like
\in search terms for both Autosuggest and Instant Results. Props @felipeelia and @burhandodhy via #3999. - [WooCommerce] Incompatibility when "Enable table usage" was enabled to filter the product catalog. Props @felipeelia and @burhandodhy via #4002.
- Deprecation warning related to PluginPostStatusInfo. Props @burhandodhy and @felipeelia via #4008.
- [Custom Results] Inconsistent Reordering Issue. Props @felipeelia, @anjulahettige, @burhandodhy via #4018 and #4045.
- Update supported document file types in Documents feature summary. Props @burhandodhy via #4024.
- "Exclude from search results" to work in AJAX contexts. Props @felipeelia and @burhandodhy via #4025.
- Retain CR & RD Labels Upon Saving Custom Search Result Posts. Props @felipeelia and @anjulahettige via #4020.
- Typo in "All filters" text domain. Props @felipeelia and @arturomonge via #4031.
- Autosuggest GA tracking to work when ad blocks are enabled. The dataLayer.push() call now pushes a custom event called ep_autosuggest_click with ep_autosuggest_search_term and ep_autosuggest_clicked_url as custom parameters. Props @felipeelia and @anjulahettige via #4032.
- Delay
load_plugin_textdomaintoinitand set a Domain Path. Props @felipeelia via #4036. - Only display the Exclude From Search checkbox if the post type supports
custom-fields. Props @felipeelia and @maartenhunink via #4040. - JS error when submit button is clicked without selecting a date. Props @burhandodhy via #4044.
- Deprecated warnings for margin style. Props @burhandodhy via #4046.
Security
- Bumped
composer/composerfrom 2.7.0 to 2.7.8. Props @dependabot via #3972. - Bumped
symfony/processfrom 6.4.8 to 6.4.14. Props @dependabot via #3996.
Developer
- Tests use ES 8 by default. Props @felipeelia via #4017.
- Update E2E tests to work properly with the iframed block editor. Props @dkotter via #4029.
- E2e tests for WP 6.6. Props @felipeelia via #3959.
- E2e tests for WP 6.7. Props @felipeelia via #4010.
- Unit Tests: Fail faster on requests we know will fail. Props @felipeelia via #4047.
- E2e tests: Fix the debug-bar-elasticpress dependency of ElasticPress. Props @felipeelia via #4048.
See: https://github.com/10up/ElasticPress/milestone/88?closed=1
Version 5.1.3
Fixed
- Missing nonces on some sync trigger URLs, making them require a manual interaction from the user. Props @felipeelia via #3933.
See: https://github.com/10up/ElasticPress/milestone/86?closed=1
Version 5.1.2
This is a security release affecting all previous versions of ElasticPress.
Security
- Missing nonce verification for the sync triggered during activation of some features. Props @felipeelia and @dhakalananda via #3929.
- Missing nonce verification for retrying the EP connection and fixed PHPCS linting rules. Props @felipeelia via #3932.
See: https://github.com/10up/ElasticPress/milestone/85?closed=1
Version 5.1.1
Changed
- Update Support Article URLs. Props @felipeelia via #3919.
Fixed
See: https://github.com/10up/ElasticPress/milestone/84?closed=1
Version 5.1.0
Added
- [Filters] New
ep_facet_enabled_in_editorfilter to enabled facet blocks in the post editor. Props @JiveDig and @felipeelia via #3845. - Official support to Elasticsearch 8.x. Props @felipeelia via #3854.
- A new Sync errors tab, with errors grouped by type and links to support documentation when available. Props @JakePT and @apurvrdx1 via #3803.
- [WooCommerce] HPOS compatibility notice for WooCommerce Orders. Props @felipeelia via #3861.
- [Synonyms] A new settings screen with the the ability to bulk delete synonyms, support for many-to-many replacements, and a new type of synonym for terms with a hierarchical relationship, called hyponyms. Props @JakePT and @apurvrdx1 via #3814.
- Infinite loop when using excerpt highlighting with posts that use blocks that print an excerpt. Props @felipeelia and @JakePT via #3867.
- Context parameter to the
get_capability()function. Props @felipeelia and @selim13 via #3866. - A tooltip for meta keys to the weighting screen to allow seeing the full key if it has been truncated. Props @JakePT via #3865.
- New
ep_weighting_optionsfilter to modify the weighting dashboard options. Props @burhandodhy via #3827. - New
ep_post_test_meta_valuefilter. Props @felipeelia via #3850. - New message related to indices limits on ElasticPress.io. Props @felipeelia via #3898.
Changed
- Acknowledge all Elasticsearch modules, making the Documents feature available in ES 8 installations by default. Props @felipeelia, @Serverfox, and @jerasokcm via #3844.
- [Documents] Index CSV and TXT file contents. Props @felipeelia via #3885.
- [Documents] Only set documents-related parameters if no post type was set or if the list already contains attachments. Props @felipeelia via #3889.
- Automatically open the error log when a sync completes with errors. Props @JakePT and @felipeelia via #3895.
- Aggregations created with the 'aggs' WP_Query parameter, are now retrievable using
$query->query_vars['ep_aggregations']. Props @felipeelia via #3847. - Major refactor of the
Term::format_args()method and conditionally set search fields for term queries in REST API requests. Props @felipeelia and @mgurtzweiler via #3869. - Replaced
lee-dohm/no-responsewithactions/staleto help with closing no-response/stale issues. Props @jeffpaul via #3870. - Bumped actions/upload-artifact from v3 to v4. Props @iamdharmesh via #3897.
- Required node version. Props @oscarssanchez via #3896.
Fixed
- [Autosuggest] Hide the Autosuggest Endpoint URL field for EP.io users. Props @felipeelia and @JakePT via #3835.
- [Autosuggest] Google Analytics integration gtag call. Props @felipeelia and @JakePT via #3835.
- [Autosuggest] Link click when using a touchpad. Props @romanberdnikov via #3818.
- [Autosuggest] Pressing Enter to select an Autosuggest suggestion would instead open Instant Results. Props @JakePT via #3864.
- [Synonyms] Fatal error when saving synonyms if an index does not exist. Props @felipeelia, @MARQAS, @randallhedglin, and @bispldeveloper via #3846.
- [Synonyms] Fix Synonyms case sensitive issue. Props @burhandodhy via #3857.
- [Documents] Media search returns no result in admin dashboard. Props @felipeelia and @burhandodhy via #3837 and #3871.
- [WooCommerce] E2e tests. Props @felipeelia via #3848.
- [Instant Results] A default post type filter set by a field in the search form was cleared if a new search term was entered. Props @JakePT and @burhandodhy via #3891.
- Inconsistent search results when calling the same function via PHP and Ajax. Props @burhandodhy via #3875.
- Unit test related to blog creation. Props @felipeelia and @burhandodhy via #3839.
- Correct PHPdoc return type for
Elasticsearch::index_documentand related methods. Props @ictbeheer via #3881. - Unnecessary horizontal scroll for the
<pre>tag on the status report page. Props @burhandodhy via #3894.
Security
- Bumped
composer/composerfrom 2.6.5 to 2.7.0. Props @dependabot via #3831
See: https://github.com/10up/ElasticPress/milestone/79?closed=1
Version 5.0.2
Changed
- [Terms] Counts are now calculated with
wp_count_terms()inquery_db. Props @rebeccahum via #3791. - Composer and npm files are now part of the final package. Props @felipeelia via #3810.
Fixed
- [WooCommerce] Not use a hard-coded list of order post types. Props @felipeelia via #3807.
- [Autosuggest] Stop calling the get
-autosuggest-allowedendpoint to build the REST API schema. Props @felipeelia via #3809.
Security
- Bumped
follow-redirectsfrom 1.15.3 to 1.15.4. Props @dependabot via #3808.
See: https://github.com/10up/ElasticPress/milestone/83?closed=1