# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/). ## [1.0.20] - 2026-03-08 ### Changed - Upgraded `pdfjs-dist` from 3.2.146 to 3.11.174 for improved rendering and bug fixes. - Replaced `handlebars-extd` with official `handlebars` for a smaller, better-maintained dependency. - Modernized build tooling (Rollup 4, TypeScript 5, ESM package). ### Removed - CJS build (`pdf-live.common.js`). This is a browser-only Web Component; use ESM or UMD instead. ## [1.0.19] - 2023-01-16 ### Fixed - Right edge of the PDF page being clipped at 200% zoom. ## [1.0.18] - 2023-01-15 ### Changed - Upgraded `pdfjs-dist` from 2.15.349 to 3.2.146. - Overlapping resize requests now cancel previous renders, keeping only the latest. - Page number input width on mobile (< 640px) increased from 40px to 48px. - Canvas area exceeding 5 MP is now automatically scaled down to prevent blank renders. ## [1.0.17] - 2023-01-15 ### Fixed - Horizontal scrollbar in the page view area not responding to drag. ## [1.0.16] - 2023-01-13 ### Fixed - PDF wider than the viewport being locked to center, hiding text at the left and right edges. - `TypeError: Cannot read properties of undefined (reading 'dataset')` when resizing the window after a Ctrl+Wheel zoom. ## [1.0.15] - 2023-01-11 ### Changed - Initial zoom now fits to page width when the PDF is wider than the viewport, otherwise defaults to 100%. - Removed the legacy prototype directory. ## [1.0.14] - 2022-08-15 ### Changed - Relative `cmap` paths are now resolved to absolute URLs automatically. ## [1.0.13] - 2022-08-12 ### Fixed - `documentLoaded` event now fires only after all pages have finished rendering. ## [1.0.12] - 2022-07-19 ### Changed - All CSS classes prefixed with `pl-` to prevent style conflicts with host pages. ## [1.0.11] - 2022-07-08 ### Added - `print()` and `download()` public methods on the `` element. ## [1.0.10] - 2022-06-16 ### Added - `cmap` attribute for CJK font support. ### Changed - Upgraded `pdfjs-dist` from 2.13.216 to [2.14.305](https://github.com/mozilla/pdf.js/releases/tag/v2.14.305). ## [1.0.9] - 2022-04-15 ### Changed - Responsive font sizing based on viewport width. - Japanese locale now applies an appropriate font family. ## [1.0.8] - 2022-04-15 ### Changed - Increased button padding in modal dialogs. ### Fixed - Password modal submit button not reflecting the current locale. ## [1.0.7] - 2022-04-15 ### Fixed - Password modal error messages not reflecting the current locale. ## [1.0.6] - 2022-04-15 ### Changed - Modal titles wrapped in `

` for proper heading hierarchy. ### Fixed - `title` attribute not being applied to the download filename. ## [1.0.5] - 2022-04-14 ### Added - `title` attribute on `` for custom document titles. ## [1.0.4] - 2022-04-13 ### Added - iOS Safari support. ### Changed - Initial zoom defaults to 100% on viewports wider than 640px, otherwise fits to page width. ## [1.0.3] - 2022-04-13 ### Changed - Document title hidden on viewports narrower than 640px. - Thumbnail panel starts closed on viewports narrower than 640px. ## [1.0.2] - 2022-04-13 ### Fixed - Typos in README. ## [1.0.1] - 2022-04-13 ### Fixed - Missing `form` attribute on the password modal submit button. ## [1.0.0] - 2022-04-12 ### Added - Initial release. [1.0.0]: https://github.com/shumatsumonobu/pdf-live/releases/tag/v1.0.0 [1.0.1]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.0...v1.0.1 [1.0.2]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.1...v1.0.2 [1.0.3]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.2...v1.0.3 [1.0.4]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.3...v1.0.4 [1.0.5]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.4...v1.0.5 [1.0.6]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.5...v1.0.6 [1.0.7]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.6...v1.0.7 [1.0.8]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.7...v1.0.8 [1.0.9]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.8...v1.0.9 [1.0.10]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.9...v1.0.10 [1.0.11]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.10...v1.0.11 [1.0.12]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.11...v1.0.12 [1.0.13]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.12...v1.0.13 [1.0.14]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.13...v1.0.14 [1.0.15]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.14...v1.0.15 [1.0.16]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.15...v1.0.16 [1.0.17]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.16...v1.0.17 [1.0.18]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.17...v1.0.18 [1.0.19]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.18...v1.0.19 [1.0.20]: https://github.com/shumatsumonobu/pdf-live/compare/v1.0.19...v1.0.20