Skip to content

Releases: wojtekmaj/react-pdf

v2.0.0-beta.4

29 Aug 00:14
Compare
Choose a tag to compare
v2.0.0-beta.4 Pre-release
Pre-release

What's new?

  • npm package is now lighter as it does not contain unnecessary files.

Bug fixes

  • Fixed an edge case where React-PDF was not properly handling a situation when it was immediately unmounted after mounting, which caused React to throw warnings.

v2.0.0-beta.3

26 Aug 23:59
Compare
Choose a tag to compare
v2.0.0-beta.3 Pre-release
Pre-release

What's new?

  • babel-polyfill is no longer required to use react-pdf. Thanks, @Kerumen!
  • You can now disable rendering text layers by passing renderTextLayer={false} to Page component.

Bug fixes

  • Fixed an error ReferenceError: regeneratorRuntime is not defined that may have occurred on some environments (#39). Thanks, @Kerumen!

v2.0.0-beta.2

11 Aug 23:26
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release

What's new?

  • Optimized NPM package. It no longer includes files not necessary for end user.

Bug fixes

  • React-PDF will no longer warn Warning: setState(...): Can only update a mounted or mounting component. if you unmount it while loading a file or rendering a page (#43).

v2.0.0-beta

19 Jul 23:13
Compare
Choose a tag to compare
v2.0.0-beta Pre-release
Pre-release

What's new?

  • Updated README file.
    • Added instructions for non-Webpack projects.
    • Added instructions for babel-polyfill.
  • Default entry will now display a warning if you're developing on a local file system.
  • React-PDF will now display a warning if you're developing on a local file system and you're attempting to load a local PDF file.
  • New entry - entry.noloader - which gives you an ability not to create a separate thread for rendering PDFs. See README for more information.
  • All React-PDF methods (loadDocument, loadPage etc.) now return a promise for your convenience.

Bug fixes

  • Fixed React-PDF failing to load if no babel-polyfill was included.
  • Fixed PDF.js attempting to load worker from a random location (depending on the name of the last script included in head at the moment of loading PDF.js). It is now set to pdf.worker.js (nnarhinen/react-pdf#39).

v2.0.0-alpha.7

17 Jul 13:32
Compare
Choose a tag to compare
v2.0.0-alpha.7 Pre-release
Pre-release

What's new

  • Enhanced text layers alignment.
  • New sample PDFs were added.

Bug fixes

  • Fix Outline component not properly getting item destination from PDF documents created in Microsoft Word.

v2.0.0-alpha.6

17 Jul 09:50
Compare
Choose a tag to compare
v2.0.0-alpha.6 Pre-release
Pre-release

Bug fixes

  • Fix horizontal alignment of text layers when the layer started/ended with whitespace characters.
  • Fix horizontal alignment of text layers when the font embedded in PDF failed to render correctly.
  • Fix Sample and Test pages not resetting pageNumber on file change.

v2.0.0-alpha.5

17 Jul 02:31
Compare
Choose a tag to compare
v2.0.0-alpha.5 Pre-release
Pre-release

Bug fixes

  • Fix page rendered too small on HiDPI devices.

v2.0.0-alpha.4

17 Jul 01:52
Compare
Choose a tag to compare
v2.0.0-alpha.4 Pre-release
Pre-release

Bug fixes

  • Fixed vertical alignment of text layers.

v2.0.0-alpha.3

16 Jul 23:50
Compare
Choose a tag to compare
v2.0.0-alpha.3 Pre-release
Pre-release

Bug fixes

  • Fix text layers not rotating with the page rotation.
  • PageCanvas component no longer need external CSS to render canvas properly.

v2.0.0-alpha.2

16 Jul 22:31
Compare
Choose a tag to compare
v2.0.0-alpha.2 Pre-release
Pre-release

What's new?

  • Page component now renders text layers! This means the text can be selected or read by a screen reader (nnarhinen/react-pdf#52).