Skip to content

Commit

Permalink
Version 7.2.0!
Browse files Browse the repository at this point in the history
  • Loading branch information
bczsalba committed Aug 5, 2022
1 parent 906c1ec commit 8c65d28
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 24 deletions.
63 changes: 45 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
## [7.2.0] - 2022-08-05

### Additions

- Add various color manipulation utilities
- Add `#auto` TIM pseudo-tag that always gives properly contrasted foreground text
- Add `palettes` module for framework-wide color generation & configuration
- Add `Synchronized Output` support
- Add `FancyReprWidget`
- Add `ptg --palette` flag

### Bugfixes

- Fix markup aliases getting literalized during `parsing.eval_alias` & `MarkupLanguage.alias`
- Fix background colors creating vertical seams in SVG exports
- Fix colors getting localized pre-maturely

### Refactors

- Make all the `ptg` program & all builting widgets use the global palette

<!-- HATCH README END -->


## [7.1.0] - 2022-07-27

### Additions
Expand Down Expand Up @@ -293,21 +317,24 @@
- Fix blocking `getch` call on Windows


[7.1.0]: https://github.com/bczsalba/pytermgui/compare/7.0.0...7.1.0
[7.0.0]: https://github.com/bczsalba/pytermgui/compare/6.4.0...7.0.0
[6.4.0]: https://github.com/bczsalba/pytermgui/compare/6.0.0...6.4.0
[6.3.0]: https://github.com/bczsalba/pytermgui/compare/6.2.2...6.3.0
[6.2.2]: https://github.com/bczsalba/pytermgui/compare/6.2.1...6.2.2
[6.2.1]: https://github.com/bczsalba/pytermgui/compare/6.2.0...6.2.1
[6.2.0]: https://github.com/bczsalba/pytermgui/compare/6.1.0...6.2.0
[6.1.0]: https://github.com/bczsalba/pytermgui/compare/6.0.0...6.1.0
[6.0.0]: https://github.com/bczsalba/pytermgui/compare/5.0.0...6.0.0
[5.0.0]: https://github.com/bczsalba/pytermgui/compare/4.3.2...5.0.0
[4.3.2]: https://github.com/bczsalba/pytermgui/compare/4.3.1...4.3.2
[4.3.1]: https://github.com/bczsalba/pytermgui/compare/4.3.0...4.3.1
[4.3.0]: https://github.com/bczsalba/pytermgui/compare/4.2.0...4.3.0
[4.2.1]: https://github.com/bczsalba/pytermgui/compare/4.2.0...4.2.1
[4.2.0]: https://github.com/bczsalba/pytermgui/compare/4.1.0...4.2.0
[4.1.0]: https://github.com/bczsalba/pytermgui/compare/4.0.0...4.1.0
[4.0.1]: https://github.com/bczsalba/pytermgui/compare/4.0.0...4.0.1
[4.0.0]: https://github.com/bczsalba/pytermgui/compare/3.2.1...4.0.0
<!-- HATCH URI DEFINITIONS START -->

[7.2.0]: https://github.com/bczsalba/pytermgui/compare/v7.1.0...v7.2.0
[7.1.0]: https://github.com/bczsalba/pytermgui/compare/v7.0.0...v7.1.0
[7.0.0]: https://github.com/bczsalba/pytermgui/compare/v6.4.0...v7.0.0
[6.4.0]: https://github.com/bczsalba/pytermgui/compare/v6.0.0...v6.4.0
[6.3.0]: https://github.com/bczsalba/pytermgui/compare/v6.2.2...v6.3.0
[6.2.2]: https://github.com/bczsalba/pytermgui/compare/v6.2.1...v6.2.2
[6.2.1]: https://github.com/bczsalba/pytermgui/compare/v6.2.0...v6.2.1
[6.2.0]: https://github.com/bczsalba/pytermgui/compare/v6.1.0...v6.2.0
[6.1.0]: https://github.com/bczsalba/pytermgui/compare/v6.0.0...v6.1.0
[6.0.0]: https://github.com/bczsalba/pytermgui/compare/v5.0.0...v6.0.0
[5.0.0]: https://github.com/bczsalba/pytermgui/compare/v4.3.2...v5.0.0
[4.3.2]: https://github.com/bczsalba/pytermgui/compare/v4.3.1...v4.3.2
[4.3.1]: https://github.com/bczsalba/pytermgui/compare/v4.3.0...v4.3.1
[4.3.0]: https://github.com/bczsalba/pytermgui/compare/v4.2.0...v4.3.0
[4.2.1]: https://github.com/bczsalba/pytermgui/compare/v4.2.0...v4.2.1
[4.2.0]: https://github.com/bczsalba/pytermgui/compare/v4.1.0...v4.2.0
[4.1.0]: https://github.com/bczsalba/pytermgui/compare/v4.0.0...v4.1.0
[4.0.1]: https://github.com/bczsalba/pytermgui/compare/v4.0.0...v4.0.1
[4.0.0]: https://github.com/bczsalba/pytermgui/compare/v3.2.1...v4.0.0
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ pip3 install pytermgui
</a>
</p>


## Why?

Mostly because terminals are cool, but creating terminal apps has historically been difficult. PyTermGUI aims to provide a simple, readable and modular way to make the app of your dreams!
Expand Down Expand Up @@ -68,6 +67,8 @@ Additionally, there are a couple of neat tools to make your general Python devel
- A pretty printer for both the REPL and IPython
- A way to create SVG and HTML screenshots of your terminal

<!-- HATCH README END -->

## Examples

> All images below are generated directly from the source displayed by a PyTermGUI-powered SVG exporter tool, [Termage](https://github.com/bczsalba/termage).
Expand Down Expand Up @@ -153,7 +154,7 @@ with ptg.WindowManager() as manager:
manager.add(window)
```

This showcases the YAML-based config system, as well as some additional API. I recommended checking out the [source file](utils/readme_examples/contact.py) to see how the `submit` callback works.
This showcases the YAML-based config system, as well as some additional API. I recommended checking out the [source file](https://github.com/bczsalba/pytermgui/blob/master/utils/readme_scripts/contact.py) to see how the `submit` callback works.

<p align="center">
<img alt="Contact form example output" src="https://github.com/bczsalba/pytermgui/raw/master/assets/readme/contact.svg">
Expand Down Expand Up @@ -188,4 +189,4 @@ Pretty much every single name in the library, private or public, has an insightf

## Contributions, issues et al.

If you have any problems using the library, feel free to open up a discussion or raise an issue ticket. If you would prefer to hack on the library yourself, see the [contribution guidelines](CONTRIBUTING.md). Pull requests are encouraged, but make sure you aren't trying to fix an issue that others are already working on, for your own sake. :slightly_smiling_face:
If you have any problems using the library, feel free to open up a discussion or raise an issue ticket. If you would prefer to hack on the library yourself, see the [contribution guidelines](https://github.com/bczsalba/pytermgui/blob/master/CONTRIBUTING.md). Pull requests are encouraged, but make sure you aren't trying to fix an issue that others are already working on, for your own sake. :slightly_smiling_face:
Loading

0 comments on commit 8c65d28

Please sign in to comment.