jsPDF v2.2.0 Release Notes

Release Date: 2020-12-07 // 11 months ago
  • Incorporates many of the awesome contributions in context of the Hacktoberfest. Thanks to all the contributors!

    • #2944: Fix PDF compression. Special thanks to @markotaht!
    • ๐Ÿ‘ #2959: Add support for PDF encryption. Special thanks to @owenl131!
    • #3018: Fix font name escaping
    • #3017: Fix dependencies in bower.json
    • #3014: Added typings for the events API
    • #2982: Bump dompurify version to fix cve-2020-7691
    • #2981: Fix Canvg import
    • ๐Ÿš€ #2946: Remove API, that was removed in the 2.0.0 release, also from the typings
    • #2943: Fix links on pages with different size than the first page
    • #2942: Fix multiline texts in combination with the maxWidth text option
    • #2933, #3021: Fix typings of exported types like ImageCompression
    • ๐Ÿ“š #2915: Fix documentation of text method
    • #2906: Fix "Could not load <module>" error messages
    • #2905: Fix usages of atob/btoa in Internet Explorer and "old Edge"

Previous changes from v2.1.1

    • ๐Ÿ“š #2893, #2880: Fixed html() typings and JSDoc documentation
    • #2884: Fix type of events in typings
    • ๐Ÿ— #2881: Fix building jsPDF with Parcel v2