Releases: datenanfragen/letter-generator
v2.2.1: Fix huge signature
What's changed
- Fixes #12: Give signature image a maxWidth by @baltpeter in #17
Full Changelog: v2.2.0...v2.2.1
v2.2.0: Only include string parts of information block
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
To check if a variable exists and is not empty, you can now use the has:variable
flags 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
Thanks to #14, including pdfmake should be safer now, so you don't have to allow unsafe-eval
in your CSP.
Exported types
You can now use the LetterProps
, LayoutFunction
and Signature
types by importing them from the module.
v2.0.0: TypeScript!
Highlights
This release adds full TypeScript types (in fact the whole module is now written in TypeScript).
What's Changed
- Remove width from signature by @zner0L in #3
- Add README.md by @romain325 in #4
- Bump path-parse from 1.0.6 to 1.0.7 by @dependabot in #7
- Fixes #8: Migrate code base to TypeScript by @baltpeter in #9
- Bump minimist from 1.2.0 to 1.2.6 by @dependabot in #10
Full Changelog: https://github.com/datenanfragen/letter-generator/commits/v2.0.0