Update dependency pdfjs-dist to v4 #264
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.0.279
->^4.0.0
Release Notes
mozilla/pdf.js (pdfjs-dist)
v4.5.136
Compare Source
This release contains improvements for the annotation editor, font rendering, image rendering and the viewer.
Changes since v4.4.168
pdfjs.config
by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/183591883884
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18134renderTextLayer
andupdateTextLayer
functions (PR 18104 follow-up) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/183491905623
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/183691905864
) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/15209isEditing
-state intoRenderingIntentFlag
by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18387renderForms
parameter from the AnnotationgetOperatorList
methods by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18394mustBeViewedWhenEditing
method by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/183931171799
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/183971905923
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18398waitForScripting
helper function and use it in all scripting integration tests by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18405BasePreferences
to essentially be a wrapper aroundAppOptions
by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18413ensureMinFontSizeComputed
calculation if<body>
is a flex container by @razh in /~https://github.com/mozilla/pdf.js/pull/184161907000
) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18421DOMFilterFactory
(issue 18406) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18417zoomDisabledTimeout
usage (issue 17727) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/184231879104
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/184251879035
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18424pdfjs-dist
code from the Gulpfile by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/184341907207
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18429DOMFilterFactory.#createUrl
in MOZCENTRAL builds (18417 PR follow-up) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18430Outliner
from the official API by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/184411908483
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/184491908401
) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/184481908938
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18461PDFViewerApplication.setTitleUsingUrl
by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18464PDFViewerApplication.downloadComplete
by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18463AppOptions
(PR 18413 follow-up) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18450Preferences
initialization as early as possible by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18470Map
-usage in the AppOptions by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/184691909097
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/184711908939
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18472AppOptions.remove
method by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/184751909310
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18484streamqueue
dependency by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18483v4.4.168
Compare Source
This release contains improvements for annotations, annotation editing, font conversion, image decoding, performance, scripting, text selection, test/release infrastructure and the viewer.
Changes since v4.3.136
pdfjs.config
by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/181821895050
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18189gulp
to version 5.0.0 by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18197DownloadManager.download
to use Uint8Array-data by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18216#finishRendering
helper inTextLayerBuilder.prototype.render
by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/182171900907
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/182141901253
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/182191899804
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/182281902012
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18238DownloadManager.downloadUrl
method by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18236gulp-cli
globally in the README and on the website by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18247src/display/api.js
file by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/182501539074
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18253eslint-plugin-unicorn
to version 54.0.0 by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18278tweakWebpackOutput
to support minified-legacy builds (issue 18290) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18292maxCanvasPixels
when computing canvas dimensions by @nicolo-ribaudo in /~https://github.com/mozilla/pdf.js/pull/18218FlateStream
(issue 18298) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/183041903589
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18296PDFFindBar
when closing the viewer during testing by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/183021903731
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18306waitForEvent
integration test helper function by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18325waitForEvent
in thepasteFromClipboard
integration test helper function by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18326requestAnimationFrame
work-around inL10n.prototype.destroy
(PR 18313 follow-up) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/183331904585
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18332waitForEvent
integration test helper function by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18331requestAnimationFrame
in thewatchScroll
helper (PR 18193 follow-up) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18335requestAnimationFrame
in the API when cancelling rendering by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18336test/webserver.mjs
being development-only code by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18346npm publish
warnings about thepackage.json
format by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18350npm ci
, notnpm install
, on CI by @wojtekmaj in /~https://github.com/mozilla/pdf.js/pull/18353package.json
file forpdfjs-dist
by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18358v4.3.136
Compare Source
This release contains improvements for performance, image rendering, text selection, annotation editing, accessibility, handling of corrupted documents, integration with third-party frameworks (see #17245) and the viewer.
Changes since v4.2.67
pdfjs.config
by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/180231874013
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/180294.3
by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18033FileSpec
implementation by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/180341894849
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18044waitForTimeout
usage from the freetext editor integration tests by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18041signal
in web/pdf_viewer.js by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18055Font.prototype.spaceWidth
getter (PR 13424 follow-up) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/180691895909
by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18079ignoreErrors
option from theFontFaceObject
class by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18066src/display/text_layer.js
by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/180521895909
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18080TextLayerRenderTask
implementation by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/180891896577
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/18087_fetchDocument
helper function ingetDocument
by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18091BaseException
class by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18093signal
parameter fromremoveEventListener
calls by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18094TextLayerRenderTask.prototype.#processItems
whenMAX_TEXT_DIVS_TO_RENDER
is reached (PR 18089 follow-up) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18103drawingDelay
also when CSS-only zooming is used (issue 18022) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18077rimraf
dependency in favor of the built-in Node.jsfs.rmSync
by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18106needle
dependency by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18107cleanupTextLayer
when there are pending textLayers by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18109adjustMapping
(issue 18117) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18119evaluatorOptions
in the src/core/pdf_manager.js file by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18115through2
dependency in favor of the built-in Node.jsstream.Transform
by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18113waitForTimeout
usage from the scripting integration tests by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/17974merge-stream
dependency in favor of theordered-read-streams
dependency by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/18145web/text_layer_builder.js
file by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18152getRect
utility function for the integration tests by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/181541882613
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/181561898802
) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18166loadingParams
functionality in the API by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18159TextLayer
untilrender
is invoked (PR 18104 follow-up) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18171setTextContentSource
method inTextLayerBuilder
(PR 18104 follow-up) by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/18170v4.2.67
Compare Source
This release includes a new JPX decoder, based on OpenJPEG, which improves JPX image rendering performance and correctness. Moreover, this release contains improvements for the annotation editor, font conversion and the viewer.
Note that text selection boxes for some PDF files may overlap visually. This is a known issue that we currently track in /~https://github.com/mozilla/pdf.js/issues/17561.
Changes since v4.1.392
pdfjs.config
by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/17924mkdirp
dependency in favor of the built-in Node.jsfs.mkdirSync
by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/17935rimraf
dependency in favor of the built-in Node.jsfs.rmSync
in the test folder by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/179384.2
by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/17949JpxImage
API issues (PR 17946 follow-up) by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/179511890535
) by @calixteman in /~https://github.com/mozilla/pdf.js/pull/17914waitForTimeout
usage from the helper functions by @timvandermeij in /~https://github.com/mozilla/pdf.js/pull/17966signal
in the viewer by @Snuffleupagus in /~https://github.com/mozilla/pdf.js/pull/17964Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.