Skip to content

deps: bump pagefind from 1.5.2 to 1.6.0 in /web - #702

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/web/pagefind-1.6.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/web/pagefind-1.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor

Bumps pagefind from 1.5.2 to 1.6.0.

Release notes

Sourced from pagefind's releases.

v1.6.0

👋 A little overdue, but this release knocks out a healthy selection of bug reports, and includes a lot of work from the community. Thanks to everyone who contributed ❤️ - @​bglw

Multilingual Segmentation

Pagefind's extended build now segments Chinese, Japanese, and Thai pages with ICU4X, replacing the previous dependency (PR #1383). Alongside producing a smaller binary, ICU4X segments a lot closer to the Intl.Segmenter used in the browser on the search query (which is ICU4C). This closes out a mixture of latent and reported issues where the different segmentation between indexing and searching makes for iffy results. It's not perfect yet, but it's a darn sight closer.

Bonuses:

  • Segmentation is smarter in languages such as Thai, and doesn't break inside a grapheme cluster
  • Japanese katakana has special handling, but should still be improved over 1.5.2
  • Japanese voiced and semi-voiced sound marks are no longer normalized into each other

Fewer Fragment Files

Pagefind now has an option to limit the total number of fragment files produced, for hosting providers that cap the number of uploaded files. Contributed in PR #1020 — thanks @​yakovsh !

This limit is set with --max-fragments / max_fragments, and applies per language. When applied, multiple fragments are bundled together and loaded as a set when required.

See 📘 Max fragments.

Explicit Sub-Result Titles

