diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,6 @@
 # Revision history for curly-expander
+## 0.3.0.4
+* Text package upper bound changed to 2.2
 
 ## 0.3.0.3
 * Bumped up curly-expander base package upper bound
diff --git a/curly-expander.cabal b/curly-expander.cabal
--- a/curly-expander.cabal
+++ b/curly-expander.cabal
@@ -1,7 +1,7 @@
 cabal-version:       3.0
 
 name:                curly-expander
-version:             0.3.0.3
+version:             0.3.0.4
 synopsis:            Curly braces (brackets) expanding
 description:         A library for curly braces (brackets) expanding - similar to bash curly expanding. It also contain an extended version of it.
 
@@ -24,7 +24,7 @@
   build-depends:   
     base >= 4.14 && <4.20,
     parsec ^>= 3.1,
-    text ^>= 1.2
+    text >= 1.2 && <2.2
 
 common tests
   import: deps
@@ -65,4 +65,4 @@
 source-repository this
     type: git
     location: https://github.com/stastnypremysl/curly-expander
-    tag: 0.3.0.3
+    tag: 0.3.0.4
