Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Latest commit

Β 

History

History
441 lines (273 loc) Β· 16.9 KB

CHANGELOG.md

File metadata and controls

441 lines (273 loc) Β· 16.9 KB

2.11.3 (2019-01-21)

Bug Fixes

Features

  • add filter to avoid requiring Algolia client (b5c614f)

2.11.2 (2018-07-02)

Bug Fixes

2.11.1 (2018-05-22)

Bug Fixes

  • remove backslashes from quotes coming from URL params (65f8235), closes #734 #751

2.11.0 (2018-05-14)

Features

  • add algolia_watch_post_meta_keys filter (38d9db4)

2.10.3 (2018-05-14)

Bug Fixes

  • do not escape query passed to frontend (e8ff424), closes #734

2.10.2 (2018-03-06)

2.10.1 (2018-03-06)

Bug Fixes

  • autocomplete: only escape suggestion attributes once (7eef8fe), closes #724

2.10.0 (2018-02-26)

Features

  • pass post object to algolia_post_content filter (deb1a00)
  • recursively replace highlights in snippetResult and highlightResult (d777f78)
  • update JS dependencies (b1f53a1)

2.9.3 (2018-01-15)

Bug Fixes

  • remove usage of deleteby to avoid delaying indexing (6296fab)

2.9.2 (2018-01-15)

Performance Improvements

  • terms-index: use deleteObject instead of deleteBy (504821b)
  • users-index: use deleteObject instead of deleteBy (39625f6)
  • merge deleteBy requests when re-indexing (32599dd)

2.9.1 (2018-01-08)

Bump tested WordPress version in readme.txt.

2.9.0 (2018-01-08)

Bug Fixes

  • admin: avoid leaving the page when buttons clicked on autocomplete page (49b3a5b)
  • admin: avoid leaving the page when buttons clicked on search page (3b11848)
  • admin: be more permissive on search API key validation (3c12df2)
  • admin-settings: correct variable typo (ca6ca62)
  • i18n: make sure we can load other languages (854c1db)

Features

  • i18n: add italian language support (86a240e)
  • indexing: allow to filter post content attribute (f599054)
  • search: allow to change native search index (aff5e14)

2.8.1 (2017-10-13)

Bug Fixes

  • indexing: send unescaped terms to Algolia (d85815f)

2.8.0 (2017-09-20)

Features

  • indexing: introduce a way to filter indexed searchable post types (693ecfa)
  • readme: Adds minimum required PHP version to READMEs (aabd4ef)

2.7.0 (2017-09-04)

Features

  • indexing: trap content outputted by plugins (dad0705)

2.6.1 (2017-08-09)

Bug Fixes

  • indexing: avoid throwing fatal error in admin (966d55c)

2.6.0 (2017-07-26)

Bug Fixes

  • wp-cli: Fixes PHP notice in WP-CLI when 'all' parameter isn't provided (c528a3f)

Features

  • indexing: add a filter to customize tags to remove from content (fed2bf4)

2.5.0 (2017-07-17)

Bug Fixes

  • admin: properly handle configuration in constants (d07a801)
  • indexing: send un-escaped content to Algolia (f89fefe)

Features

  • search: add hooks to allow search on replica in the backend (5b353ce)

Performance Improvements

  • indexing: disable caching on posts retrieval when indexing (519bf73)

2.4.0 (2017-06-23)

Features

  • autocomplete: add a hook to allow to customize autocomplete input selector (f373380)
  • autocomplete: allow to use the same index as on the search page (8398760)

2.3.0

  • Feat: Add a button for every index to push the settings
  • Feat: Add a filter to force settings update when re-indexing
  • Fix: Fix a regression when post splitting was disabled
  • Fix: Make sure attachments get removed from Algolia when deleted

2.2.3

  • Fallback to native search if Algolia call fails on search page
  • Avoid displaying fatal error when failing to reach Algolia in the admin

2.2.2

  • Correctly position autocomplete dropdown when located inside a fixed container

