Borb

Latest version: v2.1.25

Safety actively analyzes 681844 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 12

2.1.4

This release is a maintenance/feature release.
- Fixed inconsistent function names in `borb.toolkit`
- Updated examples repository
- Fixed issue with `deepcopy` on `borb` objects
- Added tests for `deepcopy`
- Added more random text generators so users can pick a flavor
- Added `SmartArt` to allow document designers to easily create beautiful charts and illustrations
- Added tests for `SmartArt`
- More `SmartArt` to come in future releases

2.1.3

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.

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.

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.

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

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

Page 4 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.