Skip to content

Releases: dolanmiu/docx

3.4.0

10 Apr 20:58
Compare
Choose a tag to compare

3.2.0

08 Feb 10:06
Compare
Choose a tag to compare

3.2.0 brings huge features, notibily:

Image support
Footer and header support
Landscape + Portrait mode
Ability to change margins

Check out the demos!

Massive internal overhaul of project to make it easier to maintain, and easier to add new features.

Strict use of Prettier formatting
/src folder rather than /ts
Using webpack for building rather than tsc
Tests run all demos as part of the checks

3.1.0

06 Dec 01:42
Compare
Choose a tag to compare

Add PDF exporting support!

now when you create an exporter, you can use .packPdf() to export it as a PDF document instead:

var exporter = new docx.LocalPacker(doc);
exporter.packPdf('My Document');

3.0.1

19 Sep 15:03
Compare
Choose a tag to compare

3.0.0

16 Sep 23:21
Compare
Choose a tag to compare

2.1.3

16 Sep 16:49
Compare
Choose a tag to compare

2.1.1

08 Jul 20:40
Compare
Choose a tag to compare

Made XmlableObject non-ambient, which means the tsc compiler is able to include it in the typings

2.1.0

07 Jul 13:40
Compare
Choose a tag to compare

TypeScript definitions are now avaliable by default!

This means, if you are in a TypeScript project, you get autocomplete and all that good stuff without any extra configuration or packages.

Sorry that this wasn't avaliable earlier!

2.0.1

13 Apr 12:10
Compare
Choose a tag to compare

2.0.0

01 Apr 12:33
Compare
Choose a tag to compare

Breaking changes:

addTextRun is now addRun because soon you will be able to add picture runs. I found it a bit pointless having a new method for each new run addTextRun, addPictureRun etc. So instead, there will be one method which take any form of run!