Skip to content

Releases: alleyinteractive/searchpress

v0.5.1

20 Aug 16:52
f817b90
Compare
Choose a tag to compare
  • Adds sp_api_request_url filter to filter the API url.
  • Fixes indexing error when using SP_DEBUG
  • Fixes possible fatal where 'sp' is set as a query_var but is not an array
  • Fixes CLI display of page size when page size is greater than 999

0.5

02 Feb 21:26
Compare
Choose a tag to compare
0.5

0.5 is a stable release of SearchPress. It is mostly a hardening release and contains bug fixes and under-the-hood enhancements.

POTENTIAL BREAKING CHANGE: SP_Integration was rewritten to use posts_pre_query. This change could impact customizations that depended on the old way of replacing the main database query with ES.

What's Changed

Full Changelog: v0.4.3...v0.5

0.4.3

02 Feb 21:01
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.2...v0.4.3

0.4.2

02 Feb 19:51
Compare
Choose a tag to compare

0.4.2 makes the following non-breaking revisions:

  • CLI improvements

The entire diff can be viewed here.

0.4.1

10 Feb 17:18
a271379
Compare
Choose a tag to compare

0.4.1 makes the following non-breaking revisions:

  • Updates grunt packages to latest versions (#149)
  • Documents deprecated/removed filters in 0.4.0 (#141)
  • Improves handling of indexing batch with no indexable posts (#147)
  • Adds filter sp_post_index_path for single post paths (#146, #148)
  • Adds filter sp_bulk_index_path for bulk index paths (#144)

0.4

16 Apr 17:15
1b3b5ae
Compare
Choose a tag to compare
0.4

0.4 is a stable pre-release of SearchPress. It contains bug fixes and many enhancements like UI improvements, typeahead search suggestions, and more. Most importantly, it adds support for Elasticsearch 7.x while maintaining support for earlier versions.

CRITICAL BREAKING CHANGE: Post meta is no longer indexed by default and keys must added to the "allowed" list along with the data types that should be indexed. See the README for more information.

POTENTIAL BREAKING CHANGE: Related to the post meta handling changes, the sp_post_indexable_meta has been removed.

POTENTIAL BREAKING CHANGE: Elasticsearch deprecated the idea of custom mapping (doc) types in 6.0 and removed them in 7.0. This change in SearchPress was reflected in the mapping, so if you are customizing the mapping in any way, or otherwise interacting with Elasticsearch's API paths directly, be aware that the "doc type" might change for you from post to _doc. SearchPress adds SP_API()->get_doc_type() to facilitate with this change.

  • Removes sp_post_indexable_meta filter
  • Removes sp_post_ignored_postmeta filter
  • Adds sp_post_allowed_meta filter
  • Adds support for ES 6.x, 7.x
  • Fixes indexing bug with parentless attachments
  • Fixes a bug with bulk syncing attachments
  • Improves flexibility for custom indexing of posts
  • Improves facet lists to exclude current selections
  • Adds option in the admin to index content without flushing
  • Fixes bug with cached list of post types to sync
  • Fixes conflicts with Advanced Post Cache and CLI-based cron runners
  • Adds completion suggester API for search-as-you-type functionality
  • Fixes bug with SSL cert verification
  • Overhaul of phpunit test classes for performance
  • General coding standards cleanup

The entire diff can be viewed at 67b9319...1b3b5ae

0.3

27 Mar 18:50
Compare
Choose a tag to compare
0.3 Pre-release
Pre-release

0.3 is a stable pre-release of SearchPress. It contains bug fixes and many enhancements like UI improvements, refined capability handling, refactored indexing criteria, support for Elasticsearch 5.x, adds a heartbeat to monitor Elasticsearch's status, and more.

Changelog

  • #11: Add heartbeat to monitor Elasticsearch
  • #37: Improve capabilities handling for admin settings; add full test coverage for admin functionality
  • #50: DRY up code
  • #49: Improve test coverage for heartbeat
  • #26: Fix bug with post type facet field
  • #54: Fix bug in wp-cli index command
  • #55: Locally cache API host to improve external referencing to it
  • #53: Fix edge case bugs with indexing
  • #56: Load heartbeat before integration
  • #57: Add a status tab to admin page
  • #58: Improve indexed/searched post types and statuses
  • #65: Test across a range of ES versions
  • #66: Add support for ES 5.x
  • #67: Store/check mapping version

The entire diff can be viewed at 09d0a21...67b9319

Credits

Props @mboynes, @nschoenholtz.

0.2

25 Sep 15:00
Compare
Choose a tag to compare
0.2 Pre-release
Pre-release

0.2 is a long-overdue, stable pre-release of SearchPress. If you've been using 0.1, 0.2 is a breaking change. Amongst the breaking changes since 0.1 are:

  • Improved mappings for authors and dates
    • You must reindex your data (if you're using WP-CLI, include --flush --put-mapping) after updating
  • Update facets to aggregations
    • If you are using Elasticsearch < 1.0, you must update Elasticsearch before using this release.

If you've been using master and keeping your code remotely up to date, these are probably not breaking changes for you, as they're quite old.

0.2 is a hardening release mostly focused on bug fixes, optimizations, and unit tests. Amongst these are:

  • #4: Unit Tests
  • #5: Refactor search
  • #7: Finishing the test coverage for everything that can reasonably be tested
  • #8: Add error reporting
  • #12: Minor bug fixes [in post meta indexing]
  • #17: Setting a name for the otherwise blank transient key
  • #20: wp-cli support to index by date range
  • #23: Be more intelligent about parsing meta dates
  • #21: Updates for Elasticsearch 2.x
  • #14: Remove deprecated multi_field fields
  • #24: Ensure bool return for has_errors
  • #25: fix problematic condition when the date is 1970-01-01
  • #27: Fire an action after SearchPress has been loaded
  • #29: Update repo to latest standards
  • #34: Fix bug in get_terms_efficiently
  • #35: check vars first [in WP-CLI index command]
  • #36: Author Facets

The entire diff can be viewed at 1646a69...09d0a21.

Props to @mboynes, @timatron, @alexisbellido, and @bcampeau on this release.

0.1

17 Apr 04:00
Compare
Choose a tag to compare
0.1 Pre-release
Pre-release

This is the first release of SearchPress. It is stable, though it's also pre-release software and should be used accordingly.