diff --git a/CHANGELOG.md b/CHANGELOG.md index 844d4f9..218c0d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,24 @@ Brick changelog --------------- +1.5 +--- + +This release focuses on API improvements in `Brick.Widgets.Dialog`: + +* `Dialog` got an additional type argument, `n`, for resource names. +* The `dialog` constructor now takes `[(String, n, a)]` rather than + `[(String, a)]`; this allows the caller to associate a resource name + with each dialog button. +* Dialog buttons now report click events under their associated resource + names. +* Dialog buttons now `putCursor` when they are focused in order to work + better with screen readers. +* The `Dialog` module got `getDialogFocus` and `setDialogFocus` + functions to help with focus management, and as part of this change, + the `dialogSelectedIndex` function and its lens `dialogSelectedIndexL` + were removed. + 1.4 --- diff --git a/brick.cabal b/brick.cabal index d666616..ff676ce 100644 --- a/brick.cabal +++ b/brick.cabal @@ -1,5 +1,5 @@ name: brick -version: 1.4 +version: 1.5 synopsis: A declarative terminal user interface library description: Write terminal user interfaces (TUIs) painlessly with 'brick'! You