Releases: CloudCannon/pagefind
Releases Β· CloudCannon/pagefind
v0.11.0
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.
v0.10.7
- Avoid using bsdtar in the release flow, as that will sometimes create sparse tar files that some packages cannot decompress. (Fixes lumeland/lume#362)
v0.10.6
- Adds UI translations for Galician, CatalΓ & Spanish, thanks @pvillaverde!
- Fixes Pagefind failing on Safari due to an unsupported regex
v0.10.5
- Fixed an issue where merging an index from a fully-qualified domain name would mangle the mapped URLs
v0.10.4
- Fixed a corner case where a
data-pagefind-body
tag wouldn't be honored on pages with DOM nodes outside the mainhtml
element
v0.10.3
- Fixed the Windows deployment target
v0.10.2
- Updated only deployment targets:
- Pagefind now distributes an
aarch64-apple-darwin
build for M1 macOS machines- This will provide a speed benefit on these machines by skipping the Rosetta 2 emulation
- Pagefind now distributes an
aarch64-unknown-linux-musl
build for ARM Linux machines- Useful for ARM Docker images on M1 macOS
- Pagefind now distributes an
- Updated the npm/npx wrapper to reflect the newly available binaries
v0.10.1
- Changed HTML parsing to a non-strict mode that will no longer error when encountering parsing ambiguities
- Updated the npm wrapper to respect an exit code returned from the main Pagefind binary
v0.10.0 β Exclude Selectors
Features & Improvements
- Added the ability to exclude custom selectors via Pagefind config. See the exclude selectors documentation
Fixes & Tweaks
- Fixed an issue where running a multi-site search through Pagefind UI wouldn't wait for all search indexes to be ready
v0.9.3
- When the search term
null
is passed, Pagefind returns all results with filters applied.- In the case of a
null
search and an empty filters object, Pagefind would previously return zero results. - Pagefind will now return all results in this case.
- In the case of a