Skip to content

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 04:47
· 68 commits to main since this release

Breaking changes

  • The project is renamed to "InfiSearch".
    • Binaries, CDN links, bundle names are renamed accordingly.
    • CSS variables and classes are renamed from --morsels ➡️ --infi and .morsels- ➡️ .infi- respectively
    • Global window export is renamed to infisearch, infisearch.init and inifsearch.Searcher
  • Indexer field configuration is made more ergonomic
    • do_store: true -> "storage": ["text"]
  • Indexer HTML selector configuration is changed into a kev-value dictionary keyed by the selector instead of an array
  • Simplify Search API's getKVFields method interface
  • Remove headerRender, loadingIndicatorRender APIs in favour of the search API.

Features

  • Add "storage": ["enum"] storage for fields, which enables efficient storage categorical values per document.
    • These values can be used for filtering in the search API
    • Or bound to in-built UI multi-select filters easily
  • The advanced tip popup can now me used for the UI mode='target' option

Fixes

  • All index fragments, files, assets are atomically cache-busted using the an index version timestamp
  • Fix field filter operator not being carried to all automatic prefix searched terms

Miscellaneous

  • Minor color and spacing tweaks
  • Remove background colors from the fullscreen UI close button
  • Directly store field names in JSON field stores instead of ids for readability. The size difference is insignificant
  • Add a vec capacity heuristic for a commonly used query processing function
  • Remove unnecessary Vec growing code where the initial capacity is sufficient
  • Cleanup loaders key from internal output config file
  • Remove a redundant sr-only <label> already described by its combobox role