diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright Alexander Thiemann (c) 2016 - 2017
+Copyright Alexander Thiemann (c) 2016 - 2022
 
 All rights reserved.
 
diff --git a/package.yaml b/package.yaml
--- a/package.yaml
+++ b/package.yaml
@@ -1,12 +1,12 @@
 name:                superbuffer
-version:             0.3.1.1
+version:             0.3.1.2
 synopsis:            Efficiently build a bytestring from smaller chunks
 description:         Efficiently (both fast and memory efficient) build a bytestring from smaller chunks
 homepage:            https://github.com/agrafix/superbuffer#readme
 license:             BSD3
 author:              Alexander Thiemann
 maintainer:          mail@athiemann.net
-copyright:           2016 - 2017 Alexander Thiemann <mail@athiemann.net>
+copyright:           2016 - 2022 Alexander Thiemann <mail@athiemann.net>
 category:            Web
 extra-source-files:
   - README.md
@@ -15,7 +15,7 @@
 
 dependencies:
   - base >= 4.8 && < 5
-  - bytestring < 0.11
+  - bytestring < 0.12
 
 ghc-options: -Wall
 
@@ -32,8 +32,8 @@
     main: Test.hs
     source-dirs: test
     dependencies:
-      - HTF < 0.14
-      - QuickCheck < 2.10
+      - HTF < 0.16
+      - QuickCheck < 2.15
       - async
       - superbuffer
     ghc-options: -funfolding-use-threshold=16 -O2 -optc-Ofast
diff --git a/stack.yaml b/stack.yaml
--- a/stack.yaml
+++ b/stack.yaml
@@ -1,4 +1,5 @@
-resolver: lts-7.11
+resolver:
+  url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/21.yaml
 packages:
   - '.'
 extra-deps:
diff --git a/superbuffer.cabal b/superbuffer.cabal
--- a/superbuffer.cabal
+++ b/superbuffer.cabal
@@ -1,69 +1,73 @@
--- This file has been generated from package.yaml by hpack version 0.15.0.
+cabal-version: 1.12
+
+-- This file has been generated from package.yaml by hpack version 0.34.4.
 --
 -- see: https://github.com/sol/hpack
 
 name:           superbuffer
-version:        0.3.1.1
+version:        0.3.1.2
 synopsis:       Efficiently build a bytestring from smaller chunks
 description:    Efficiently (both fast and memory efficient) build a bytestring from smaller chunks
 category:       Web
 homepage:       https://github.com/agrafix/superbuffer#readme
 author:         Alexander Thiemann
 maintainer:     mail@athiemann.net
-copyright:      2016 - 2017 Alexander Thiemann <mail@athiemann.net>
+copyright:      2016 - 2022 Alexander Thiemann <mail@athiemann.net>
 license:        BSD3
 license-file:   LICENSE
 build-type:     Simple
-cabal-version:  >= 1.10
-
 extra-source-files:
-    package.yaml
     README.md
     stack.yaml
+    package.yaml
 
 library
+  exposed-modules:
+      Data.ByteString.SuperBuffer
+      Data.ByteString.SuperBuffer.Pure
+  other-modules:
+      Paths_superbuffer
   hs-source-dirs:
       src
   ghc-options: -Wall
   c-sources:
       cbits/superbuffer.c
   build-depends:
-      base >= 4.8 && < 5
-    , bytestring < 0.11
-  exposed-modules:
-      Data.ByteString.SuperBuffer
-      Data.ByteString.SuperBuffer.Pure
-  other-modules:
-      Paths_superbuffer
+      base >=4.8 && <5
+    , bytestring <0.12
   default-language: Haskell2010
 
 test-suite spec
   type: exitcode-stdio-1.0
   main-is: Test.hs
+  other-modules:
+      Paths_superbuffer
   hs-source-dirs:
       test
   ghc-options: -Wall -funfolding-use-threshold=16 -O2 -optc-Ofast
   cpp-options: -DTest
   build-depends:
-      base >= 4.8 && < 5
-    , bytestring < 0.11
-    , HTF < 0.14
-    , QuickCheck < 2.10
+      HTF <0.16
+    , QuickCheck <2.15
     , async
+    , base >=4.8 && <5
+    , bytestring <0.12
     , superbuffer
   default-language: Haskell2010
 
 benchmark sbuf-bench
   type: exitcode-stdio-1.0
   main-is: Bench.hs
+  other-modules:
+      Paths_superbuffer
   hs-source-dirs:
       bench
   ghc-options: -Wall -funfolding-use-threshold=16 -O2 -optc-Ofast
   build-depends:
-      base >= 4.8 && < 5
-    , bytestring < 0.11
-    , criterion < 1.3
-    , superbuffer
+      async
+    , base >=4.8 && <5
     , buffer-builder
-    , async
+    , bytestring <0.12
+    , criterion <1.3
+    , superbuffer
   default-language: Haskell2010
