conferer-aeson 1.1.0.0 → 1.1.0.1
raw patch · 3 files changed
+14/−5 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +8/−1
- conferer-aeson.cabal +4/−3
- src/Conferer/Source/Aeson.hs +2/−1
CHANGELOG.md view
@@ -8,6 +8,12 @@ Nothing +## [v1.1.0.1] 2021-03-14++## Changed++* Make the `keys` special key always return sorted keys (because of the change from hashable-1.3.1.0)+ ## [v1.1.0.0] 2021-03-01 ### Changed@@ -24,6 +30,7 @@ First release -[Unreleased]: https://github.com/ludat/conferer/compare/conferer-aeson_v1.1.0.0...HEAD+[Unreleased]: https://github.com/ludat/conferer/compare/conferer-aeson_v1.1.0.1...HEAD+[v1.1.0.1]: https://github.com/ludat/conferer/compare/conferer-aeson_v1.1.0.0...conferer-aeson_v1.1.0.1 [v1.1.0.0]: https://github.com/ludat/conferer/compare/conferer-aeson_v1.0.0.0...conferer-aeson_v1.1.0.0 [v1.0.0.0]: https://github.com/ludat/conferer/compare/v0.0.0.0...conferer-aeson_v1.0.0.0
conferer-aeson.cabal view
@@ -4,15 +4,16 @@ -- -- see: https://github.com/sol/hpack ----- hash: cdd4956f023c56c73b29439f3a0cafebbc5b26d1091e28a67e8b847d76974ee9+-- hash: d73d44df61f4d56a6aa0b89b1ce6a27123ce674091a311ce30c992d64be6ef56 name: conferer-aeson-version: 1.1.0.0+version: 1.1.0.1 synopsis: conferer's source for reading json files description: Library to abstract the parsing of many haskell config values from different config sources category: Configuration homepage: https://conferer.ludat.io+bug-reports: https://github.com/ludat/conferer/issues author: Lucas David Traverso maintainer: lucas6246@gmail.com copyright: (c) 2020 Lucas David Traverso@@ -38,7 +39,7 @@ aeson >=0.10 && <2.0 , base >=4.3 && <5 , bytestring >=0.10 && <0.11- , conferer >=1.0.0.0 && <2.0.0.0+ , conferer >=1.1.0.0 && <2.0.0.0 , directory >=1.2 && <2.0 , text >=1.1 && <1.3 , unordered-containers
src/Conferer/Source/Aeson.hs view
@@ -20,7 +20,7 @@ import Text.Read (readMaybe) import qualified Data.ByteString as B import qualified Data.ByteString.Lazy as L-import Data.List (intersperse)+import Data.List (intersperse, sort) import System.Directory (doesFileExist) import Control.Exception import Control.Monad (guard)@@ -115,6 +115,7 @@ String $ mconcat $ intersperse "," $+ sort $ HashMap.keys o) (Just (c, ks), Object o) -> HashMap.lookup c o >>= traverseJSON ks