Skip to content

Releases: datenanfragen/letter-generator

v2.2.1: Fix huge signature

05 Dec 20:35
7adbb49
Compare
Choose a tag to compare

What's changed

Full Changelog: v2.2.0...v2.2.1

v2.2.0: Only include string parts of information block

26 Oct 15:55
82f8852
Compare
Choose a tag to compare

What's Changed

  • Letter.toString(): Only include string parts of information block by @baltpeter in #16

Full Changelog: v2.1.0...v2.2.0

Add has:variable flags

19 Jul 10:09
aa50f76
Compare
Choose a tag to compare

To check if a variable exists and is not empty, you can now use the has:variableflags in the template which will add the text to the template is if the given variable is set, instead of creating your own custom flags for that.

Breaking Changes:
Other than before, all instances of a variable are replaced in the template instead of just the first one.

Updated pdfmake version

14 Jun 11:44
d0743e3
Compare
Choose a tag to compare

Thanks to #14, including pdfmake should be safer now, so you don't have to allow unsafe-eval in your CSP.

Exported types

31 Mar 21:30
v2.0.1
481a649
Compare
Choose a tag to compare

You can now use the LetterProps, LayoutFunction and Signature types by importing them from the module.

v2.0.0...v2.0.1

v2.0.0: TypeScript!

31 Mar 18:50
0b5cd4f
Compare
Choose a tag to compare

Highlights

This release adds full TypeScript types (in fact the whole module is now written in TypeScript).

What's Changed

Full Changelog: https://github.com/datenanfragen/letter-generator/commits/v2.0.0