Skip to content

Releases: simonbengtsson/jsPDF-AutoTable

v3.5.10

02 Sep 09:23
Compare
Choose a tag to compare

Support setting width of colspan columns width minCellWidth.

v3.5.9

12 Aug 12:54
Compare
Choose a tag to compare

Support for jspdf 2.0

v3.5.6

23 Jun 23:34
Compare
Choose a tag to compare
  • Fix for autoTableEndPosY() #672
  • Update third party libs such as typescript to 3.9

v3.5.4

14 Jun 21:28
Compare
Choose a tag to compare
  • Exported hooks types
  • Removed noisy error log
  • Internal refactorings that is affecting some hook types that should very rarely be used

v3.5.3

30 Apr 08:41
Compare
Choose a tag to compare
  • Fix an issue crashing when cell sometimes spanning multiple pages #644
  • Fix a parsing of headers with autoTableHtmlToJson #643

v3.5.0

28 Apr 14:01
Compare
Choose a tag to compare

Added an exported autoTable method which can be used with typescript and alternative jsPDF version such as the yworks fork and the official nodejs dist files.

import jsPDF from 'jspdf'
// import jsPDF from 'yworks-pdf' using yworks fork
// import jsPDF from 'jspdf/dist/jspdf.node.debug' for nodejs support
import autoTable from 'jspdf-autotable'

const doc = new jsPDF()
autoTable(doc, { html: '#my-table' })
doc.save('table.pdf')

v3.4.5

26 Apr 20:29
Compare
Choose a tag to compare

Only internal changes in this release and improved types for typescript.

You still have to do the same dance to get types setup (examples/typescript). Once done the types you get will be the same as used in the library ensuring accuracy now and in the future. This includes both options, styles and hooks data.

Highlights for internal changes:

  • Strict typescript now used internally
  • Parameter dependency injection everywhere
  • Tests converted to typescript
  • Tests now mocking browser apis with jsdom
  • Eslint added

v3.4.3

12 Apr 17:48
Compare
Choose a tag to compare

Fix for use with custom fonts #632

v3.4.2

11 Apr 00:38
Compare
Choose a tag to compare

Improved text alignment that takes into account cell padding #631 #623

Creds to @mmghv

v3.4.1

09 Apr 14:45
Compare
Choose a tag to compare