## 3.0.2
* Fixed: Editing a term no longer adds posts to the searchable posts index when their post type is excluded by the `algolia_searchable_post_types` filter, or when the site does not use that index.
* Fixed: Critical error on the plugin admin screens when the stored Admin API key is no longer valid (e.g. after rotating it in the Algolia dashboard). An admin notice is now shown instead so the credentials can be updated.
* Fixed: Fatal error during WP All Import "fast mode" imports when the Algolia API rejects the request or can not be reached. The error is now logged and the import continues.
* Updated: `wp algolia reindex` now names the failing index in its error message when a re-index is stopped by an Algolia API error.
* Updated composer dependencies for Strauss and WPCS. Strauss is pinned at version 0.19.5 because later versions introduce bugs with the docblock modifications and Windows paths.

## 3.0.1
* Fixed: Fatal error (`RuntimeException: Item is not supported on this index.`) when a post shared a taxonomy term with an unrelated post type, or when a child post (e.g., a WooCommerce product variation) didn't match its parent's index.

## 3.0.0
* Updated: Migrated the bundled Algolia SDK from v3 to v4.
* Updated: `algoliasearch` JS client bumped from 4.18.0 to 4.25.2.
* Security: Fixed missing authorization checks on the re-index and push-settings admin AJAX actions; both now require the `manage_options` capability and a valid nonce.
* Fixed: WPCLI - Prevent index clearing when using `--all` but not specifying `--clear` as well.
* Fixed: `Algolia_Index::get_index()` no longer returns `false` after the Algolia SDK v4 migration, preventing a fatal error in Pro (and any other SDK v3-style integration) when checking a post's index status.
* Changed: Minimum required PHP version bumped to 8.1 to match the bundled Algolia SDK v4's own requirement.

## 2.14.1
* Fixed: Settings, Autocomplete, and Native Search admin notices no longer appear on unrelated wp-admin screens (e.g. WooCommerce Edit Order).

## 2.14.0
* Added: `Algolia_Pro` class as the single source of truth for Pro feature data, pricing, requirements, and outbound links.
* Added: Pro requirements check so you can confirm your site meets Pro's WordPress, PHP, and plugin version minimums before purchasing.
* Updated: Pro feature descriptions across the admin and readme now reflect Pro 1.7.
* Updated: Pro promotion is hidden throughout the admin when WP Search with Algolia Pro is active.
* Updated: WooCommerce and SEO screens are no longer registered at all when Pro is active.
* Deprecated: `Algolia_Utils::pro_cta_content()`, replaced by `algolia_pro_render_feature_cards()`.

## 2.13.1
* No code changes.
* Updated: reduced minimum WP version to return compatibility with ClassicPress
* Updated: Reduced "Premium Support" admin menu priority.

## 2.13.0
* Updated: Bundle Autocomplete 1.x as an available update. Not set to default.
* Updated: revises and updates Admin UI AJAX responses.
* Added: filter on search query value for "use with native template" searches and withing `pre_get_posts` callback.

## 2.12.0
* Updated: Admin pages and Premium support UI refresh.
* Fixed: Prevent errors in WordPress Health panel if no application/api keys configured yet.

## 2.11.3
* Fixed: minimum requirement discrepancies in readme and defined constant.
* Updated: cleaned out some unused CSS selectors from really old functionality.
* Updated: make use of `.card` class from WP core for more consistant styling.
* Updated: Admin notice around term updating when term is assigned to many posts.

## 2.11.2
* Fixed: Valid Search key checks for new applications.

## 2.11.1
* Fixed: Fatal error if not able to retreive searchable posts index object.
* Fixed: Fatal error potential for non-set debounce array index.

## 2.11.0
* Updated: Algolia PHP client (addresses PHP 8.4 compatibility notices)
* Updated: UI wording to match Algolia references and Instantsearch notes.
* Fixed: Return JSON error instead of echo exception message and continue to throw exception.
* Added: Inline documentation for various custom filters and actions.
* Added: Output custom debounce values in Autocomplete settings UI.

## 2.10.4

* Fixed: revised asset loading for InstantSearch with Full Site Editing enabled.
* Added: Striping styles for Autocomplete table list.

## 2.10.3

* Added: Filter to still output frontend config data when using Instantsearch and FSE Theme.
* Added: Filtering of new filter to attempt auto-detection of a FSE theme being in use.

## 2.10.2

* Added: Checkbox option to enable insights in Instantsearch templates. Please review changes to those.

## 2.10.1

* Fixed: Issues around admin notifications on the Autocomplete settings page, introduced in 2.10.0

## 2.10.0

* Added an option to set the debounce timeout value which applies to all indexes by default, but can be customized for
  each index with a filter:

Dynamic filter name: `algolia_autocomplete_debounce_{$index_name}_{$index_type}`

