Version 4.1.0
Added
- Utility command to create zip packages:
npm run build:zip
. Props @felipeelia via #2669. - E2e tests for the Synonyms feature. Props @felipeelia via #2655.
generate_mapping()
to post and comment indexables. Props @rebeccahum via #2637.get_related_query()
to theRelatedPosts
class. Props @ayebare via #1653.- New
--pretty
flag to the WP-CLI commands that output a JSON. Props @felipeelia and @oscarssanchez via #2653. - Support for an array of aggregations in the
aggs
parameter ofWP_Query
. Props @felipeelia and @oscarssanchez via #2682.
Changed
- Refactored remaining admin scripts to remove jQuery as a dependency. Props @JakePT via #2664.
- Generate Instant Results' search template as an anonymous user by default. Props @JakePT via #2672.
Fixed
- PHP warning Trying to access array offset on value of type int in
get_index_names()
. Props @sun via #2580. - Searches by WooCommerce Order ID. Props @felipeelia via #2666.
- Display and error message if syncing failed due to invalid JSON response from the server. Props @dsawardekar via #2677.
- Better compatibility with PHP 8.1 by replacing the deprecated
FILTER_SANITIZE_STRING
. Props @sjinks via #2529. get_term_tree()
no longer infinite loops when parent ID is non-existent. Props @rebeccahum via #2687.- User search results include users who do not exist in the current site. Props @tfrommen and @felipeelia via #2670.
- Pagination while syncing Indexables other than Posts. Props @felipeelia and @derringer via #2665.
- Handle the output of an array of messages in sync processes. Props @felipeelia via #2688.
- Truthy values for the
'enabled'
field's attribute while using theep_weighting_configuration_for_search
filter. Props @felipeelia and @moritzlang via #2673. - "Learn More" link on the Sync Page. Props @felipeelia, @JakePT, and @brandwaffle via #2699.
- Icons alignment in the WP Dashboard. Props @jakemgold, @felipeelia, @brandwaffle, and @tlovett1 via #2701.
Security
- Bumped
node-forge
from 1.2.1 to 1.3.0. Props @dependabot via #2678. - Bumped
@wordpress/env
from 4.2.2 to 4.4.0, andminimist
from 1.2.5 to 1.2.6. Props @felipeelia via #2680.
See: https://github.com/10up/ElasticPress/milestone/62?closed=1