[Snyk] Upgrade pagefind from 1.2.0 to 1.4.0#708
Open
sfrederick-gsa-gov wants to merge 1 commit intomainfrom
Open
[Snyk] Upgrade pagefind from 1.2.0 to 1.4.0#708sfrederick-gsa-gov wants to merge 1 commit intomainfrom
sfrederick-gsa-gov wants to merge 1 commit intomainfrom
Conversation
Snyk has created this PR to upgrade pagefind from 1.2.0 to 1.4.0. See this package in npm: pagefind See this project in Snyk: https://app.snyk.io/org/gsa-pages/project/456f7933-729f-4a38-9192-f611df9dde79?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade pagefind from 1.2.0 to 1.4.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 7 versions ahead of your current version.
The recommended version was released 6 months ago.
Release notes
Package name: pagefind
-
1.4.0 - 2025-09-01
- Added the "Include Characters" option to allow indexing of specific special characters.
- See 📘 Indexing Special Characters.
- Reduced filesizes for the Pagefind WebAssembly modules.
- Added FreeBSD as a supported platform (PR #813 — thanks @ nguthiru !)
- Fixed an issue where matches in compound words could be ranked with zero weight. (PR #806 — thanks @ teamdandelion !)
- Added the Pagefind Playground
- Optionally hosted as part of your site, the playground gives you a deeper look into how results are calculated.
- Check out the playground for the Pagefind docs at https://pagefind.app/pagefind/playground/
- See 📘 Pagefind Playground to configure and view the playground for your own site.
- Added option to hide images on result templates in the Modular UI (PR #874 — thanks @ HannesOberreiter !)
- Added a data attribute for result count on the filter pills. (PR #827 — thanks @ cmahnke !)
- Added title attribute to the default UI search input for improved accessibility (PR #798 — thanks @ rdela !)
- Added Thai (th) translations (PR #801 — thanks @ Phon1209 !)
- Added Thai segmenter support when indexing (PR #807 — thanks @ anonymaew !)
- Added Basque (eu) translations (PR #826 — thanks @ erral !)
- Added Norwegian Bokmål (nb) and Norwegian Nynorsk (nn) translations (PR #878 — thanks @ altinnadmin !)
- Added Burmese (my) translations (PR #768 — thanks @ harrymkt !)
- Added a development
- The Pagefind JavaScript should support running in Node.js a bit better (PR #828 — thanks @ justsml !)
-
1.4.0-rc.3 - 2025-09-01
-
1.4.0-rc.2 - 2025-09-01
-
1.4.0-rc.1 - 2025-09-01
-
1.4.0-alpha.1 - 2025-01-27
-
1.4.0-alpha.0 - 2025-01-19
-
1.3.0 - 2024-12-18
- Added
- Stablized the Pagefind Rust library.
- Thanks to @ cdxker for leading this in #751 ❤️
- This library interface has feature parity with the Node and Python indexing APIs, and is a great solution for integrating Pagefind indexing into any Rust-based tooling.
- Added a
- For example, a tag on a result containing
- Fixed an issue where inline metadata would incorrectly render with html-escaped characters.
- Specifically, tagging metadata inline with
- This bug didn't occur when using
- Fixed an issue where matches in compound words could (sometimes) be ranked lower than intended.
- Specifically, for example, matching just the
- Fixed an issue where fragment hashes would change between every Pagefind build.
- Now, if an HTML page has not changed between two Pagefind indexes, the fragment filename will not change.
- This saves you from having to re-upload all fragment files after every Pagefind build.
-
1.2.0 - 2024-11-06
- Added Python bindings for indexing sites with Pagefind. This has feature parity with the Node/npx binary wrapper for running Pagefind, as well as feature parity with the NodeJS Indexing API for Pagefind.
- Enormous thanks to @ SKalt for implementing this in #672 ❤️
- For documentation, see 📘 Installation > Running via Python, and 📘 Using the Python API.
- Fixed Catalan translations (PR #718 — thanks @ danurbanowicz !).
- *️⃣ Added Persian translations (PR #690 — thanks @ YektaDev !).
- *️⃣ Added Hebrew translations (PR #453 — thanks @ nirtamir2 !).
- *️⃣ Added Arabic translations (PR #533 — thanks @ jermanuts !).
from pagefind GitHub release notesCore Features & Improvements
Pagefind Playground
Modular UI Features & Improvements
Default UI Features & Improvements
UI Translations
Everything Else
justfile, and improved CONTRIBUTING.md (hint hint)Looking Forward
👋 from @ bglw — I thought I'd add a new section to these release notes talking about what's next.
The biggest item on my list is to improve the relevance of the Pagefind search results. With the current setup, you can tweak enough settings to get decent results for a given site, but it needs to better meet the goal of working more-than-good-enough out of the box.
The second-biggest item is to fill out the Modular UI and transition the default Pagefind experience to use that. This has been pending for a long time, and will be a much better base for those who wish to customize their search more than the Default UI currently allows.
Releases also now trigger a GitHub Discussion to be created, so please drop any general thoughts, comments, or feedback there 🙂
Fix python publishing
Omit FreeBSD support for the python wrapper
Changelog
Add configuration to include specific special characters while indexing
Resolve flaky playground test
Core Features & Improvements
--quietand--silentflags when running the Pagefind CLI, which reduce the logging output to only warnings or only errors respectively.Default UI Features & Improvements
data-pagefind-ui-metaattribute to the metadata tags on search results in the Default UI, allowing them to be targeted with CSS.Date: April 19, 2024will now havedata-pagefind-ui-meta="date".Fixes & Tweaks
data-pagefind-meta="phrase:this < thatwould index the literal<rather than a<character.data-pagefind-metato capture the content of an element.CannoninCloudCannonmay have ranked the word incorrectly.Core Features & Improvements
UI Translations
*️⃣ : These languages are the first right-to-left languages in the translation set.
Please open any issues if improvements can be made to the Pagefind UI libraries when rendered for these RTL languages.
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: