Skip to content

Update dependency jspdf-autotable to v5#1100

Merged
pascalberger merged 2 commits intodevelopfrom
renovate/jspdf-autotable-5.x
Jul 5, 2025
Merged

Update dependency jspdf-autotable to v5#1100
pascalberger merged 2 commits intodevelopfrom
renovate/jspdf-autotable-5.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 18, 2025

This PR contains the following updates:

Package Update Change
jspdf-autotable major 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.0

Compare Source

Summary of changes in 5.0.0-5.0.2

  • Breaking: The plugin is no longer auto applied to jsPDF in none browser environments (see more below)
  • The esm build file is now chosen automatically based on your packages environment (no need to use the jspdf-autotable/es path anymore)
  • HookData is now exported https://github.com/simonbengtsson/jsPDF-AutoTable/issues/1075
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.

import { jsPDF } from 'jspdf'
import { autoTable } from 'jspdf-autotable'

const doc = new jsPDF()
autoTable(doc, { ... })

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:

import { jsPDF } from 'jspdf'
import { applyPlugin } from 'jspdf-autotable'

 // This is now required in non browser environments to use the old
// way of calling autoTable on the jspdf doc instance.
applyPlugin(jsPDF)

const doc = new jsPDF()
doc.autoTable({ ... })

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).

  • 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 as autoTableInstanceType 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 and doc.autoTableEndPosY. Now you should use doc.lastAutoTable.
    • Removed Table#pageCount field. You should now use Table#pageNumber.
    • Removed old column/body way of calling autoTable doc.autoTable(columns, body, options). You should now use autoTable(doc, options) or doc.autoTable(options).
    • Removed doc.autoTableAddPageContent. You should now use jsPDF.autoTableSetDefaults({didDrawPage: () => {}})
    • Removed doc.autoTableAddPage(). You should now use doc.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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Mar 18, 2025
@renovate renovate bot requested a review from a team as a code owner March 18, 2025 10:43
@renovate renovate bot force-pushed the renovate/jspdf-autotable-5.x branch 8 times, most recently from 6f8b428 to be4e2c0 Compare March 25, 2025 06:23
@renovate renovate bot force-pushed the renovate/jspdf-autotable-5.x branch 4 times, most recently from 20965ef to ed2dece Compare April 3, 2025 11:33
@renovate renovate bot force-pushed the renovate/jspdf-autotable-5.x branch 4 times, most recently from b5fb8a1 to fea6a91 Compare April 9, 2025 21:50
@renovate renovate bot force-pushed the renovate/jspdf-autotable-5.x branch 4 times, most recently from f03ef35 to 70a9f5e Compare April 18, 2025 09:55
@renovate renovate bot force-pushed the renovate/jspdf-autotable-5.x branch 6 times, most recently from 9888691 to a7707d9 Compare April 30, 2025 12:26
@renovate renovate bot force-pushed the renovate/jspdf-autotable-5.x branch 2 times, most recently from 9a604f5 to 1f09440 Compare May 5, 2025 05:34
@renovate renovate bot force-pushed the renovate/jspdf-autotable-5.x branch from d42a388 to d3d503a Compare May 12, 2025 22:10
@renovate renovate bot force-pushed the renovate/jspdf-autotable-5.x branch 3 times, most recently from 100d5b1 to 968fe5b Compare May 22, 2025 14:45
@renovate renovate bot force-pushed the renovate/jspdf-autotable-5.x branch 8 times, most recently from 1e59917 to 0794d5a Compare June 7, 2025 09:18
@renovate renovate bot force-pushed the renovate/jspdf-autotable-5.x branch 4 times, most recently from 93d7a56 to d782368 Compare June 15, 2025 21:13
@renovate renovate bot force-pushed the renovate/jspdf-autotable-5.x branch 4 times, most recently from 3fe70ee to f9b2710 Compare July 4, 2025 22:53
@renovate renovate bot force-pushed the renovate/jspdf-autotable-5.x branch from f9b2710 to 9192904 Compare July 5, 2025 11:58
@pascalberger pascalberger added this to the vnext milestone Jul 5, 2025
@pascalberger pascalberger added the Area:Reporting:Generic Text based (HTML, Markdown, ) reports label Jul 5, 2025
@pascalberger pascalberger enabled auto-merge (squash) July 5, 2025 12:15
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Jul 5, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@pascalberger pascalberger merged commit 3a1779a into develop Jul 5, 2025
97 checks passed
@pascalberger pascalberger deleted the renovate/jspdf-autotable-5.x branch July 5, 2025 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area:Reporting:Generic Text based (HTML, Markdown, ) reports dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant