diff --git a/CHANGELOG b/CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,5 @@
+0.1.40:
+	* Support for GHC 8.6.5
 0.1.39:
 	* Support for GHC 8.6.4
 0.1.38:
diff --git a/intero.cabal b/intero.cabal
--- a/intero.cabal
+++ b/intero.cabal
@@ -1,7 +1,7 @@
 name:
   intero
 version:
-  0.1.39
+  0.1.40
 synopsis:
   Complete interactive development program for Haskell
 license:
@@ -73,7 +73,7 @@
     bytestring,
     directory,
     filepath,
-    ghc >= 7.8 && <= 8.6.4,
+    ghc >= 7.8 && <= 8.6.5,
     ghc-paths,
     haskeline,
     process,
diff --git a/src/test/Main.hs b/src/test/Main.hs
--- a/src/test/Main.hs
+++ b/src/test/Main.hs
@@ -419,7 +419,7 @@
              (atFile
                 ":complete-at"
                 "X.hs"
-                         -- All these type annotations are required for GHC 8.6.4
+                         -- All these type annotations are required for GHC 8.6.5
                          -- to accept the input without error.
                 "{-# OPTIONS -fdefer-type-errors #-}\nmodule X where\ng a = fiiila (filu :: Char) a (fi :: Int)\n where fiiila _ _ _ = 123"
                 (2, 14, 2, 17, "fi")
