## [5.3.0] - 2024-01-22
### IMPORTANT
- The minimum PHP version is now PHP v7.2.
- The minimum WordPress version is now v6.1.
- The minimum PDF Embedder version is now v4.9.0.
### Added
- In addition to the previously available vertical offset, you can now set up the new horizontal offset for the watermark text.
- All the watermark options can now be configured on a per PDF file basis via shortcode attributes or block options (in the Block Editor).
- You can now set the color of the watermark text.
- We now display a notice for Nginx and Caddy users to educate them that they need to configure their servers properly for Secured PDFs to work as expected.
- Block the interaction with the toolbar when a mobile device is used to view the PDF file, so users won't be able to navigate pages and change the zoom until they click the "View in full screen" button.
- In the Block Editor there is now a handy link to check the selected PDF file tracking data (views and downloads). Check the Actions section for the PDF Embedder block.
### Changed
- Changed: Compatibility with WordPress 6.7.
- The sharpness and quality of the text in the PDF Viewer were significantly improved.
- Further improvements to the PDF Embedder block in the Block Editor.
### Fixed
- The main JavaScript file used to render the PDF Viewer was not correctly registered in WordPress. In the past, this required customers to manually clear the browser cache after each plugin upgrade.
- Fullscreen mode was triggering incorrectly in cases where several embedded PDF files were not coming from the WordPress Media library.
- The height of the PDF Viewer, embedded on a page, was fixed at 1000px by default. Now it tries to fluidly change depending on each page of the PDF document height unless you set the height other than to the `max` value.
- There were excessive gaps at the top/bottom of the PDF Viewer when the toolbar was set to be displayed on hover.
- Some PDF files were rendered with decreased quality.
- On new WordPress installs, after WP 6.4 was released, the "Secure > Attachment Pages" feature was not properly working because WordPress disabled attachment pages by default.
- We fixed compatibility with the Paid Memberships Pro - Member Homepages Add On, so you should see the PDF files embedded into the member's homepage.
- Pressing `cmd+s` or `ctrl+s` on the keyboard was always triggering the download of the PDF file, now it's connected to whether the download button is enabled or not.