Skip to content

2.0.0

Compare
Choose a tag to compare
@k00ni k00ni released this 16 Nov 12:02
· 75 commits to master since this release
4d6864a

Breaking Changes

❗All function parameters as well as return types of functions are typed now. That means, if you are using values which do not fit, you may receive Type errors. Most of it was done internally and you should not get bothered. In case you use internal functions, please check your code before go into production.

We initially decided to release 1.2.0 but finally jumped to 2.0.0 to include BC on a major release instead (see #480)

Highlights

  • massive code refactoring (thanks to @jee7, #440)
  • workaround to enable FPDFs (thanks to @izabala, #453)
  • Added cache for Documents object cache dictionary, which also results in better performance in some cases (thanks to @jee7, #434)
  • prevent endless loops during Page->getText() in some cases (thanks to @Nickmanbear, #457)
  • Fixes invalid return type on unknown glyphs (thanks to @PrinsFrank, #459)
  • Fix TypeError on Document::getFirstFont when no fonts are available (thanks to @PrinsFrank, #461)
  • Fix TypeError on default font when no fonts available (#466, thanks for @PrinsFrank)
  • Fix for extractRawData, extractDecodedRawData, getDataTm and getDataXY do not work with a Pdf file produced by FPDI/FPDF (#454, thanks to @izabala)
  • Test backend was improved by @j0k3r (#460)