crypton-asn1-encoding 0.9.7 → 0.10.0
raw patch · 3 files changed
+18/−23 lines, 3 filesdep +time-hourglassdep −hourglassdep −mtldep ~crypton-asn1-typesPVP ok
version bump matches the API change (PVP)
Dependencies added: time-hourglass
Dependencies removed: hourglass, mtl
Dependency ranges changed: crypton-asn1-types
API changes (from Hackage documentation)
- Data.ASN1.Object: class ASN1Object a
- Data.ASN1.Object: fromASN1 :: ASN1Object a => [ASN1] -> Either String (a, [ASN1])
- Data.ASN1.Object: toASN1 :: ASN1Object a => a -> ASN1S
Files
- CHANGELOG.md +12/−2
- crypton-asn1-encoding.cabal +6/−8
- src/Data/ASN1/Object.hs +0/−13
CHANGELOG.md view
@@ -6,8 +6,18 @@ and this project adheres to the [Haskell Package Versioning Policy](https://pvp.haskell.org/). -## 0.9.7 +## 0.10.0 - 2025-08-01 +* Depend on package `time-hourglass`, rather than `hourglass`. The fields of + the `ASNTime` data constructor of data type `ASN1` are now types provided by + the former package. +* Drop module `Data.ASN1.Object`, deprecated since `asn1-encoding-0.8.0`. Use + module `Data.ASN1.Types`. +* Reexport module `Data.ASN1.Types` from package `crypton-asn1-types`. +* Drop unused dependency on `mtl` by test suite. + +## 0.9.7 - 2025-07-20 + * Move library modules to directory `src`. * Drop support for GHC < 8.8. * Use `LANAGUAGE RankNTypes`, rather than `LANGUAGE Rank2Types`. @@ -15,7 +25,7 @@ * Module `Data.ASN1.Stream` spun out to dependency package `crypton-asn1-types-0.3.6`. -## 0.9.6 +## 0.9.6 - 2025-07-13 * Rename `asn1-encoding-0.9.6` package as `crypton-asn1-encoding-0.9.6`. * Depend on `crypton-asn1-types`, rather than `asn1-types`.
crypton-asn1-encoding.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: crypton-asn1-encoding-version: 0.9.7+version: 0.10.0 synopsis: ASN.1 data (raw, BER or DER) readers and writers description: A library providing readers and writers of data following the Abstract Syntax Notation One (ASN.1) standard in raw form or in the high-level forms of Basic@@ -36,7 +36,6 @@ Data.ASN1.BinaryEncoding Data.ASN1.BinaryEncoding.Raw Data.ASN1.Encoding- Data.ASN1.Object Data.ASN1.Prim other-modules: Data.ASN1.BinaryEncoding.Parse@@ -46,6 +45,7 @@ Data.ASN1.Serialize reexported-modules: Data.ASN1.Stream+ , Data.ASN1.Types hs-source-dirs: src other-extensions:@@ -56,8 +56,8 @@ build-depends: base >=4.13 && <5 , bytestring- , crypton-asn1-types >=0.3.6 && <0.4- , hourglass >=0.2.6+ , crypton-asn1-types ==0.4.*+ , time-hourglass <0.4 default-language: Haskell2010 test-suite tests-asn1-encoding@@ -72,7 +72,6 @@ Data.ASN1.Error Data.ASN1.Get Data.ASN1.Internal- Data.ASN1.Object Data.ASN1.Prim Data.ASN1.Serialize hs-source-dirs:@@ -87,9 +86,8 @@ base >=4.13 && <5 , bytestring , crypton-asn1-encoding- , crypton-asn1-types >=0.3.6 && <0.4- , hourglass- , mtl+ , crypton-asn1-types ==0.4.* , tasty , tasty-quickcheck+ , time-hourglass <0.4 default-language: Haskell2010
− src/Data/ASN1/Object.hs
@@ -1,13 +0,0 @@-{- | -Module : Data.ASN1.Object -License : BSD-style -Copyright : (c) 2010-2013 Vincent Hanquez <vincent@snarc.org> -Stability : experimental -Portability : unknown --} - -module Data.ASN1.Object {-# DEPRECATED "Use Data.ASN1.Types instead" #-} - ( ASN1Object (..) - ) where - -import Data.ASN1.Types ( ASN1Object (..) )