v6.2.108
This release contains improvements for annotation rendering, annotation editing, font conversion, image conversion, performance, SMask handling and text selection.
- Bump the stable version in
pdfjs.configby @timvandermeij in https://github.com/mozilla/pdf.js/pull/21510 - Add a workflow to publish the per-test coverage index by @calixteman in https://github.com/mozilla/pdf.js/pull/21507
- Add support for Sound annotations playing embedded audio by @calixteman in https://github.com/mozilla/pdf.js/pull/21501
- Remove the BOM from html files (bug 2051221) by @calixteman in https://github.com/mozilla/pdf.js/pull/21513
- Digital Signature and Certificate verification by @beurdouche in https://github.com/mozilla/pdf.js/pull/21247
- Bump actions/setup-python from 6.2.0 to 6.3.0 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21516
- Bump actions/checkout from 6.0.3 to 7.0.0 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21518
- Bump actions/cache/save from 5.0.5 to 6.1.0 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21515
- Bump actions/cache/restore from 5.0.5 to 6.1.0 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21517
- Take into account the current transform when getting font size for FreeText by @calixteman in https://github.com/mozilla/pdf.js/pull/20505
- Fix the version comment in the font tests GitHub Actions workflow by @timvandermeij in https://github.com/mozilla/pdf.js/pull/21519
- Fix escapePDFName producing malformed name escapes for control characters by @spokodev in https://github.com/mozilla/pdf.js/pull/21522
- A couple of
SignaturePropertiesManagerimprovements (PR 21247 follow-up) by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21524 - Serialize GitHub Pages deployments to avoid concurrent deploy failures by @calixteman in https://github.com/mozilla/pdf.js/pull/21528
- Deduplicate the signature-properties warn/error toolbar icon by @beurdouche in https://github.com/mozilla/pdf.js/pull/21530
- l10n: Update locale files by @sync-l10n-for-pdf-js[bot] in https://github.com/mozilla/pdf.js/pull/21532
- [GeckoView] Add
web-digital_signature_properties_managerimport map (PR 21247 follow-up) by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21529 - Reduce duplication when updating undoButton/undoCloseButton in
PDFThumbnailViewer.prototype.#updateStatusby @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21531 - Add basic support for non-embedded TrebuchetMS fonts (issue 21523) by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21527
- Avoid text selection workaround in modern Chromium by @nicolo-ribaudo in https://github.com/mozilla/pdf.js/pull/21514
- Use the
#getPageL10nArgshelper in thePDFThumbnailView.prototype.addPasteButtonmethod by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21534 - Move the
bannerStateForResultshelper into theSignaturePropertiesManagerclass (PR 21247 follow-up) by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21533 - Update to Babel 8 by @nicolo-ribaudo in https://github.com/mozilla/pdf.js/pull/21475
- Apply the appearance-stream scale factor when text is shown, not on setFont by @calixteman in https://github.com/mozilla/pdf.js/pull/21525
- Do not drop the character after U+FFFE or U+FFFF in encodeToXmlString by @spokodev in https://github.com/mozilla/pdf.js/pull/21526
- Enable the unicorn/logical-assignment-operators ESLint plugin rule by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21511
- Remove unneeded
this.#signatureData = null;lines insrc/core/document.jsby @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21536 - Use the
MathClamphelper in thePDFImage.prototype.getComponentsmethod by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21537 - Update dependencies to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/21539
- Add API unit-tests for
getSignaturesandgetSignatureData(PR 21247 follow-up) by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21541 - Do not drop the character after U+FFFE or U+FFFF in Font.prototype.encodeString by @mahirhir in https://github.com/mozilla/pdf.js/pull/21538
- Don't needlessly wrap the marked content
id-attribute in a string by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21545 - Lookup "lenIV" inline in the
Type1Parser.prototype.extractFontProgrammethod by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21544 - Use
Intl.Segmenterfor the entire-word search matching by @calixteman in https://github.com/mozilla/pdf.js/pull/21521 - Implement a unit test for passing unsupported data types to
MurmurHash3_64.update()by @timvandermeij in https://github.com/mozilla/pdf.js/pull/21546 - Add a
FakeSignatureVerifierfor development mode and TESTING builds (PR 21247 follow-up) by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21543 - Implement unit tests for the
getRotationMatrixcore utility function by @timvandermeij in https://github.com/mozilla/pdf.js/pull/21547 - Change Promise-returning worker message-handler functions to be asynchronous by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21550
- l10n: Update locale files by @sync-l10n-for-pdf-js[bot] in https://github.com/mozilla/pdf.js/pull/21555
- Replace a couple of
indexOfcalls withstartsWithby @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21554 - Bug 2048531 - Improve selection contrast in dark mode by @nicolo-ribaudo in https://github.com/mozilla/pdf.js/pull/21553
- Use
for...ofeven more in the code-base by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21560 - Update dependencies to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/21561
- Use direct
return awaita bit more in thesrc/core/folder by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21563 - Improve the GitHub Actions workflow triggers and requirements by @timvandermeij in https://github.com/mozilla/pdf.js/pull/21562
- Commit the current editing session before saving (bug 2047516) by @calixteman in https://github.com/mozilla/pdf.js/pull/21568
- Preserve non-local PDF link destinations by @calixteman in https://github.com/mozilla/pdf.js/pull/21565
- Preserve Unicode destination and attachment names by @calixteman in https://github.com/mozilla/pdf.js/pull/21566
- Handle indirect and dangling structure tree root kids by @calixteman in https://github.com/mozilla/pdf.js/pull/21567
- Preserve OBJR children without restoring deleted pages by @calixteman in https://github.com/mozilla/pdf.js/pull/21569
- Skip setFillColorN/setStrokeColorN operators without valid arguments (issue 21570) by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21574
- Bump github/codeql-action/init from 4.36.2 to 4.36.3 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21571
- Bump github/codeql-action/autobuild from 4.36.2 to 4.36.3 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21572
- Bump github/codeql-action/analyze from 4.36.2 to 4.36.3 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21573
- Add a
getOrPutComputedmethod in theRefSetCacheclass by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21576 - Fix decryption of AES-256 revision 5 PDFs with non-ASCII passwords by @calixteman in https://github.com/mozilla/pdf.js/pull/21580
- Reduce duplication in
CipherTransformFactory.prototype.createCipherTransformby @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21581 - Support SASLprep for AES-256 revision 6 passwords by @calixteman in https://github.com/mozilla/pdf.js/pull/21583
- Fix signature fields with widget children by @calixteman in https://github.com/mozilla/pdf.js/pull/21575
- Fix AcroForm appearance resources when merging pages by @calixteman in https://github.com/mozilla/pdf.js/pull/21577
- Use
Map.prototype.getOrInsertComputedmore in theweb/folder by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21586 - l10n: Update locale files by @sync-l10n-for-pdf-js[bot] in https://github.com/mozilla/pdf.js/pull/21589
- Use
getOrInsertComputedin theCanvasGraphics.prototype._getPatternmethod by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21590 - Use Iterator methods to avoid some unnecessary Array creation by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21592
- Start using
Iterator.prototype.joinin the code-base by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21585 - Re-factor the
bCache, used with /Mesh Shadings by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21596 - Change the
CompiledFontglyph/charCode caches to useMaps by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21595 - Implement SmaskInData == 2 for JPX images by @calixteman in https://github.com/mozilla/pdf.js/pull/21587
- Rebuild missing AcroForm fields by @calixteman in https://github.com/mozilla/pdf.js/pull/21591
- Handle revisioned structure attributes by @calixteman in https://github.com/mozilla/pdf.js/pull/21588
- [api-minor] Convert
getDestinationsto return data in a Map by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21597 - Download the per-test coverage index by @calixteman in https://github.com/mozilla/pdf.js/pull/21598
- Combine the
getPathJsandhasBuiltPathmethods in theCompiledFontclass by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21599 - Address follow-up review comments in coverage_search.mjs by @calixteman in https://github.com/mozilla/pdf.js/pull/21605
- Ignore Annotations with
fieldValue = nullwhen saving (issue 21582) by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21594 - Encode i32.const immediates as signed LEB128 in the PostScript Wasm compiler by @uwezkhan in https://github.com/mozilla/pdf.js/pull/21601
- Fix parsing of ambiguous date formats like
Hmby @calixteman in https://github.com/mozilla/pdf.js/pull/21606 - Update the file format entries in
.gitattributesby @timvandermeij in https://github.com/mozilla/pdf.js/pull/21603 - Update dependencies to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/21602
- Copy the backdrop for non-isolated groups with a soft mask by @calixteman in https://github.com/mozilla/pdf.js/pull/21604
- [api-minor] Convert
getViewerPreferencesto return data in a Map by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21607 - Bump actions/setup-node from 6.4.0 to 7.0.0 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21612
- Bump github/codeql-action/analyze from 4.36.3 to 4.37.0 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21611
- Bump github/codeql-action/init from 4.36.3 to 4.37.0 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21613
- Bump github/codeql-action/autobuild from 4.36.3 to 4.37.0 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21614
- Re-use the
NS_DATASETSconstant more in thesrc/core/xfa/bind.jsfile by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21615 - Preserve indirect AcroForm resources by @calixteman in https://github.com/mozilla/pdf.js/pull/21616
- Improve the
Ref.prototype.toStringmethod a tiny bit by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21618 - [api-minor] Convert
getOpenActionto return data in a Map by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21621 - Improve the detection of the changes made after a document has been signed by @calixteman in https://github.com/mozilla/pdf.js/pull/21620
- Document the preserve and dependencyLists params for recordOperation by @LuShadowX in https://github.com/mozilla/pdf.js/pull/21622
- l10n: Update locale files by @sync-l10n-for-pdf-js[bot] in https://github.com/mozilla/pdf.js/pull/21623
- Bump linkify-it from 5.0.1 to 5.0.2 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21625
- Remove the
objectSizehelper function by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21624 - Preserve inherited text field appearances by @calixteman in https://github.com/mozilla/pdf.js/pull/21626
- Re-factor the
XRefclass to use private fields by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21631 - Use the
toBeNull()matcher consistently in the unit/integration tests by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21632 - Use the
toBeUndefined()matcher consistently in the unit tests by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21633 - Use the
toThrowError()matcher consistently in the unit tests by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21636 - Use the
toBeFalse()matcher consistently in the unit/integration tests by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21634 - Use the
toBeTrue()matcher consistently in the unit/font/integration tests by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21635 - Preserve inherited signature flags by @calixteman in https://github.com/mozilla/pdf.js/pull/21628
- Detect inherited signature fields in form info by @calixteman in https://github.com/mozilla/pdf.js/pull/21630
- Bump fast-uri from 3.1.2 to 3.1.4 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21627
- Add the Firefox features notification bar to the viewer (bug 2057608) by @calixteman in https://github.com/mozilla/pdf.js/pull/21629
- Update dependencies to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/21639
- Convert the /Indexed palette in a single base color space call by @calixteman in https://github.com/mozilla/pdf.js/pull/21637
- Convert shading colors in bulk, rather than one at a time by @calixteman in https://github.com/mozilla/pdf.js/pull/21641
- Reduce a tiny bit of duplication in the
normalizeBlendModehelper by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21642 - Bump actions/checkout from 7.0.0 to 7.0.1 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21651
- Change
defaultOptions, in theweb/app_options.jsfile, to a Map by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21640 - Bump actions/setup-python from 6.3.0 to 7.0.0 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21647
- Bump github/codeql-action/init from 4.37.0 to 4.37.2 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21648
- Bump github/codeql-action/analyze from 4.37.0 to 4.37.2 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21649
- Bump github/codeql-action/autobuild from 4.37.0 to 4.37.2 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/21650
- Shorten
Catalog.prototype.jsActions getterandAnnotationElement.prototype._getElementsByNamea tiny bit by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21653 - Update qcms wrapper by @calixteman in https://github.com/mozilla/pdf.js/pull/21646
- Update the signatures-helpers to actually handle
MissingDataExceptions by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/21652 - Avoid cycles when walking some trees by @calixteman in https://github.com/mozilla/pdf.js/pull/21654
v5.109.2
-
Resolve aliases pointing at a package directory whose name ends with
.jsagain. (by @alexander-akait in #21542) -
Name CSS sources in source maps by their resource path, without the
cssprefix. (by @bjohansebas in #21536) -
Delete no longer referenced files from the filesystem cache directory after storing the cache, age them by recorded time so restored caches are cleaned too, and collect every fully expired pack in one store instead of one per build. (by @bjohansebas in #21528)
-
Report
"universal"as the loader context target for the universal target. (by @alexander-akait in #21540) -
Skip
require().propin dead branches gated by inlined imported constants. (by @hai-x in #21517) -
Annotate configuration options and public hooks in the generated types with the
@sinceJSDoc tag. (by @bjohansebas in #21473)
@blueprintjs/datetime@6.2.4
No documented user-facing changes
Full Changelog: @blueprintjs/datetime@6.2.3...@blueprintjs/datetime@6.2.4
@blueprintjs/docs-theme@6.2.4
No documented user-facing changes
Full Changelog: @blueprintjs/docs-theme@6.2.3...@blueprintjs/docs-theme@6.2.4
@blueprintjs/labs@6.4.4
No documented user-facing changes
Full Changelog: @blueprintjs/labs@6.4.3...@blueprintjs/labs@6.4.4
@blueprintjs/table@6.2.4
No documented user-facing changes
Full Changelog: @blueprintjs/table@6.2.3...@blueprintjs/table@6.2.4
@blueprintjs/select@6.3.4
- fix(Select): Respect button keyboard activation in Select targets (#8210)
Full Changelog: @blueprintjs/select@6.3.3...@blueprintjs/select@6.3.4
@blueprintjs/core@6.18.0
- [core] Icon: forward DOM props to Blueprint icon elements (#8213)
- fix(core): Preserve minimal=false in Popover migration props (#8216)
- [core]: Remove redundant Sass interpolation from relative-color expressions (#8207)
Full Changelog: @blueprintjs/core@6.17.2...@blueprintjs/core@6.18.0
@blueprintjs/datetime2@3.2.4
No documented user-facing changes
Full Changelog: @blueprintjs/datetime2@3.2.3...@blueprintjs/datetime2@3.2.4