From 116e9032040b8edd03d27e8e758326d4c09ce325 Mon Sep 17 00:00:00 2001 From: Liam Bigelow <40188355+bglw@users.noreply.github.com> Date: Thu, 16 Nov 2023 14:50:21 +1300 Subject: [PATCH] Changelog & translation docs page --- CHANGELOG.md | 26 ++++++++++++++++++++++++-- docs/content/docs/multilingual.md | 9 +++++++-- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d35a829f..83518ead 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,30 @@ ## Unreleased -* Fixes a bug where `debouncedSearch` returns `null` if any options object is passed to it. -* Fixes a bug where a fully-qualified URL set via the NodeJS indexing API would be broken when returned as a search result. +### Features & Improvements +* Added highlighting support to Pagefind. Massive thanks to @Jothsa for pushing this across the line in #425! πŸŽ‰ + * See [πŸ“˜ Highlighting search terms](https://pagefind.app/docs/highlighting/) for documentation on how to enable this new feature. +* Added a page size option to the Default UI. See [πŸ“˜ UI Configuration > Page size](https://pagefind.app/docs/ui/#page-size). +* Added a `destroy()` function to the Pagefind JS API, allowing for a total re-initialization. See [πŸ“˜ Re-initializing the search API](https://pagefind.app/docs/api/#re-initializing-the-search-api). +* Added a `destroy()` function to the Pagefind Default UI, allowing for a total re-initialization. See [πŸ“˜ Re-initializing the Pagefind UI](https://pagefind.app/docs/ui-usage/#re-initializing-the-pagefind-ui). + +### Fixes & Tweaks +* Fixed a bug, resulting in a (very) large improvement to the NodeJS Indexing API performance (~100x). +* Fixed HTML entities being rendered escaped in metadata, filters, and custom page titles. +* Fixed a bug where `debouncedSearch` returns `null` if any options object is passed to it. +* Fixed a bug where a fully-qualified URL set via the NodeJS indexing API would be broken when returned as a search result. +* Fixed Pagefind's reporting of really fast indexing times (previously logged as slower than reality) β€” thanks to @danpls in #448. +* Fixed extracting sub-results when headings contain non-ascii text (especially RTL languages). + +### UI Translations + +* Added Māori translations (PR #436 β€” thanks @Yoda-Soda !). +* Added Croatian translations (PR #440 β€” thanks @diomed !). +* Added Hungarian translations (PR #451 β€” thanks @adamlaki !). +* Added Bengali translations (PR #454 β€” thanks @marufmax !). +* Added Vietnamese translations (PR #467 β€” thanks @AREA44 !). +* Added Polish translations (PR #495 β€” thanks @KredensKuchenny !). +* Added Danish translations (PR #501 β€” thanks @jonassmedegaard !). ## v1.0.3 (September 16, 2023) diff --git a/docs/content/docs/multilingual.md b/docs/content/docs/multilingual.md index 8050a47e..058000ac 100644 --- a/docs/content/docs/multilingual.md +++ b/docs/content/docs/multilingual.md @@ -29,9 +29,11 @@ If word stemming is unsupported, search results won't match across root words. I | Arabic β€” `ar` | ❌ | βœ… | | Armenian β€” `hy` | ❌ | βœ… | | Basque β€” `eu` | ❌ | βœ… | +| Bengali β€” `bn` | βœ… | ❌ | | Catalan β€” `ca` | βœ… | βœ… | | Chinese β€” `zh` | βœ… | See below | -| Danish β€” `da` | ❌ | βœ… | +| Croatian β€” `hr` | βœ… | ❌ | +| Danish β€” `da` | βœ… | βœ… | | Dutch β€” `nl` | βœ… | βœ… | | English β€” `en` | βœ… | βœ… | | Finnish β€” `fi` | βœ… | βœ… | @@ -40,14 +42,16 @@ If word stemming is unsupported, search results won't match across root words. I | German β€” `de` | βœ… | βœ… | | Greek β€” `el` | ❌ | βœ… | | Hindi β€” `hi` | βœ… | βœ… | -| Hungarian β€” `hu` | ❌ | βœ… | +| Hungarian β€” `hu` | βœ… | βœ… | | Indonesian β€” `id` | βœ… | βœ… | | Irish β€” `ga` | ❌ | βœ… | | Italian β€” `it` | βœ… | βœ… | | Japanese β€” `ja` | βœ… | See below | | Lithuanian β€” `lt` | ❌ | βœ… | +| Māori β€” `mi` | βœ… | ❌ | | Nepali β€” `ne` | ❌ | βœ… | | Norwegian β€” `no` | βœ… | βœ… | +| Polish β€” `pl` | βœ… | ❌ | | Portuguese β€” `pt` | βœ… | βœ… | | Romanian β€” `ro` | ❌ | βœ… | | Russian β€” `ru` | βœ… | βœ… | @@ -56,6 +60,7 @@ If word stemming is unsupported, search results won't match across root words. I | Swedish β€” `sv` | βœ… | βœ… | | Tamil β€” `ta` | βœ… | βœ… | | Turkish β€” `tr` | βœ… | βœ… | +| Vietnamese β€” `vi` | βœ… | ❌ | | Yiddish β€” `yi` | ❌ | βœ… | > Feel free to [open an issue](https://github.com/CloudCannon/pagefind/issues/new) if there's a language you would like better support for, or [contribute a translation](https://github.com/CloudCannon/pagefind/tree/main/pagefind_ui/translations) for Pagefind UI in your language.