ogma-language-jsonspec 1.4.1 → 1.5.0
raw patch · 3 files changed
+20/−14 lines, 3 filesdep ~ogma-specPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: ogma-spec
API changes (from Hackage documentation)
+ Language.JSONSpec.Parser: instance GHC.Read.Read Language.JSONSpec.Parser.JSONFormat
Files
- CHANGELOG.md +5/−0
- ogma-language-jsonspec.cabal +2/−2
- src/Language/JSONSpec/Parser.hs +13/−12
CHANGELOG.md view
@@ -1,5 +1,10 @@ # Revision history for ogma-language-jsonspec +## [1.5.0] - 2024-11-21++* Version bump 1.5.0 (#178).+* Make JSONFormat readable (#170).+ ## [1.4.1] - 2024-09-21 * Version bump 1.4.1 (#155).
ogma-language-jsonspec.cabal view
@@ -32,7 +32,7 @@ build-type: Simple name: ogma-language-jsonspec-version: 1.4.1+version: 1.5.0 homepage: https://github.com/nasa/ogma license: OtherLicense license-file: LICENSE.pdf@@ -70,7 +70,7 @@ , megaparsec , bytestring - , ogma-spec >= 1.4.1 && < 1.5+ , ogma-spec >= 1.5.0 && < 1.6 hs-source-dirs: src
src/Language/JSONSpec/Parser.hs view
@@ -52,18 +52,19 @@ import Data.OgmaSpec data JSONFormat = JSONFormat- { specInternalVars :: Maybe String- , specInternalVarId :: String- , specInternalVarExpr :: String- , specInternalVarType :: Maybe String- , specExternalVars :: Maybe String- , specExternalVarId :: String- , specExternalVarType :: Maybe String- , specRequirements :: String- , specRequirementId :: String- , specRequirementDesc :: Maybe String- , specRequirementExpr :: String- }+ { specInternalVars :: Maybe String+ , specInternalVarId :: String+ , specInternalVarExpr :: String+ , specInternalVarType :: Maybe String+ , specExternalVars :: Maybe String+ , specExternalVarId :: String+ , specExternalVarType :: Maybe String+ , specRequirements :: String+ , specRequirementId :: String+ , specRequirementDesc :: Maybe String+ , specRequirementExpr :: String+ }+ deriving (Read) data JSONFormatInternal = JSONFormatInternal { jfiInternalVars :: Maybe [JSONPathElement]