Skip to content

Update dependency docx to v9.8.0 - #430

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/all-minor-patch
Oct 1, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/all-minor-patch

Conversation

@renovate

@renovate renovate Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change Pending OpenSSF
docx (source) devDependencies minor 9.7.2 → 9.8.0 9.8.1 OpenSSF Scorecard

Release Notes

dolanmiu/docx (docx)

v9.8.0

Compare Source

9.8.0 is one of the biggest releases of docx yet. It adds charts, shapes and watermarks, and a lot more math. Each has its own entry point (docx/charts, docx/shapes, docx/watermarks and docx/math), so your bundle only includes the ones you import.

Charts are native Word charts, not pictures. Word draws them from their data in the document's theme, and Edit Data opens that data in Excel. You can make column, bar, line, area, pie, doughnut, pie of pie, bar of pie, radar, scatter, bubble, stock and combo charts, with trendlines, error bars, categories in groups and more. Charts also work in templates. patchDocument can put a new ChartRun where a placeholder is, and ChartDataPatch gives new data to a chart made and styled in Word while keeping its look.

Shapes cover Word's preset shapes (rectangles, ellipses, arrows, callouts, flowchart symbols and the rest), plus custom shapes drawn from SVG paths. You can group shapes with ShapeGroupRun, or join them with connectors on a ShapeCanvasRun and let automatic layout place them, which is how you'd build flowcharts, org charts and swimlane diagrams. Math gains matrices, cases, equations lined up with numbers, and brackets made of any characters. Math you already import from docx keeps working there. Watermarks are text or pictures behind every page, and Word recognises them in its own Design > Watermark menu.

Every document now has a theme, and you can set its colours and fonts with the theme option. Text, underlines, borders, shading, shapes and the page background can use theme colours, and text can use the theme's heading or body font, so they all change when the theme is changed in Word. patchDocument works out theme colours from the template's own theme.

Every demo's document is now checked with the Open XML SDK validator in CI, and this release fixes everything it found. Thank you to everyone who contributed, and welcome to our five new contributors: @​slmnsh added image cropping, @​theunal watermarks, @​holm run properties on ImageRun, and @​omartuhintvs and @​fushanbobfan fixes to tables and the patcher.

What's Changed

New Contributors

Full Changelog: dolanmiu/docx@9.7.2...9.8.0


Configuration

📅 Schedule: (in timezone Europe/London)

  • Branch creation
    • Between 06:00 PM and 11:59 PM (* 18-23 * * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ 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 Oct 1, 2026
@renovate
renovate Bot enabled auto-merge (squash) October 1, 2026 17:56
@renovate
renovate Bot requested a review from Jamesking56 as a code owner October 1, 2026 17:56
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updateddocx@​9.7.2 ⏵ 9.8.010010010091 +2100

View full report

@renovate
renovate Bot merged commit 6d0a9e7 into main Oct 1, 2026
10 checks passed
@renovate
renovate Bot deleted the renovate/all-minor-patch branch October 1, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant