Releases: paperchase-labs/tenderness
Releases · paperchase-labs/tenderness
Release list
v0.3.0
tenderness v0.3.0
Release Notes
Released on 2026-08-04
Added
[docs]Add install validation and macOS troubleshooting sections.[document_pipeline]AllowDocumentConfig.block_specto accept alist[BlockPosition]of pre-computed positions, bypassing the flexbox engine.[tests]Add test coverage forDocumentSetupHelpers.resolve_block_positionsacross the unset,MinimalFlexNode, andlist[BlockPosition]code paths.
Changed
[deps]Remove thePyGObject < 3.52.0pin.[pango_backend]Fix compatibility with PyGObject 3.56+.
Full Changelog: v0.2.1...v0.3.0
v0.2.1
tenderness v0.2.1
Bug Fixes
- Bounding boxes: Fixed incorrect
byte_indexreconstruction for\r\npairs in character bounding box extraction. Pango reports the samebyte_indexfor both characters in a\r\nsequence, which previously caused incorrect byte offsets for\n. Added stall detection (prev_byte_indextracking) to correctly offset\nto its real byte position.
Testing & Docs
- Extended test coverage across all extraction levels for
\r,U+2028(line separator),U+2029(paragraph separator),\t, and RTL line-break combinations. - Updated documentation to describe per-level line-break behavior, including the
U+2028exception.
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's new in v0.2.0
Document pipeline
- Replaced the standard render pipeline with a new document pipeline (
tenderness.pipelines.document), featuring a more composable API with dedicated helpers for text blocks, table blocks, image blocks, and bounding box drawing. - See examples: https://paperchase-labs.github.io/tenderness/examples/document-pipeline-examples/
Features
to_dict()methods onTextBoundingBoxes,CharBBox,ClusterBBox, and related bounding box classes- Expanded flexbox layout templates (documents, tables, flow)
- Resolution handling for font maps in
FontSetupandLayoutContextInterface - Refactored drawing utilities
Other
- Updated project metadata and classifiers
- Added tox configuration
- Updated docstings
Full Changelog: v0.1.0...v0.2.0