All Versions
10
Latest Version
Avg Release Cycle
109 days
Latest Release
137 days ago

Changelog History

  • v2.3.200

    October 03, 2019

    πŸ”„ Changes since v2.2.228:

    #10960 Bump versions in pdfjs.config
    #10963 Ensure that PDFViewerApplication.{zoomIn, zoomOut} won't run when PesentationMode is active (PR 10652 follow-up)
    🚚 #10959 Remove the data-pdfjsprinting attribute on the <body> when destroying FirefoxPrintService/PDFPrintService instances (issue 10948)
    #10962 Prevent "Uncaught promise" messages in the console when cancelling TextLayer tasks (PR 10601 follow-up)
    #10964 Bump lodash from 4.17.10 to 4.17.14
    🚚 #10958 Remove the intentState.receivingOperatorList boolean since it's redundant
    #10850 Scale stroking line width when using a tiling pattern.
    #10851 Apply bounding box before using shading patterns.
    🏁 #10950 Fixed testing webserver to handle paths correctly on Windows
    #10966 Add timestamp to the page rendered event.
    🚚 #10968 Remove useless wrapReason calls in the MessageHandler class
    #10970 Simplify, and inline, the finalize function in the MessageHandler class
    βœ… #10969 Add an API unit-test for the stopAtErrors option (PRs 8240 and 8922 follow-up)
    πŸ–¨ #10974 Simplify the PDFDocument.fingerprint method slightly
    πŸ“œ #10820 Annotations - Added parsing of IRT, RT, State and StateModel
    #10987 Bump js-yaml from 3.12.0 to 3.13.1
    ♻️ #10990 Refactor the onBeforeDraw/onAfterDraw functionality used in BaseViewer and PDFPageView
    #10979 [Firefox] Re-factor the 'zoomreset' message handling in the viewer (PR 10652 follow-up)
    #10986 Attempt to significantly reduce the number of ChunkedStream.{ensureByte, ensureRange} calls by inlining the this.progressiveDataLength checks at the call-sites
    #10993 Add the docBaseUrl API parameter to AppOptions in the viewer
    🚚 #10995 Remove an unnecessary PDFDocumentProperties.setFileSize call, relevant for the Firefox built-in viewer, and use the "normal" code-path in PDFViewerApplication.open instead
    πŸ“œ #11001 Inline the isCmd check in the Parser.shift method
    #10996 Avoid creating a PDFFindBar instance, in the Firefox built-in viewer, when not actually necessary
    πŸ‘ #11003 Ensure that setting the zoomDisabledTimeout isn't skipped, regardless of the supported zoom keys, when handling mouse wheel events (PR 7097 follow-up)
    #11012 Reduce the number of function calls in EvaluatorPreprocessor.read
    #11019 Decode URL encoded filenames from content disposition headers
    #11020 Add a work-around, in glyphlist.js, for bad PDF generators which use a non-standard /f_f string in the Encoding dictionary when referring to the ff ligature (issue 11016)
    #11033 Ensure that the loading indicator, in the pageNumber input, is hidden when the viewer is closed
    ⚑️ #11029 [api-minor] Update telemetry to use 'categorical' histograms.
    #11034 Ensure that ReadableStreams are cancelled with actual Errors
    #11038 [api-minor] Fix completely broken getStats method by returning stats in Objects, rather than in Arrays (PR 11029 follow-up)
    #11013 [api-minor] Implement quadpoints for annotations in the core layer
    #11048 Use more compact keys in PDFLinkService._pagesRefCache
    #11049 Add page rendered timestamp to telemetry.
    πŸ‘ #11047 Support corrupt PDF files with invalid/non-existent Group /CS entries (issue 11045)
    #11051 Actually compare the cropBox and mediaBox correctly in the Page.view getter
    #11057 Handle some corrupt/truncated JPEG images that are missing the EOI (End of Image) marker (issue 11052)
    #11059 Fallback gracefully when encountering corrupt PDF files with empty /MediaBox and /CropBox entries
    🌐 #11062 Miscellaneous small clean-up of code in the web/ folder
    #11064 Convert the src/shared/util.js file to ES6 syntax
    πŸ“œ #11070 Inline the isString check in the Parser.getObj method
    🚚 #11073 Move polyfill for codePointAt to String prototype.
    #11076 Replace the XRef.cache Array with a Map instead
    #11081 added in information about pdfjs/webpack
    πŸ’… #11079 [TextLayer] Only cache the current textDiv style when enhanceTextSelection is enabled and use template strings in expandTextDivs
    #11087 Add a way to disable external links.
    #11086 [TextLayer] Only cache the originalTransform when enhanceTextSelection is enabled
    #11091 [TextLayer] Only handle positive padding values in expandTextDivs
    πŸ— #11090 [TextLayer] Use an Array to build the total transform, rather than concatenating Strings, in expandTextDivs
    πŸ–¨ #11093 Shorthand afterPrint signature in app.js
    πŸ— #11092 [TextLayer] Use an Array to build the total padding, rather than concatenating Strings, in expandTextDivs
    #11069 Use streams for OperatorList chunking (issue 10023)
    ⚑️ #11096 Update translations/packages and upgrade to eslint version 6
    βœ… #11095 Include a reduced, non-linked PDF file for the attachments API unit test
    #11097 [TextLayer] Only measure the width of the text, in _layoutText, for multi-char text divs
    #11102 Bump mixin-deep from 1.3.1 to 1.3.2
    ⚑️ #11104 [TextLayer] Avoid unnecessary font updates in _layoutText and remove setAttribute usage in appendText
    #11107 Various MessageHandler improvements when using Streams
    🚚 #11110 Remove support for the scope parameter in the MessageHandler.on method
    #11111 Inline the resolveCall helper function at its call-sites in MessageHandler
    🚚 #11112 Remove the API/Worker version warning message in TESTING mode
    #11108 Use more ES6 syntax in the annotation code
    #11115 Ensure that Errors are handled correctly when using postMessage with Streams in MessageHandler
    🚚 #11123 [api-minor] Remove the postMessageTransfers parameter, and thus the ability to manually disable transferring of data, from the API
    πŸ‘· #11118 Transfer, rather than copy, CMap data to the worker-thread
    ⚑️ #11127 Update the eslint-plugin-mozilla to the latest version (PR 10905 follow-up)
    #11129 Prevent "offsetParent is not set -- cannot scroll" errors when the viewer loads in e.g. a hidden <iframe>
    πŸ‘• #11133 Enable the no-async-promise-executor ESLint rule
    πŸ‘· #11130 Don't enqueue unused properties when sending 'GetOperatorList' data from the worker-thread (PR 11069 follow-up)
    #11138 [CRX] Ignore auto-generated from Chrome
    #11134 Ensure that addLinkAttributes is always called with a valid url parameter
    0️⃣ #11142 Stop dispatching a "localized" event from the webL10n library, since it's unused and may clash with the default viewer
    πŸ‘· #11106 Abort, with a small delay, getOperatorList on the worker-thread when rendering is cancelled (PR 11069 follow-up)
    ⚑️ #11145 Update translations and packages
    #11155 Miscellaneous (small) clean-up of the MessageHandler code
    #11159 For Type1 fonts, replace missing font dictionary /Widths entries with ones from the font data (issue 11150)
    #11158 Avoid floating point inaccuracy in gradient color stops
    #11163 Fix the link in the doc website
    #11146 Replace our URL polyfill with the one from core-js
    πŸ‘• #11165 Enable a couple of return related ESLint rules
    ⚑️ #11168 Remove unmaintained localizations and update translations and packages
    #11171 Fix the inconsistent return types for Dict.{get, getAsync}
    πŸ“¦ #11173 Replace the bundled ReadableStream polyfill with the web-streams-polyfill npm package (issue 11157)
    #11169 Reduce the number of function calls in the Dict class
    πŸ‘» #11185 Convert the various ...Exceptions to proper classes, to reduce code duplication
    πŸ‘· #11182 Forbid sending of Dicts and Streams, with postMessage, when workers are disabled
    πŸ‘€ #11187 Convert the various image decoder ...Errors to classes extending BaseException (PR 11185 follow-up)

  • v2.2.228

    July 10, 2019

    #10557 Bump versions in pdfjs.config
    πŸ“‡ #10556 [api-minor] Expose the existence of a Collection dictionary via the getMetadata API method (issue 10555)
    ⚑️ #10554 Simplify the updatetextlayermatches event handling in TextLayerBuilder
    0️⃣ #10548 Generate the default_preferences.json file from AppOptions
    βœ… #10558 Re-factor the PDFDataRangeTransport unit-tests and enable them in Node.js/Travis
    ⚑️ #10560 Update translations and packages
    #10579 Re-factor the PDFSidebar constructor to simplify its call-site (PR 10123 follow-up)
    #10578 Try to temporarily hack around the __non_webpack_require__ bug, and update Webpack to the latest stable version (issue 10177)
    🚚 #10577 Move worker-thread only functions from src/shared/util.js and into a new src/core/core_utils.js file
    #10582 Use Promise.prototype.finally in the PDFRenderingQueue.renderView method
    βœ… #10589 Run the custom_spec unit-tests in Node.js/Travis (PR 10537 follow-up)
    #10585 Load built-in CMap files using the Fetch API when possible
    #10573 Avoid truncating/breaking some Type3 glyphs in compileType3Glyph (bug 1245391, issue 10568)
    ⚑️ #10599 Update Webpack to the latest stable version (4.29.6)
    #10597 Ensure that the temporary canvas created in CanvasGraphics.isFontSubpixelAAEnabled will be cleared
    #10595 Zero the width/height of the temporary canvas used during JpegDecode (issue 10594)
    #10591 Add unique glyph names for CFF fonts.
    #10601 Zero the width/height of the temporary canvas used during TextLayer rendering
    #10604 Put the string name of the glyph in the charset array.
    ⚑️ #10606 Update translations and packages
    🚚 #10590 Fix missing moveTos in SVG paths
    πŸ‘· #10608 Reduce usage of Date.now() in src/core/worker.js
    0️⃣ #10610 Add type validation to the default_preferences generation (PR 10548 follow-up)
    βœ… #10605 Convert let to const if possible in, and improve unit test coverage for, src/display/display_utils.js
    #10615 Handle corrupt ASCII85Decode inline images with whitespace "inside" of the EOD marker (issue 10614)
    #10621 Don't scale SVG stroke width by text matrix
    🚚 #10634 Move NativeImageDecoder into a separate file, and convert it to a class
    #10633 Convert MurmurHash3_64 to an ES6 class
    0️⃣ #10628 Try to improve text-selection for Type3 fonts that utilize a non-default /FontMatrix (bug 1513120)
    #10636 Small clean-up of the PDFDocumentProxy.destroy method and related code
    #10647 Actually transfer eligible ImageMask data, rather than always copying it
    #10644 Ensure that blob: URLs will be revoked when pages are cleaned-up/destroyed (JPEG memory usage)
    #10646 Implement linear-gradient, radial-gradient and dummy-pattern in SVGGraphics.
    βœ… #10635 Convert src/core/parser.js to ES6 syntax and write more unit tests for the lexer and the parser
    ⚑️ #10657 Update test case description
    πŸ’» #10652 Prepare the MOZCENTRAL viewer for receiving zoom events from the browser UI (bug 786674, bug 1177385)
    🚚 #10668 Remove the Firefox-specific 'read with streaming' unit-test
    #10681 fix: electron enviroment detection
    #10685 Take the FirstChar/LastChar properties into account when computing the hash in PartialEvaluator.preEvaluateFont (issue 10665)
    #10683 Use CMap in Type0 fonts when CFF is not a CID font
    #10692 Add Mozilla Code of Conduct
    ⚑️ #10698 Update translations/packages and include the code of conduct for pdfjs-dist too
    #10706 Add missing hasChildNodes polyfill to domstubs.js (PR 10022 follow-up)
    #10675 [Firefox regression] Fix disableRange=true bug in PDFDataTransportStream
    πŸ— #10713 Remove src/core/annotation.js from the gulp jsdoc build target
    🚚 #10678 Remove moz-chunked-arraybuffer support, and related code, from src/display/network.js
    πŸ‘ #10709 [api-minor] Add basic support for PageLayout in the API and the viewer
    ⚑️ #10714 [Firefox] Ensure that loading progress is reported, and the loadingBar updated, when disableRange=true is set
    #10674 Convert src/display/svg.js to ES6 syntax and implement setRenderingIntent and setFlatness for the SVG backend
    βœ… #10715 Add test for fetch_stream
    #10725 Attempt to clarify the l10n section of CONTRIBUTING.md
    #10723 [api-minor] Implement caret annotations
    #10728 Annotations - _preparePopup method replaced with MarkupAnnotation
    ⚑️ #10696 Update ChunkedStream.makeSubStream to actually check if (some) data exists when the length parameter is undefined
    #10694 Avoid dispatching range requests to fetch PDF data that's already loaded with streaming (PR 10675 follow-up)
    ⚑️ #10733 Update translations and packages
    πŸ†“ #10735 [api-minor] Implement free text annotations
    #10742 [Firefox] Avoid displaying the indeterminate loadingBar when disableStream=true is set (PR 10714 follow-up)
    #10746 Add links to PDF.js homepage and API reference in README.md
    πŸ‘ #10727 Support (rare) Type3 fonts which contains image resources (issue 10717)
    #10754 Add a getDocId method to the idFactory, in Page instances, to avoid passing around PDFManager instances unnecessarily (PR 7941 follow-up)
    πŸ‘ #10738 [api-minor] Add support for ViewerPreferences in the API (issue 10736)
    0️⃣ #10765 Add passive: false to the wheel event listener, to work-around broken default behaviour in Chrome 73 and above (issue 10761)
    ⚑️ #10784 Ensure that the OperatorList constructor actually initializes a NullOptimizer when intended (PR 9089 follow-up)
    #10756 Attempt to handle corrupt PDF documents that contains path operators inside of text object (issue 10542)
    #10789 Change PartialEvaluator.handleColorN to throw when no valid pattern is found
    #10771 [api-minor] Implement creation/modification date for annotations
    ⚑️ #10795 Update the canvas npm package to fix Travis CI builds (issue 10790)
    πŸ‘• #10805 Enable the consistent-return ESLint rule
    #10794 Fix glyph at index zero in CIDFontType2 that has a CIDToGIDMap stream
    🚚 #10826 Remove unused ref property from the parameters object used when creating annotations in AnnotationFactory._create
    #10827 Convert the (remaining) network streams to ES6 classes
    πŸ”§ #10854 make print resolution configurable via AppOptions
    #10833 [api-minor] Implement contents and creation date for the correct annotation types
    ⚑️ #10859 Update translations and packages
    #10862 Add caching to reduce the number of Ref objects
    #10863 Ensure that the Cmd/Name/Ref caches are cleared when running other cleanup code
    βͺ #10869 Restore referrer preserving functionality in Chrome 72+
    #10867 Don't clip if path is undefined in SVG back-end
    #10872 Re-use, rather than re-creating, some Arrays when resetting them in src/display/api.js
    πŸ‘· #10873 Ensure that the Cmd/Name/Ref caches are cleared when terminating the worker (PR 10863 follow-up)
    #10877 Ignore Annotations with too large border widths, to prevent the annotationLayer from rendering it over the surrounding document (bug 1552113)
    πŸ–¨ #10879 [api-minor] Attempt to reduce memory usage during printing, by always running cleanup once rendering has finished
    0️⃣ #10890 Add support for outline items, in the default viewer, which default to collapsed when the outline is built
    🚚 #10897 Remove a superfluous linkService.isPageVisible check from PDFFindController (PR 10217 follow-up)
    πŸ–¨ #10898 Allow experimenting with the printResolution AppOption when printing with the built-in Firefox version
    πŸ‘• #10905 Pin the version of eslint-plugin-mozilla to prevent failures on Travis (issue 10901)
    🚚 #10903 Move PDFWorkerStream and related code to its own file
    πŸ“œ #10926 Change the signature of the Parser constructor to take a parameter object
    πŸ‘• #10925 Enable the eslint-plugin-no-unsanitized ESLint plugin to disallow unsafe usage of e.g. innerHTML
    #10902 Implement tiling patterns for the SVG back-end
    ⚑️ #10936 Update translations and packages
    #10938 Reduce the number of isCmd calls slightly in the XRef class
    βͺ #10937 Restore the header size limit of 80 KB
    #10947 Make the find helper function, in src/core/document.js, more efficient by using peekBytes rather reading the stream one byte at a time
    #10949 Delay initialization of searching, in the viewer, until the first page has rendered

  • v2.1.266

    February 16, 2019

    πŸ”„ Changes since v2.0.943:

    #10187 Bump versions in pdfjs.config
    #10188 Hide the beta version button on the website if there is only a stable version
    #10162 Normalize BBox of form XObjects in SVG back-end
    #10185 Reduce the number of redundant text normalization operations in PDFFindController
    #10182 Small clean-up of the search related methods in TextLayerBuilder
    #10184 Ensure that matches are not scrolled into after the findbar has been closed (PR 10100 follow-up)
    #10196 [Regression] Ensure that "Highlight All" is propagated to all pages for 'findagain' events where the findbar was previously closed (PR 10100 follow-up)
    #10190 Add a helper method for _getVisiblePages, in BaseViewer, for the case where only a single page is displayed in the viewer
    ⚑️ #10201 Reduce the number of redundant updatetextlayermatches events dispatched when calculating matches in PDFFindController
    #10203 Change canvasInRendering to a WeakSet instead of a WeakMap
    🚚 #10096 Remove the attachDOMEventsToEventBus functionality, since EventBus instances are able to re-dispatch events to the DOM (PR 10019, bug 1492849 follow-up)
    βͺ #10202 Attempt to clean-up/restore pending rendering operations on RenderTask.cancel (issue 10200)
    #10217 For repeated 'findagain' operations, attempt to reset the search position if the user has e.g. scrolled in the document (issue 4141)
    πŸ“œ #10219 Convert src/core/ps_parser.js to use ES6 classes
    #10228 Don't detect nw.js as node.js
    #10233 [api-minor] Convert PDFObjects, in src/display/api.js, to an ES6 class
    🚚 #10238 Move the interface definitions out of src/core/worker.js and into their own file
    ⚑️ #10245 Update BaseViewer.scrollPageIntoView to always validate the pageNumber parameter
    #10223 When the search query changes, regardless of the search command, always re-calculate matches (bug 1030622)
    #10220 Only scroll search results into view as a result of an actual find operation, and not when the user scrolls/zooms/rotates the document (bug 1237076, issue 6746)
    #10231 Stop scrolling the document when "Highlight All" is toggled in the findbar (issue 5561)
    #10244 Fix webpack example
    #10255 Avoid unnecessary PDFFindController.scrollMatchIntoView calls in TextLayerBuilder._renderMatches when highlightAll is set (PR 10201 follow-up)
    #10256 Attempt to tweak the error messages, in BaseViewer, for invalid pageNumbers/pageLabels (bug 1505824)
    ⚑️ #10264 Update translations and packages
    #10197 Use span instead of div in the text layer
    #10246 Convert the remaining code in src/display/api.js to use ES6 classes
    #10274 Fallback to an exhaustive search, in corrupt PDF files, for NameTrees/NumberTrees that are not correctly ordered (issue 10272)
    πŸ‘• #10294 Add ESLint plugin import to be warned against invalid paths
    #10292 Replace uglify-es with Terser
    ⬆️ #10293 Upgrade to Babel 7
    #10275 Fix NameOrNumberTree.get to actually perform a binary search to find the requested key
    ⚑️ #10299 Update packages and translations
    ⚑️ #10300 Include forgotten changes after Wintersmith update
    πŸ— #10318 In GENERIC builds, dispatch a "webviewerloaded" event (from the webViewerLoad function) before initializing the viewer
    🚚 #10322 Remove unuseful variable
    βœ… #10323 Test the code as-is, in Node.js/Travis, rather than its Babel translated version
    πŸ‘ #10340 Tweak the PDFHistory._tryPushCurrentPosition method to work better with the different Scroll/Spread viewer modes
    #10330 Handle line width of zero in SVG
    #10304 Add protection against directory traversal attacks
    ⚑️ #10295 Update eslint-plugin-mozilla to 1.0.1
    πŸ‘• #10337 Turn on ESLint in examples
    #10351 Attempt to ignore mouse wheel zooming during tab switches (bug 1503412)
    πŸ‘ #10350 Ignore the fieldValue for Signature annotations, since they're currently unsupported (issue 10374)
    βœ… #10354 Disable source-map generation when running tests
    #10356 Use high DPI icons on semi-high DPI screens.
    #10358 Add keyboard shortcut to toggle sidebar (F4, same as Adobe Reader).
    ⬆️ #10266 Upgrade to Gulp 4
    #10363 Fix small visual quirk in thumbnail viewer
    πŸ“‡ #10346 [api-minor] Add support, in getMetadata, for custom information dictionary entries (issue 5970, issue 10344)
    #10369 [api-minor] Change the getViewport method, on PDFPageProxy, to take a parameter object rather than a bunch of (randomly) ordered parameters
    ⚑️ #10375 Update translations and packages
    πŸ‘ #10334 [api-minor] Add support for OpenAction destinations (issue 10332)
    ⚑️ #10378 Update remaining examples, and docs, to utilize current API functionality (issue 10377)
    #10376 Convert src/core/chunked_stream.js to ES6 syntax
    #10392 Check that the first page can be successfully loaded, to try and ascertain the validity of the XRef table (issue 7496, issue 10326)
    ⚑️ #10394 Optimize the Ref class in src/core/primitives.js
    #10393 Convert src/core/document.js to ES6 syntax
    #10396 Optimizations to avoid intermediate string creation
    πŸ’… #10397 Ensure that AnnotationBorderStyle.setWidth is able to handle the input being a Name, to correctly deal with corrupt PDF documents (issue 10385)
    #10398 Prevent errors in various methods in SimpleDOMNode when the childNodes property is not defined (issue 10395)
    #10277 Repair CFF fonts if stem hints are in wrong order
    🚚 #10404 Remove the for ... of loop from the PDFDocument.fingerprint getter (issue 10401)
    #10399 migrate to canvas 2.x api
    πŸ’… #10411 Adjust how AnnotationBorderStyle.setWidth handles the input being a Name (issue 10385)
    πŸ“œ #10408 Prevent errors, because of incorrect scope, in the XMLParserBase._resolveEntities method (issue 10407)
    πŸ“œ #10412 Prevent errors, in SimpleXMLParser.onEndElement, when the stack has already been completely parsed (issue 10410)
    #10417 Fix reading number of HTMX metrics.
    πŸ“š #10420 Update translations/packages and improve documentation
    #10421 Switch to HTTPS for the license link on the website
    #10422 Convert more files in src/core to ES6 syntax
    πŸ–¨ #10424 Accept non-matching document fingerprints, in PDFHistory, when the viewer is reloaded (issue 6847)
    ⚑️ #10423 Add support for updating the document hash, off by default, when the browser history is updated (issue 5753)
    #10441 Handle more cases of corrupt PDF files with missing 'endobj' operators, where the "obj" string is immediately followed by the dictionary (PR 9288 follow-up)
    #10436 Avoid truncating inline images, where the data and the "EI" marker is glued together (issue 10388)
    βœ… #10425 Write more unit tests for the find controller
    🚚 #10444 Remove left-over console log from the find controller unit tests
    #10447 Handle malformed URIs as bad requests in the development webserver
    #10443 Prevent TypeError: views[index] is undefined being throw in getVisibleElements when the viewer, or all pages, are hidden
    #10462 Tweak the DOMTokenList.toggle polyfill (issue 10460)
    ⚑️ #10461 Avoid setting incorrect document URLs, in IE 11, when the browser history is updated (PR 10423 follow-up)
    πŸ“‡ #10457 When parsing Metadata, attempt to remove "junk" before the first tag (PR 10398 follow-up)
    ♻️ #10466 Move/refactor the code in the BaseViewer.update method to reduce duplication in the extending classes
    #10467 Convert some usage of indexOf to startsWith/includes where applicable
    πŸ“‡ #10471 Implement a unit test for metadata parsing to ensure that it's not vulnerable to the billion laughs attack
    πŸ— #10470 Try to, completely, avoid loading the ReadableStream polyfill in MOZCENTRAL builds
    🚚 #10473 Add an Array.from polyfill, using core-js, and remove some compatibility hacks from the src/display/content_disposition.js file
    ⚑️ #10474 Update translations and packages
    #10480 [Regression] Fix the FontInspector in the PDFBug debugging tools
    ⚑️ #10483 Update the mobile-viewer example to use the new PDFHistory.initialize format (PR 10423 follow-up)
    πŸ— #10484 Stop bundling the ReadableStream polyfill in MOZCENTRAL builds (PR 10470 follow-up)
    #10492 Ensure that XRef.indexObjects can handle object numbers with zero-padding (issue 10491)
    #10482 Implement Decode entry in Indexed images
    0️⃣ #10494 Reduce unnecessary duplication of the isDefaultDecode methods on ColorSpace instances
    πŸ‘• #10489 Move more code/methods into BaseViewer, and simplify the PDFSinglePageViewer._scrollIntoView method slightly
    #10501 In getVisibleElements, check firstVisibleElementInd rather than numViews before backtracking (PR 10443 follow-up)
    βͺ #10499 Attempt to clean-up/restore pending rendering operations when errors occurs while a RenderTask runs (PR 10202 follow-up)
    πŸ‘• #10504 Enable the no-useless-catch ESLint rule
    #10508 Do the final text scaling correctly in flushTextContentItem (issue 8276)
    #10515 Add a settled property, tracking the fulfilled/rejected stated of the Promise, to createPromiseCapability
    🚚 #10517 [api-minor] Remove the document.currentScript polyfill
    0️⃣ #10502 Modify a number of the viewer preferences, whose current default value is 0, such that they behave as expected with the view history
    #10525 Convert more code to use classList.toggle with the force parameter
    🚚 #10527 Add a polyfill for classList.{add, remove} with more than one parameter
    #10532 Bump base version and version prefix in pdfjs.config
    #10533 Bump the version number in pdfjs.config
    πŸš€ #10534 Try to hack-around the broken pdfjs-dist links, such that they will point to the main library releases (issue 10391)
    #10530 Fix copying on supplementary plane characters
    #10545 Undo the pdfjs.config version bumps
    βœ… #10537 Improve unit test coverage
    #10540 [Chrome extension] Add missing "type" entry for the viewOnLoad preference in the preferences_schema.json file (PR 10502 follow-up)
    #10539 [api-minor] Fallback to the built-in font renderer when font loading fails

  • v2.0.943

    October 27, 2018

    πŸ”„ Changes since v1.10.100:

    πŸ“œ #9730 Ignore the rest of the image when encountering an EOI (End of Image) marker while parsing Scan data (issue 9679)
    #9740 Use Dict.getArray, instead of Dict.get, when getting the 'Size' in constructSampled in src/core/function.js
    πŸ— #9771 Remove the gulp extension build target
    #9773 Fix multibyte decoding in content_disposition.js
    βœ… #9769 Reduce the amount of errors logged, primarily in Node.js/Travis, when running the unit-tests
    πŸ”₯️ #9774 Use fs.unlinkSync instead of fs.unlink when removing files in the font tests
    πŸ— #9741 Build improvements
    🚚 #9779 Remove dead code in the gh-pages-prepare task in the Gulpfile
    #9777 Various PageViewport and MessageHandler cleanup
    #9781 Miscellaneous API clean-up
    🌐 #9792 Import translations
    βœ… #9660 Support running the tests headlessly.
    πŸ‘ #9794 Implement drag-and-drop support in the viewer for local files
    🚚 #9793 Remove Util.appendToArray and Util.prependToArray
    πŸš‘ #9689 Fixed critical unhandled promise that prevented error catching using API
    #9796 Disable (drag-and-drop) file opening if Presentation Mode is active (PR 9794 follow-up)
    πŸ—„ #9801 Replace deprecated new Buffer(string, 'base64') constructor with Buffer.from(string, 'base64')
    🚚 #9815 Remove the disableFullscreen hack for embedded IE 11 (issue 9585)
    #9816 Fix regression causing the pages to be offset horizontally in Presentation Mode (PR 8993 follow-up)
    πŸ‘ #9595 Disable ftp support in Chrome 59+, add file chooser at file
    #9819 Fix regression affecting the horizontal viewerContainer offset for small window widths (PR 9816 follow-up)
    #9809 Allow FontFaceObject.getPathGenerator to ignore non-embedded fonts during rendering
    ⚑️ #9802 Update ColorSpace and PDFImage to use Uint8ClampedArrays and remove manual clamping/rounding
    0️⃣ #9821 Set the correct document title when opening a new file in the GENERIC default viewer
    #9795 Replace Util.extendObj by Object.assign
    #9827 Fix various corrupt PDF files (issue 9252, issue 9418)
    🚚 #9830 Removed safari compatibility check (issue #9824)
    #9835 Clean-up the PDFDocumentProxy.loadingParams method in the API, and the locale viewer option
    #9832 Fix a number of regressions/inefficiencies introduced by adding Scroll/Spread modes to the viewer (PR 9208 follow-up)
    βœ… #9839 Add unit-tests for PDFPageProxy.stats (PR 9245 follow-up)
    πŸ“¦ #9729 Add a gulp image_decoders command to package the image decoders (i.e. jpg.js, jpx.js, jbig2.js) separately, and publish them in pdfjs-dist
    #9841 Various (small) cleanup related to setting the initial document position on load
    πŸ‘― #9849 Replace the cloneObj helper function, in the viewer, with native Object.assign (PR 9795 follow-up)
    #9838 Error, rather than warn, once a number of invalid path operators are encountered in EvaluatorPreprocessor.read (bug 1443140)
    πŸ— #9852 Proper Error Handling for Build Numbers of Downloaded Sources (Non-Git repositories).
    #9853 Fix re-rendering, using the same canvas, when rendering was previously cancelled (PR 8519 follow-up)
    ⚑️ #9859 Update translations and packages
    ⚑️ #9860 Update the localization README to indicate that the translations are imported from the Nightly channel
    #9858 Additional Scroll/Spread mode clean-up (PR 9832 follow-up)
    ♻️ #9861 Refactor PDFFindController to use the 'pagesinit' event, dispatched on the eventBus, to resolve the _firstPagePromise
    #9866 Prevent the development viewer, started with gulp server, from breaking completely in Private Browsing mode
    #9879 Correct the instructions in the README file for examples/mobile-viewer
    🚚 #9880 Remove the jp-JP-mac locale
    #9877 Hide the Scroll/Spread mode buttons if the viewer is a PDFSinglePageViewer instance (PR 9858 follow-up)
    #9868 Stop exposing the URL polyfill in the global scope
    #9837 Replace NotImplementedException with unreachable
    #9881 Replace the remaining occurences of instanceof Array with Array.isArray()
    🚚 #9887 Convert more code in the /src folder to use ES6 classes, such that Util.inherit can be removed
    πŸ“œ #9886 Prevent errors in sanitizeTTProgram, during parsing of CALL functions, when encountering invalid functions stack deltas (bug 1473809)
    🚚 #9898 Change waitOnEventOrTimeout, in web/ui_utils.js, to return a regular Promise and remove the createPromiseCapability import
    πŸ“‡ #9900 Prevent Metadata/XML parsing from breaking PDFDocumentProxy.getMetadata when no XML root document is found (issue 8884)
    #9904 Modified Examples to work without systemjs
    ♻️ #9913 Provide custom messages for the no-restricted-globals ESLint rule, and refactor the .eslintrc files (PR 9868 follow-up)
    #9917 Add a BasePreferences.getAll method and use it to fetch all Preferences at once in PDFViewerApplication._readPreferences; ensure that the externalLinkTarget option is correctly set when the viewer is embedded
    πŸ’» #9924 fix(browser): zlib is not available in browser
    #9933 README.md: suggest usage of https instead of git protocol
    #9935 [Regression] Convert Catalog.builtInCMapCache into a Map, instead of an Object, to ensure that it's correctly reset (PR 8064 follow-up)
    #9936 Validate the Preferences when fetching them from storage
    #9925 Attempt to estimate the minimum required buffer length when initializing StreamsSequenceStream instances
    ♻️ #9931 Refactor getPage (in the worker), and attempt to use the Linearization dictionary to lookup the first Page
    πŸ“‡ #9920 [api-minor] Add an IsLinearized property to the PDFDocument.documentInfo getter, to allow accessing the linearization status through the API (via PDFDocumentProxy.getMetadata)
    #9897 Prefer the Width/Height of the image data, rather than the image dictionary, for JPEG 2000 images (issue 9650)
    #9938 Ensure that Type0, i.e. composite, OpenType fonts with CFF tables are not treated as CFF fonts if their glyph mapping is non-default (issue 9915)
    🚚 #9946 Removed Extraneous Matrix Check in CalRGB Conversion
    βœ… #9948 Add (basic) unit-tests for the non-global URL constructor (PR 9868 follow-up)
    ⚠ #9954 Stop warning for non-Name /Filter entries in the PDFImage constructor (PR 9897 follow-up)
    #9874 [api-minor] Include export value for checkboxes
    βœ… #9956 Allow loaded progress of 0 in unit tests.
    βœ… #9960 Fail when MD5 of test files fails on bots.
    βœ… #9959 Utility script to add a reference test.
    πŸ“œ #9961 Parse the font file to determine the correct type/subtype, rather than relying on the (often incorrect) data in the font dictionary
    #9958 Always fallback to system font on font failure.
    ⚑️ #9965 Update translations and packages
    #9964 Attempt to throw MissingPDFException when applicable in node_stream.js (issue 9791)
    #9968 Tweak the MMType1 font detection in getFontFileType to improve font telemetry (PR 9961 follow-up)
    ♻️ #9822 [api-minor] Refactor the annotation code to be asynchronous
    #9975 Re-factor destinations/getDestination to reduce unnecessary duplication, and reject non-string inputs
    #9980 Ensure that Uint8ClampedArray is used for image data transfered by getTransfers (PR 9802 follow-up)
    🚚 #9988 Remove the unused PDFDocument.mainXRefEntriesOffset method
    ⚑️ #9989 Update translations and packages
    🚚 #9987 [api-minor] Remove the obsolete createBlob helper function
    🚚 #9991 Remove the deprecated ways, in BaseViewer, of setting the Scroll/Spread modes (PR 9858 follow-up)
    πŸ‘ #9977 Add support for async/await using Babel
    🚚 #10000 Remove the unused defaultColor property on ColorSpace instances
    ⚑️ #10008 Update translations/packages and fix duplicated function name in the Esprima fixtures
    #9990 Convert the Catalog class, in src/core/obj.js, to ES6 syntax
    #10007 Convert the code in src/core/colorspace.js to use ES6 classes
    #10015 Adding chunkname to async loaded code
    πŸ‘• #10020 Ensure that the built PdfJsDefaultPreferences.jsm file won't be affected/touched during tree-wide ESLint rule changes in mozilla-central (PR 9571 follow-up)
    #10022 Implement text rendering modes in SVG backend
    πŸ“œ #10010 Attempt to find truncated endstream commands, in the fallback code-path, in Parser.makeStream (issue 10004)
    πŸ‘ #10019 Add general support for re-dispatching events, on EventBus instances, to the DOM
    #9986 Attempt to combine separate beginText/endText sequences in getTextContent (issue 9984)
    #10032 Replace broken link for pr8808.pdf.link
    #10031 Add a new parameter to JpegImage.getData to indicate the source of the image data (issue 9513)
    #10033 [api-minor] Implement a permissions API
    βͺ #10041 Revert "Attempt to combine separate beginText/endText sequences in getTextContent (issue 9984)"
    #10049 Fix font-string variable name typo
    #9340 Map all glyphs to the private use area and duplicate the first glyph.
    ♻️ #9995 Refactor code in the web/ folder to use async/await
    πŸ‘• #10053 Simplify the "spaced-comment" ESLint rule
    🚚 #10034 Remove getSinglePixelWidth workaround
    ⚑️ #10054 Update translations/packages and use HTTPS for links in README.md
    #10052 Display the index of the currently active search result in the matches counter of the findbar (issue 6993, bug 1062025)
    #10055 Translate the new find match count strings to Dutch
    πŸ‘ #10028 Add initial support for "Whole words" searching in the viewer
    ⚑️ #10056 [Regression] Ensure that PDFFindBar.updateResultsCount doesn't throw when the viewer is closed, by providing proper default values
    #10060 Ensure that PDFFindController._requestMatchesCount won't return broken data when searching starts (PR 10052 follow-up)
    βœ… #10061 Implement unit tests for the isSameOrigin and createValidAbsoluteUrl utility functions and use the const keyword for constants in src/shared/util.js
    #10063 Slightly improve the isSourcePDF parameter handling in JpegImage (PR 10031 follow-up)
    πŸ‘ #10070 Attempt to support plural forms in the matches counter of the findbar (issue 10067)
    ♻️ #10066 Refactor the find controller
    πŸ’» #10071 Enable forwarding, in FirefoxCom, of the matchesCount to the browser findbar (bug 1062025)
    πŸ‘ #10078 Improve plural support for the matches counter
    #10090 Ensure that all event properties are included, even if no (internal) listeners are registered, when re-dispatching events to the DOM (PR 10019 follow-up)
    ⚑️ #10095 Update packages and translations
    #10111 Replace String.prototype.substr() occurrences with String.prototype.substring()
    ⚑️ #10114 Update {PDFLinkService, PDFDocumentProperties}.setDocument to make the "url" parameter optional
    #10100 Clear all find highlights when the findbar is closed (issue 7468)
    ⚑️ #10116 Update packages and translations
    βœ… #10099 [api-major] Rework the find controller for unit testing
    πŸ— #9982 Use the Font Loading API in MOZCENTRAL builds, and GENERIC builds for Firefox version 63 and above (issue 9945, bug 1088663)
    #10119 Attempt to simplify the fileattachmentannotation event dispatching
    #10123 Attempt to simplify the PDFFindBar and PDFSidebar constructors
    βͺ #10126 [Regression] Restore the ability to start searching before a document has loaded, and ignore searches for previously opened documents (PR 10099 follow-up)
    #10128 Make PDFFindController less confusing to use, by allowing searching to start when setDocument is called
    πŸ‘ #10117 Add support of Ink annotation
    🚚 #10136 Remove the unused mainContainer parameter from the Toolbar constructor
    #10138 Ensure that Toolbar.setPageScale always sets the pageScaleValue property to a valid value
    πŸ‘· #10139 Ensure that the PDFDocumentLoadingTask is rejected when "setting up fake worker" failed (issue 10135)
    #10133 Set returnValues.suggestedLength to Content-Length if integer
    πŸ‘· #10140 Combine the pdfjsFilePath and fallback workerSrc handling in src/display/api.js
    πŸ‘· #10143 Ensure that getMainThreadWorkerMessageHandler won't accidentally break getDocument (PR 10139 follow-up)
    #10150 Add missing pagesCount getter to IPDFLinkService and SimpleLinkService
    πŸ‘ #10152 Add support for classList.toggle with the, optional, "force" parameter
    πŸ— #10155 Add Build Status Button
    πŸš€ #10166 Bump version numbers for stable and beta releases
    #10167 Export CMapCompressionType and PermissionFlag on the pdfjsLib object (issue 10148, PR 10033 follow-up)
    #10161 Ensure that onProgress is always called when the entire PDF file has been loaded, regardless of how it was fetched (issue 10160)
    #10168 Convert PDFDataRangeTransport to an ES6 class
    ⚑️ #10176 Update translations and packages
    βœ… #10179 Change splice to pop in annotation tests

  • v1.10.100

    June 06, 2018

    🚚 #9659 Remove createFromIR from PDFFunctionFactory; forgive invalid Dict values.
    πŸ“œ #9573 New XML parser
    🏁 #9759 Fix webpack exclude path on windows.

  • v1.10.88

    October 27, 2017

    πŸ”„ Changes:

    🚚 #8778 Use Uint8ClampedArray, when returning data, and remove manual clamping in src/core/jpg.js (issue 4901)
    #8780 Version 1.9.426
    #8783 Use Uint8ClampedArray when returning image data in src/core/jbig2.js and src/core/jpg.js
    #8785 SVG: Don't render missing glyphs
    πŸŽ‰ #8788 Attempt to delay disabling of the attachment view until FileAttachment annotations of the initial page has been parsed
    πŸ“œ #8792 Fix caching of small inline images in Parser.makeInlineImage (issue 8790)
    🚚 #8794 Remove the migration code for old localStorage data in ViewHistory
    #8557 pdf2svg.js: provides ReadableSVGStream class to serialize a SVG as a stream
    #8781 __non_webpack_require__ -> require in SystemJS
    #8491 JBIG2 halftone regions and pattern dictionaries
    🚚 #8807 Remove handling of fallback arguments from PDFViewer.scrollPageIntoView
    🚚 #8812 Moves global scope out of shared/util.
    #8813 Use Array.isArray in the LoopbackPort.
    #8810 Cache PdfJs's enabled setting for delayed init
    #8800 Try to recover if we reach the end of the stream when searching for the EI marker of an inline image (issue 8798)
    #8712 Adds node.js logic for networking tasks for PDF.js
    πŸ“¦ #8822 Disable node libs in pdfjs-dist package.json
    πŸ“œ #8824 Prevent an infinite loop in XRef.readXRef by keeping track of already parsed tables (bug 1393476)
    🚚 #8819 Remove any mention of compatibility.js from the "Getting Started" docs (issue 8818)
    #8817 Set this.isCancelled in close method of streamSink.
    🚚 #8820 Remove the ability to pass a scale parameter in the (optional) args object parameter of PDFViewerApplication.open(file, args)
    βœ… #8821 Replace the test-case for issue 8798 with a reduced one (PR 8800 follow-up)
    πŸ‘• #8826 Enable the for-direction ESLint rule
    #8825 Account for broken outlines/annotations, where the destination dictionary contains an invalid /Dest entry
    #8796 Implement text rise for the SVG back-end
    #8829 Attempt to improve the EI detection heuristics, for inline images, in streams containing NUL bytes (issue 8823)
    ⚑️ #8831 Update the gulp minified command to use uglify-es
    πŸ— #8835 Ensure that PDFViewerApplication.error outputs proper messages in FIREFOX/MOZCENTRAL builds
    #8768 Adds fetch stream logic for networking part of PDF.js
    πŸ›  #8845 Fixes autofetch and firefox nightly fetch streams
    #8828 Improve the annotation code by converting to ES6 syntax and removing duplicate code
    #8848 Correctly set the credentials of a fetch request, when the withCredentials parameter was passed to getDocument
    βœ… #8855 Add test for withCredentials option
    0️⃣ #8847 Correct the default value for isRenderable in the AnnotationElement constructor, to fix breaking errors when rendering unsupported annotations
    #8857 Avoid some redundant type checks in XRef.fetchUncompressed
    βͺ #8859 Revert PDFPageView.pdfPage reset.
    #8862 Replace the isInt helper function with the native Number.isInteger function
    #8864 Replace the isArray helper function with the native Array.isArray function
    #8775 Re-write PDFHistory from scratch
    #8874 Fix the helloworld example by setting the PDFNetworkStream class (PR 8712 follow-up)
    #8866 Correctly validate the response status for non-HTTP fetch requests (PR 8768 follow-up)
    πŸ’… #8877 Provide checked styles for button widget annotations
    #8885 Address a couple of edge-cases in the new PDFHistory implementation (PR 8775 follow-up)
    #8889 Replace value === (value | 0) checks with Number.isInteger(value)
    #8868 Store the rotation in the ViewHistory/PDFHistory (issue 5927)
    πŸ‘ #8865 Hide unsupported LinkAnnotations (issue 3897)
    πŸ‘ #8691 Implement support for square and circle annotations
    🌐 #8892 Replace var with let in web/genericcom and web/genericl10n
    🌐 #8891 ES6-ify the code in web/firefoxcom.js
    πŸ’… #8893 Combine the common styles and overrides for the annotation layer reference tests
    #8808 Fix color of image masks inside uncolored patterns
    #8904 Provide a stub for setAttribute in order to use the SVG back-end with Node.js
    βœ… #8900 Use the SimpleLinkService when running "annotations" reference tests
    #8910 Fix #8888: Change behaviour of fetch to make it compatible with XHR.
    #8913 For /Filter entries containing Names, ignore the /DecodeParms entry if it contains an Array (issue 8895)
    βœ… #8909 Check isEvalSupported, and test that eval is actually supported, before attempting to use the PostScriptCompiler (issue 5573)
    πŸ‘ #8917 Implement support for stamp annotations
    #8919 Ignore 'change' events that didn't originate in the viewer (issue 8915)
    πŸ‘ #8921 support tiff predictor for 16bit
    #8901 CCITTFaxStream problem when EndOfBlock is false
    0️⃣ #8938 Use font's default width even when 0. (bug 1392647)
    πŸ“œ #8912 [api-minor] Replace DOMParser with SimpleXMLParser
    #8928 Fix #8907: Decode URL to get correct path in node_stream.
    🚚 #8949 Remove the instanceof AlternateCS check in ColorSpace.parse since it's dead code
    #8932 JBIG2 symbol offsets
    πŸ‘ #8950 Implement support for polyline and polygon annotations
    #8724 Implement a PDFSinglePageViewer class (issue 8188)
    #8955 Overwrite maxSizeOfInstructions in maxp with computed value.
    πŸ‘· #8959 Ensure that the same exact version of PDF.js is used in both the API and the Worker
    #8962 Check that this.baseUrl is defined before attempting to fetch any data in DOMCMapReaderFactory/NodeCMapReaderFactory
    #8968 Split the existing PDFFunction in two classes, a private PDFFunction and a public PDFFunctionFactory, and utilize the latter in PDFDocument to allow various code to access the methods of PDFFunction
    #8976 Simplify the disabling of Node polyfills, in gulpfile.js, since we're now using Webpack 3.x
    #8971 Closes all promises/streams when handler is destroyed.
    🌐 #8979 Transform Web Archive URLs to avoid downloading an HTML page instead of the PDF file
    ⚑️ #8977 Update all packages to the most recent version
    ⚑️ #8981 Update translations
    🚚 #8983 Remove unused helper code
    #8980 Add CDN links
    #8990 Added component example for single page viewer
    #8994 Fix a regression that (effectively) makes PDFHistory.forward a no-op
    βͺ #9002 Revert "Closes all promises/streams when handler is destroyed."
    #9001 Prevent the annotationLayer from, in some cases, becoming duplicated on the first page when the document loads
    πŸ“œ #8922 Allow getOperatorList/getTextContent to skip errors when parsing broken XObjects (issue 8702, issue 8704)
    πŸ‘ #9008 Mispelled isEvalSupported property at FontFaceObject() creation.
    πŸ‘ #9009 Only warn about unsupported JavaScript, in the viewer, when non-empty actions exist (issue 5767)
    #9013 Fix a PDFHistory regression with document hashes of the nameddest=... form
    #9027 Replace our WeakMap polyfill with the one from core-js
    πŸ‘• #9029 Enable the --report-unused-disable-directives ESLint command line option
    🚚 #9031 Remove all warning/fallback code for obsolete method signatures in web/ files
    #9040 Remove the enableHandToolOnLoad preference migration code in web/pdf_cursor_tools.js
    JavaScript exists
    #9044 Use charstring as plain text when lengthIV is -1.
    🚚 #9032 Simplify the check, and remove the warning, for the nativeImageDecoderSupport API parameter
    #9052 Attempt to clarify the meaning of "extension" in the ISSUE_TEMPLATE
    #9054 Replace our Promise polyfill with the one from core-js
    #9055 Replace Number polyfills with the ones from core-js
    🌐 #9058 Replace a few occurences of var with let in already ES6 converted web/ files
    πŸ–¨ #9057 Use let/const instead of var in the printing code
    #9061 Adds ECCN response statement
    #8986 Version 1.10
    #9045 Sanitize name index in compile phase of CFF.
    #9046 Extract the actual decoding in CCITTFaxStream into a new CCITTFaxDecoder "class", which the new CCITTFaxStream depends on
    #9072 Use stringToBytes in more places

  • v1.9.426

    August 14, 2017

    πŸ”„ Changes:

    #8281 v1.8.188
    🚚 #8131 ES6 modules: remove UMD header validation
    #8240 [api-minor] Always allow e.g. rendering to continue even if there are errors, and add a stopAtErrors parameter to getDocument to opt-out of this behaviour (issue 6342, issue 3795, bug 1130815)
    🌐 #8203 Convert the files in the /web folder to ES6 modules
    πŸ“¦ #8286 Changing package.json version to 1.0.0
    🚚 #8283 Moves Uint32ArrayView and hasCanvasTypedArrays into compatibility.js.
    #8285 Change amd to cjs path in ES6 modules
    #8287 Allow to convert (some of) ES6 code to ES5.
    🚚 #8289 Firefox extension: remove unused preference cleanup from bootstrap.js
    🚚 #8288 Moves 'web' target to the gulpfile.
    #8291 Ensure that PDFThumbnailView.draw is able to handle RenderingCancelledException correctly (PR 8157 follow-up)
    #8293 Convert the password prompt to ES6 syntax
    🌐 #8295 Use createPromiseCapability in /web files and avoid unnecessary PDFPageView.setPdfPage calls
    #8294 Convert the files in the /src/display folder to ES6 modules
    #8296 Convert the document properties to ES6 syntax
    #8297 Convert the find bar to ES6 syntax
    🌐 #8299 Import getGlobalEventBus correctly from web/dom_events.js in various /web files, to un-break e.g. the viewer components (PR 8203 follow-up)
    ♻️ #8300 Refactor the DownloadManager initialization in GENERIC/CHROME builds again (PR 8203 follow-up)
    🚚 #8311 [Firefox addon] Upstream changes from: Bug 1356569 - Remove optional trailing parameters (issue 8310)
    🚚 #8312 Moves dist and minifiedpost tragets from make.js.
    🚚 #8315 Remove the signchromium target from make.js
    #8313 [Firefox addon] Upstream changes from: Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales
    🐎 #8321 Change getPDFFileNameFromURL to ignore data: URLs for performance reasons (issue 8263)
    ♻️ #8322 [Firefox addon] Remove the window.FirefoxCom hack from web/viewer.js, since it was made redunant by the setExternalLocalizerServices refactoring (PR 7202 follow-up)
    🚚 #8323 Change the importl10n script to use the Beta channel, since Aurora is being removed
    #8302 Convert the attachments/outline view to ES6 syntax
    #8306 Convert the sidebar to ES6 syntax
    #8303 Convert the Preferences to an ES6 class
    🚚 #8328 Makefile: remove unused mozcentralcheck target
    #8339 Convert the ViewHistory to an ES6 class, and re-factor it to make it properly asynchronous
    βœ… #8331 Enable running the ui_utils unit-tests on Travis
    πŸ— #8324 Convert the annotation layer builder, presentation mode and rendering queue to ES6 syntax
    πŸ‘• #8332 Enable the object-shorthand ESLint rule in src/shared and src/display
    βœ… #8345 Bots: disable the default browser test and enable E10s
    βͺ #8346 Restore the URL.createObjectURL check to the createObjectURL utility function (issue 8344)
    #8348 Add the commit hash to the README.mozilla file (issue 8347)
    #8309 Allow use versions for pdf.js script (i.e. - pdf.js?2412313)
    πŸ— #8352 Removes builder.build().
    #8335 Subtract the X/Y offsets when decoding refinement regions of JBIG2 images (issue 7145, 7308, 7401, 7850, 8270)
    πŸ‘• #8351 Enable the object-shorthand ESLint rule in web
    πŸ‘• #8342 Enable the object-shorthand ESLint rule in src/core
    βœ… #8298 Convert the files in the /test/unit folder to ES6 modules
    #8354 [Firefox addon] Replace a bind(this) statement with an arrow function in PdfStreamConverter.jsm (issue 8343)
    πŸ‘• #8353 Enable the object-shorthand ESLint rule
    #8355 Replace unnecessary bind(this) and var self = this statements with arrow functions in src/core/evaluator.js
    #8349 Migrate make.js to gulpfile.js
    #8357 Replace unnecessary bind(this) and var self = this statements with arrow functions in remaining src/core/ files
    #8361 Export LoopbackPort
    πŸ‘· #8363 Adds initializeFromPort to the WorkerMessageHandler.
    #8364 Adds babel caching for system.js.
    #8359 Ignore line-breaks between operator and digit in Lexer.getNumber
    0️⃣ #8369 Add no-default-browser-check to chrome runner.
    #8370 Replace unnecessary bind(this) and var self = this statements with arrow functions in remaining src/ files
    #8358 Change the signatures of the PartialEvaluator "constructor" and its getOperatorList/getTextContent methods to take parameter objects
    🌐 #8377 Replace unnecessary bind(this) statements with arrow functions in web/ files
    #8378 Convert the files in the /src/shared folder to ES6 modules
    #8340 Fix char spacing bug in SVG mode
    #8368 Enables source maps for webpack generated files.
    #8385 Fix typo in LoopbackPort export
    #8381 Re-factor PDFDocumentProperties such that it's properly reset when a new PDF file is opened (issue 8371)
    #8387 amends Babel cache (#8364) implementation to also work on Safari
    #8390 Upstream changes from: Bug 1319111 - Expose result principal URL ("final channel URL") on LoadInfo, convert current consumers of LOAD_REPLACE
    🌐 #8393 Replace unnecessary var self = this statements with arrow functions in web/app.js
    #8391 Convert the hand tool, interfaces and secondary toolbar to ES6 syntax
    #8350 [api-minor] Fix svg image render
    #8397 Simplify extractText, and replace unnecessary var self = this statements with arrow functions, in web/pdf_find_controller.js
    βœ… #8399 Wait until PDFDocumentLoadingTask.destroy is resolved before calling done in the API unit-tests
    βœ… #8400 Wait for previous pdfDocument(s) to be destroyed before running the next reference test
    #8398 Convert the DOMCMapReaderFactory and DOMCanvasFactory to ES6 classes
    βœ… #8258 Enable running a subset of the API unit-tests on Travis
    πŸ”Œ #8406 Gracefully ignore transaction failure in plugin-babel-cached
    #8411 Replace unnecessary var self = this statements with arrow functions in web/pdf_page_view.js and web/pdf_thumbnail_view.js
    πŸ‘• #8417 Use eslint-plugin-mozilla and the webextensions environment to avoid defining globals in each file.
    #8413 [api-minor] Adds additional parameter so background color of canvas can be set
    #8388 Cache JPEG images, just as we do for other image formats, in evaluator.js (issue 8380)
    βͺ #8420 Revert "Upstream changes from: Bug 1319111 - Expose result principal URL ("final channel URL") on LoadInfo, convert current consumers of LOAD_REPLACE"
    #8421 Change the importl10n script to use the Nightly channel
    🚚 #8366 Removes shelljs
    πŸ“„ #8431 Replace a couple of leftover make.js references with gulpfile.js in docs/comments
    #7635 Unify handling of various cursor tools, e.g. the current Hand Tool and a possible future Zoom Tool, in a new PDFCursorTools module
    🚚 #8432 Remove the special handling for nameddests that look like standard pageNumbers
    πŸ— #8433 Remove the reference to compatibility.js from the README, since it's included by default in GENERIC builds
    #8436 Don't map glyphs to the HANGUL FILLER (0x3164) Unicode location (issue 8424)
    0️⃣ #8437 Resets canvas 2d context to the default state.
    #8442 Add different code-paths to {CMap, ToUnicodeMap}.charCodeOf depending on length, since Array.prototype.indexOf can be extremely inefficient for very large arrays (issue 8372)
    ♻️ #8416 Refactor and ES6-ify PDFLinkService.navigateTo
    ⚑️ #8452 Update webpack.js to support browsers that do not have the Web Workers API
    #8450 Convert the overlay manager to ES6 syntax
    #8284 Convert the files in the /src/core folder to ES6 modules
    #8455 Convert the page view to ES6 syntax
    #8458 Refactor the getTempCanvas function in pdf_thumbnail_view.js to a factory, in preparation for ES6 conversion of the thumbnail related code
    🚚 #8462 Removes last UMDs from the modules.
    πŸ— #8463 Allow specifying the PDFJS_NEXT build flag via an environment variable when running the various gulp commands
    #8396 Adds streams-lib polyfill and exports ReadableStream from shared/util.
    #8394 Wraps mozL10n to async calls; splits firefox and generic l10n libs.
    0️⃣ #8466 Add a stub createL10n to DefaultExternalServices in app.js
    πŸ‘• #8470 Fix inconsistent spacing and trailing commas in objects in extensions/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on
    πŸ‘• #8469 Fix inconsistent spacing and trailing commas in objects in web/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on
    πŸ‘• #8477 Fix inconsistent spacing and trailing commas in objects in test/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on
    πŸ‘• #8475 Fix inconsistent spacing and trailing commas in objects in remaining src/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on
    πŸ‘• #8474 Fix inconsistent spacing and trailing commas in objects in src/core/ files, so we can enable the comma-dangle and object-curly-spacing ESLint rules later on
    πŸ‘• #8478 Fix the remaining cases of inconsistent spacing and trailing commas in objects, and enable the comma-dangle and object-curly-spacing ESLint rules
    #8482 Convert the thumbnail view/viewer to ES6 syntax
    #8483 Convert the find controller to ES6 syntax
    #8467 Bug 1353029 - Pass PdfJs.enabled into child on change.
    #8499 Prevent console errors when clicking to change page while in Presentation Mode (issue 8498)
    #8430 Adds sendWithStream method in MessageHandler.
    #8441 Ensure that TilingPatterns have valid (non-zero) /BBox arrays (issue 8330)
    πŸ‘· #8508 Fixes duplicate creation of PDFWorker for the same port.
    #8510 Prevent the Zoom dropdown from intermittently displaying an incorrect custom scale in Firefox (PR 8394 follow-up)
    #8517 Additional check in globalScope detections
    πŸ“¦ #8401 Adds gulp dist-install command; using pdfjs-dist package in examples.
    #8519 Preventing from using the same canvas for multiple render()
    πŸ‘· #8522 Fixes WeakMap polyfill (and improves PDFWorker port check).
    ⚑️ #8531 Remove PDFPageView.updatePosition since it's not actually necessary
    #8515 Adds special case for origin of blob to the compatibility URL.
    🌐 #8525 Allow for unbinding of events in web application
    #8535 Reset pageRotation and downloadComplete in PDFViewerApplication.close
    🚚 #8539 Remove a redundant PDFViewer.currentScale call from PDFViewerApplication.load
    ♻️ #8536 Refactor ObjectLoader to use Dicts correctly, rather than abusing their internal properties
    #8543 Add getAttributeNS to domstubs for SVG example
    #8544 compatibility.js: Rename parameters in JURL
    #8537 Convert the toolbar to ES6 syntax
    #8540 Reduce memory requirements of pdf2svg.js example to avoid OOM
    #8552 Ensure canvas is really hidden when used with pdfjs-dist.
    #8556 Stop tracking the rotation in PDFViewerApplication and directly use PDFViewer.pagesRotation instead
    🚚 #8542 Move svg:clipPath generation from clip to endPath
    ⚑️ #8561 Don't use a hidden canvas when constructing the zoomLayer in PDFPageView.update
    #8567 Fix error when using custom CMapReaderFactory
    #8488 Streams get text content
    0️⃣ #8507 Only special-case OpenType fonts with CFF data if it's both a composite (i.e. Type0) font and also has a non-default CID to GID map (issue 8480)
    0️⃣ #8571 Mention in the "Getting the Code" section of README.md that an ES6 compatible browser is required when using the default viewer with gulp server
    #8564 SVG: implement fill and stroke opacity
    ⚑️ #8576 Remove the selectScaleOption helper function, in Toolbar._updateUIState, and simply inline its code instead
    🚚 #8574 SVG: move setting the stroke properties to the stroke method
    🌐 #8578 ES6-ify the code in web/ui_utils.js
    #8589 Fix missing notdef in expert encoding.
    πŸ— #8582 Convert the text layer builder to ES6 syntax
    🌐 #8583 ES6-ify the code in web/app.js and web/viewer.js
    πŸ‘· #8585 Check that the MessageHandler isn't already terminated in the onFailure handler in src/core/worker.js (issue 8584)
    #8592 Only mask char codes of (3, 0) cmap tables in the range of 0xF000 to 0…
    🌐 #8594 Change var to let, and use object destructuring, in a couple of previously class converted web/*.js files
    #8580 Fix how we detect and handle missing glyph data.
    πŸ›  #8596 Fixes wrong structure of fullReader.read() result.
    πŸ“œ #8615 Fix a stupid spelling error in the ASCII85Decode name in Parser.makeInlineImage (issue 8613)
    #8555 Don't allow setting various properties, such as currentPageNumber/currentScale/currentScaleValue/pagesRotation, before {PDFViewer, PDFThumbnailViewer}.setDocument has been called
    πŸ‘• #8621 Bump minimum eslint version to 3.19.0
    🚚 #8581 Removes error()
    #8630 Remove pdfjsdev_webpack , use webpack options
    #8643 Add Number.isNaN and Number.isInteger polyfills in compatibility.js, since the Streams polyfill relies on them
    πŸ›  #8646 Fixes pdf.js library source detection.
    #8640 Check for undefined
    #8609 Ensure that PDFFindBar._adjustWidth is called in all situations where the width of the findbar might have changed
    ⚑️ #8634 Update inconsistent names
    🚚 #8618 Remove the scale-not-initialized hack from webViewerResize (in app.js)
    ⚑️ #8641 Update ESLint (and eslint-plugin-mozilla) to the latest version
    #8620 Improve compression of PNG images embedded in generated SVG files
    #8649 Convert PDFLinkService to an ES6 class
    #8651 Fix display_svg_spec tests.
    #8636 Convert PDFViewer to an ES6 class
    πŸ’» #8653 Add UI for the cursorToolOnLoad pref in the Chrome extension + migration logic
    #8678 Fix a typo, in the Catalog.numPages getter, than prevents shadowing from working correctly
    #8638 In src/core/jpg.js, ensure that the Adobe JPEG marker always takes precedence, even when the color transform code is zero
    🚚 #8684 Remove most assert() calls (issue 8506)
    πŸ‘ #8673 [api-minor] Add support for PageMode in the API and viewer (issue 8657)
    ⚑️ #8689 Update README.md
    βœ… #8692 Add a reduced test-case for issue 7696
    #8696 Adds ready capability rejection logic for stream sink.
    #8666 Fix TypeError that occurs in colorspace.js on accidentally passing an 'Array' instead of 'TypedArray'
    #8698 Add a fallback for non-embedded SegoeUISymbol font (issue 8697)
    πŸ‘ #8617 Adds Streams API support for networking task of PDF.js project.
    #8715 Use streams-lib as polyfill
    βœ… #8611 Add unit-tests for colorspace.js
    🚚 #8717 Move the XRefMock in the unit tests to a central location
    #8718 Ensure that the loadingBar isn't displayed again when the entire file has already been fetched
    #8722 Fix the helloworld example by importing the network.js file (PR 8617 follow-up)
    #8721 Reduces the amount of data send via GetDocRequest.
    #8627 Fallback on font widths if CFF data is broken
    #8681 Fix several issues with glyph id mappings (issue 8668, bug 1383504)
    πŸ‘ #8744 Checks Edge support for streams.
    πŸ‘· #8738 Delete workerPort to PDFWorker cache after PDFWorker destroy
    #8745 Properly cancel streams and guard at getTextContent.
    #8747 Fix two cmap related issues.
    #8746 More robust getPage() error handling.
    🌐 #8752 ES6-ify the code in web/dom_events.js
    🚚 #8756 Remove leftover args[0].code checks from the OPS.paintXObject cases in evaluator.js
    #8761 Fallback to plain object for globalScope.
    πŸ— #8762 Replace the coded property with isType3Font when building the font properties object in PartialEvaluator.translateFont
    #8764 Convert DownloadManager to an ES6 class
    #8749 Version 1.9

  • v1.8.188

    April 13, 2017

    πŸ”„ Changes (from 1.8.170):

    πŸš€ #8249 Release 1.8.170
    βœ… #8244 Actually skip pages included in the skipPages array when running tests, rather than creating empty 1x1 canvases (issue 8241)
    πŸ‘• #8257 Enable the prefer-promise-reject-errors ESLint rule
    #8266 Normalize blend mode names.
    πŸ‘ #8273 Correctly detect if requestAnimationFrame is supported in compatibility.js (issue 8272)
    #8275 Rename PdfJsTelemetry-addon.jsm to PdfJsTelemetry-stub.jsm
    πŸ‘ #8228 Implement support for line annotations
    πŸ‘· #8262 Fix worker resolution on using minified version

  • v1.8.170

    April 06, 2017

    πŸ”„ Changes:

    πŸš€ #8001 Release of 1.7.225
    πŸ‘• #7991 [Firefox addon] Enforce double quotes, using ESLint, to avoid linting errors in mozilla-central (issue 7957)
    πŸ‘• #7995 [Firefox addon] Enable the consistent-return ESLint rule (issue 7957)
    🚚 #8003 Move EOF/isEOF from core/parser.js to core/primitives.js
    🚚 #8006 Remove usage of mozFillRule
    #7959 Display a notification on the sidebarToggle button for PDF documents with outline/attachments
    🚚 #8016 Remove the unused isStream property on various Streams
    πŸ‘• #7972 Enable the no-unused-vars ESLint rule
    🚚 #8023 Moves preprocessor stuff to the gulpfile.
    πŸ’… #8025 Adjust the brace-style ESLint rule to disallow single lines (and also enable no-iterator)
    🚚 #8027 [Firefox addon] Remove the unused MOZ_CENTRAL constant
    ♻️ #8002 [api-minor] Fix #7798: Refactor scratch canvas usage.
    #8030 Interactive forms: rewrite AcroForms example
    βœ… #8028 Prevent browser console errors during testing
    #8035 [api-minor] Add a getDocument parameter that allows disabling of the NativeImageDecoder (e.g. for use with Node.js)
    πŸ›  #8036 [api-minor] Fixes behaviour of DOMCanvasFactory to return {canvas, context}.
    πŸ”€ #8038 Moves sed processing into the preprocessing tasks and merging tasks.
    #8039 Moving interactive examples to jsfiddle.net
    ⚑️ #8040 Update localization files
    #8041 Interactive forms: set the buttonValue for radio buttons that do not have a fieldValue
    πŸ–¨ #8043 Allow automatic print rotation via the enablePrintAutoRotate preference
    #8046 Replacing custom bundling with webpack 2
    πŸ”§ #8053 [Chromium addon] Prevent errors that break the addon, caused by the DEFAULT_URL constant being replaced by a defaultUrl viewer configuration parameter (PR 8046 follow-up)
    πŸ— #8054 Write the l10n files to the correct destination for gulp mozcentral builds (PR 8023 follow-up)
    πŸ›  #8058 Fixes pdf.combined.js for webpack
    🚚 #8056 Use ChildNode.remove instead of ChildNode.ParentNode.removeChild in a couple of places (bug 1334831, issue 8008)
    #8060 Font ascent descent calculation fix
    #8062 Improve the README by removing outdated information
    #8063 Consume the current character when encountering illegal characters in Lexer.getObject, in order to prevent infinite loops during reading of streams (issue 8061)
    πŸ— #8067 Include the pdfjschildbootstrap.js file in the output for gulp mozcentral builds (PR 8023 follow-up)
    #8070 New node.js check to protect from webpack.
    ♻️ #8065 Annotations: refactor setting the normal appearance stream
    #8071 Always choose a (3, 1) cmap table for TrueType fonts that have an encoding specified, regardless of the Symbolic font flag (bug 1337429)
    ♻️ #8064 [api-minor] Refactor fetching of built-in CMaps to utilize a factory on the display side instead, to allow users of the API to provide a custom CMap loading factory (e.g. for use with Node.js)
    βœ… #8080 Enable running the cmap unit-tests on Travis by utilizing a NodeCMapReaderFactory
    #8024 Open PDF attachments in the viewer instead of an unconditional download
    #8081 iOS Chrome: Fix broken download button
    #8091 Gulp: migrate baseline target from make.js
    #8105 Always check all Kids nodes, in Catalog.getPageDict, to avoid getting stuck in an empty node further down in the Pages tree (issue 8088)
    🚚 #8102 Move compatibility code to the shared/compatibility.js.
    πŸ‘· #8107 Init PDFWorker via MesssagePort.
    #8109 Add gulp task to generate refs.
    #8106 Ensure that Dicts found in Object Streams are assigned an objId in XRef.fetch
    #8110 Interactive forms: make choice widget options inheritable (issue 8094)
    🚚 #8072 Annotations: move operator list addition logic to src/core/document.js
    #8050 Replaces RequireJS to SystemJS.
    🚚 #8115 [CONTRIBUTING.md] Remove any mention of the mailing list, and the weekly meetings
    πŸ‘• #8116 Get rid of a couple eslint-disable statements in web/download_manager.js by instead relying on the preprocessor dead-code removal added in PR 7942
    #8087 Allows to pull pdf.js from pdf_viewer using require().
    πŸ‘ #8112 Support the newWindow flag in white-listed app.launchURL JavaScript actions (PR 7794 follow-up)
    #8126 Ensure that we don't ignore 0 values in Page.getInheritedPageProp (issue 8125)
    #8128 Network: use the current location to prevent errors when using CSP headers
    #8120 Publishes processed sources into pdfjs-dist/lib
    #8129 Return undefined instead of Dict.empty from Page.getInheritedPageProp for non-existent properties to prevent possible future bugs
    🌐 #8130 Don't include web/compatibility.js in the output for gulp lib (PR 8120 follow-up)
    🚚 #8138 Get rid of element.removeChild(element.firstChild) usage (bug 1345253)
    #8132 Viewer: enable find functionality for small devices
    #8144 Widget annotations: do not crash if Parent is not a dictionary during field name construction (issue 8143)
    🚚 #8151 Remove unnecessary .toolbarButton.group CSS class
    #8135 Handle cff fonts with erroneous stackSize (issue 8097)
    #8156 Add (and adjust) a couple of findbar title attributes, in viewer.html, that doesn't agree with the l10n/en-US/viewer.properties file
    #8154 Change to conditions that pdfjsLib
    #8168 Normalize the BBox entry in Tiling Pattern dictionaries (issue 8117)
    πŸ‘• #8174 Adjust the yoda ESLint rule to apply to inequalities as well
    #8172 Upstream the changes from bug 1345294 - nsIPrefBranch should have methods to get/set unicode strings
    #8170 Try to recover when encountering JPEG markers with too short marker lengths (issue 8169)
    0️⃣ #8164 Don't read past the EOI marker for JPEG images with non-default restart interval (issue 7828)
    #8183 Ensure that PDFDocument.documentInfo doesn't fail during document load, when the entire XRef table hasn't been fetched yet (issue 8180)
    #8184 Rethrow MissingDataException when needed
    #8194 Use a proper MessageHandler for PartialEvaluator.getTextContent to avoid errors for fonts relying on built-in CMap files (PR 8064 follow-up)
    🚚 #8196 Remove unnecessary xref parameters from various method signatures in PartialEvaluator, since this.xref is already available in the relevant scope
    #8198 Example for converting PDF to PNG using the Node canvas library
    #8195 Enable babel on sources
    #8190 Try harder to find the next valid JPEG marker when decoding Scan data (issue 8182, issue 8189)
    πŸ‘• #8202 Add a couple of basic ES6 rules to the ESLint config
    🐎 #8207 Use a simple RefSetCache to significantly improve the performance of Catalog.getPageDict for certain long documents (PR 8105 follow-up)
    #8205 Improve the error handling when loading of built-in CMap files fail (PR 8064 follow-up)
    ♻️ #8210 Refactor removing of the zoomLayer into a helper method, and use that in PDFPageView.reset to ensure that the entire zoomLayer is actually removed (issue 8209)
    #8232 Lazily load NetUtil.jsm in PdfStreamConverter.jsm.
    πŸ”€ #8218 Split pdfjschildbootstrap.js to avoid sync IPC
    #8157 [api-minor] Reject the RenderTask with an actual Error, instead of just a string, when rendering is cancelled
    #8222 ios: Patch cancelAnimationFrame whenever fakeRequestAnimationFrame is used
    #8235 Disable the NativeImageDecoder in the node/pdf2svg.js example (issue 7901)
    #8239 Stub out Firefox addon Telemetry wrapper
    #8243 Don’t skip glyph 0 in cmap.
    #8248 Version 1.8

  • v1.7.225

    January 26, 2017

    πŸ”„ Changes:

    πŸš€ #7692 Release of 1.6.210
    πŸ“œ #7670 Only skip parsing a stream in Parser_makeFilter when we know for sure that it is empty (PR 6372 follow-up)
    #7671 Interactive forms: render choice widget annotations
    πŸ–¨ #7677 Bug 1302069 - Printing canvases at PDF document size.
    #7694 Disables Font Loading API for Firefox.
    ♻️ #7697 Refactoring of printing code and mozPrintCallback polyfill
    #7514 Ensure that we cancel any pending rendering operations when the viewer is closed (issue 7274)
    #7714 Fix getTextContent evaluation to only apply TJ horizontal offsets using numeric items/args
    ⚑️ #7722 Update to latest grab-to-pan version
    πŸ’… #7726 Remove a remaining old-style preprocessor from src/core/fonts.js (PR 7322 follow-up)
    #7668 Prevent an infinite loop in XRef_fetchUncompressed for encrypted PDF files with indirect objects in the /Encrypt dictionary (issue 7665)
    πŸ“œ #7727 Let Parser_makeFilter pass in the DecodeParms data to various image Streams, instead of re-fetching it in various [...]Stream.prototype.ensureBuffer methods
    #7728 Gulp: port the all, extension and jsdoc targets
    πŸ“š #7730 Fix a couple of JSDoc @typedefs to use @property (instead of @param) to fix some missing documentation when running gulp jsdoc
    ♻️ #7715 SVG: optimize and refactor group creation code
    🚚 #7732 Removes SVG this.cgrp usages.
    #7717 Explain double-click behaviour on tool tip
    πŸ‘ #7689 [api-minor] Add support for relative URLs, in both annotations and the outline, by adding a docBaseUrl parameter to PDFJS.getDocument (bug 766086)
    #7749 Avoid accidentally rejecting a named destination that looks like a decimal number or a boolean (PR 7341 follow-up)
    #7756 Travis CI: use most recent version of NPM
    #7750 Add more validation to PDFLinkService_navigateTo
    🚚 #7757 Remove/deprecate specifying a pageNumber directly after the hash symbol (#), to improve compatibility since other PDF viewers don't support this form (issue 7746)
    ♻️ #7766 Printing refactor split from 7721
    ⚑️ #7771 Localization updates
    🌐 #7773 [l10n] Add Swedish translations for a couple of new/changed localization IDs
    πŸ’… #7774 Improve lint coverage and correct code style violations
    πŸ‘ #7745 [api-minor] Add basic support for Launch actions (issue 1778, issue 3897, issue 6616)
    #7775 Widget annotation: implement field name according to the specification
    #7778 Additional check to ensure pdfViewer object is defined before handleMouseWheel event accesses its property isInPresentationMode
    #7782 Use stringToPDFString to sanitizing bad "Prefix" entries in Page Label dictionaries, and add more validation
    πŸ“œ #7698 Ignore reserved commands when parsing operands in CFFParser_parseDict, instead of just rejecting the entire font (bug 1308536)
    πŸ‘ #7786 Add HTTPS support for Demo
    πŸ“± #7781 Viewer: improve responsiveness and clean up CSS
    #7792 Make the customScaleOption disabled to prevent it being keyboard accessible (bug 1315608)
    πŸ‘ #7794 [api-minor] Add support for a couple of white-listed JavaScript actions that contains valid URLs (issue 3897, bug 843699)
    #7800 Replace the Safari detection in checkRangeRequests in compatibility.js with a regular expression
    #7801 Enable removing of all comments (except for Copyright notices) when preprocessing code, and reduce the indentation level
    #7803 Fix #7701: additional check for http/https protocols to fix unsafe he…
    #7819 For commands with with too few arguments, clear out args if it's an Array instead of replacing it with null in EvaluatorPreprocessor_read (issue 7804)
    ♻️ #7789 Refactor toolbar.
    #7738 Adds SVG rendering capabilities to the main viewer.
    ⚠ #7826 Prevent "unreachable code after return statement" warnings from PDFPageView_paintOnSvg in the addons
    🀑 #7830 Return a mock object in paintOnSvg when SVG rendering is not supported, to prevent TypeErrors in the addons
    #7793 Rename the ViewHistory localStorage (and sessionStorage) key from database to pdfjs.history, and migrate existing data on read (issue 7760)
    #7839 Correctly detect more cases of non-embedded Arial Black fonts (issue 7835)
    #7832 Expose the optional UserUnit entry as a page property
    ♻️ #7841 Compatibility: disable range requests for iOS and refactor user agent detection
    #7845 Make: include minified library files for the distribution target
    #7846 Bidi: import Unicode types from the specification
    🚚 #7849 Viewer: remove unused CSS rule
    πŸ“œ #7853 Fix the JSDoc comment for Catalog.parseDestDictionary
    #7700 Improve rendering of non-embedded NuptialScript font
    #7628 Fallback to the StandardEncoding for Nonsymbolic fonts without /Encoding entry (issue 7580)
    #7858 Make the keyboard shortcuts Ctrl + Up/Down behave as Home/End (issue 7852)
    #7856 Ensure that PartialEvaluator_extractWidths is able to handle indirect objects in all kinds of "width" data (issue 7855)
    #7862 Don't fail if mozL10n is not present.
    βœ… #7857 add basic unit-tests for murmurhash3.js
    βœ… #7868 Adjust one of the Page Label unit-tests to use a PDF file where the "St" entry is both present and non-default (i.e. greater than one)
    ♻️ #7863 Colorspace: refactoring to prevent unnecessary creation of intermediate arrays
    πŸ“‡ #7881 Remove a misplaced false from a condition in fixMetadata, in metadata.js, since it currently short circuits the entire condition
    πŸ“œ #7884 Ensure that we resolve indirect objects in Filter and DecodeParms arrays in parser.js
    #7873 Document: handle indirect objects in MediaBox and CropBox entries
    🚚 #7705 Move symbolic font glyphs to private use area if they don't have unicode mappings (issue 2594, bug 789074, bug 865644)
    πŸ’… #7890 Fix a number of code style issues found by various ESLint rules, to make it easier to switch from JSHint to ESLint
    🚚 #7886 Move the Preferences initialization/fetching code to the top of PDFViewerApplication.initialize, to enable using them when initializing e.g. the viewer components
    πŸ‘• #7897 Switch to using ESLint, instead of JSHint, for linting
    #7900 Ensure that we handle indirect objects in all types of Opt entries in ChoiceWidget annotation dictionaries
    #7898 Interactive forms: render button widget annotations (checkboxes and radio buttons)
    #7879 Make use of textAdvanceScale consistent during combineTextItems. Fix for #7878.
    #7829 Let finishPaintTask in pdf_page_view.js return a promise instead, to avoid having to throw in the paintTask.promise rejection handler, and don't reject the PDFPageView_draw promise when rendering is cancelled
    #7920 Improve the handling of Encoding dictionary, with Differences array, in PartialEvaluator_preEvaluateFont
    #7926 [api-minor] Ensure that the getDocument Promise is rejected if the loadingTask is destroyed, or an Error is thrown, inside of the onPassword callback (issue 7806)
    βœ… #7934 Unit test files as modules
    πŸ‘• #7935 Enable the no-else-return ESLint rule
    βœ… #7939 Enables some unit tests on travis.
    #7941 Replace direct lookup of uniquePrefix/idCounters, in Page instances, with an idFactory containing an createObjId method instead
    βœ… #7942 Fixes preprocessor testing and adds deadcode removal.
    πŸ— #7943 Various fixes for the external/builder/test*.js files
    🚚 #7944 Removes Promise usage from preferences.js
    πŸ›  #7869 Fixes issue #6071 - TIFF with 1 bit-depth
    🚚 #7945 Moves locale and cmaps tasks to gulpfile.
    #7948 Fix inverted calculation of RTL text percentage in bidi
    #7951 Rename annotation_layer_spec.js to annotation_spec.js to better describe what is actually tested, and simplify the FileAttachmentAnnotation unit-test to avoid having to use the entire API in the test
    #7904 Further adjust the heuristics used to detect OpenType font files with CFF data, to ensure that all Type0 fonts are handled the same way regardless of font Subtype (issue 7901)
    🚚 #7913 [Firefox addon] Change the minimum supported version to Firefox 45, i.e. the current ESR version, and remove no longer necessary fallback code
    🚚 #7954 [Bug 1329182] remove trailing newURI null parameters
    🚚 #7956 [Bug 1330147] removeObserver calls should not supply a third parameter
    πŸ‘• #7960 Adjust the space-unary-ops ESLint rule to comply with mozilla-central lint rules
    🚚 #7965 [Bug 1331081] omit addEventListener/removeEventListener's third parameter when it's false
    πŸ‘• #7974 Enable the no-lone-blocks ESLint rule
    πŸ‘• #7980 Fix #7978: Fixes ESLint yoda rule for the URL polyfill.
    πŸ‘• #7979 Enable the no-unsafe-finally/no-octal/no-useless-call ESLint rules
    πŸ‘• #7973 Enable the spaced-comment ESLint rule
    πŸ›  #7985 Fixes IE9 document.readyState and input.type=number issues.
    #7977 Ensure that we use the correct paintedViewport in PDFPageView.cssTransform, to avoid visual glitches on quick rotations (PR 7738 follow-up)
    πŸ‘ #7982 [Firefox addon] Convert the code to be ES6 friendly, in order to better agree with mozilla-central coding conventions (issue 7957)
    πŸ‘• #7988 Enable the no-empty-pattern/no-floating-decimal/no-self-compare/no-delete-var/no-new-object ESLint rules
    🚚 #7971 remove viewer page div id
    πŸ— #7990 [Firefox addon] Stop bundling src/core/network.js into the FIREFOX/MOZCENTRAL builds (PR 7322 follow-up)
    #7987 [api-minor] Adds noopener and nofollow to rel attribute of hyperlinks.
    #8000 Version 1.7