Update dependency jspdf-autotable to v5 #1100
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.8.4
->5.0.2
Release Notes
simonbengtsson/jsPDF-AutoTable (jspdf-autotable)
v5.0.2
Compare Source
v5.0.1
Compare Source
v5.0.0
: v5.0Compare Source
Summary of changes in 5.0.0-5.0.2
jspdf-autotable/es
path anymore)Plugin no longer applied automatically
In this release the plugin is no longer auto applied to jsPDF in none browser environments. This is a breaking change for users that for example uses this plugin in node js and call autoTable method on the jsPDF doc instance (doc.autoTable({...}).
It is now recommended to import the autoTable method and pass it the jsPDF doc instance.
If you want to keep calling the plugin method on the jsPDF doc instance you can also apply the plugin to it yourself using applyPlugin:
v4.0.0
Compare Source
Mostly minor changes but bumping major version due to old deprecation removals and upgrade to jsPDF 3.0 (that removes support for internet explorer).
import { autoTable } from ‘jspdf-autotable’)
. The previously exported autoTable type is now exported asautoTableInstanceType
instead.doc.previousAutoTable
,doc.autoTable.previous
anddoc.autoTableEndPosY
. Now you should usedoc.lastAutoTable
.Table#pageCount
field. You should now useTable#pageNumber
.doc.autoTable(columns, body, options)
. You should now useautoTable(doc, options)
ordoc.autoTable(options)
.doc.autoTableAddPageContent
. You should now usejsPDF.autoTableSetDefaults({didDrawPage: () => {}})
doc.autoTableAddPage()
. You should now usedoc.addPage()
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.