What was broken One bad selector crashed the whole index build
All --exclude-selectors values were joined into one selector. When lol_html could not parse one of them, for example :not(.a b), Pagefind stopped with a panic.
How we fixed it Each selector parsed on its own
Each selector is now parsed on its own. An unsupported one is logged as a warning and dropped, and the rest keep working. A test checks that with :not(.a b) indexing finishes and .ad is still excluded.
#1312
What was broken File names went into URLs unencoded
build_url copied the file path into the URL almost verbatim and only encoded %, # and ?. A file called Müsli.html got the link /Müsli.html, and spaces or quotes in names produced invalid URLs.
How we fixed it Full percent-encoding of the path
The URL is encoded with the percent-encoding crate using the URL spec's path encode set, minus the slash so directory boundaries survive. Müsli.html becomes /M%C3%BCsli.html and a b/c#d?e.html becomes /a%20b/c%23d%3Fe.html.
#1335
What was broken Result images loaded from the wrong domain
With an index from another domain, attached through baseUrl, result links were right, but relative images were resolved to the path alone. They loaded from the search site's domain and showed as broken.
How we fixed it Images keep the baseUrl domain
URL resolution now keeps the origin, in the components and in both default UI templates. An images/header.png on /blog/post/ points to https://example.com/blog/post/images/header.png. We added browser tests and a note in the resolveUrl docs.
#1363