packages feed

proto-lens 0.7.1.6 → 0.7.1.7

raw patch · 3 files changed

+12/−8 lines, 3 filesdep ~bytestringPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: bytestring

API changes (from Hackage documentation)

Files

Changelog.md view
@@ -2,6 +2,9 @@  ## v0.7.1.7 - Relax upper bounds for ghc-9.10.+- Bump upper bound to allow ghc-prim-0.12 (ghc-9.10.2).+- Support GHC 9.12.+- Support GHC 9.14.  ## v0.7.1.2 - Support GHC 9.4
proto-lens.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.37.0.+-- This file has been generated from package.yaml by hpack version 0.39.1. -- -- see: https://github.com/sol/hpack  name:           proto-lens-version:        0.7.1.6+version:        0.7.1.7 synopsis:       A lens-based implementation of protocol buffers in Haskell. description:    The proto-lens library provides an API for protocol buffers using modern Haskell language and library patterns.  Specifically, it provides:                 .@@ -58,11 +58,11 @@   hs-source-dirs:       src   build-depends:-      base >=4.10 && <4.21-    , bytestring >=0.10 && <0.13-    , containers >=0.5 && <0.8+      base >=4.10 && <4.23+    , bytestring >=0.10 && <0.14+    , containers >=0.5 && <0.9     , deepseq >=1.4 && <1.6-    , ghc-prim >=0.4 && <0.13+    , ghc-prim >=0.4 && <0.14     , lens-family >=1.2 && <2.2     , parsec ==3.1.*     , pretty ==1.1.*
src/Data/ProtoLens/TextFormat.hs view
@@ -28,7 +28,8 @@ import Data.Bifunctor (first) import qualified Data.ByteString import Data.Char (isPrint, isAscii, chr)-import Data.Foldable (foldlM, foldl')+import Data.Foldable (foldlM)+import qualified Data.Foldable as F import qualified Data.Map as Map import Data.Maybe (catMaybes) import Data.Proxy (Proxy(Proxy))@@ -228,7 +229,7 @@                       <$> buildMessageFromDescriptor reg defMessage fields  missingFields :: forall msg . Message msg => Proxy msg -> Parser.Message -> [String]-missingFields _ = Set.toList . foldl' deleteField requiredFieldNames+missingFields _ = Set.toList . F.foldl' deleteField requiredFieldNames   where     requiredFieldNames :: Set.Set String     requiredFieldNames = Set.fromList $ Map.keys