2.2.1

  • Rename 'page' variable to 'p' for ajax calls to avoid certain conflicts
  • Move CSS and JS files out of assets/ directory to prepare for publishing all tags
  • Avoid conflict with Polylang plugin

2.2.0

  • Ensure frontend dependencies are loaded (especially 'wp-util': wp.template())
  • Escape ET Divi builder shortcodes
  • Force autocomplete dropdown to be displayed above everything else

2.1.0

  • Introduce a new filter to allow to customize synced indices

2.0.1

  • Fix an error that would display PHP notices on search results pages

2.0.0

To upgrade from 1.7.0, follow the Upgrade instructions.

New features

  • Allow to re-order results by drag and drop from the autocomplete settings page
  • Allow to customize the header label of each result type of the autocomplete dropdown menu
  • Allow to disable powered by logo from the admin
  • Allow to re-index every index separately
  • Keep existing index settings when re-indexing
  • Keep existing synonyms when re-indexing
  • Add a filter hook to specify the thumbnail formats to send to Algolia
  • Use new Algolia logo
  • Backend is now powered by Algolia when instantsearch.js is enabled in the frontend
  • New splitting strategy resulting in better relevancy and snippets
  • Add an "no results" template to the autocomplete dropdown

Enhancements & bug fixes

  • Remove custom post type algolia_task
  • Remove custom post type algolia_log
  • Do not rely on wp_footer begin called in themes
  • Bump number of items to index per batch up to 100
  • Updated JS dependencies
  • Update Algolia API Client
  • Remove local queue in favor of in browser queue
  • Remove the Algolia logger
  • Removed title 1-6 from records
  • Reduced the default size of json payloads
  • Push correct thumbnail URLs for attachments
  • Protect autocomplete and instantsearch from XSS
  • Remove outdated polyfills for empty search queries
  • Removed tether for autocomplete dropdown placement
  • Resolved conflict with Jetpack plugin
  • Resolved conflict with Toolset plugin
  • Fixed an issue were autocomplete settings needed to be saved again
  • The plugin does not push all image sizes anymore

1.7.0

To upgrade from 1.6.0, follow the Upgrade instructions.

  • Fix the condition to remove the powered by
  • Use autocomplete.js in noConflict mode
  • Also append Cookies to wp_remote_post test calls on indexing screen
  • Update WordPress tested up to 4.7
  • Ensure wp-util is always loaded before instantsearch.js or autocomplete.js
  • Enable Yoast frontend hooks when indexing records
  • Check if the API is reachable before executing CLI commands

1.6.0

  • Re-index indices instead of moving them when index name prefix is changed
  • Keep the synonyms configured on the Algolia dashboard when we re-index
  • Add a command to the WP-CLI integration to re-index a single index
  • Allow API Keys and index name prefix to be configured with constants to ease switching between environments

1.5.0

  • Split content attribute over several records if greater than 5000 bytes
  • Support changing prefix on indices having replicas
  • Add a constant to disable post splitting
  • Fix an issue where the index name would rely on a non existing 'label' key of the post type object
  • Replace Visual Composer shortcodes in posts

1.4.1

  • Fix the validity check for the Admin API key in the settings tab

1.4.0

  • Introduce the algolia_loopback_request_args filter to override loopback args. Allows queue to work with Basic Authentication
  • Allow user generated Admin API keys
  • Resolve logging performances causing queue to crash before being able to move _tmp indices to their final destination
  • Make sure "shortcodes" are parsed inside post excerpts
  • Add support for non UTF-8 content
  • Display a more explicit error when credential validation fails
  • Add a filter algolia_search_params to be able to filter backend search parameters

1.3.0

  • Make the plugin play nicely with the W3 Total Cache plugin
  • Fix an issue where the Cache Enabler plugin would break the autocomplete when JavaScript was inlined
  • Introduced a constant to hide admin help notices
  • Add WP CLI process-queue & re-index-all commands
  • Allow theme authors to get full control over the Algolia templates location
  • Stop the queue instead of trashing failed tasks
  • Allow users to delete all pending tasks
  • Allow users to stop the queue when it is running

