diff --git a/CHANGES b/CHANGES
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
 User-visible changes in hledger-ui.
 See also hledger's change log.
 
+0.27.4 (2016/5/19)
+
+- ensure we have the Show instance for functions, needed since regex-tdfa 1.2.2
+
 0.27.3 (2016/1/12)
 
 - allow brick 0.4
diff --git a/Hledger/UI/UITypes.hs b/Hledger/UI/UITypes.hs
--- a/Hledger/UI/UITypes.hs
+++ b/Hledger/UI/UITypes.hs
@@ -4,6 +4,8 @@
 import qualified Graphics.Vty as V
 import Brick
 import Brick.Widgets.List (List)
+import Text.Show.Functions ()
+  -- ensure we have the Show instance for functions. Warning, this also re-exports it
 
 import Hledger
 import Hledger.UI.UIOptions
diff --git a/hledger-ui.cabal b/hledger-ui.cabal
--- a/hledger-ui.cabal
+++ b/hledger-ui.cabal
@@ -3,7 +3,7 @@
 -- see: https://github.com/sol/hpack
 
 name:           hledger-ui
-version:        0.27.3
+version:        0.27.4
 stability:      beta
 category:       Finance, Console
 synopsis:       Curses-style user interface for the hledger accounting tool
@@ -54,7 +54,7 @@
   ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
   if flag(threaded)
     ghc-options: -threaded
-  cpp-options: -DVERSION="0.27.3"
+  cpp-options: -DVERSION="0.27.4"
   build-depends:
       hledger >= 0.27 && < 0.28
     , hledger-lib >= 0.27 && < 0.28
