Skip to content

build(pdfjs): update to pdf.js 6.4.299 - #2

Open
github-actions[bot] wants to merge 1 commit into
masterfrom
chore/update-pdfjs-viewer
Open

github-actions[bot] wants to merge 1 commit into
masterfrom
chore/update-pdfjs-viewer

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

Updates pdfjs-dist from 6.2.108 to 6.4.299 and re-vendors the viewer under
packages/pdfjs-viewer/viewer from the matching pdf.js release. The two have to
move together — pdf.js refuses to start when their versions disagree — which is
why neither Renovate nor Dependabot handles this dependency.

Re-vendoring re-applies our patches to viewer.html (the custom stylesheet and
script, and the relaxed style-src-elem CSP) and fails if upstream's markup moved
out from under them.

CI ran the unit and Playwright suites against the result before opening this PR,
since a scheduled run's PR does not start workflows of its own.

Vendored files changed

Only viewer.html is patched by us; everything else is upstream verbatim.

 packages/pdfjs-viewer/viewer/locale/ach/viewer.ftl |  18 +--
 packages/pdfjs-viewer/viewer/locale/af/viewer.ftl  |  18 +--
 packages/pdfjs-viewer/viewer/locale/an/viewer.ftl  |  23 +--
 packages/pdfjs-viewer/viewer/locale/ar/viewer.ftl  |  42 +-----
 packages/pdfjs-viewer/viewer/locale/ast/viewer.ftl |  16 --
 packages/pdfjs-viewer/viewer/locale/az/viewer.ftl  |  23 +--
 packages/pdfjs-viewer/viewer/locale/be/viewer.ftl  |  40 +----
 packages/pdfjs-viewer/viewer/locale/bg/viewer.ftl  |  37 ++---
 packages/pdfjs-viewer/viewer/locale/bn/viewer.ftl  |  18 +--
 packages/pdfjs-viewer/viewer/locale/bo/viewer.ftl  |  18 +--
 packages/pdfjs-viewer/viewer/locale/bqi/viewer.ftl | 161 ++++++++++++++++++++-
 packages/pdfjs-viewer/viewer/locale/br/viewer.ftl  |  28 +---
 ...
 120 files changed, 10231 insertions(+), 11162 deletions(-)

Upstream comparison

pdf.js release notes for v6.4.299

This release contains improvements for annotation rendering, font conversion, form handling, pattern rendering, performance, text selection and the viewer.

Changes since v6.3.289

@github-actions
github-actions Bot force-pushed the chore/update-pdfjs-viewer branch from d9f00f9 to 2f72780 Compare September 15, 2026 09:45
@github-actions
github-actions Bot force-pushed the chore/update-pdfjs-viewer branch from 2f72780 to 2beddf8 Compare October 6, 2026 11:41
@github-actions github-actions Bot changed the title build(pdfjs): update to pdf.js 6.3.289 build(pdfjs): update to pdf.js 6.4.299 Oct 6, 2026
@github-actions
github-actions Bot force-pushed the chore/update-pdfjs-viewer branch from 2beddf8 to 8deb4b7 Compare October 13, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant