v0.8.0
Breaking changes
- The project is renamed to "InfiSearch".
- Binaries, CDN links, bundle names are renamed accordingly.
- CSS variables and classes are renamed from
--morsels➡️--infiand.morsels-➡️.infi-respectively - Global window export is renamed to
infisearch,infisearch.initandinifsearch.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
getKVFieldsmethod interface - Remove
headerRender,loadingIndicatorRenderAPIs 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
Vecgrowing code where the initial capacity is sufficient - Cleanup
loaderskey from internal output config file - Remove a redundant
sr-only<label>already described by its combobox role