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.
- Support abstract images with dashed lines in the PDF exporter
- pdfkit 0.12.x -> 0.15.0
- React 16 -> 18
- Rambda
- Added added
fontWeight
to TextStyle as an alternative to specify font weight. This will override the flagslight
,normal
,bold
,mediumBold
andextraBold
. - Added the additional font weights
light
andextraBold
to TextSyle
- Fixed bug where descendant text styles didn't override font weight correctly
6.15.0 - 2024-02-09
- Added support for explicit line breaks inside paragraphs
- Custom XML elements
- Exported ImageResources type
- Added an XML validator using Mustache
- Added export options for creating PDFs, allows setting a compression flag for smaller file size
6.10.4 - 2023-04-25
- Abstract doc xml
v.6.9.6 - 2023-04-13
- Improve table layout measurement for long cells combined with row spans
v.6.9.5 - 2023-04-13
- Improve table layout measurement for long cells combined with row spans
v.6.9.4 - 2022-10-03
- Word text uses the font from style.fontFamily
v.6.9.3 - 2022-06-09
- Placeholder for TocSeparator in word
- Grouping implemented with keepNext for word
- Fix for page orientation in word
v.6.9.0 - 2022-06-03
- Support for PNG and URL images with upgrade of abstract-image to 3.3.0
- Fix for docx, now parsing page dimensions.
v6.8.1 - 2022-04-07
- Fixed crash when an SVG has 0 in a dasharray
v6.8.0 - 2022-03-04
- Added width field for TocSeparator
v6.7.2 - 2022-02-16
- Fixed footers height being too large when using absolute positioned elements
- Fixed text style property 'underline' now affecting if hyperlinks get underlined or not. By default hyperlinks are underlined.
v6.7.0 - 2022-02-15
- Added baseline text style field
v6.6.0 - 2022-02-09
- Added absolute positioning for section elements when rendering PDFs in abstract document
- Fixed margin left and right not affecting paragraphs
v6.5.1 - 2022-01-05
- Added italic and mediumBold as options for texts in abstract image
- Fixed bold text rendering for abstract image texts
v6.4.0 - 2021-11-24
- Add feature to allow setting border colors of cells separately
- Add table cell parameter "rowSpan" to allow setting the number of rows a cell should span
- Allow tables to be split and continue on the next page if they overflow a page
- Add support for repeatable headers for tables
- Catch-up of the changelog.
- Parsing svg colors to lower case to work with Svg-To-PdfKit.
- Splitting tables if they are directly after each other.
- Fix crash when tables has no rows
- Fix table layout when using Infinity on column widths
- Fix cell border widths not setting properly
v6.0.1 - 2021-09-02
- Reminder to update changelog.
v6.0.0 - 2021-09-02
- Positioning for sub/super script has been changed.
- New logic for concatinating textatoms within the same paragraph.
- Fixed alignment offset for underscore.
- Fixed so vertical alignment in cells consider cell padding.
- Update react from 15.0.34 to 16.9.0.
- Fixes a crash when creating pdfs with markdown/svgs. Importing with * no longer works after the build/ts change.
v5.1.2 - 2021-05-25
- Added hyperlinks for Docx exporter.
- Added page orientation for Docx exporter.
- Added option to render abstract document to the Docx format.
v5.0.3 - 2021-03-29
- Added test for fonts.
- Added a compensation for text width in measure to avoid unintentional line break in pdfKit.
- Added a flag called 'lineBreak' to textStyle that if set to false will truncate text rather than making a line breaking if the available space is too short to fit the text. By default the flag is true.
-
Fixed for multiple elements in same cell to align.
-
Fixed vertical alignment of atom in a tableCell.
- Start of changelog.