Releases: alleyinteractive/searchpress
v0.5.1
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
- Trim trailing slashes from ES host value by @benpbolton in #117
- Add the sp_search_uri filter by @srtfisher in #131
- Add an Auth UI by @mboynes in #129
- Fix phpcs for 0.5 by @srtfisher in #137
- Disable flush via ui by @srtfisher in #139
- Clean up SP_Integration with posts_pre_query by @srtfisher in #138
- Adjust empty-string search integrations by @mboynes in #161
- Filter the log message for the error. by @renatonascalves in #178
- Supports an array of terms by @renatonascalves in #179
- Plugin: Misc changes by @renatonascalves in #180
- Add the
sp_request_response
action hook to theSP_API
Class by @renatonascalves in #181
Full Changelog: v0.4.3...v0.5
0.4.3
What's Changed
- Manually check for queried taxonomy terms when building facets by @kevinfodness in #151
- Github Action: Check PHPCS issues by @renatonascalves in #157
- Github Action: Check unit tests by @renatonascalves in #158
- Removing double underscore for single by @skladany in #115
- Update phpunit by @mboynes in #163
- Add support for ES 8.x by @mboynes in #164
- Add support for PHP 8.1, 8.2 by @mboynes in #165
Full Changelog: v0.4.2...v0.4.3
0.4.2
0.4.2 makes the following non-breaking revisions:
- CLI improvements
- Improves PHPDoc (#152)
- Adds more CLI command examples (#152)
- Adds more standards from https://make.wordpress.org/cli/handbook/guides/commands-cookbook/ (#152)
- Uses WP_CLI::log instead of WP_CLI::line (#152)
- The debug command checks for the existence of a valid post and adds a warning for SP_DEBUG and SAVEQUERIES (#152)
- Uses WP_CLI\Utils\get_flag_value to get flag values (#152)
- Uses quote instead of double quotes (#152)
- Adds support for --post-types argument (#155)
0.4.1
0.4.1 makes the following non-breaking revisions:
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
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
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
- You must reindex your data (if you're using WP-CLI, include
- Update
facets
toaggregations
- 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.