Skip to content

Releases: borb-pdf/borb

v3.0.5

24 Jan 09:45

Choose a tag to compare

📣 borb v3.0.5

Improvements & Maintenance:

  • Introduced a template repository for borb add-ons, improving consistency and maintainability across extensions.
  • Aligned the main borb repository more closely with the add-on template, including updates to GitHub workflows.
  • Updated code formatting to a newer version of black, ensuring consistent formatting going forward.
  • Fixed a bug where very small PDFs could trigger an assertion error during processing.
  • Made usage statistics truly optional by guarding the requests import with a try/except, avoiding failures when the dependency is not installed.

These release notes were AI-generated based on a provided list of changes, and while care was taken to reflect them accurately, they may still contain errors or omissions.

v3.0.4

11 Jan 22:49

Choose a tag to compare

📣 borb v3.0.4

Features:

  • Improved typing across the codebase: focused on satisfying mypy and correcting type annotations.
  • Improved font logic: font names no longer contain special characters.
  • Corrected documentation for the LayoutElement paint method.
  • Improved Watermark class: now correctly renders a translucent image over a Page.
  • Fixed background rendering bug in LayoutElement.
  • Added Regex to the toolkit: enables searching for a regular expression and returns rectangles that can be used for further processing.
  • Added a second decompression attempt in FlateDecode.
  • Improved PDF reading logic.

These release notes were AI-generated based on a provided list of changes, and while care was taken to reflect them accurately, they may still contain errors or omissions.

v3.0.3

16 Nov 23:18

Choose a tag to compare

📣 borb v3.0.3

Features:

  • Improved PDF reading engine: better error handling and more resilient parsing.
  • Optimized import graph: cleaned up imports for better maintainability and slightly reduced footprint.
  • Extensive type-checking / typing cleanup across modules: many commits focused on improving type hints, catching edge cases, and satisfying mypy.
  • New self_truncating_heterogeneous_paragraph implementation (and associated caching fixes): improves how paragraphs compute line breaks.
  • Improved calendar / view UI elements (DayView, WeekView, CalendarView): better default argument handling, docstrings, and bug fixes.
  • Refactored table_of_contents routines: fixed static methods and default mutable arguments.
  • Adjustments to list layout: correct margin handling between bullets and content.
  • Byte-offset recalculation in cross-reference visitor: increases robustness when reading complex PDFs.
  • Documentation enhancements: added or improved docstrings in several areas, especially in layout- and calendar-related code.

These release notes were AI-generated based on the borb commit history, and while care was taken to interpret the changes accurately, they may still contain errors or omissions.

v3.0.2

12 Jul 10:30

Choose a tag to compare

v3.0.2 Pre-release
Pre-release

maintenance release, featuring better PDF reading

v3.0.1

24 Jun 22:01

Choose a tag to compare

v3.0.1 Pre-release
Pre-release

This is a major release (including breaking changes).

Some notable features include:

  • borb no longer uses Decimal thus making the code a bit easier
  • borb avoids using non-python files, this was giving some people issues when attempting to package borb
  • Annotation objects are now part of the LayoutElement framework

The examples-repository has already been updated to showcase the new code, but expect minor updates to fine-tune it.

v3.0.0

31 May 10:48

Choose a tag to compare

v3.0.0 Pre-release
Pre-release

This is a major release (including breaking changes).

Some notable features include:

  • borb no longer uses Decimal thus making the code a bit easier
  • borb avoids using non-python files, this was giving some people issues when attempting to package borb
  • Annotation objects are now part of the LayoutElement framework

The examples-repository has already been updated to showcase the new code, but expect minor updates to fine-tune it.

v2.1.25

03 Aug 11:43

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

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

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

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