From 4607e00b20d931351073eb9054ba6b35b70f9e12 Mon Sep 17 00:00:00 2001 From: Ali Abrar Date: Sun, 10 Nov 2024 15:57:43 -0500 Subject: [PATCH] Update changelog and version --- ChangeLog.md | 5 +++-- reflex-vty.cabal | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 9b61a6c..4dddf1e 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,8 +1,9 @@ # Revision history for reflex-vty -## Unreleased +## 0.6.0.0 -* *Breaking Change*: `Reflex.Vty.Widget.Scroll.scrollable` now require child widgets to return a value in addition to their images and update events. Specifically, the child widget type has gone from `m (Behavior t Image, Event t ())` to `m (Behavior t Image, Event t (), a)`. +* *Breaking Change*: `Reflex.Vty.Widget.Scroll.scrollable`'s type has changed. The child widget no longer has to return images (see `captureImages` below), but can return a value. Specifically, the child widget type has gone from `m (Behavior t Image, Event t ())` to `m (Event t (), a)`. +* *Breaking Change*: Instance of `HasImageWriter` must now implement `captureImages`, a function that allows the `Image`s produced by a widget to be intercepted and not rendered. This is used to implement `scrollable`. ## 0.5.2.1 * Extend version bounds diff --git a/reflex-vty.cabal b/reflex-vty.cabal index baf9f59..e9139a9 100644 --- a/reflex-vty.cabal +++ b/reflex-vty.cabal @@ -1,5 +1,5 @@ name: reflex-vty -version: 0.5.2.1 +version: 0.6.0.0 synopsis: Reflex FRP host and widgets for VTY applications description: Build terminal applications using functional reactive programming (FRP) with Reflex FRP ().