Skip to content

Releases: mozilla/pdf.js

v3.10.111

27 Aug 16:00
e142bae
Compare
Choose a tag to compare

This release primarily features improvements and bugfixes for the annotation editor.

Changes since v3.9.179

  • Bump versions in pdfjs.config by @timvandermeij in #16769
  • Add the color changes in the annotation storage by @calixteman in #16767
  • Fix typo in the baseVersion commit hash (PR 16769 follow-up) by @Snuffleupagus in #16770
  • Make sure WillPrint ran before starting printing by @calixteman in #16766
  • [GeckoView] Add missing CSS variables for the dialog functionality by @Snuffleupagus in #16771
  • [Editor] Limit image types to the ones supported by the browser (bug 1846230) by @calixteman in #16773
  • [api-minor] Don't print hidden annotations (bug 1815196) by @calixteman in #16029
  • [GeckoView] Allow to query pdf.js to know if we can avoid to print a pdf (bug 1846296) by @calixteman in #16776
  • [api-minor] Deprecate the PDFDocumentProxy.getJavaScript method by @Snuffleupagus in #16779
  • [Editor] Let SVG images be resized horizontally/vertically without keeping the aspect ratio (bug 1846727) by @calixteman in #16780
  • [Editor] Use a getter and not a function for the _checkIfSVGFitsInCanvas (bug 1846727) by @calixteman in #16784
  • [Editor] Stop the resize session when the window is blurred by @calixteman in #16786
  • [Editor] Refactor dragging and dropping an editor (bug 1802895, bug 1844618) by @calixteman in #16781
  • Update packages and translations by @Snuffleupagus in #16795
  • Attempt to expose e.g. pdfjsLib globally regardless of how the library is imported (issue 16778) by @Snuffleupagus in #16790
  • Use the round CSS function in the setLayerDimensions helper function by @Snuffleupagus in #16794
  • [Editor] Change the resize cursors to bidirectional variants by @Snuffleupagus in #16799
  • [Editor] Fix the dimensions of the annotation editor layer (follow-up of #16794) by @calixteman in #16798
  • [Annotation] Strip out the array index in the path only when the path is from a terminal node (bug 1847733) by @calixteman in #16807
  • Take fill-alpha into account with default icons for FileAttachment annotations (issue 16800) by @Snuffleupagus in #16804
  • [Editor] Move the stamp button on the right of the pen one (bug 1847707) by @calixteman in #16802
  • [Editor] Fix the resizing of an editor when it's rotated (bug 1847268) by @calixteman in #16793
  • [Editor] Avoid to add a new line when hitting enter with a selected freetext editor by @calixteman in #16808
  • [Editor] Move an the editor div in the DOM once a translation with the keyboard is done by @calixteman in #16809
  • [Editor] Avoid to unselect some editors when the main window is focused by @calixteman in #16812
  • [Editor] Move the parameter elements for FreeText and Ink annotations at the right place (follow-up of #16802) by @calixteman in #16813
  • [Editor] Avoid to add a cancelled added image in the undo/redo stack by @calixteman in #16818
  • Introduce even more optional chaining in the code-base by @Snuffleupagus in #16815
  • [Editor] Avoid to have slightly truncated images because of non-integer canvas dimensions by @calixteman in #16820
  • [Editor] Add the possibility to move all the selected editors with the mouse (bug 1847894) by @calixteman in #16811
  • [Editor] Don't forget to encrypt image streams (see issue #16821) by @calixteman in #16822
  • Fallback to check all pages when getting the pageIndex of FieldObjects by @Snuffleupagus in #16823
  • [Editor] Avoid to unselect when a new page is rendered by @calixteman in #16824
  • [Editor] Avoid showing the context menu or resizing when a resizer is right clicked by @calixteman in #16825
  • Re-factor PDFViewerApplication._initializeAutoPrint slightly (PR 16779 follow-up) by @Snuffleupagus in #16810
  • [Editor] Add a button to explicitly add an image (bug 1848108) by @calixteman in #16819
  • [Editor] Remove the stamp editor displayed when the image was loading (bug 1848313) by @calixteman in #16826
  • [Editor] Add the possibility to paste an image from the clipboard (bug 1848317) by @calixteman in #16828
  • Remove the src/core/ Babel excludes, since they no longer seem necessary by @Snuffleupagus in #16829
  • Remove the "no-babel-preset" comment used with the LIB build-target (PR 16829 follow-up) by @Snuffleupagus in #16831
  • Avoid using the global workerPort when destruction has started, but not yet finished (issue 16777) by @Snuffleupagus in #16830
  • Improve the "write a new annotation, save the pdf and check that the text content is correct" unit-test (PR 16559 follow-up) by @Snuffleupagus in #16835
  • Add a helper method to reduce duplication in StampEditor.#getBitmap by @Snuffleupagus in #16840
  • Update the StampEditor.isEmpty method to handle File (PR 16828 follow-up) by @Snuffleupagus in #16844
  • Update packages and translations by @Snuffleupagus in #16850
  • Add a unit-test for the "correct" way of using the global workerPort in parallel (PR 16830 follow-up) by @Snuffleupagus in #16834
  • Initialize the PDFWorker.#workerPorts WeakMap lazily by @Snuffleupagus in #16852
  • Add the .mjs file-extension to the EditorConfig by @Snuffleupagus in #16860
  • Add the "aria-controls" attribute to the StampEditor toolbar-button by @Snuffleupagus in #16858
  • Revert fix for bug 1838855 (bug 1849876) by @calixteman in #16862
  • Don't reset all fields when the resetForm argument is an array by @calixteman in #16864
  • Exclude lineEndings, in Annotation-data, in MOZCENTRAL builds (PR 14899 follow-up) by @Snuffleupagus in #16856
  • Introduce more optional chaining in the code-base by @Snuffleupagus in #16875

v3.9.179

30 Jul 11:02
1ef6fbc
Compare
Choose a tag to compare

This release features improvements in the areas of annotation editing (including a new stamp editor), accessibility, form rendering/saving, text selection/copying and other bugfixes.

Changes since v3.8.162

Read more

v3.8.162

02 Jul 13:14
2c74323
Compare
Choose a tag to compare

This release features improvements in the areas of annotation editing/saving/printing, font conversion, accessibility and performance.

Changes since v3.7.107

Read more

v3.7.107

29 May 12:07
036f855
Compare
Choose a tag to compare

This release features improvements in the areas of font conversion and substitution, annotation rendering and data compression, ink tool smoothing, text selection and extraction, image rendering and canvas rendering performance.

Changes since v3.6.172

v3.6.172

07 May 11:18
4d3dfe2
Compare
Choose a tag to compare

This release features improvements in the areas of performance, text selection/searching, image/pattern rendering, accessibility and documentation/types.

Changes since v3.5.141

Read more

v3.5.141

02 Apr 12:48
be0f6ee
Compare
Choose a tag to compare

This release features image rendering improvements that allow rendering big images even if they are larger than the canvas limits, which fixes quite a lot of issues about images that previously failed to render. Moreover, this release contains bugfixes and improvements for annotations, text selection and typing/documentation.

Changes since v3.4.120

v3.4.120

26 Feb 12:01
af64149
Compare
Choose a tag to compare

This release contains bugfixes and optimizations/cleanups, in particular in the areas of annotations/forms, text selection, font conversion, accessibility and performance (reduced browser reflows).

Changes since v3.3.122

v3.3.122

29 Jan 12:34
5620456
Compare
Choose a tag to compare

This release contains a new pinch to zoom feature for the viewer and other bugfixes and optimizations/cleanups, in particular some that reduce browser reflow and memory usage which improves performance.

Changes since v3.2.146

v3.2.146

01 Jan 13:28
3fd2a35
Compare
Choose a tag to compare

This release primarily contains bugfixes and optimizations/cleanups, in particular to avoid re-rendering content unnecessarily on e.g. zooming and rotation, which should improve overall viewer performance.

Changes since v3.1.81

v3.1.81

26 Nov 13:43
0766898
Compare
Choose a tag to compare

This release primarily contains bugfixes and optimizations/cleanups, in particular a follow-up on the previous release where a dependency we use could cause installation issues on certain platforms.

Changes since v3.0.279