Skip to content

Latest commit

 

History

History
92 lines (58 loc) · 2.42 KB

CHANGELOG.md

File metadata and controls

92 lines (58 loc) · 2.42 KB

CHANGELOG

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

(empty)

[1.6.2] - 2020-11-08

Fixed

  • Fix the backward compability issue of inputId and outputId of release v1.6.0 and v1.6.1.

[1.6.1] - 2020-11-08

Fixed

  • Detect "deleted" and "unpublished" posts to trigger a cache invalidation

[1.6.0] - 2020-08-22

Changed

  • The fields inputId and outputId now support array values. Very useful for multi search bars and/or multi result elements setup. Configuration backward compability is preserved.

[1.5.0] - 2020-08-05

Added

  • A new searchOptions field to fine tune Flexsearch searches.

Changed

  • Better info and error console logs, the error object is also printed out.

[1.4.0] - 2020-07-05

Changed

  • The outputId becomes optional, set it value to false to disable it.
  • Replace all throw statement by warn logs.
  • The search() method now returns the posts found.

[1.3.3] - 2020-05-28

Changed

  • The outputChildsType wrapping element becomes optional, set it value to false to disable it.
  • Use false(boolean) value instead of 'none' for the fields "loadOn" and "searchOn". The 'none' value continues to work but has been deprecated.

[1.3.2] - 2020-05-26

Fixed

  • Enable library import using yarn/NPM.

[1.3.1] - 2020-05-23

Added

  • Ability to set inputId to false when no input field is needed.

[1.3.0] - 2020-05-23

Added

  • Search engine configuration exposed to user.
  • Non-latin languages support.

Changed

  • Remove the Ghost API library dependency, use the native fetch() instead. The bundle size is reduced by 50%.

[1.2.0] - 2020-05-14

Added

  • Self documented methods within the source code (JSdoc).

Changed

  • The inner loadResources() method has been renamed to loadData().
  • Refactor some method and variable names to give them more sens.

Fixed

  • When searchOn set to none, properly disable form submission.

[1.1.0] - 2020-05-10

Added

  • Discard post item when returning falsy value from the customProcessing() callback function.

Changed

  • Default format date based on the HTML page lang attribute.

[1.0.0] - 2020-05-08

The first official and production-ready release of SearchinGhost!