Releases: borb-pdf/borb
v3.0.5
📣 borb v3.0.5
Improvements & Maintenance:
- Introduced a template repository for
borbadd-ons, improving consistency and maintainability across extensions. - Aligned the main
borbrepository more closely with the add-on template, including updates toGitHubworkflows. - 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
📣 borb v3.0.4
Features:
- Improved typing across the codebase: focused on satisfying
mypyand correcting type annotations. - Improved font logic: font names no longer contain special characters.
- Corrected documentation for the
LayoutElementpaintmethod. - Improved
Watermarkclass: now correctly renders a translucent image over aPage. - Fixed background rendering bug in
LayoutElement. - Added
Regexto 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
📣 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_paragraphimplementation (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_contentsroutines: 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
maintenance release, featuring better PDF reading
v3.0.1
This is a major release (including breaking changes).
Some notable features include:
borbno longer usesDecimalthus making the code a bit easierborbavoids using non-python files, this was giving some people issues when attempting to packageborbAnnotationobjects are now part of theLayoutElementframework
The examples-repository has already been updated to showcase the new code, but expect minor updates to fine-tune it.
v3.0.0
This is a major release (including breaking changes).
Some notable features include:
borbno longer usesDecimalthus making the code a bit easierborbavoids using non-python files, this was giving some people issues when attempting to packageborbAnnotationobjects are now part of theLayoutElementframework
The examples-repository has already been updated to showcase the new code, but expect minor updates to fine-tune it.
v2.1.25
📣 borb release notes
This release features a minor bugfix in Paragraph related to text-alignment JUSTIFIED.
v2.1.24
📣 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_12test_add_paragraphs_using_pacificotest_add_paragraphs_using_shadows_into_light
Some tests have been added to guard code quality:
TestCodeFilesContainSortedMethodsTestCodeFilesContainVisibilityCommentsTestCodeFilesDoNotContainNumbersInMethodsTestCodeFilesNeverUseKeyring
v2.1.23
📣 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:
TestCodeFilesAreSmallTestCodeFilesContainVisibilityCommentBlocksTestCodeFilesStartWithPythonBashTestCodeFilesUseFullyQualifiedBorbImportsTestCodeFilesUseKnownExternalImportsTestCodeFilesUseSingleLineImports
v2.1.22
📣 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.
FaceDetectionEventListenerruns through aDocumentand triggers_face_occurredwhenever a face is detected (in an image)FaceEraserEventListener(based onFaceDetectionEventListener) adds the typical (pixelated) blur to any detected face