Skip to content

Version 1.2.0

Latest
Compare
Choose a tag to compare
@GuardKenzie GuardKenzie released this 20 Sep 14:53
· 7 commits to main since this release
f75dbb7

Summary

Added bindings for most of the new API introduced in Chafa version 1.14

New stuff

  • 🖼️ Added the Frame, Image and Placement classes which allow you to control how the image is placed on the canvas. Also added the Canvas.placement property to assign a placement to the canvas.
  • 🔢 Added the Tuck and Align enumerators to be used with Placement
  • 🎛️ Added the TermInfo.emit() method which allows you to emit terminal control sequences to do cool stuff like move the cursor around and make animations:

  • 🏗️ Restructured the src/chafa directory and broke the main chafa.py file into multiple different Python files where appropriate.
  • 🔨 Moved MacOS arm builds to GitHub Actions and changed the cibuildwheel Linux image to manylinux_2_28

What's missing

There are no bindings yet for chafa_canvas_print_rows and chafa_canvas_print_rows_strv


Full Changelog: v1.1.0...v1.2.0

If you are having trouble, head over to the discussions and if you find a bug, please open an issue.

Ps:

Sorry this release took such a long time, and for my inactivity. I have been busy with graduating with a bachelor's in mathematics, moving countries, starting my master's program, recovering from surgery and just general life stuff. Hopefully the next release will not take so long, hehe.

Have fun
❤️