Skip to content
- Improve on toolbar customization capability
- Optimize on zoom in/out experience of PDF files
- Add support for PDF.js version 5
- Add support for wrapped scrolling
- ⚡ Enhancements:
- Improved on loading and rendering of PDF files, including page jumping
- 🐛 Bug Fixes:
- Fixed the dual page display issue when in page scrolling mode
- ⚡ Enhancements:
- Improved on license validation to allow the watermark version to access organization features
- 🐛 Bug Fixes:
- Fixed the function to hide the search menu
- ⚡ Enhancements:
- Improved on React version support for React 19
- ⚡ What’s New:
- Added
useElementPageContext
to support inserting of elements such as a bounding box or a shape
- Added
usePageRotateContext
to support a specific page rotation
- 🐛 Bug Fixes:
- Fixed incorrect Chinese localization tooltips for zoom in and zoom out
- ⚡ Enhancements:
- Improved on CSS styling of the tooltip modal radius by using that of the global radius variables
- Improved navigation experience of zoom level selection and menu under
More Options
- 🐛 Bug Fixes:
- Fixed the functions of
useSearchContext
and useHighlightContext
not working correctly when used together
- Fixed the functions of
useSearchContext
not working without RPDefaultLayout
- ⚡ Enhancements:
- Improved mobile viewing experience for
More Options
with ability to scroll
- 🐛 Bug Fixes:
- Fixed the incorrect page orientation of a PDF file
- Fixed the incorrect transformation of counterclockwise icon
- ⚡ Enhancements:
- Improved on tooltip support for Single page and Dual page
- Improved on localization support for password modal, Single Page and Dual Page
- ⚡ Enhancements:
- Improved on border radius control by separating customization of border radius for buttons from other UI elements
- Improved on tooltip style customization such as font size, padding and border radius
- Improved on CSS styling support for TypeScript projects by exporting
ThemeVariables Enum
- 🐛 Bug Fixes:
- Fixed PDF loading issue when a
Text Callout
annotation is clicked
- ✨ What’s New:
- Added support for Dual View
- ⚡ Enhancements:
- Improved on reloading of a password-protected PDF file when an incorrect password is submitted
- 🐛 Bug Fixes:
- Fixed the displaying of a PDF file with portrait and landscape pages
- 🐛 Bug Fixes:
- Fixed
ZoomLevel.PAGE_FIT
and ZoomLevel.PAGE_WIDTH
calculations for certain screen resolutions
- Fixed show/hide toolbar not working as expected
- ✨ What’s New:
- Added support for a password-protected PDF file to be opened in React PDF
- Added “Pinch-to-zoom” support for mobile view
- ⚡ Enhancements:
- Improved on highlighting of text selection with hyperlinks and for a paragraph
- Improved on mobile responsiveness of the search popover
- 🐛 Bug Fixes:
- Fixed the
Last Page
function for the horizontal scrolling mode
- Fixed and prevented
TextHighlightLayer
of useHiglightContext
from rendering text inside the element
- 🐛 Bug Fixes:
- Fixed
sendWithPromise
error when a PDF src is changed in a Next.js project
- Fixed URL of the Manage License page not showing in the console message
- ✨ What’s New:
- Added support to modify download filename
- Added
onLayoutWidthChange
prop in RPDefaultLayout to detect for mobile layout change
- ⚡ Enhancements:
- Improved on page changing experience by adding a smooth transition
- Updated the default version of
pdfjs-dist
(peer dependency) from 4.7.76 to 4.10.38
- Improved on the loading performance of opening or switching to a new PDF file
- 🐛 Bug Fixes:
- Fixed loading icon size in the search popover
- ⚡ Enhancements:
- Improved on the performance of reusable React PDF component
- 🐛 Bug Fixes:
- Fixed
pdfjs-dist
version mismatch
- ⚡ Enhancements:
- Improved on customization of search popover with a CSS variable to control checkbox background
- 🐛 Bug Fixes:
- Fixed
-rp-primary-color
and --rp-sidebar-width
CSS variables so that they work as intended
- Fixed
customVariables
not applying to dark mode when customDarkVariables
is not set to those CSS variables
- Fixed overriding of CSS variables, namely
--rp-border-radius
, --rp-checkbox-border-radius
and --rp-checkbox-border-color
- ✨ What’s New:
- Added support of keyword highlights of different color programmatically
- Added a prop to hide the sidebar easily
- Added support to customize loader and loader progress, including style and image
- ⚡ Enhancements:
- Improved on page viewing experience when zooming in or out
- 🐛 Bug Fixes:
- Fixed incorrect URL of the Manage License page in the console message
- ✨ What’s New:
- Added support for XFA & AcroForm layers, allowing users to view and interact with PDF documents containing forms
- ⚡ Enhancements:
- Improved on the text selection accuracy in a PDF document
- 🐛 Bug Fixes:
- Fixed page layout and zoom scale not rendering correctly when changing a PDF document
- Fixed the translations for the thumbnail icon’s tooltip
- ✨ What’s New:
- Added 5 built-in translations to React PDF, including a function to add a custom language
- Added CSS styling supports for document loader, print progress loader and search popover
- ⚡ Enhancements:
- Improved on the accessibility of search popover, disabled buttons and input boxes
- 🐛 Bug Fixes:
- Fixed the download file function
- ⚡ Enhancements:
- Improved on setting the height of React PDF’s container in relative terms (e.g.
initial
, 100%
, inherit
and auto
)
- ✨ What’s New:
- Added a loader to the React PDF’s container
- ⚡ Enhancements:
- Improved on the PDF viewing experience when changing scrolling modes
- Improved on the mobile responsive layout
- 🐛 Bug Fixes:
- Fixed search match to display correctly
- Fixed the hand mode’s user experience when changing PDF files
- ⚡ Enhancements:
- Moved
mobileWidth
prop to the RPDefaultLayout
component
- 🐛 Bug Fixes:
- Fixed exporting of the library’s interfaces
- 🚀 Launched the first stable release of React PDF
- ⚡ Enhancements:
- Added data attributes to important elements for ease of UI customization
- 🐛 Bug Fixes:
- Fixed the initial zoom setting of the PDF document when the viewer is first loaded
- Fixed the toolbar not being mobile responsive
- ✨ What’s New:
- Added Hooks for relevant toolbar functions for ease of customization
- ⚡ Enhancements:
- Added
RPProvider
component for readability and flexibility
- ✨ What’s New:
- Added page navigation to move back and forth across pages
- Added ‘pinch to zoom’ function on a PDF document in a desktop view
- ⚡ Enhancements:
- Added
RPProvider
component for readability and flexibility
- ✨ What’s New:
- Added scrolling modes (page, vertical and horizontal)
- ⚡ Enhancements:
- Renamed
RPViewer
component to RPPages
component for better readability
- Renamed
RPLayout
component to RPDefaultLayout
component for better readability
- ✨ What’s New:
- Added print function to print the PDF document
- Added selection mode (text or hand)
- Added setting of initial PDF page displayed when the viewer is first loaded
- Added setting of initial rotation and zoom of the PDF document when the viewer is first loaded
- Added tooltips on each icon on the toolbar
- 🐛 Bug Fixes:
- Fixed clicking of a Table of Content links in a PDF document not working
- ✨ What’s New:
- Added page rotation to rotate page clockwise/anti-clockwise
- Added search function to search by keywords (default, match case or whole word) in a PDF document
- Added download function to download the PDF file
- Added page zoom function to zoom in/out
- Added page loader when a page in the PDF document is still loading
- Added mobile responsive layout and breakpoint
- Added ability to open a file from local device directly in PDF viewer
- Added theme function to switch between light and dark themes