1.2.0

  • Fix broken pagination on instant search page
  • Fix conflicts with plugins also using the PHP simple_html_dom library
  • Limit the maximum number of log entries to 50 by default
  • Fix an issue where empty errors would get logged during queue processing
  • Introduce class .no-autocomplete to disable autocomplete on search inputs
  • Add support for a new constant ALGOLIA_LOOPBACK_HTTP that allows forcing HTTP in queue loopback

1.1.0

  • Allow special chars n autocomplete header templates
  • Do not index inlined CSS styles
  • Add support for a new constant that allows forcing HTTP in loopback
  • Disallow redirection in loopback and add debug information
  • Add wp_remote_post debugging information on indexing screen

1.0.0

  • Index menu_order field by default
  • Resolve conflict with Post Type Switcher plugin
  • Fix the asynchronous call check that happens on Indexing page

0.6.2

  • Powered by can now be removed with the ALGOLIA_POWERED_BY constant
  • Avoid spamming a notice on every admin page about non indexed searchable posts index
  • Updated JavaScript dependencies

0.6.1

  • Let users disable the Algolia powered by on the Settings page of the plugin
  • Raise the default batch size up to 50 for every index

0.6.0

  • Index all taxonomies even custom ones
  • Made autocomplete & search page easily customizable by copy pasting a folder in the active theme
  • Fix an issue where you would get 500 errors once if API credentials were not yet set
  • Push all image sizes along with there urls to ease frontend template customization
  • Fix issues were the queue would stop being processed because we attempted to load an item that was no longer existing
  • Fix deletion syncing with Algolia
  • Lower the autocomplete dropdown min width to 200px so that it fits on mobile display
  • A lot of Docs improvements
  • Allow to use dev version of the js scripts by using constant 'SCRIPT_DEBUG'
  • Allow to avoid automatic queue processing by using 'ALGOLIA_AUTO_PROCESS_QUEUE' constant
  • Fix facet counts on search results page
  • Add support for replicas

0.5.0

  • Fix a bug where autocomplete dropdown would not have the correct width after window resizing
  • Exclude post content contained inside <script> tags by default
  • Display facet counts which are now accurate thanks to the use of facetingAfterDistinct
  • Ship instantsearch.js built on preact which highly reduces the size of the library
  • Catch eventual PHP API Client exception raised when requirements were unmet
  • Improved instantsearch.js default UI experience

0.4.0

  • Add instantsearch.js integration as plug & play feature
  • Improve autocomplete suggestion template
  • Make sure we index everything even when WP_Query filters are introduced by plugins like WPML
  • Index categories as a tree for usage in instantsearch.js hierarchicalMenu widget

0.3.0

  • Cleanup the codebase
  • Support install through composer

0.2.8

  • Make the autocomplete dropdown match the width of the search input
  • Display the snippet of content that matched in the autocomplete dropdown

0.2.7

  • Fix the user agent so that the analytics API can detect required updates
  • Add more contextual help if we detect incorrect configuration

0.2.6

  • Make sure we detect custom post types before loading indices
  • Log errors even when logging is turned off
  • Add some contextual help in the admin UI

0.2.5

  • Mainly wording adjustments

0.2.4

  • Add 'post_date_formatted' to post records in Algolia

0.2.3

  • Only forward WordPress cookie entries in async calls, resolves most of the queue being stopped issues

0.2.2

  • Fix header size overflow due to cookies that made the queue stop at every few task
  • Add a notice on indexing screen if wp_remote_post is not usable
  • Log failed credentials validation

0.2.1

  • Allow indexing of custom post types
  • Scope logging disabled notice to logs page
  • Fix the queue status display on indexing page for simple tasks
  • Display notices in admin for every unmet requirement (cURL, mbstring)

0.2.0

  • Implement retry strategy for tasks processing
  • Allow to (en|dis)able logging from admin Logs page

0.0.1

  • Initial Stable Release