diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,10 @@
-## Hspec Megaparec 0.3.0
+## Hspec Megaparsec 0.3.1
+
+* Support for Megaparsec 5.2.0.
+
+* Drop support for GHC 7.6.
+
+## Hspec Megaparsec 0.3.0
 
 * Added helpers for parse error construction (useful with `shouldFailWith`):
   `err`, `posI`, `posN`, `utok`, `utoks`, `ulabel`, `ueof`, `etok`, `etoks`,
diff --git a/LICENSE.md b/LICENSE.md
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -1,4 +1,4 @@
-Copyright © 2016 Mark Karpov
+Copyright © 2016–2017 Mark Karpov
 
 All rights reserved.
 
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -18,6 +18,6 @@
 
 ## License
 
-Copyright © 2016 Mark Karpov
+Copyright © 2016–2017 Mark Karpov
 
 Distributed under BSD 3 clause license.
diff --git a/Test/Hspec/Megaparsec.hs b/Test/Hspec/Megaparsec.hs
--- a/Test/Hspec/Megaparsec.hs
+++ b/Test/Hspec/Megaparsec.hs
@@ -1,6 +1,6 @@
 -- |
 -- Module      :  Test.Hspec.Megaparsec
--- Copyright   :  © 2016 Mark Karpov
+-- Copyright   :  © 2016–2017 Mark Karpov
 -- License     :  BSD 3 clause
 --
 -- Maintainer  :  Mark Karpov <markkarpov@openmailbox.org>
@@ -320,7 +320,13 @@
 -- column).
 
 initialState :: s -> State s
-initialState s = State s (initialPos "" :| []) defaultTabWidth
+initialState s = State
+  { stateInput           = s
+  , statePos             = initialPos "" :| []
+#if MIN_VERSION_megaparsec(5,2,0)
+  , stateTokensProcessed = 0
+#endif
+  , stateTabWidth        = defaultTabWidth }
 
 ----------------------------------------------------------------------------
 -- Helpers
diff --git a/hspec-megaparsec.cabal b/hspec-megaparsec.cabal
--- a/hspec-megaparsec.cabal
+++ b/hspec-megaparsec.cabal
@@ -1,7 +1,7 @@
 --
 -- Cabal configuration for ‘hspec-megaparsec’.
 --
--- Copyright © 2016 Mark Karpov
+-- Copyright © 2016–2017 Mark Karpov
 --
 -- Redistribution and use in source and binary forms, with or without
 -- modification, are permitted provided that the following conditions are
@@ -31,7 +31,7 @@
 -- POSSIBILITY OF SUCH DAMAGE.
 
 name:                 hspec-megaparsec
-version:              0.3.0
+version:              0.3.1
 cabal-version:        >= 1.10
 license:              BSD3
 license-file:         LICENSE.md
@@ -52,9 +52,9 @@
   default:            False
 
 library
-  build-depends:      base               >= 4.6 && < 5.0
+  build-depends:      base               >= 4.7 && < 5.0
                     , containers         >= 0.5 && < 0.6
-                    , hspec-expectations >= 0.5 && < 0.8
+                    , hspec-expectations >= 0.5 && < 0.9
                     , megaparsec         >= 5.0 && < 6.0
 
   if !impl(ghc >= 8.0)
@@ -77,11 +77,11 @@
     ghc-options:      -Wall -Werror
   else
     ghc-options:      -Wall
-  build-depends:      base               >= 4.6 && < 5.0
+  build-depends:      base               >= 4.7 && < 5.0
                     , containers         >= 0.5 && < 0.6
                     , hspec              >= 2.0 && < 3.0
-                    , hspec-expectations >= 0.5 && < 0.8
-                    , hspec-megaparsec   >= 0.3.0
+                    , hspec-expectations >= 0.5 && < 0.9
+                    , hspec-megaparsec   >= 0.3.1
                     , megaparsec         >= 5.0 && < 6.0
   if !impl(ghc >= 8.0)
     build-depends:    semigroups         == 0.18.*
diff --git a/tests/Main.hs b/tests/Main.hs
--- a/tests/Main.hs
+++ b/tests/Main.hs
@@ -1,7 +1,7 @@
 --
 -- Hspec Megaparsec tests.
 --
--- Copyright © 2016 Mark Karpov
+-- Copyright © 2016–2017 Mark Karpov
 --
 -- Redistribution and use in source and binary forms, with or without
 -- modification, are permitted provided that the following conditions are
