Skip to content Features & Improvements
- CLI: Improved
npx wrapper compatibility on Windows, thanks @tylermercer!
- JS API: Added a
debouncedSearch function to the JS API. See Pagefind JS API > Debounced search
- Default UI: Added a "Clear" button to the search input
- Default UI: Clear the search input on an
Esc keypress
- Default UI: Added UI translations for Swedish, thanks @mntzrr!
- Default UI: Added a
processTerm hook that can normalize the search query. See Pagefind UI > Process term
- Default UI: Added a
Clear button to the search input
- Default UI: Added functionality to clear the search input when
Esc is pressed while the input is focused
- Default UI: Published UI to npm under @pagefind/default-ui, as an alternative to using the files output by the Pagefind CLI
Fixes & Tweaks
- Default UI: Fixed a syntax error in the CSS
Prelease: Modular UI
- Work is underway on a new "Modular UI" that will live alongside the current "Default UI". Full support and documentation will be provided in a future release — the prerelease version can be found on npm under @pagefind/modular-ui
- As this package is still under development, some of the configuration may change in a future release. Make sure to pin your Pagefind versions for any production site relying on the Modular UI.