packages feed

crypton-box 1.1.0 → 1.2.0

raw patch · 2 files changed

+12/−6 lines, 2 filesdep +ramdep −memorydep ~bytestringdep ~cryptonPVP ok

version bump matches the API change (PVP)

Dependencies added: ram

Dependencies removed: memory

Dependency ranges changed: bytestring, crypton

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -2,6 +2,10 @@ 
 ## Unreleased Changes
 
+## 1.2.0
+
+- Migrate from `memory` to `ram` for bytearray operations
+
 ## 1.1.0
 
 - Migrate away from the deprecated `cryptonite` package to `crypton`
crypton-box.cabal view
@@ -1,7 +1,7 @@ cabal-version: 1.12
 
 name:           crypton-box
-version:        1.1.0
+version:        1.2.0
 synopsis:       NaCl crypto/secret box implementations based on crypton primitives.
 description:
     This library provides a high-level API for authenticated encryption and
@@ -22,7 +22,7 @@ bug-reports:    https://github.com/yutotakano/crypton-box/issues
 author:         Yuto Takano
 maintainer:     moa17stock@gmail.com
-copyright:      2025 Yuto Takano
+copyright:      2025-2026 Yuto Takano
 license:        BSD3
 license-file:   LICENSE
 build-type:     Simple
@@ -31,7 +31,9 @@     ChangeLog.md
 
 tested-with:
+    GHC == 8.10.7
     GHC == 9.4.8
+    GHC == 9.12.2
 
 source-repository head
   type: git
@@ -47,9 +49,9 @@       OverloadedStrings
   build-depends:
       base >=4.7 && <5
-    , bytestring  >= 0.9 && <1.0.0.0
-    , crypton  >= 1.0.0 && <2.0.0
-    , memory  >= 0.18 && <1.0
+    , bytestring  >= 0.9 && <1
+    , crypton  >= 1.0.0 && <2
+    , ram  >= 0.19 && <1
   default-language: Haskell2010
 
 test-suite crypton-box-test
@@ -69,6 +71,6 @@     , bytestring
     , crypton
     , hspec
-    , memory
+    , ram
     , crypton-box
   default-language: Haskell2010