Where `$index_name` is defined by the Index name prefix set on the WP Search with Algolia settings page and
`$index_type` is the type of index.

Assuming `wp_` is the Index name prefix, the debounce timeout filters would be:

```
algolia_autocomplete_debounce_wp_searchable_posts
algolia_autocomplete_debounce_wp_post
algolia_autocomplete_debounce_wp_page
algolia_autocomplete_debounce_wp_my_custom_post_type
algolia_autocomplete_debounce_wp_users
algolia_autocomplete_debounce_wp_terms_category
algolia_autocomplete_debounce_wp_terms_post_tag
algolia_autocomplete_debounce_wp_terms_my_custom_taxonomy
```

Note that the Algolia Autocomplete settings must be saved after creating one of the above filters.

## 2.9.0

* Added: Instantsearch Template options. Choose between “Legacy” hogan.js/WP Utils templates and “Modern” Javascript string literals. “Modern” is more in line with Algolia Documentation.
* Added: ability to customize default Headers for Algolia Search Client configuration.
* Added: Initial support for programmatic Secured API key creation.
* Updated: Sync’d up get_items() methods to allow for specifying specific IDs for posts, terms, and users.
* Updated: Instantsearch templates use “Posts per page” amount by default, from WordPress Reading settings.
* Updated: Amended Autocomplete settings page to remove more builtin post types that don’t need to be available.

## 2.8.3
* Fixed: "Function _load_textdomain_just_in_time was called incorrectly" notices.

## 2.8.2
* Updated: Wording and UI details around the settings pages for better and more accurate reflection.
* Updated: Confirmed compatibility with WP 6.7.x
* Added: New page regarding Premium support from WebDevStudios. Let's work together.

## 2.8.1
* Updated: WP Search with Algolia Pro features list for version 1.4.0

## 2.8.0
* Added: Filter to customize Algolia SearchClient configuration with connect/read/write timeouts.
* Updated: Prevent table content from being concatenated. Thanks @rodrigo-arias
* Updated: Pass `$post_id` to `algolia_get_post_images` filter.
* Updated: Confirmed compatibility with WP 6.5

## 2.7.1
* Fixed: Instantsearch.php template file. "Powered By Algolia" Instantsearch widget wrapped in a check for if the "Remove powered by" option is checked. This should match already working behavior with Autocomplete dropdown.

## 2.7.0
* Updated: Moved post sync action from `save_post` to `wp_after_insert_post`. This allows for the sync to wait until after post meta and terms have been updated. Removes need to click save twice to sync everything.
* Updated: WP Search with Algolia feature list.

## 2.6.2
* Fixed: More performance updates and resolutions around WP All Import.

## 2.6.1
* Fixed: Performance issues related to delete operations.

* Fixed: Performance issues around WP All Import.

## 2.6.0

* Added: Support for syncing imported items when "fast mode" from WP All Import enabled.
* Added: Support for updating child posts if parent post's slug has been updated.
* Added: Support for updating posts when an associated term has been updatd.
* Added: Wait for delete operations to complete before moving to updates.
* Updated: Algolia Search library to 4.18.x
* Updated: InstantSearch library to 4.56.x

## 2.5.4

* Updated: Ensure reindexing completes when using the from_batch flag with CLI.
* Updated: Assigned Algolia_Admin instance to a property for access elsewhere.

## 2.5.3

* Updated: Autocomplete template file with user link fix when cmd/ctrl clicking.
* Updated: Class method visibility from protected to public.

## 2.5.2

* Updated: Fixed hits per page configuration for instantsearch
* Added: Custom hook for settings page override.

## 2.5.1

* Updated readme.txt with more plugin information.
* Repositioned help info on settings screens.

## 2.5.0

* Introduction of WP Search with Algolia Pro availability.
* Added `algolia_custom_template_location` filter to allow specifying custom template locations besides just your active
  theme.
* Templates: added action hooks at the end of Autocomplete and Instantsearch hit template blocks.
* Updated `algolia_changes_watchers` filter to also receive the current indices.
* Added watcher support for term and user meta updates.
* Updated bundled CSS to better match selectors for default used widgets in the templates.
* Clarified some details around Autocomplete settings and what can be done in each setting state.
* Updated admin menu icon to use Algolia logo when no settings configured.

## 2.4.0

* Increase minimum PHP version to PHP 7.4
* Fixed PHP8 compatibility issues
* Prefixed Algolia library to avoid potential conflicts with other code using the same libraries.
* Revised copy and wording around the plugin for better clarity.
* Deprecate the `algolia_should_require_search_client` filter in favor of prefixed Algolia PHP Client namespace

## 2.3.1

* Update autocomplete template to use addEventListener instead of onload function
* Update Algolia InstantSearch.js to 4.49.1

## 2.3.0

