Repository navigation
Update dependency docx to v9.8.0 - #430
Merged
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Jamesking56
approved these changes
Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
9.7.2→9.8.09.8.1Release Notes
dolanmiu/docx (docx)
v9.8.0Compare Source
9.8.0 is one of the biggest releases of
docxyet. It adds charts, shapes and watermarks, and a lot more math. Each has its own entry point (docx/charts,docx/shapes,docx/watermarksanddocx/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.
patchDocumentcan put a newChartRunwhere a placeholder is, andChartDataPatchgives 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 aShapeCanvasRunand 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 fromdocxkeeps 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
themeoption. 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.patchDocumentworks 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)
* 18-23 * * *)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.