Skip to content

Releases: CloudCannon/pagefind

v0.11.0

16 Feb 02:23
Compare
Choose a tag to compare

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

19 Jan 03:29
Compare
Choose a tag to compare
  • 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

18 Dec 21:15
Compare
Choose a tag to compare
  • Adds UI translations for Galician, CatalΓ  & Spanish, thanks @pvillaverde!
  • Fixes Pagefind failing on Safari due to an unsupported regex

v0.10.5

14 Dec 03:29
Compare
Choose a tag to compare
  • Fixed an issue where merging an index from a fully-qualified domain name would mangle the mapped URLs

v0.10.4

06 Dec 22:01
Compare
Choose a tag to compare
  • Fixed a corner case where a data-pagefind-body tag wouldn't be honored on pages with DOM nodes outside the main html element

v0.10.3

02 Dec 02:52
Compare
Choose a tag to compare
  • Fixed the Windows deployment target

v0.10.2

24 Nov 05:57
Compare
Choose a tag to compare
  • 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
  • Updated the npm/npx wrapper to reflect the newly available binaries

v0.10.1

23 Nov 01:21
Compare
Choose a tag to compare
  • 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

15 Nov 07:19
Compare
Choose a tag to compare

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

07 Nov 22:14
932358f
Compare
Choose a tag to compare
  • 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.