Bump version, update changelog

This commit is contained in:
Jonathan Daugherty 2021-04-29 12:34:02 -07:00
parent 0382c09753
commit 7d5fb8cd9d
2 changed files with 17 additions and 1 deletions

View File

@ -2,6 +2,22 @@
Brick changelog Brick changelog
--------------- ---------------
0.62
----
API changes:
* `Brick.Widgets.Core` got new functions
`crop{Left,Right,Bottom,Top}To`. Unlike the `crop...By` functions,
which crop on the specified side by a particular amount, these
`crop...To` functions crop on the specified side and take a desired
overall width of the final result and use that to determine how much
to crop. A widget `x` of width `w` could thus be cropped equivalently
with `cropLeftBy a x` and `cropLeftTo (w - a) x`.
Other changes:
* Added `programs/CroppingDemo.hs` to demonstrate the new (and
preexisting) cropping functions.
0.61 0.61
---- ----

View File

@ -1,5 +1,5 @@
name: brick name: brick
version: 0.61 version: 0.62
synopsis: A declarative terminal user interface library synopsis: A declarative terminal user interface library
description: description:
Write terminal user interfaces (TUIs) painlessly with 'brick'! You Write terminal user interfaces (TUIs) painlessly with 'brick'! You