Skip to content

v0.11.0

Compare
Choose a tag to compare
@leifgehrmann leifgehrmann released this 07 Oct 19:27
· 15 commits to master since this release

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 now layout.text
    • layout.set_text('Hi from Παν語') is now layout.text = 'Hi from Παν語'
    • layout.get_pointer() is now layout.pointer
    • Note: For now, some computed properties are still named as layout.get_size() and layout.get_line_count().
  • layout.set_markup() has been renamed to layout.apply_markup(). #47

Bug Fixes

  • color.copy() now correctly copies the blue component, instead of resetting to 0. #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