diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
 # Changelog
 
+## 0.1.2 (Mar 2022)
+
+* Support streamly-0.8.2
+
 ## 0.1.1 (Dec 2021)
 
 * Support streamly-0.8.1
diff --git a/src/Streamly/Internal/LZ4.hs b/src/Streamly/Internal/LZ4.hs
--- a/src/Streamly/Internal/LZ4.hs
+++ b/src/Streamly/Internal/LZ4.hs
@@ -230,7 +230,7 @@
     -> Array.Array Word8
     -> IO (Array.Array Word8)
 compressChunk cfg speed ctx arr = do
-    Array.unsafeAsPtr arr
+    Array.asPtrUnsafe (Array.unsafeCast arr)
         $ \src -> do
               let uncompLen = Array.byteLength arr
                   speedC = unsafeIntToCInt speed
@@ -294,7 +294,7 @@
     -> Array.Array Word8
     -> IO (Array.Array Word8)
 decompressChunk cfg ctx arr = do
-    Array.unsafeAsPtr arr
+    Array.asPtrUnsafe (Array.unsafeCast arr)
         $ \src -> do
               let hdrCompLen :: Ptr Int32 = src `plusPtr` compSizeOffset cfg
                   compData = src `plusPtr` dataOffset cfg
@@ -573,7 +573,7 @@
     -> Stream.Stream m (Array.Array Word8)
 decompressChunksWithD p s = do
     ((cfg, config), next) <- Stream.fromEffect $ second IsStream.toStreamD
-        <$> ArrayStream.foldArr_ (ArrayFold.fromParser p) (IsStream.fromStreamD s)
+        <$> ArrayStream.foldArr_ (ArrayFold.fromParserD p) (IsStream.fromStreamD s)
     decompressChunksRawD cfg (resizeChunksD cfg config next)
 
 -- XXX Merge this with BlockConfig?
diff --git a/src/Streamly/LZ4.hs b/src/Streamly/LZ4.hs
--- a/src/Streamly/LZ4.hs
+++ b/src/Streamly/LZ4.hs
@@ -32,7 +32,7 @@
 -- Please build with
 -- [fusion-plugin](https://hackage.haskell.org/package/fusion-plugin) for best
 -- performance. See the [streamly build
--- guide](https://streamly.composewell.com/streamly-0.8.0/Compiling.html) for
+-- guide](https://streamly.composewell.com/streamly-0.8.2/Compiling.html) for
 -- more details.
 --
 -- The APIs are not yet stable and may change in future.
diff --git a/streamly-lz4.cabal b/streamly-lz4.cabal
--- a/streamly-lz4.cabal
+++ b/streamly-lz4.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                streamly-lz4
-version:             0.1.1
+version:             0.1.2
 synopsis:            Streamly combinators for LZ4 compression
 description:
     Compress and decompress streams of data using LZ4 compression.  See
@@ -59,7 +59,7 @@
   build-depends:       base                >= 4    && < 5
                      , fusion-plugin-types >= 0.1  && < 0.2
                      , exceptions          >= 0.8  && < 0.11
-                     , streamly            >= 0.8.1 && < 0.8.2
+                     , streamly            == 0.8.2.*
   ghc-options:         -Wall
   default-language:    Haskell2010
   default-extensions:
@@ -77,7 +77,7 @@
   hs-source-dirs:      test
   main-is:             Main.hs
   build-depends:       streamly-lz4
-                     , streamly   >= 0.8.1  && < 0.8.2
+                     , streamly   == 0.8.2.*
                      , base       >= 4      && < 5
                      , QuickCheck >= 2.13.1 && < 2.15
                      , hspec      >= 2.7    && < 2.9
@@ -92,7 +92,7 @@
   hs-source-dirs:      benchmark
   main-is:             Main.hs
   build-depends:       streamly-lz4
-                     , streamly      >= 0.8.1  && < 0.8.2
+                     , streamly      == 0.8.2.*
                      , base          >= 4      && < 5
                      , gauge         >= 0.2.5  && < 0.2.6
                      , directory     >= 1.3.0  && < 1.3.8
