Skip to content

Releases: CloudCannon/pagefind

v0.5.0

26 Jul 10:15
Compare
Choose a tag to compare

Features & Improvements

  • The glob that Pagefind uses for finding files to index can now be configured. See Config > Glob
  • Added a data-pagefind-ignore="all" option that does not process filters or metadata within the target element. See Indexing > Removing individual elements from the index
  • Added a data-pagefind-default-meta attribute that can provide fallback values for metadata that could not be found on the page. See Metadata > Defining default metadata
  • UI: Pagefind UI will now check for a url key in a page's metadata that should be used over the generated URL. See UI > Overriding the URL of a result
  • UI: Added a configuration option for hiding images from the Pagefind UI. See UI > Show images
  • UI: Added a configuration option to hide filter values that have no available results given the search query and existing filters. See UI > Show empty filters
  • UI: The Pagefind UI filter panel will now default to expanded if there are sufficiently few filters

Fixes & Tweaks

  • Server gzip support
    • Pagefind implements its own gzip handling, but would fail in the rare case that a server detected the gzipped files and served them such that a browser would decompress them. Pagefind will now identify that these files have already been decompressed rather than error.
  • UI: HTML entity improvements
    • Fixed the remaining elements in the Pagefind UI that did not correctly render HTML entities.
  • UI: Filter state improvements
    • Previously, deleting a search term would reset the selected filter values and the open filter groups. This state is now preserved when the search input is empty.
  • UI: The Pagefind UI JS and CSS files are now correctly minified

v0.4.1

06 Jul 23:56
Compare
Choose a tag to compare

Fixes & Tweaks

  • Hash fragment contents using the entire file, to prevent stale content
  • Use the image_alt correctly in Pagefind UI

v0.4.0

06 Jul 04:01
Compare
Choose a tag to compare

Features & Improvements

  • An automatic image_alt metadata value will be included when returning an automatic image metadata value. See Metadata > Default metadata
  • Multiple filter and metadata keys set can be set per element. See Metadata > Defining multiple keys
  • A root selector can now be configured to further restrict Pagefind indexing. See Config > Root selector
  • If re-running Pagefind over an output directory, existing hashed files will be reused if present, which will improve hot build speeds for large sites.
  • Added latest version to the header of the documentation.

Fixes & Tweaks

  • Added <template> elements to the ignored text index list
  • Multiple exact matches on a page will no longer be returned as separate results

v0.3.2

04 Jul 07:33
Compare
Choose a tag to compare
Remove NYI fields in Pagefind api

v0.3.1

04 Jul 01:14
Compare
Choose a tag to compare

Changed images in Pagefind UI to contain rather than cover. Relevant CSS variables have changed slightly.

v0.3.0

02 Jul 03:04
Compare
Choose a tag to compare

Added a --serve option to the Pagefind CLI that will host the site on a local development server after building the search index.

v0.2.0

01 Jul 05:15
Compare
Choose a tag to compare

The first stable 0.x release of Pagefind.

v0.1.1-rc42

30 Jun 04:52
Compare
Choose a tag to compare
Stabilized Pagefind UI styles & classnames

v0.1.1-rc41

30 Jun 02:36
Compare
Choose a tag to compare
Publishing pagefind_stem as a crate

v0.1.1-rc38

29 Jun 10:47
Compare
Choose a tag to compare
Fix the sort order of pages with exact matches