wiki-grav/plugins/tntsearch/CHANGELOG.md

8.1 KiB

v3.4.0

03/06/2023

    • Updated TNTSearch library to 2.9.0
    • Enable Fuzy search #123
    • Add configuration for Levenshtein distance for fuzzy search #124
    • Added French translation #100
    • Added missing stemmers #115 #116

v3.3.1

02/25/2021

    • Upgraded to TNTSearch version 2.6.0
    • Added German (de) language #103
    • Fixed query truncation when containing a hash (#) and preventing proper search results #110
    • Fixed q query parameter not working #111
    • Fix default stemmer and description #105
    • Fixed PHP 8 compatibility issues

v3.3.0

12/02/2020

    • Upgraded to TNTSearch version 2.5.0
    • Pass phpstan level 7 tests
    • Fixed FlexPages events for add+delete
    • Fixed running scheduled index job #104

v3.2.1

09/04/2020

    • Fixed bad require("history")... JS warning #101

v3.2.0

06/08/2020

    • Added support for CLI bin/plugin index to index only a single language (--language=en)
    • Renamed CLI classes to avoid class name conflicts
    • Fixed non-routable and non-published pages showing up in search results
    • Fixed indexing in multi-language sites
    • Use CLI command directly in scheduler command to work #95

v3.1.1

02/12/2020

    • Search with JS disabled #75
    • Added RU 🇷🇺 language #74
    • Various JS dependency updates & recompiled production JS
    • Added missing search_object_type to blueprint

v3.1.0

02/11/2020

    • Require Grav v1.6.21
    • Upgraded to TNTSearch version 2.2 (PHP 7.4 fixes)
    • Code cleanup
    • Fixed Grav initialization in CLI
    • Work around inconsistencies in page content if page template uses grav.page instead of page

v3.0.1

02/03/2020

    • Fixed an issue indexing via Admin with Grav 1.7

v3.0.0

04/14/2019

    • Added new Grav Scheduler integration
    • Added new Multi-Language Support
    • Switched to latest TNTSearch version 2.0 (PHP 7.1+)
    • Added a new onFlexObjecSave() event
    • Simplified indexing logic
    • Code cleanup
    • Minor CSS improvements for search field
    • Implemented a unified indexer process that always uses the CLI command for consistency
    • Use Grav YAML handler
    • Use custom search object in query #63
    • Fixed issue with Ajax results escaping
    • Fixed issues when updating search index
    • Set the db index file as a property of GravTNTSearch to allow for better overriding
    • Put better type checking around onTNTSearchIndex() example that indexes page.header.author

v2.0.4

09/21/2018

    • Added new tntsearch: index: true|false page header option to skip specific pages
    • Skip indexing of pages with redirect set in page header #21

v2.0.3

08/16/2018

    • New option to allow disabling of page events, manual updates will be required to pick up changes
    • Don't remove the X button if built_in_css is false

v2.0.2

07/20/2018

    • Ensure that credentials are passed in when searching via fetch
    • Compressed JS for better performance

v2.0.1

05/21/2018

    • Potential fix for history conflicts.

v2.0.0

05/11/2018

    • Refactored TNTSearch to allow core classes to be extensible by other plugins
    • Added phrases search support #32
    • Defaulted TNTSearch to search all pages out of the box. This should be tweaked though
    • Added auto-focus to search input #28
    • Added option to control powered by #34
    • Added a timer on CLI index command
    • Exposing GravTNTSearch to the browser for JS manipulation
    • Dispatching tntsearch:start and tntsearch:done events when starting/rendering results
    • README.md typo fixes
    • Implemented options as default values that were being ignored
    • Fixed missing break in foreach #33
    • Add missing use statement #41

v1.2.5

03/07/2018

    • Only update the a page on save if it exists in the current filter and is therefore eligible to be indexed\
    • Removed Admin dependency, it works fine without admin too, just need to use CLI

v1.2.4

02/14/2018

    • Fix issue with admin saving 'string' for filter #25

v1.2.3

02/14/2018

    • Missing comma in Admin JS breaking quick-tray reindexing

v1.2.2

02/09/2018

    • Updated TNTSearch to use version 1.3.1 of TNTSearch library for PHP 7.2 compatibility #24
    • Fixed URI hash getting unintentionally removed by TNTSearch #15
    • Fixed issue with param separator needed for Windows #16
    • Fixed placeholder format in blueprint #18

v1.2.1

01/16/2018

    • Added onTNTSearchReIndex() that you can fire from any plugin to reindex everything
    • Fixed an XSS exploit in query

v1.2.0

10/29/2017

    • Reworked JS to VanillaJS #12
    • Implemented live URI / history refresh when typing in the field
    • Added new 'auto' setting for search_type that automatically detects 'basic' or 'boolean'.
    • It is now possible to force a search_type mode whether it's basic or boolean
    • Updated to TNTSearch Library to v1.1.0
    • Allow the ability to pass a placeholder to the partials/tntsearch.html.twig template
    • Moved 'fuzzy' option as independent option
    • Fixed JS issue when at login page
    • Fixed results showing on load for drop-downs, instead of in_page only view #10

v1.1.0

08/22/2017

    • Extensible output JSON support via new onTTNTSearchQuery() event.
    • Added a 'powered-by' link that can be disabled via configuration
    • Improved docs by including instructions on how to use CLI to index.

v1.0.1

08/22/2017

    • Changed cartoon bomb icon with more friendly version (binoculars) #4
    • Added the ability to disable CSS and JS independently #3

v1.0.0

08/16/2017

    • Initial release...