Skip to content

0.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@mboynes mboynes released this 25 Sep 15:00

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.