## Version 2.9.1
**Release Date:** 2025-10-08
- Stop auto-scrolling the page to the PDF on load. Viewer now preserves the reader's position and, if restoring progress, scrolls only inside the PDF container (not the window).

## Version 2.8.2
**Release Date:** 2025-08-10
- Bulk conversion tool: reliably converts shortcode blocks and raw shortcodes to the Secure PDF block using block parsing; regex fallback for older WP

## Version 2.8.1
**Release Date:** 2025-08-10
- Block editor: add in-block panel toggles for all attributes (download, print, members-only, mature)

## Version 2.8.0
**Release Date:** 2025-08-10
- Added Gutenberg block `flw/secure-pdf` with dynamic server-side render (reuses shortcode output)
- Frontend assets now enqueue only when shortcode or block is present; pdf.js worker configured
- Mature content overlay now correctly blurs the viewer; age verification persists per-URL
- Reintroduced print button via `show_print` attribute; unified button styling with `.pdf-button`
- Shortcode generator fixed to avoid appending duplicate `px` for height
- Debug logging tied to `WP_DEBUG`

## Version 2.7.0
**Release Date:** 2025-2-19
- Adding API checks to disable plugin if API is invalid or expired

## Version 2.6.5.1
**Release Date:** 2025-01-18
- Fixed the fact the shortcode generator wasn't working

## Version 2.6.5
**Release Date:** 2025-01-18
- Changed the filename of the primary plugin to be compatible with my development process.


Version 2.5
----------------------
- Added settings menus you can now change all the color information for anything to do with the buttons found on the pdf embed. 
- Put a control bar at the bottom of the secure pdf embed where you can have the download button, print button and a join now button depending on the state. 
- shortcode was updated to utilize this. 

Version 2.4.10
----------------------
- Reduced redundancy in code by utilizing the FLW Plugin Library.

Version 2.4.9
----------------------
- Added the ability to display a print button via the `show_print` shortcode parameter.
- Print button functionality improved to directly open the PDF URL in a new tab for printing.
- Enhanced security with right-click menu disabled on the PDF viewer.

Version 2.4.8
----------------------
- Introduced `show_print` shortcode parameter to optionally include a print button.
- Optimized script handling and performance improvements.

Version 2.4.7
----------------------
- Replaced `wp_localize_script` with `wp_add_inline_script` for better compatibility with WordPress 5.7+.
- Fixed WP_Scripts::localize notice error.

Version 2.4.6
----------------------
- Added support for progress tracking and resuming the last-read page.
- Introduced AJAX handlers for saving and retrieving user progress.
- Improved error handling and logging for AJAX requests.

Version 2.4.5
----------------------
- Enhanced styling and responsiveness for the PDF viewer.
- Implemented user-friendly error messages for missing or invalid parameters.

Version 2.4.4
----------------------
- Fixed a bug where the viewer failed to load PDFs in certain environments.
- General code optimizations and minor fixes.

Version 2.4.3
----------------------
- Added support for embedding PDFs with customizable width and height.
- Initial release of Secure PDF Embedder with basic embedding functionality.
