Skip to content

Releases: 10up/ElasticPress

Version 5.1.3

11 Jun 18:26
Compare
Choose a tag to compare

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

11 Jun 14:06
Compare
Choose a tag to compare

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

27 May 15:59
Compare
Choose a tag to compare

Changed

Fixed

  • Status report page when indexable post types is an empty array. Props @furai via #3910.

See: https://github.com/10up/ElasticPress/milestone/84?closed=1

Version 5.1.0

29 Apr 13:40
Compare
Choose a tag to compare

Added

  • [Filters] New ep_facet_enabled_in_editor filter 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_options filter to modify the weighting dashboard options. Props @burhandodhy via #3827.
  • New ep_post_test_meta_value filter. 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-response with actions/stale to 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

Security

See: https://github.com/10up/ElasticPress/milestone/79?closed=1

Version 5.0.2

16 Jan 14:32
Compare
Choose a tag to compare

Changed

  • [Terms] Counts are now calculated with wp_count_terms() in query_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-allowed endpoint to build the REST API schema. Props @felipeelia via #3809.

Security

See: https://github.com/10up/ElasticPress/milestone/83?closed=1

Version 5.0.1

12 Dec 17:10
Compare
Choose a tag to compare

Added

  • Failed queries in the Index Health page will now be outputted with their error messages. Props @felipeelia and @pvnanini via #3776.

Fixed

See: https://github.com/10up/ElasticPress/milestone/82?closed=1

Version 5.0.0

01 Nov 18:02
Compare
Choose a tag to compare

ElasticPress 5.0.0 contains some important changes. Make sure to read these highlights before upgrading:

  • This version does not require a full reindex but it is recommended, especially for websites using synonyms containing spaces. See #3610.
  • 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. See #3068.
  • Features now have their fields declared in JSON. Custom features may need to implement the set_settings_schema() method to work. See #3655.
  • The Users feature was moved to the ElasticPress Labs plugin and is no longer available in this plugin. If you use this feature, make sure to install and configure EP Labs before upgrading. See #3670.
  • The Terms and Comments features are now hidden by default for sites that do not have them active yet. Check our blog post for more info. See #3691.
  • New minimum versions (see #3668) are:
    Min Max
    Elasticsearch 5.2 Unset
    WordPress 6.0+ latest
    PHP 7.4+ latest

Added

Changed

  • Abstracted Sync page logic into a provider pattern. Props @JakePT via #3630.
  • Moved syncing from an admin-ajax.php callback to a custom REST API endpoint with support for additional arguments. Props @JakePT via #3643.
  • Store previous syncs info, changed option name from ep_last_index to ep_sync_history. Props @felipeelia and @JakePT via #3647.
  • Features settings declared as JSON. Props @felipeelia and @JakePT via #3655.
  • Tweaked layout and notifications style on the Status Report screen for consistency with the updated Sync page. Props @JakePT via #3662.
  • Moved REST API endpoint definitions to controller classes. Props @JakePT via #3650.
  • SyncManager array queues are now indexed by the blog ID. Props @sathyapulse and @felipeelia via #3689.
  • Comments and Terms are now hidden by default. Props @felipeelia via #3691.
  • WooCommerce-related hooks are now removed when switching to a site that does not have WC active. Props @felipeelia and @MARQAS via #3688.
  • Run e2e tests against the minimum supported WordPress version. Props @felipeelia via #3540.
  • Several tweaks in the Features settings API. Props @JakePT via #3708 and #3709.
  • EP Settings are now reverted if it is not possible to connect to the new ES Server. Props @felipeelia, @burhandodhy, and @scottbuscemi via #3684.
  • Node packages updated. Props @felipeelia via #3706.
  • Updated the labels of feature settings and options for consistency and clarity. Props @JakePT via #3721.
  • Depending on the requirements, some feature settings are now saved to be applied after a full sync. Props @felipeelia and @JakePT via #3720.
  • Minimum requirements. Props @felipeelia and @brandwaffle via #3668.
  • Old features will have their settings displayed based on their default setting values. Props @felipeelia and @JakePT via #3728.
  • Radio and checkbox settings were changed from booleans to strings. Props @felipeelia and @JakePT via #3730.
  • The troubleshooting article link was updated. Props @felipeelia and @anjulahettige via #3748.

Deprecated

  • The IndexHelper::get_last_index method was replaced by IndexHelper::get_last_sync. See #3647.
  • The FailedQueries::maybe_suggest_solution_for_es method was replaced by ElasticsearchErrorInterpreter::maybe_suggest_solution_for_es. See #3661.
  • Weighting::render_settings_section, Weighting::handle_save, Weighting::redirect, and Weighting::save_weighting_configuration were deprecated in favor of React components. See #3068.

Removed

  • Users-related files from the main plugin. Props @felipeelia via #3670.
  • Removed mapping files related to older versions of Elasticsearch. Props @MARQAS via #3704.

Fixed

Read more

Version 4.7.2

10 Oct 17:59
Compare
Choose a tag to compare

Note that starting from the ElasticPress 5.0.0 release the Users feature will be moved to the ElasticPress Labs plugin. The Terms and Comments features will remain in ElasticPress but will be available only if enabled via code. Check our blog post for more info.

Added

Removed

Fixed

Security

See: https://github.com/10up/ElasticPress/milestone/78?closed=1

Version 4.7.1

31 Aug 18:15
Compare
Choose a tag to compare

Note that starting from the ElasticPress 5.0.0 release the Users feature will be moved to the ElasticPress Labs plugin. The Terms and Comments features will remain in ElasticPress but will be available only if enabled via code. Check our blog post for more info.

Added

  • Synonyms and weighting settings added to the status report. Props @felipeelia via #3609.

Changed

Fixed

See: https://github.com/10up/ElasticPress/milestone/77?closed=1

Version 4.7.0

10 Aug 17:11
Compare
Choose a tag to compare

Note that starting from the ElasticPress 5.0.0 release the Users feature will be moved to the ElasticPress Labs plugin. The Terms and Comments features will remain in ElasticPress but will be available only if enabled via code. Check our blog post for more info.

Added

Changed

Deprecated

  • Autosuggest::delete_cached_query() was deprecated without a replacement. See #3566.
  • 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.
  • 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.
  • The ep_woocommerce_supported_taxonomies filter is now ep_woocommerce_products_supported_taxonomies. See #3502.
  • All old WooCommerce\Orders methods were migrated to the new WooCommerce\OrdersAutosuggest class. See #3502.
  • The Elasticsearch::clear_total_fields_limit_cache() method was replaced by Elasticsearch::clear_index_settings_cache(). See #3552.
  • Several methods that were previously part of the WooCommerce\WooCommerce class were moved to the new WooCommerce\Product class. See #3502.
  • Several methods that were specific to Facet types were moved to the new Block and Renderer abstract classes. See #3499.

Fixed

Security

  • Bumped word-wrap from 1.2.3 to 1.2.4. Props @dependabot via #3543.
  • Bumped tough-cookie from 4.1.2 to 4.1.3 and @cypress/request from 2.88.10 to 2.88.12. Props [@dependabo...
Read more