Skip to content

Changelog

Roadmap

In Progress 🚀

  • Add support for a password-protected PDF file to be opened in React PDF
  • Add “Pinch-to-zoom” support for mobile view

Pipeline ✍🏼

  • Improve on text selection highlight
  • Add support for Dual view
  • Improve on toolbar customization capability

Under Consideration 💡

  • Add support for wrapped scrolling

Update

v1.5.1 (15 May 2025)

  • 🐛 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

v1.5.0 (9 May 2025)

  • 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

v1.4.3 (2 May 2025)

  • Enhancements:
    • Improved on the performance of reusable React PDF component

v1.4.2 (29 April 2025)

  • 🐛 Bug Fixes:
    • Fixed pdfjs-dist version mismatch

v1.4.1 (29 April 2025)

  • 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

v1.4.0 (25 April 2025)

  • 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

v1.3.0 (4 April 2025)

  • 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

v1.2.0 (28 March 2025)

  • 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

v1.1.1 (20 March 2025)

  • Enhancements:
    • Improved on setting the height of React PDF’s container in relative terms (e.g. initial, 100%, inherit and auto)

v1.1.0 (14 March 2025)

  • 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

v1.0.1 (4 March 2025)

  • Enhancements:
    • Moved mobileWidth prop to the RPDefaultLayout component
  • 🐛 Bug Fixes:
    • Fixed exporting of the library’s interfaces

v1.0.0 (4 March 2025)

  • 🚀 Launched the first stable release of React PDF

v0.9.0 (28 February 2025)

  • 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

v0.8.0 (24 February 2025)

  • What’s New:
    • Added Hooks for relevant toolbar functions for ease of customization
  • Enhancements:
    • Added RPProvider component for readability and flexibility

v0.7.0 (21 February 2025)

  • 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

v0.6.0 (19 February 2025)

  • 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

v0.5.0 (13 February 2025)

  • 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

v0.4.0 (7 February 2025)

  • 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