wojtekmaj/react-pdf
 Watch   
 Star   
 Fork   
2024-12-20 06:21:11
react-pdf

v9.2.1

Bug fixes

  • Fixed gray background appearing on selection (#1925).
2024-12-19 21:40:50
react-pdf

v9.2.0

What's new?

  • Updated PDF.js to 4.8.69. Thanks, @MGPOCKY!
2024-09-18 17:58:14
react-pdf

v9.1.1

Bug fixes

  • Fixed "Worker was terminated" error on unmount (#1062, #1877). Thanks, @CyberAndrii!
  • Fixed package.json exports not allowing to import package.json (#1876).
2024-07-02 20:51:08
react-pdf

v9.1.0

What's new?

  • Updated PDF.js to 4.4.168.
    • Annotation improvements
    • Font conversion improvements
    • Image decoding improvements
    • Performance improvements
    • Text selection improvements
  • Added support for isolatedDeclarations in TypeScript.

What's changed?

  • Updated documentation.
  • Updated Next.js, Parcel and Webpack examples.

Bug fixes

  • Fixed missing hiddenCanvasElement styles (#1815).
  • Fixed overly large structTreeUtils.d.ts file, saving you 45 KB of disk space.
2024-05-29 19:40:23
react-pdf

v9.0.0

See Upgrade guide from version 8.x to 9.x.

This version updates PDF.js to 4.3.136, fixing GHSA-wgrm-67xf-hhpq for good. React-PDF v8.0.2 and v7.7.3 have already included a mitigation of the issue and thus were not affected by this vulnerability, but caused automatic security alerts due to the outdated PDF.js version.

❗️ = breaking change

What's new?

  • Updated PDF.js to 4.3.136.
    • Optimizations for CPU and memory usage
    • Performance improvements
    • Image rendering improvements
    • Text selection improvements
    • Accessibility improvements
    • Font conversion improvements
    • Handling of corrupted documents
  • Improved Turbopack compatibility.

What's changed?

  • ❗️ Dropped support for older browsers.
  • ❗️ Removed deprecated svg renderMode.
2024-05-07 21:40:59
react-pdf

v8.0.2

Bug fixes

  • Force isEvalSupported to false. Fixes GHSA-87hq-q4gp-9wr4 (caused by GHSA-wgrm-67xf-hhpq).
2024-05-07 21:39:55
react-pdf

v7.7.3

Bug fixes

  • Force isEvalSupported to false. Fixes GHSA-87hq-q4gp-9wr4 (caused by GHSA-wgrm-67xf-hhpq).
2024-05-07 20:36:40
react-pdf

v8.0.1

This version shipped an incorrect fix for a security vulnerability and thus has been deprecated.

Bug fixes

  • Force isEvalSupported to true. Fixes GHSA-87hq-q4gp-9wr4 (caused by GHSA-wgrm-67xf-hhpq).
2024-05-07 20:34:31
react-pdf

v7.7.2

This version shipped an incorrect fix for a security vulnerability and thus has been deprecated.

Bug fixes

  • Force isEvalSupported to true. Fixes GHSA-87hq-q4gp-9wr4 (caused by GHSA-wgrm-67xf-hhpq).
2024-04-30 17:53:36
react-pdf

v8.0.0

❗️ = breaking change

What's changed?

  • Added support for React 19.
  • ❗️ New JSX transform is now required. Most likely, you’re already using it, but if you’re not, you’ll need to enable it by following the instructions in the linked blog post.
  • ❗️ propTypes were removed. If you’re using propTypes, we recommend migrating to TypeScript or another type-checking solution.