Releases: simonbengtsson/jsPDF-AutoTable
Releases · simonbengtsson/jsPDF-AutoTable
v3.5.10
Support setting width of colspan columns width minCellWidth
.
v3.5.9
Support for jspdf 2.0
v3.5.6
v3.5.4
- Exported hooks types
- Removed noisy error log
- Internal refactorings that is affecting some hook types that should very rarely be used
v3.5.3
v3.5.0
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
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