Sponsored Content
The Wayback Machine - https://web.archive.org/web/20210903192826/https://github.com/WebDevStudios/wp-search-with-algolia/releases
Skip to content

@richaber richaber released this Jul 26, 2021

Fix for users that enable intstantsearch but not autocomplete by adding algoliasearch client as direct dependency of both (#165)

Assets 2

@richaber richaber released this Jul 24, 2021

WPSWA 2.0.0 release is primarily focused on updating the bundled Algolia Javascript libraries.

  • 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

Tested and verified indexing, PHP powered search, autocomplete, and instantsearch, on WordPress 5.8.0 and PHP 8.0.0 without issue.

Screen Shot 2021-07-23 at 8 32 30 PM

Assets 2

@richaber richaber released this May 1, 2021

Release 1.8.0 is primarily focused on versioning and messaging.

  • 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

Tested on WordPress 5.7.1 and PHP 8.0.0 without issue.

Example admin notice screenshots when custom template versions do not match WPSWA Core's template versions:
template-notices

Example plugin update screenshot when available update is a higher MAJOR version than the currently installed MAJOR version:
major-version-update

Assets 2

@richaber richaber released this Jan 29, 2021

  • 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
Assets 2

@richaber richaber released this Nov 13, 2020

  • 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
Assets 2

@richaber richaber released this Oct 7, 2020

  • 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
Assets 2

@richaber richaber released this Aug 1, 2020

  • Update Algolia PHP Search Client to 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)
Assets 2

@richaber richaber released this Apr 18, 2020

  • Fix an issue where, under some circumstances, when a post with a featured image was deleted, the post might be accidentally re-indexed - props @sebastianthulin
  • 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 - props @mae829
  • Add new filters for multisite developers - props @sebastianthulin
  • Additional input sanitizations
Assets 2

@richaber richaber released this Dec 27, 2019

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

@richaber richaber released this Nov 15, 2019

Bump minimum PHP version requirement to PHP 7.2
Bump minimum WordPress version requirement to WP 5.0
Internationalization/localization improvements
Addressed a potential WSOD if minimum PHP and WP version requirements were not met
Tested on WP 5.3

Assets 2