Skip to content

Commit

Permalink
Changelog & translation docs page
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw committed Nov 16, 2023
1 parent 02d8177 commit 116e903
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 4 deletions.
26 changes: 24 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
9 changes: 7 additions & 2 deletions docs/content/docs/multilingual.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |||
Expand All @@ -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` |||
Expand All @@ -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.
Expand Down

0 comments on commit 116e903

Please sign in to comment.