- Deep rebuild of all the code to make it simpler to maintain – with bug fix and various improvements
- Added option
tableAutoSize
to let the program to definewidths
andheights
based on the inline CSS used - Changed the way the CSS numbers/units are handled: before only the number was parsed for a CSS property, now it checks if it's a 'PX', 'PT' or 'REM', then the number is converted to a 'PT' value because PDFMake uses this unit. For example, 16px will be converted to 12. All the other units ('vw', '%', …) will be ignored.
- Jumped to v2.0.0 to make sure people will be careful for existing projects