This release contains improvements for the annotation editor, performance, text selection and the viewer.
Changes since v5.4.394
Bump the stable version in pdfjs.config by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20414
Create the number tree for the ParentTree only one time by @calixteman in https://github.com/mozilla/pdf.js/pull/20425
Add the possibility to create a pdf from different ones (bug 1997379) by @calixteman in https://github.com/mozilla/pdf.js/pull/20409
Update the page labels tree when a pdf is extracted (bug 1997379) by @calixteman in https://github.com/mozilla/pdf.js/pull/20411
Update the named page destinations when some pdf are combined (bug 1997379) by @calixteman in https://github.com/mozilla/pdf.js/pull/20421
Version entry in the catalog has to be a name and not a string by @calixteman in https://github.com/mozilla/pdf.js/pull/20432
Add a wrapper for the new xref in order to be able to get some values from cloned dictionaries by @calixteman in https://github.com/mozilla/pdf.js/pull/20431
Update dependencies and translations to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20429
Introduce a helper function to create a freetext editor in the integration tests by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20430
Add telemetry for tagged pdfs (bug 1997134) by @calixteman in https://github.com/mozilla/pdf.js/pull/20405
Merge the structure trees coming from different pdfs (bug 1997379) by @calixteman in https://github.com/mozilla/pdf.js/pull/20436
Add regression test for PR 19184 by @maettuu in https://github.com/mozilla/pdf.js/pull/20151
Bump glob by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/20448
Bump js-yaml from 3.14.1 to 3.14.2 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/20449
Lint and format the HTML in using Prettier by @calixteman in https://github.com/mozilla/pdf.js/pull/20447
Add setter for some FontFaceObject properties by @Aditi-1400 in https://github.com/mozilla/pdf.js/pull/20427
fix: deleteAnnotationElement takes a full editor object by @sachiniyer in https://github.com/mozilla/pdf.js/pull/20413
When searching for a group of punctuation signs, only add extraspaces around the group by @calixteman in https://github.com/mozilla/pdf.js/pull/20456
[XFA] Set default max value in occur tag to -1 (bug 1998843) by @calixteman in https://github.com/mozilla/pdf.js/pull/20455
Bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/20459
Include missing cached-iterable dev dependency in package.json by @Mario34 in https://github.com/mozilla/pdf.js/pull/20450
Don't use firstChild/lastChild when getting elements (follow-up of #20447) by @calixteman in https://github.com/mozilla/pdf.js/pull/20458
[Editor] Allow to save an edited comment in using CTRL+Enter shortcut. by @calixteman in https://github.com/mozilla/pdf.js/pull/20460
Create a sidebar object by @calixteman in https://github.com/mozilla/pdf.js/pull/20467
Fix the regex string used to find the chars to normalize with NFKC when searching by @calixteman in https://github.com/mozilla/pdf.js/pull/20465
Use OIDC trusted publishing in the GitHub Actions release workflow by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20468
Slightly reduce the memory used by thumbnails by @calixteman in https://github.com/mozilla/pdf.js/pull/20462