NewAI Enhanced
v5.4.624
v5.4.531
Breaking Changes
- Node.js:
PDFNetworkStreamandNetworkManagerAPIs simplified;NetworkManagerinlined intoPDFNetworkStream
Features
- Drag & drop page reordering in thumbnail view
- Undo support for comment deletion
- Page management UI to save edited PDFs
Fixes
- JBIG2 decoder wasm URL resolution
- Annotation movement exceptions
- Find-in-page after page reorganization
- Links and outlines preserved when reordering pages
- Mailto links truncated at dash
- Caret visibility in dark mode with caret browsing
- Sidebar resizer accessibility
- Drag marker dimensions in thumbnails view
Improvements
- PDFium JBIG2 decoder (wasm) replaces JS fallback; updated to pdfium@3c679253a9e17c10
- Aria-hide text layer artifacts; hide MathML-associated text
- Skip content streams with image formats during processing
- Use
DecompressionStreamin async code - Refactored page mapping for delete/copy operations
IPDFStream*interfaces replaced with proper base classes- Node.js: standard
ReadableStreamfor local PDFs; skip full request for files <2 range requests - Preferences schema generation for Chromium addon
- Dependencies updated; lodash bumped to 4.17.23
This release contains improvements for accessibility, the annotation editor, image decoding, performance and the viewer.
Changes since v5.4.530
- Bump the stable version in
pdfjs.configby @timvandermeij in https://github.com/mozilla/pdf.js/pull/20540 - Get glyph contours when stroking using a pattern by @calixteman in https://github.com/mozilla/pdf.js/pull/20515
- Use the PDFium JBig2 decoder compiled into wasm by @calixteman in https://github.com/mozilla/pdf.js/pull/20546
- Update dependencies and translations to the most recent versions by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20547
- Fix wasm url issue for the jbig2 decoder by @calixteman in https://github.com/mozilla/pdf.js/pull/20548
- Revert "Remove some files from talos tests because they aren't available on webarchive" by @timvandermeij in https://github.com/mozilla/pdf.js/pull/20549
- Aria-hide artifacts in the text layer (bug 2004951) by @calixteman in https://github.com/mozilla/pdf.js/pull/20550
- Don't add an aria-label on MathML elements in the struct tree (bug 2004951) by @calixteman in https://github.com/mozilla/pdf.js/pull/20551
- Add some tests for the JBIG2 js decoder by @calixteman in https://github.com/mozilla/pdf.js/pull/20552
- Update jbig2 decoder (pdfium@3c679253a9e17c10be696d345c63636b18b7f925) by @calixteman in https://github.com/mozilla/pdf.js/pull/20566
- Don't use contents stream which have an image format by @calixteman in https://github.com/mozilla/pdf.js/pull/20570
- Hide the text in the text layer associated with MathML elements (bug 2009627) by @calixteman in https://github.com/mozilla/pdf.js/pull/20567
- Make sure the caret is black in dark mode when in caret browsing mode by @calixteman in https://github.com/mozilla/pdf.js/pull/20569
- Add the possibility to drag & drop some thumbnails in the pages view (bug 2009573) by @calixteman in https://github.com/mozilla/pdf.js/pull/20559
- Select the dropped thumbnail (bug 2010820) by @calixteman in https://github.com/mozilla/pdf.js/pull/20578
- The 'find in page' feature must correctly work after the pages have been reorganized (bug 2010814) by @calixteman in https://github.com/mozilla/pdf.js/pull/20577
- Avoid exception after having moved an annotation by @calixteman in https://github.com/mozilla/pdf.js/pull/20572
- Add the possibility to order the pages in an extracted pdf (bug 1997379) by @calixteman in https://github.com/mozilla/pdf.js/pull/20475
- Bump lodash from 4.17.21 to 4.17.23 by @dependabot[bot] in https://github.com/mozilla/pdf.js/pull/20588
- Update image pattern in gulpfile to accommodate missing images by @dgiessing in https://github.com/mozilla/pdf.js/pull/20554
- Hide the menu container in changing it's visibility by @calixteman in https://github.com/mozilla/pdf.js/pull/20583
- Fix links and outline after reorganizing a pdf by @calixteman in https://github.com/mozilla/pdf.js/pull/20580
- Use DecompressionStream in async code by @calixteman in https://github.com/mozilla/pdf.js/pull/20593
- Fix the drag marker dimensions in the thumbnails view by @calixteman in https://github.com/mozilla/pdf.js/pull/20591
- Bug 1999154 - Add the ability to undo comment deletion by @marco-c in https://github.com/mozilla/pdf.js/pull/20586
- Refactor a bit page mapping stuff in order to be able to support delete/copy pages by @calixteman in https://github.com/mozilla/pdf.js/pull/20587
- Add a manage button in the thumbnail view in order to save an edited pdf (bug 2010830) by @calixteman in https://github.com/mozilla/pdf.js/pull/20582
- Fix the sidebar resizer accessibility by @calixteman in https://github.com/mozilla/pdf.js/pull/20598
- [Node.js] Don't abort the full request for local PDF files smaller than two range requests, and use standard
ReadableStreams by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/20594 - Simplify the
NetworkManagerclass, and inline it in thePDFNetworkStreamclass by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/20595 - Simplify the
FileSpecclass, and remove no longer needed polyfills by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/20596 - Remove unit-tests for global
ReadableStreamandURLby @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/20605 - Improve preferences building, and generate the
preferences_schema.jsonfile for the Chromium addon by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/20603 - Replace the
IPDFStream,IPDFStreamReader, andIPDFStreamRangeReaderinterfaces with proper base classes by @Snuffleupagus in https://github.com/mozilla/pdf.js/pull/20602 - fix: Fix mailto links truncated at dash by @kairosci in https://github.com/mozilla/pdf.js/pull/20565