* Add algolia_should_override_autocomplete filter to override enable/disable status of Autocomplete
* Add from_batch argument to the re-index WP-CLI command
* Update excluded custom post types and taxonomies to include Core WordPress' internal CPTs and taxonomies
* Update Algolia logos to match the latest version
* Remove jQuery usage and dependency from templates
* Update Algolia JavaScript API Client to 4.14.2
* Update Algolia InstantSearch.js to 4.49.0
* Update Algolia PHP API Client to 3.3.2

## 2.2.0

* Add alert to Push Settings button on the Search Page.
* Replace attributesToIndex index setting with searchableAttributes.
* Replace outdated Instant Search widget class.
* Improve drag and drop column description text on the Autocomplete page.
* Remove inline CSS for Max. Suggestions input.
* Update Algolia JavaScript API Client to 4.13.0
* Update Algolia InstantSearch.js to 4.40.5
* Update Algolia Autocomplete.js to 0.38.1
* Update Algolia PHP API Client to 3.2.0

## 2.1.0

* Add algolia_update_records filter to allow inspection and filtering records during update operation.
* Add algolia_re_index_records filter to allow inspection and filtering records during re-index operation.
* Catch some Aloglia PHP Client exceptions that were previously uncaught during record updating and re-indexing.
* Fix an issue where SearchIndex::saveObjects was called twice during re-index operations.
* Update Algolia PHP API Client to 3.1.0

## 2.0.1

* Fix for users that enable intstantsearch but not autocomplete by adding algoliasearch client as direct dependency of
  both

## 2.0.0

* Breaking changes for users with customized autocomplete.php / instantsearch.php template in their theme.
* Update autocomplete.php and instantsearch.php templates for compatibility with new JS libs.
* Update Algolia JavaScript API Client to 4.10.3
* Update Algolia InstantSearch.js to 4.25.2
* Update Algolia Autocomplete.js to 0.38.0
* Update Algolia PHP API Client to 3.0.2

## 1.8.0

* Focus on template versioning and update messaging
* Add Algolia_Template_Utils class
* Deprecate Algolia_Template_Loader::locate_template method
* Deprecate Algolia_Plugin::get_templates_path method
* Deprecate algolia_templates_path filter
* Add Algolia_Update_Messages class
* Add Algolia_Admin_Template_Notices class
* Add Algolia_Version_Utils class

## 1.7.0

* Remove 'screen' media attribute from enqueued CSS
* Update Algolia PHP Search Client to version 2.7.3.
* Add "exclude" methods and filters
* Deprecate "blacklist" methods and filters
* Fix replica RequestOptions error
* Fix PHP 8 usort deprecation warning
* Fix JQMIGRATE event shorthand is deprecated warnings in instantsearch.php and autocomplete.php templates
* Add "@version" to template file headers

## 1.6.0

* Fix deletion of post records created before indexing was enabled
* Update Algolia PHP Search Client to version 2.7.1.
* Add Algolia_Plugin_Factory to create and return a shared Algolia_Plugin instance
* Add Algolia_Search_Client_Factory to return a new Algolia\AlgoliaSearch\SearchClient instance
* Add Algolia_Http_Client_Interface_Factory to create and return a shared Php53HttpClient instance
* Add algolia_php_53_http_client_options filter to supply cURL options to Php53HttpClient instance
* Deprecate Algolia_Plugin:get_instance() which will be removed in an upcoming release

## 1.5.0

* Fix an issue where Pinterest follows a link to the Algolia domain to source text and/or images
* Move Algolia scripts to footer by default
* Changes algolia_load_scripts_in_footer filter default argument to "true"
* Move autocomplete.php template output to footer by default

## 1.4.0

* Update Algolia PHP Search Client version 2.7.0.
* Update Algolia JS libraries to most recent compatible (non-breaking) versions
* Updates autocomplete.js to 0.37.1 (current release as of 2020-01-27)
* Updates algoliasearch to 3.35.1 (last of the 3.x series)
* Updates instantsearch.js to 1.12.1 (last of the 1.x series)

## 1.3.0

* Fix an issue where, under some circumstances, when a post with a featured image was deleted, the post might be
  accidentally re-indexed
* Fix bug that prevented reindex display notices
* Add algolia_load_scripts_in_footer filter to allow enqueueing the scripts in the footer instead of in the head
* Add new filters for multisite developers

## 1.2.0

* Use filtered value of 'hitsPerPage' as 'posts_per_page' query param
* Fix broken SVG
* Add highlighting to backend search results - props @philipnewcomer

## 1.1.0

* Minimum PHP version requirement is now PHP 7.2
* Minimum WordPress version requirement is now WP 5.0
* Internationalization/localization improvements, textdomain matches plugin slug
* Addressed a potential WSOD if minimum PHP and WP version requirements were not met
* Tested on WP 5.3

## 1.0.0

* Initial release.
