Skip to content

Releases: wojtekmaj/react-pdf

v7.0.1

24 May 20:48
3e81127
Compare
Choose a tag to compare

Bug fixes

  • Fixed annotation layer rendered under text layer, resulting in some annotations not clickable (#1503). Thanks, @iamandrewluca!

v7.0.0

24 May 18:27
b93298b
Compare
Choose a tag to compare

See Upgrade guide from version 6.x to 7.x.

This is one of the biggest update - for React-PDF and for me personally. React-PDF has been rewritten from scratch using TypeScript and React Hooks. I've put a tremendous amount of effort to modernize the package without introducing any major breaking changes. If, however, something have slipped through 137 unit tests we have, please let me know. I hope you will like it.

❗️ = breaking change

What's new?

  • Converted package to TypeScript (#1420).
  • Rewritten package using React Hooks (#1370).
  • Updated PDF.js to 3.6.172.
    • Preparations for editor mode support
    • Removed support for outdated browser versions
    • Font conversion/text selection improvements
    • Annotation improvements
    • Image rendering improvements that allow rendering big images even if they are larger than the canvas limits
    • Accessibility improvements
    • Improved overall performance
    • Reduced memory usage
    • Other features/bugfixes

What's changed?

  • React-PDF is now considerably smaller.
  • ❗️ Bundler-specific entry points are no longer provided. Don't worry though, the setup should be straightforward.
  • ❗️ Dropped support for older browsers.
  • ❗️ Removed legacy renderInteractiveForms prop.

Bug fixes

  • Fixed "The --scale-factor CSS-variable must be set" error.
  • Fixed black flicker when rendering canvas (#1340, #1279). Thanks, @MattL75!

v7.0.0-beta.4

08 May 23:18
2b04432
Compare
Choose a tag to compare
v7.0.0-beta.4 Pre-release
Pre-release

Bug fixes

  • Fixed propTypes that could have crashed SSR.

v7.0.0-beta.3

08 May 13:38
9a3e39f
Compare
Choose a tag to compare
v7.0.0-beta.3 Pre-release
Pre-release

Bug fixes

  • Fixed black flicker when rendering canvas (#1340, #1279). Thanks, @MattL75!

v7.0.0-beta.2

08 May 13:05
240150a
Compare
Choose a tag to compare
v7.0.0-beta.2 Pre-release
Pre-release

Bug fixes

  • Fixed "The --scale-factor CSS-variable must be set" error.

v7.0.0-beta

08 May 12:32
9864158
Compare
Choose a tag to compare
v7.0.0-beta Pre-release
Pre-release

This is one of the biggest update - for React-PDF and for me personally. React-PDF has been rewritten from scratch using TypeScript and React Hooks. I've put a tremendous amount of effort to modernize the package without introducing any major breaking changes. If, however, something have slipped through 137 unit tests we have, please let me know. I hope you will like it.

❗️ = breaking change

What's new?

  • Converted package to TypeScript (#1420).
  • Rewritten package using React Hooks (#1370).
  • Updated PDF.js to 3.6.172.
    • Preparations for editor mode support
    • Removed support for outdated browser versions
    • Font conversion/text selection improvements
    • Annotation improvements
    • Image rendering improvements that allow rendering big images even if they are larger than the canvas limits
    • Accessibility improvements
    • Improved overall performance
    • Reduced memory usage
    • Other features/bugfixes

What's changed?

  • React-PDF is now considerably smaller.
  • ❗️ Bundler-specific entry points are no longer provided. Don't worry though, the setup should be straightforward.
  • ❗️ Dropped support for older browsers.
  • ❗️ Removed legacy renderInteractiveForms prop

v6.2.2

11 Jan 08:01
31911a7
Compare
Choose a tag to compare

Bug fixes

  • Fixed rendering glitches on certain browsers & graphic cards (#1010).

v6.2.1

28 Dec 09:21
2297b2d
Compare
Choose a tag to compare

What's changed?

  • Brought back pageIndex and pageNumber in customTextRenderer args that, despite undocumented, may have been used by some (#1190).
  • Replace typeof window checks with typeof document checks to avoid Deno environment being falsely recognized as browser environment.

Bug fixes

  • Fixed onItemClick callback working only once per item (#997, #1192).
  • Fixed first annotation item not clickable (#1231).
  • Fixed typos in documentation (#1227). Thanks, @flaxflour!

v6.2.0

22 Nov 11:52
08e7c44
Compare
Choose a tag to compare

What's new?

  • Added support for devicePixelRatio prop in Page component.

Bug fixes

  • Pass the actual itemIndex to the customTextRenderer (#1183). Thanks, @paescuj!

v6.1.1

20 Nov 19:15
2f67369
Compare
Choose a tag to compare

Bug fixes

  • Fixed text items misaligned when using customTextRenderer and if textContent items have both text and line break (#1173).