diff --git a/CHANGELOG.md b/CHANGELOG.md
index 267a26c5..2cdeaab7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,6 @@
+# [4.0.5]
+* Fixed casting null to Tuple2 when link dialog is dismissed without any input (e.g. barrier dismissed).
+
 # [4.0.4]
 * Bug fix for text direction rtl.
 
diff --git a/pubspec.yaml b/pubspec.yaml
index 339d0ade..bbebc8e9 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,6 +1,6 @@
 name: flutter_quill
 description: A rich text editor supporting mobile and web (Demo App @ bulletjournal.us)
-version: 4.0.4
+version: 4.0.5
 #author: bulletjournal
 homepage: https://bulletjournal.us/home/index.html
 repository: https://github.com/singerdmx/flutter-quill