v0.11.0
Breaking Changes
- Pango objects with matching setter and getter methods have been converted to properties. See #47. For example, with the
Layout
object:layout.get_text()
is nowlayout.text
layout.set_text('Hi from Παν語')
is nowlayout.text = 'Hi from Παν語'
layout.get_pointer()
is nowlayout.pointer
- Note: For now, some computed properties are still named as
layout.get_size()
andlayout.get_line_count()
.
layout.set_markup()
has been renamed tolayout.apply_markup()
. #47
Bug Fixes
color.copy()
now correctly copies the blue component, instead of resetting to0
. #47
Internal Improvements
- Tests are now run for Python 3.10. #43, #45
- Fixed GitHub Action tests for Windows. #45
- Fixed linting issue in
attr_list.py
. #45 - Added documentation on how to make contributions to pangocffi. #46
- Added full dev dependencies to
requirements.txt
. #46 - The GitHub Action for linting was extracted out of the build/test action to make contributions easier. #48
- Updated GitHub Action dependency versions. #48
- All Pango objects have been refactored as
PangoObject
. #47