Added support for explicit sub-result titles. Any element with both an id and a data-pagefind-title attribute can be used as a sub-result (PR #1282 — thanks @​samuel-williams-shopify !)

See 📘 Defining a sub result explicitly.

Component UI

  • Added a sort attribute to <pagefind-config>, to order results by a sort key (PR #1326)
  • Added a max-sub-results attribute to <pagefind-searchbox> (PR #1324)
  • Added a placeholder setter to <pagefind-searchbox> and <pagefind-modal-trigger> (PR #1321)
  • configureInstance now applies to an instance that already exists but has not loaded yet (PR #1323)
  • Fixed the UI language being resolved after the first render, which could flash the wrong translations (PR #1332)
  • Fixed component cleanup after being disconnected (PR #1322)
  • Fixed IME composition keystrokes support (PR #1284 — thanks @​oharu121 !)
  • Fixed the modal staying open when clicking a result for the current page (PR #1327)
  • Fixed the filter panel checkbox shrinking when its label wraps (PR #1166 — thanks @​mbrambilla !)
  • Hid the keyboard shortcut badge on touch-only devices (PR #1325)

Search Results & Options

  • Added an excerptEllipsis option to mark the truncated ends of excerpts (PR #1320)
  • Fixed phrase search across diacritic variants, so searching "cafe latte" can match a page containing café latte (PR #1386 — thanks @​sean0407 !)
  • Fixed filters not matching values containing escaped characters such as quotes or backslashes (PR #1392)
  • Fixed compound words being counted twice in metadata coverage, which could overvalue a metadata match (PR #1319)
  • Fixed a bug which could build excerpts from the wrong words (PR #1318)
  • Fixed decoding for HTML entities in the automatic image and image_alt metadata (PR #1393 — thanks @​digilist !)

... (truncated)

Changelog

Sourced from pagefind's changelog.

v1.6.0 (November 1, 2026)

👋 A little overdue, but this release knocks out a healthy selection of bug reports, and includes a lot of work from the community. Thanks to everyone who contributed ❤️ - @​bglw

Multilingual Segmentation

Pagefind's extended build now segments Chinese, Japanese, and Thai pages with ICU4X, replacing the previous dependency (PR #1383). Alongside producing a smaller binary, ICU4X segments a lot closer to the Intl.Segmenter used in the browser on the search query (which is ICU4C). This closes out a mixture of latent and reported issues where the different segmentation between indexing and searching makes for iffy results. It's not perfect yet, but it's a darn sight closer.

Bonuses:

  • Segmentation is smarter in languages such as Thai, and doesn't break inside a grapheme cluster
  • Japanese katakana has special handling, but should still be improved over 1.5.2
  • Japanese voiced and semi-voiced sound marks are no longer normalized into each other

Fewer Fragment Files

Pagefind now has an option to limit the total number of fragment files produced, for hosting providers that cap the number of uploaded files. Contributed in PR #1020 — thanks @​yakovsh !

This limit is set with --max-fragments / max_fragments, and applies per language. When applied, multiple fragments are bundled together and loaded as a set when required.

See 📘 Max fragments.

Explicit Sub-Result Titles

Added support for explicit sub-result titles. Any element with both an id and a data-pagefind-title attribute can be used as a sub-result (PR #1282 — thanks @​samuel-williams-shopify !)

See 📘 Defining a sub result explicitly.

Component UI

  • Added a sort attribute to <pagefind-config>, to order results by a sort key (PR #1326)
  • Added a max-sub-results attribute to <pagefind-searchbox> (PR #1324)
  • Added a placeholder setter to <pagefind-searchbox> and <pagefind-modal-trigger> (PR #1321)
  • configureInstance now applies to an instance that already exists but has not loaded yet (PR #1323)
  • Fixed the UI language being resolved after the first render, which could flash the wrong translations (PR #1332)
  • Fixed component cleanup after being disconnected (PR #1322)
  • Fixed IME composition keystrokes support (PR #1284 — thanks @​oharu121 !)
  • Fixed the modal staying open when clicking a result for the current page (PR #1327)
  • Fixed the filter panel checkbox shrinking when its label wraps (PR #1166 — thanks @​mbrambilla !)
  • Hid the keyboard shortcut badge on touch-only devices (PR #1325)

Search Results & Options

  • Added an excerptEllipsis option to mark the truncated ends of excerpts (PR #1320)
  • Fixed phrase search across diacritic variants, so searching "cafe latte" can match a page containing café latte (PR #1386 — thanks @​sean0407 !)
  • Fixed filters not matching values containing escaped characters such as quotes or backslashes (PR #1392)
  • Fixed compound words being counted twice in metadata coverage, which could overvalue a metadata match (PR #1319)
  • Fixed a bug which could build excerpts from the wrong words (PR #1318)
  • Fixed decoding for HTML entities in the automatic image and image_alt metadata (PR #1393 — thanks @​digilist !)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pagefind](https://github.com/Pagefind/pagefind) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/Pagefind/pagefind/releases)
- [Changelog](https://github.com/Pagefind/pagefind/blob/main/CHANGELOG.md)
- [Commits](Pagefind/pagefind@v1.5.2...v1.6.0)

---
updated-dependencies:
- dependency-name: pagefind
  dependency-version: 1.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from jongio as a code owner November 23, 2026 03:20
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 23, 2026
github-actions Bot added a commit that referenced this pull request Nov 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Website Preview

Your PR preview is ready!

📎 Preview URL: https://jongio.github.io/azd-app/pr/702/

This preview will be automatically cleaned up when the PR is closed.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Test This PR

A preview build (0.21.1-pr702) is ready for testing!

🌐 Website Preview

Live Preview: https://jongio.github.io/azd-app/pr/702/

One-Line Install (Recommended)

PowerShell (Windows):

iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-app/main/cli/scripts/install-pr.ps1) } -PrNumber 702 -Version 0.21.1-pr702"

Bash (macOS/Linux):

curl -fsSL https://raw.githubusercontent.com/jongio/azd-app/main/cli/scripts/install-pr.sh | bash -s 702 0.21.1-pr702

Uninstall

When you're done testing:

PowerShell (Windows):

iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-app/main/cli/scripts/uninstall-pr.ps1) } -PrNumber 702"

Bash (macOS/Linux):

curl -fsSL https://raw.githubusercontent.com/jongio/azd-app/main/cli/scripts/uninstall-pr.sh | bash -s 702

Build Info:

What to Test:
Please review the PR description and test the changes described there.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants