Skip to content

Releases: jorisschellekens/borb

v2.1.25

03 Aug 11:43
Compare
Choose a tag to compare

📣 borb release notes

This release features a minor bugfix in Paragraph related to text-alignment JUSTIFIED.

v2.1.24

16 Jun 19:23
Compare
Choose a tag to compare

📣 borb release notes

This release features GoogleTrueTypeFont which enables users to access the Google Font API,
to directly use a TrueTypeFont in borb by specifying its name.

Tests have been added for this feature:

  • test_add_paragraphs_using_jacquard_12
  • test_add_paragraphs_using_pacifico
  • test_add_paragraphs_using_shadows_into_light

Some tests have been added to guard code quality:

  • TestCodeFilesContainSortedMethods
  • TestCodeFilesContainVisibilityComments
  • TestCodeFilesDoNotContainNumbersInMethods
  • TestCodeFilesNeverUseKeyring

v2.1.23

15 May 23:18
Compare
Choose a tag to compare

📣 borb release notes

This release features A4PortraitResumeTemplate which offers a convenient way of making a resume.

Some tests have been added to guard code quality:

  • TestCodeFilesAreSmall
  • TestCodeFilesContainVisibilityCommentBlocks
  • TestCodeFilesStartWithPythonBash
  • TestCodeFilesUseFullyQualifiedBorbImports
  • TestCodeFilesUseKnownExternalImports
  • TestCodeFilesUseSingleLineImports

v2.1.22

19 Mar 18:41
Compare
Choose a tag to compare

📣 borb release notes

This release is more of an aesthetic release.

  • The imports have been reviewed,
  • a lot of code comments have been reviewed (adding parameters where needed)

A new feature (related to redaction) was added.

  • FaceDetectionEventListener runs through a Document and triggers _face_occurred whenever a face is detected (in an image)
  • FaceEraserEventListener (based on FaceDetectionEventListener) adds the typical (pixelated) blur to any detected face

v2.1.21

22 Jan 18:43
Compare
Choose a tag to compare

📣 borb release notes

  • Added A4PortraitInvoiceTemplate
  • Added tests for A4PortraitInvoiceTemplate
  • Bugfix in HeterogeneousParagraph
  • Refactor UsageStatistics

v2.1.20

17 Dec 21:02
Compare
Choose a tag to compare

📣 borb release notes

  • Added support for (some) password-protected PDF documents
  • Added test to check whether all imports are fully qualified
  • Added test to check whether all imports are in the requirements
  • Added test to check whether all imports are single line
  • Added CodeBlockWithSyntaxHighlighting LayoutElement
  • Ran black
  • Ran optimize imports
  • Removed dependency on lxml, which is only needed for HTMLToPDF

v2.1.19

11 Nov 11:41
Compare
Choose a tag to compare

📣 borb release notes

  • Added pretty much all the LayoutElement implementations to the easy imports.
  • Added a LayoutElement called Map with implementations MapOfEurope, MapOfTheUnitedStates and MapOfTheWorld. These LayoutElement instances draw a map of their respective territories, and allow you to mark one or multiple components with a different fill_color, stroke_color and line_width.
  • Fixed tests related to unsplash API.
  • Added tests for A4PortraitTemplate.
  • Added tests for A42ColumnPortraitTemplate.
  • Added tests for SlideTemplate.
  • Added TestCreateFullSlideTemplate. Check out this TestCase if you want a concrete example of how to use SlideTemplate to produce a beautiful slideshow in PDF.

v2.1.18

16 Oct 21:15
Compare
Choose a tag to compare

📣 borb release notes

  • Added some utility methods in LayoutElement
    • get_golden_ratio_landscape_box
    • get_golden_ratio_portrait_box
    • get_largest_landscape_box
    • get_smallest_landscape_box
  • Removed _calculate_min_and_max_layout_box from TableCell
  • Added tests for get_golden_ratio_landscape_box
  • Added tests for get_golden_ratio_portrait_box
  • Added utility class A4PortraitTemplate
    • This class represents an A4_PORTRAIT Document
    • It contains methods that allow you to directly add content to it
    • All the content-adding methods have sensible defaults (font, font_size, font_color, etc)
    • This class has a utility method to immediately save the Document
  • Added tests for A4PortraitTemplate
  • Fixed small bug in add_outline in Document

v2.1.17

03 Sep 17:06
Compare
Choose a tag to compare

📣 borb release notes

  • fixed bug in SingleColumnLayoutWithOverflow
  • replaced list += [] by list.append() for performance reasons

v2.1.16

30 Jul 14:52
Compare
Choose a tag to compare

📣 borb release notes

  • add Watermark LayoutElement, representing a piece of text laid out over the entire Page. Users can specify the text, font_size, font_color, rotation, and transparency
  • add Watermark to easy imports
  • add tests for Watermark
  • re-implement MultiColumnLayout, with better handling of headers and footers
  • update requirements.txt where possible
  • reworked a couple of tests, ensuring they can run without dependencies as well
  • added a fair use warning to ensure people know the difference between using borb in an open-source vs. commercial setting. This warning is only triggered when producing a high volume of PDF documents.