This release contains improvements for the annotation editor, performance, printing and the viewer.
Changes since v5.4.54
Bump the stable version in pdfjs.config by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20124
Update dependencies and translations to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20125
[Editor] Add a floating button in order to highlight the text selection and add a comment (bug 1979381) by @calixteman in https://github.com/mozilla/pdf.js/pull/20119
Add regression test for PR 19639 by @maettuu in https://github.com/mozilla/pdf.js/pull/20109
Add comment-* images when building components by @calixteman in https://github.com/mozilla/pdf.js/pull/20128
[Editor] Remove useless css and use a defined but unused property by @calixteman in https://github.com/mozilla/pdf.js/pull/20131
[Editor] Remove unused property by @calixteman in https://github.com/mozilla/pdf.js/pull/20132
Fix intermittent failure in the "must check that the computed value is correct" scripting integration test by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20134
Disable printing when enablePermission is true and the pdf isn't allowed to be printed (bug 1978985) by @calixteman in https://github.com/mozilla/pdf.js/pull/20129
[Editor] Highlight text on a selectionchange event which hasn't been triggered by the pointer or the keyboard (bug 1976597) by @calixteman in https://github.com/mozilla/pdf.js/pull/20138
Trigger a fake scrollend event in case it hasn't been triggered by the browser (bug 1957680) by @calixteman in https://github.com/mozilla/pdf.js/pull/20142
Lazy initialize FinalizationRegistry used by IccColorSpace.#finalizer by @fnlctrl in https://github.com/mozilla/pdf.js/pull/20148
Make horizontal padding relative to device width by @Aditi-1400 in https://github.com/mozilla/pdf.js/pull/20093
Mark canvasContext as optional by @k-nut in https://github.com/mozilla/pdf.js/pull/20149
Update l10n files by @calixteman in https://github.com/mozilla/pdf.js/pull/20159
Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/20161
Check the setDash arguments by @calixteman in https://github.com/mozilla/pdf.js/pull/20160
[Editor] Avoid to use a null signal when setting listeners in the editor toolbar by @calixteman in https://github.com/mozilla/pdf.js/pull/20166
[Editor] Correctly hide deleted annotations by @calixteman in https://github.com/mozilla/pdf.js/pull/20164
Implement a delay for Chrome protocol calls in the integration tests, and skip the "must check that an existing highlight is ignored on hovering" integration test on Windows by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20126
Update Firefox preferences for testing by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20171
[Editor] Add the ability to get all the editable annotations in a pdf document by @calixteman in https://github.com/mozilla/pdf.js/pull/20167
Update dependencies and translations to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20169
Use Firefox stable for the tests because bug 1983414 by @calixteman in https://github.com/mozilla/pdf.js/pull/20178
Add logic to track rendering area of various PDF ops by @nicolo-ribaudo in https://github.com/mozilla/pdf.js/pull/19043
Use Firefox nightly with puppeteer by @calixteman in https://github.com/mozilla/pdf.js/pull/20186
[Editor] Make sure the resizers are on top of the editor content by @calixteman in https://github.com/mozilla/pdf.js/pull/20183
Use the cached annotations when collecting them by types by @calixteman in https://github.com/mozilla/pdf.js/pull/20184
[Editor] Move the comment button just before the delete one by @calixteman in https://github.com/mozilla/pdf.js/pull/20180
[Editor] Add a Rect entry to a saved popup in order to avoid to have an invalid pdf by @calixteman in https://github.com/mozilla/pdf.js/pull/20179
Use WebDriver BiDi for Chrome by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20188
[Editor] Don't use a null signal for the comment button by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20189
Update puppeteer to 24.17.0 by @calixteman in https://github.com/mozilla/pdf.js/pull/20187
[Editor] Add a button to the annotation having a popup in order to edit it by @calixteman in https://github.com/mozilla/pdf.js/pull/20182
Don't iterate over all empty slots in the xref entries (bug 1980958) by @calixteman in https://github.com/mozilla/pdf.js/pull/20170
Improve the selection check in the "doesn't jump when moving selection" integration test by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20190
[Editor] Change the icon for inline comments by @calixteman in https://github.com/mozilla/pdf.js/pull/20194
Add a method goToXY in PDFLinkService in order to scroll the document at a given location by @calixteman in https://github.com/mozilla/pdf.js/pull/20191
Skip the curvature ink editor integration test for Chrome on Windows by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20195
[Editor] Add a method to get an editor rect in the pdf page coordinates by @calixteman in https://github.com/mozilla/pdf.js/pull/20196
[Editor] Remove useless CSS and fix styling for the comment button by @calixteman in https://github.com/mozilla/pdf.js/pull/20200
[Editor] Fix the dimensions of the comment icon by @calixteman in https://github.com/mozilla/pdf.js/pull/20209
[Editor] Fix unit (for consistency) and remove few useless px by @calixteman in https://github.com/mozilla/pdf.js/pull/20211
Reset editing mode when changing the pdf document by @calixteman in https://github.com/mozilla/pdf.js/pull/20212
[Editor] Add a sidebar allowing the user to navigate between the comments in a pdf (bug 1985567) by @calixteman in https://github.com/mozilla/pdf.js/pull/20210