3.0.3 (2023-01-12)
3.0.2 (2022-10-22)
3.0.1 (2022-01-22)
3.0.0 (2022-01-17)
- deps: Dropped support for Node.js versions less than v14.17 and v15 to upgrade dev dependencies to their latest versions.
2.2.0 (2021-09-02)
2.1.0 (2021-09-02)
2.0.2 (2021-05-09)
- deps: [security] bump version (813ecab)
2.0.1 (2021-03-29)
2.0.0 (2020-06-29)
- deps: The compile target of the library changed from ES2015 to ES2018.
- deps: The compile target of the library changed from ES2015 to ES2018.
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
1.0.0 (2020-04-22)
- list: text content of a list item cannot be styled (#120) (453a96b), closes #67
- meta: do not forbid dates older than now (77790c8)
- list: The
addListItem
method on aList
no longer accepts a string and it doesn't automagically create a "hidden" paragraph. Instead an emptyListItem
is being created. On theListItem
instance it is now possible to add headings or paragraphs.
0.10.1 (2019-07-11)
- chore: update dev dependencies
0.10.0 (2019-06-05)
- style: add tab stop character and leader settings to paragraph style
0.9.0 (2019-05-30)
- style: add common styles
- style: allow page break to be before or after a paragraph, closes #31
- style: add keep-with-next flag to paragraph style
- style: add orphan & widow control, paragraph background, line height to paragraph style
- style: add margin settings to paragraph style
- style: add horizontal alignment of last line and line spacing to paragraph style
- style: add padding settings to paragraph style
- style: add font variant to paragraph style
- style: add border settings to paragraph style
- docs: add a realistic example
- chore: improve repository structure
- chore(ci): update distribution of Travis CI configuration
- style: tab stop is added as child of style:style element
0.8.0 (2019-02-26)
- font: extend font declaration
- document: Document title is not recognized by LibreOffice, closes #68
0.7.0 (2019-02-19)
- chore: Add automatically created API documentation, closes #16
- meta: Use
Date
instead ofnumber
when dealing with dates - style: Always use millimeter as unit, except for font size
- refactor: Split API and serialization logic, closes #60
- refactor: Apply JavaScript Standard Style, closes #61
- chore: Update dev dependencies, place test code next to production code, mention contributors in package.json
- chore: Add pull request template
0.6.0 (2018-10-12)
- meta: Set meta data of the document, closes #44
- paragraph: Add keep-together style (by @verheyenkoen)
- document: Declare all namespaces on creation of the text document, closes #30
- chore: Update dev dependencies
0.5.0 (2018-06-01)
- image: Move size configuration of an image to the image style, closes #41
0.4.0 (2018-05-19)
- chore: Add code coverage analysis with Codecov (by @oncletom), closes #17
- chore: Add static code analysis with Better Code Hub
- paragraph: Set color, font size and typeface to the text of a paragraph, closes #26
- paragraph: Set font family to a paragraph, closes #27
- paragraph: Apply text transformation to a paragraph, closes #34
- chore: Run TSLint on production and test code
- paragraph: Style now is of type
IParagraphStyle
0.3.1 (2018-05-10)
- paragraph: Types for
Image
,TabStop
andTabStopType
are not exported, closes #24
0.3.0 (2018-05-10)
- chore: Add continuous integration with Travis CI (by @oncletom), partly fixes #17
- paragraph: Add hyperlinks to a paragraph, closes #5
- paragraph: Add images to a paragraph, closes #7
- paragraph: Replace tab character with tab element, closes #10
- paragraph: Replace sequence of space characters with space element, closes #10
- paragraph: Define tab stops on a paragraph, closes #14
- chore: Update dependencies and fix jest configuration
- general: Full rewrite of the public API to use the terminology of the Open Document Format
- paragraph: Text breaks if
\r\n
is entered as text of a paragraph, closes #15
0.2.0 (2018-01-12)
- docs: Add CHANGELOG
- docs: Improve and extend README
- docs: Add badges (dependencies, known vulnerabilities, version) to README
- list: Add basic list support (add/insert/get/set/remove item)
- paragraph: Overwrite text content
- style: Get horizontal alignment
- test: Add integration test
- general: Export public API from / (no namespaces)
- paragraph: Rename text related functions in paragraph
- heading: Rename headline to heading
- heading: Add headings to a document and modify their outline level
- paragraph: Add paragraphs to a document and modify their text content
- paragraph: Set page break before paragraph
- paragraph: Set horizontal alignment
- text-document: Create text documents and save them as flat XML ODF document