Releases: simonbengtsson/jsPDF-AutoTable
Releases · simonbengtsson/jsPDF-AutoTable
v4.0.0
Mostly minor changes but bumping major version due to old deprecation removals and upgrade to jsPDF 3.0 (that removes support for internet explorer).
- Jspdf 3.0 (removes support for internet explorer)
- You can now import autoTable with a named import
import { autoTable } from ‘jspdf-autotable’)
. The previously exported autoTable type is now exported asautoTableInstanceType
instead. - Removed long time deprecations
- Removed support for all old options and styles that was soft removed and deprecated in v3.0
- Removed old ways to get information of the last autoTable drawn:
doc.previousAutoTable
,doc.autoTable.previous
anddoc.autoTableEndPosY
. Now you should usedoc.lastAutoTable
. - Removed
Table#pageCount
field. You should now useTable#pageNumber
. - Removed old column/body way of calling autoTable
doc.autoTable(columns, body, options)
. You should now useautoTable(doc, options)
ordoc.autoTable(options)
. - Removed
doc.autoTableAddPageContent
. You should now usejsPDF.autoTableSetDefaults({didDrawPage: () => {}})
- Removed
doc.autoTableAddPage()
. You should now usedoc.addPage()
.
v3.8.4
v3.8.3
Remove console log
v3.8.2
v3.8.1
What's Changed
Full Changelog: v3.8.0...v3.8.1
v3.8.0
What's Changed
- Adding the new option horizontalPageBreakBehaviour. When set to "immediately" pages slit with horizontal page break are included immediately after each instead of at the end the document. By @lucaslm in #1012
New Contributors
Full Changelog: v3.7.1...v3.8.0
v3.7.1
- Improve support for custom build configs (older typescript versions etc)
v3.7.0
What's Changed
- Fix horizontalPageBreak infinite loop + refactor by @mmghv in #999
- Add support for lineHeightFactor by @mmghv in #1000
- Fix lineWidth object bug with fillColor: null by @mmghv in #1002
- Support css parsing of individual borders sides by @mmghv in #1003
- Update dependencies to latest version
Full Changelog: v3.6.0...v3.7.0