Skip to content

Releases: jorisschellekens/borb

v2.1.2

14 Sep 21:40
Compare
Choose a tag to compare

📣 borb release 2.1.2

This release is a minor bugfix release:

  • Following the large refactor of LayoutElement, some minor classes still needed to be updated to work with the new framework.
    Most notable among these is HTMLToPDF`.

  • GradientColoredDisjointShape has become GradientColoredDisconnectedShape to follow suit with the rename of DisjointShape to DisconnectedShape.

  • InlineFlow and BlockFlow have been moved to page_layout. Easy imports have been provided for them.

  • More convenient imports have been made possible for FormField elements.

  • The documentation of borb (to be found in the examples repository) has been given a major check.
    There is also a script that will automatically attempt to run each example code snippet.
    This should make it easier to detect when a new release breaks something in the examples repository.

v2.1.1

11 Sep 10:07
Compare
Choose a tag to compare

📣 borb release 2.1.1

This release is a feature release:

  • HTMLToPDF has been updated to ensure even more HTML syntax is supported
    • HTMLToPDF allows you to specify a typing.List[Font] of fallback fonts
    • This allows you to use non-western characters in HTML and markdown
  • MarkdownToPDF now uses HTMLToPDF (making it easier for me to maintain the code)
  • Added BlockFlow and InlineFlow elements
  • Added SingleColumnLayoutWithOverflow to enable certain LayoutElement implementations to be split across multiple Page objects. Currently only splitting of Table is supported.

v2.1.0

04 Sep 19:41
Compare
Choose a tag to compare
v2.1.0 Pre-release
Pre-release

📣 borb release 2.1.0

This release is a feature release:

  • The LayoutElement framework has had a major upgrade
    • Each LayoutElement now offers a get_layout_box method which tells you how much space a LayoutElement takes up
    • Each LayoutElement now offers a paint method which renders the LayoutElement on a Page
    • LayoutElement only adds its own content to the Page (previously it would change the order of page content to ensure backgrounds get drawn first)
  • As a result of these changes, layout is a bit faster in this release, compared to previous releases
  • All tests have been checked and changed to take into account the new behaviour
  • Tests that perform visual comparison ignore HexColor("00ff00"), which allows me to add the date of the test in the output, and still compare only the relevant pixels
  • MarkdownToPDF has been refactored to convert Markdown to HTML
  • HTMLToPDF still needs work to produce PDF documents

v2.0.32

07 Aug 21:40
Compare
Choose a tag to compare

📣 borb release 2.0.32

This release is a small bugfix release:

  • fixed Checkbox to produce valid PDF syntax
  • refactored a few tests to have consistent naming
  • included ProgressBar and ProgressSquare classes to make it easier to make reports
  • included TableUtil and TableUtil.from2DArray to make it easier to build tables

v2.0.31

31 Jul 20:32
Compare
Choose a tag to compare

📣 borb release 2.0.31

This release is a small bugfix release:

  • include ' as a valid postfix operator (improve text reading by 2%)

v2.0.30

23 Jul 09:58
Compare
Choose a tag to compare

📣 borb release 2.0.30

This release is a feature release.

  • Initial support for Font subsetting in PDF
  • Small fix for TextField appearance dictionary
  • Small fix for CheckBox appearance dictionary

v2.0.29

03 Jul 08:11
Compare
Choose a tag to compare

📣 borb release 2.0.29

This release is a feature release.

  • Remove the unneeded resources (tests and doc) from the build

v2.0.28

26 Jun 17:09
Compare
Choose a tag to compare

📣 borb release 2.0.28

This release is a feature release.

  • Massive rename of all append methodes to add for the sake of consistency
  • Introduced header_footer_multi_column_layout to enable a PageLayout with repeating header and footer
  • Remove unimplemented BoxLayout
  • Add header_row_color option to even_odd_row_colors method in Table

v2.0.27

04 Jun 11:15
Compare
Choose a tag to compare

📣 borb release 2.0.27

This release is a small bugfix release.

  • fixed RunLengthDecode
  • fixed ImageTransformer to allow reading (JPEG) images, even when the /Type and /Subtype entry are not set
  • fixed DocumentInfo.get_file_size()

v2.0.26

26 May 21:19
Compare
Choose a tag to compare

📣 borb release 2.0.26

This release is a small bugfix release.

  • fixed LZWDecode
  • add FarrowAndBall color definitions