archiveweb.page
archiveweb.page copied to clipboard
build(deps): bump pdfjs-dist from 2.2.228 to 4.2.67
Bumps pdfjs-dist from 2.2.228 to 4.2.67.
Release notes
Sourced from pdfjs-dist's releases.
v4.2.67
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 mozilla/pdf.js#17561.
Changes since v4.1.392
- Bump the stable version in
pdfjs.configby@timvandermeijin mozilla/pdf.js#17924- Convert the history code to use proper private methods by
@timvandermeijin mozilla/pdf.js#17925- Update dependencies and translations to the most recent versions by
@timvandermeijin mozilla/pdf.js#17927- Remove the tag for missing font subset when trying to find a substitution by
@calixtemanin mozilla/pdf.js#17930- Fix resetting of cursor-tools when closing the document (PR 17464 follow-up) by
@Snuffleupagusin mozilla/pdf.js#17933- Warn when a non-embedded font has an invalid name by
@calixtemanin mozilla/pdf.js#17934- Remove the
mkdirpdependency in favor of the built-in Node.jsfs.mkdirSyncby@timvandermeijin mozilla/pdf.js#17935- Improve type definitions for the viewer by
@ex37in mozilla/pdf.js#17879- Fix the "must check that invisible fields are made visible" scripting integration test by
@timvandermeijin mozilla/pdf.js#17940- Remove the
rimrafdependency in favor of the built-in Node.jsfs.rmSyncin the test folder by@timvandermeijin mozilla/pdf.js#17938- [api-minor] Update the minimum supported Safari version to 16.4 by
@Snuffleupagusin mozilla/pdf.js#17942- Fix the "must check that a field has the correct value when a choice is changed" scripting integration test by
@timvandermeijin mozilla/pdf.js#17947- [api-minor] Add a jpx decoder based on OpenJPEG 2.5.2 by
@calixtemanin mozilla/pdf.js#17946- Bump library version to
4.2by@Snuffleupagusin mozilla/pdf.js#17949- Build the openjpeg-based decoder in a web environment in order to avoid issues when used in node by
@calixtemanin mozilla/pdf.js#17954- Fix
JpxImageAPI issues (PR 17946 follow-up) by@timvandermeijin mozilla/pdf.js#17951- [JPX] Throw an exception with the error messages returned by openjpeg by
@calixtemanin mozilla/pdf.js#17956- [Editor] Provide an element to render in the annotation layer after a freetext has been edited (bug 1890535) by
@calixtemanin mozilla/pdf.js#17914- Remove
waitForTimeoutusage from the helper functions by@timvandermeijin mozilla/pdf.js#17966- Remove some event listeners with
signalin the viewer by@Snuffleupagusin mozilla/pdf.js#17964- [Editor] Don't show the context menu when resizing by
@calixtemanin mozilla/pdf.js#17973- Correctly update the xref table when an annotation is deleted by
@calixtemanin mozilla/pdf.js#17970- Update dependencies and translations to the most recent versions by
@timvandermeijin mozilla/pdf.js#17972- Improve jpx decoding by around 20% in enabling simd support when compiling OpenJPEG by
@calixtemanin mozilla/pdf.js#17983- [api-minor] Remove the image-related error message prefixes by
@Snuffleupagusin mozilla/pdf.js#17979- Use the pdf.js warn when using jpx decoder by
@calixtemanin mozilla/pdf.js#17985- Extend the globally cached image main-thread copying to "complex" images as well (PR 17428 follow-up) by
@Snuffleupagusin mozilla/pdf.js#17978- Update
JpxImage.parseImagePropertiesto support TypedArray data in IMAGE_DECODERS builds by@Snuffleupagusin mozilla/pdf.js#17977- Add
signal-support in theEventBus, and utilize it in the viewer (PR 17964 follow-up) by@Snuffleupagusin mozilla/pdf.js#17967- Set correctly the change property for the event triggered when a choice list is changed by
@calixtemanin mozilla/pdf.js#17999- Remove all
waitForTimeoutusage from the annotation integration tests by@timvandermeijin mozilla/pdf.js#17969- Validate explicit destinations on the worker-thread to prevent
DataCloneError(issue 17981) by@Snuffleupagusin mozilla/pdf.js#17984- Allow to insert several annotations under the same parent in the structure tree by
@calixtemanin mozilla/pdf.js#17986- Always enable smoothing when rendering downscaled image by
@calixtemanin mozilla/pdf.js#17868- Simplify the way to pass the glyph drawing instructions from the worker to the main thread by
@calixtemanin mozilla/pdf.js#18015- Validate additional font-dictionary properties by
@Snuffleupagusin mozilla/pdf.js#18014- Add more validation of width-data by
@Snuffleupagusin mozilla/pdf.js#18017- Reduce code-duplication when caching data in
CompiledFont.getPathJsby@Snuffleupagusin mozilla/pdf.js#18018- Re-factor
SimpleLinkServiceto extendPDFLinkServiceby@Snuffleupagusin mozilla/pdf.js#18013- [api-minor] Move the page reference/number caching into the API by
@Snuffleupagusin mozilla/pdf.js#18001v4.1.392
This release features improvements, bugfixes and optimizations for accessibility, annotation rendering, annotation editing, font rendering, form handling, image rendering, text selection and the viewer.
... (truncated)
Commits
49b3881Merge pull request #18001 from Snuffleupagus/api-pageRefCache150964dRemove unnecessary check fromPDFLinkService.goToDestination(PR 17984 foll...f6cd039[api-minor] Move the page reference/number caching into the APIfa69d9aInline the helper method inPDFLinkService.goToDestination3052e99Merge pull request #18013 from Snuffleupagus/SimpleLinkService-extends-PDFLin...2b2ade7Merge pull request #18018 from Snuffleupagus/CompiledFont-tweak-caching627fe2dMerge pull request #18017 from Snuffleupagus/validate-widths85ff8f3Reduce code-duplication when caching data inCompiledFont.getPathJsd411a07Add more validation of width-data234067eMerge pull request #18014 from Snuffleupagus/validate-font-properties- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.