diff --git a/ChangeLog.md b/ChangeLog.md
new file mode 100644
--- /dev/null
+++ b/ChangeLog.md
@@ -0,0 +1,3 @@
+## 0.9.1.2
+
+* Conditional compilation for `Binary Text` instance [#281](https://github.com/fpco/ide-backend/issues/281)
diff --git a/IdeSession/Util.hs b/IdeSession/Util.hs
--- a/IdeSession/Util.hs
+++ b/IdeSession/Util.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 {-# LANGUAGE TemplateHaskell, ScopedTypeVariables, DeriveFunctor, DeriveGeneric, StandaloneDeriving, GeneralizedNewtypeDeriving #-}
 {-# OPTIONS_GHC -fno-warn-orphans #-}
 module IdeSession.Util (
@@ -312,6 +313,7 @@
   Orphans
 -------------------------------------------------------------------------------}
 
+#if !MIN_VERSION_text(1,2,1)
 instance Binary Text where
   get   = do units <- Bin.get
              Bin.readNWith (units * 2) $ \ptr ->
@@ -321,5 +323,6 @@
              Bin.putBuilder $
                Bin.writeN (Text.lengthWord16 t * 2)
                           (\p -> Text.unsafeCopyToPtr t (castPtr p))
+#endif
 
 deriving instance Binary CPid
diff --git a/ide-backend-common.cabal b/ide-backend-common.cabal
--- a/ide-backend-common.cabal
+++ b/ide-backend-common.cabal
@@ -1,5 +1,5 @@
 name:                 ide-backend-common
-version:              0.9.1.1
+version:              0.9.1.2
 synopsis:             Shared library used be ide-backend and ide-backend-server
 description:          Should not be used by end users
 license:              MIT
@@ -10,7 +10,7 @@
 category:             Development
 build-type:           Simple
 cabal-version:        >=1.10
-extra-source-files:   README.md
+extra-source-files:   README.md ChangeLog.md
 
 library
   exposed-modules:    IdeSession.Util
