diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,10 +6,9 @@
 and this project adheres to the
 [Haskell Package Versioning Policy](https://pvp.haskell.org/).
 
-## 0.1.1 - 2024-10-21
+## 0.2.0 - 2026-07-01
 
-* Ensure that the functionality on big-endian machine architectures is the same
-  as that on little-endian machine architectures. 
+* Depend on package `ram` (rather than `memory`).
 
 ## 0.1.0 - 2023-07-07
 
diff --git a/src/Data/StaticBytes.hs b/src/Data/StaticBytes.hs
--- a/src/Data/StaticBytes.hs
+++ b/src/Data/StaticBytes.hs
@@ -28,7 +28,7 @@
 import qualified Data.ByteString as B
 import qualified Data.ByteString.Internal as B
 import qualified Data.Primitive.ByteArray as BA
-#if MIN_VERSION_GLASGOW_HASKELL(9,4,1,0)
+#if MIN_VERSION_GLASGOW_HASKELL(9,4,1,0) && !MIN_VERSION_rio(0,1,23)
 import           Data.Type.Equality ( type (~) )
 #endif
 import qualified Data.Vector.Primitive as VP
@@ -70,7 +70,7 @@
 data StaticBytesException
   = NotEnoughBytes
   | TooManyBytes
-  deriving (Eq, Show, Typeable)
+  deriving (Eq, Show)
 
 instance Exception StaticBytesException
 
diff --git a/static-bytes.cabal b/static-bytes.cabal
--- a/static-bytes.cabal
+++ b/static-bytes.cabal
@@ -1,67 +1,64 @@
 cabal-version: 1.12
-
--- This file has been generated from package.yaml by hpack version 0.37.0.
---
--- see: https://github.com/sol/hpack
-
-name:           static-bytes
-version:        0.1.1
-synopsis:       A Haskell library providing types representing 8, 16, 32, 64 or 128 bytes of data.
-description:    Please see the README on GitHub at <https://github.com/commercialhaskell/static-bytes#readme>
-category:       Data
-homepage:       https://github.com/commercialhaskell/static-bytes#readme
-bug-reports:    https://github.com/commercialhaskell/static-bytes/issues
-author:         Michael Snoyman
-maintainer:     Mike Pilgrem <public@pilgrem.com>
-copyright:      2018-2023 FP Complete
-license:        BSD3
-license-file:   LICENSE
-build-type:     Simple
-extra-source-files:
-    README.md
-    CHANGELOG.md
-
-source-repository head
-  type: git
-  location: https://github.com/commercialhaskell/static-bytes
-
-library
-  exposed-modules:
-      Data.StaticBytes
-  other-modules:
-      Paths_static_bytes
-  hs-source-dirs:
-      src
-  ghc-options: -Wall
-  build-depends:
-      base >=4.12 && <5
-    , bytestring
-    , memory
-    , primitive
-    , rio
-    , vector
-  default-language: Haskell2010
-
-test-suite spec
-  type: exitcode-stdio-1.0
-  main-is: Spec.hs
-  other-modules:
-      Data.StaticBytesSpec
-      Paths_static_bytes
-  hs-source-dirs:
-      test
-  ghc-options: -Wall
-  build-tool-depends:
-      hspec-discover:hspec-discover
-  build-depends:
-      QuickCheck
-    , base >=4.12 && <5
-    , bytestring
-    , hspec
-    , memory
-    , primitive
-    , rio
-    , static-bytes
-    , text
-    , vector
-  default-language: Haskell2010
+
+-- This file has been generated from package.yaml by hpack version 0.39.6.
+--
+-- see: https://github.com/sol/hpack
+
+name:           static-bytes
+version:        0.2.0
+synopsis:       A Haskell library providing types representing 8, 16, 32, 64 or 128 bytes of data.
+description:    Please see the README on GitHub at <https://github.com/commercialhaskell/static-bytes#readme>
+category:       Data
+homepage:       https://github.com/commercialhaskell/static-bytes#readme
+bug-reports:    https://github.com/commercialhaskell/static-bytes/issues
+author:         Michael Snoyman
+maintainer:     Mike Pilgrem <public@pilgrem.com>
+copyright:      2018-2023 FP Complete
+license:        BSD3
+license-file:   LICENSE
+build-type:     Simple
+extra-source-files:
+    README.md
+    CHANGELOG.md
+
+source-repository head
+  type: git
+  location: https://github.com/commercialhaskell/static-bytes
+
+library
+  exposed-modules:
+      Data.StaticBytes
+  hs-source-dirs:
+      src
+  ghc-options: -Wall
+  build-depends:
+      base >=4.13 && <5
+    , bytestring
+    , primitive
+    , ram
+    , rio
+    , vector
+  default-language: Haskell2010
+
+test-suite spec
+  type: exitcode-stdio-1.0
+  main-is: Spec.hs
+  other-modules:
+      Data.StaticBytesSpec
+  hs-source-dirs:
+      test
+  ghc-options: -Wall
+  build-tool-depends:
+      hspec-discover:hspec-discover
+  build-depends:
+      QuickCheck
+    , base >=4.13 && <5
+    , bytestring
+    , hspec
+    , primitive
+    , ram
+    , rio
+    , static-bytes
+    , text
+    , vector
+  default-language: Haskell2010
