Skip to content

Latest commit

 

History

History
227 lines (126 loc) · 6.55 KB

File metadata and controls

227 lines (126 loc) · 6.55 KB

Change Log

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.

[11.0.0] - 2024-05-19

Changed

  • pdfkit 0.12.x -> 0.15.0

[10.0.0] - 2024-04-05

Added

Changed

  • React 16 -> 18

Removed

  • Rambda

Added

  • Added added fontWeight to TextStyle as an alternative to specify font weight. This will override the flags light, normal, bold, mediumBold and extraBold.
  • Added the additional font weights light and extraBold to TextSyle

Changed

  • Fixed bug where descendant text styles didn't override font weight correctly

Removed

6.15.0 - 2024-02-09

Added

  • 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

Changed

Removed

6.10.4 - 2023-04-25

Added

  • Abstract doc xml

Changed

Removed

v.6.9.6 - 2023-04-13

Added

Changed

  • Improve table layout measurement for long cells combined with row spans

Removed

v.6.9.5 - 2023-04-13

Added

Changed

  • Improve table layout measurement for long cells combined with row spans

Removed

v.6.9.4 - 2022-10-03

Added

Changed

  • Word text uses the font from style.fontFamily

Removed

v.6.9.3 - 2022-06-09

Added

  • Placeholder for TocSeparator in word

Changed

  • Grouping implemented with keepNext for word
  • Fix for page orientation in word

Removed

v.6.9.0 - 2022-06-03

Added

  • Support for PNG and URL images with upgrade of abstract-image to 3.3.0

Changed

Removed

Added

Changed

  • Fix for docx, now parsing page dimensions.

Removed

v6.8.1 - 2022-04-07

Changed

  • Fixed crash when an SVG has 0 in a dasharray

v6.8.0 - 2022-03-04

Added

  • Added width field for TocSeparator

v6.7.2 - 2022-02-16

Changed

  • 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

  • Added baseline text style field

v6.6.0 - 2022-02-09

Added

  • Added absolute positioning for section elements when rendering PDFs in abstract document

Changed

  • Fixed margin left and right not affecting paragraphs

v6.5.1 - 2022-01-05

Added

  • Added italic and mediumBold as options for texts in abstract image

Changed

  • Fixed bold text rendering for abstract image texts

v6.4.0 - 2021-11-24

Added

  • 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

Changed

  • 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

Added

  • Reminder to update changelog.

v6.0.0 - 2021-09-02

Changed

  • 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

  • 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

  • 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.

Changed

  • Fixed for multiple elements in same cell to align.

  • Fixed vertical alignment of atom in a tableCell.

v4.3.16 - 2021-03-24

  • Start of changelog.