packages feed

gerrit 0.1.3.0 → 0.1.4.0

raw patch · 3 files changed

+8/−3 lines, 3 filesdep ~aesonPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: aeson

API changes (from Hackage documentation)

- Gerrit.Data.Change: GerritAuthor :: Int -> Text -> Maybe Text -> Maybe Text -> GerritAuthor
+ Gerrit.Data.Change: GerritAuthor :: Int -> Maybe Text -> Maybe Text -> Maybe Text -> GerritAuthor
- Gerrit.Data.Change: [aName] :: GerritAuthor -> Text
+ Gerrit.Data.Change: [aName] :: GerritAuthor -> Maybe Text

Files

CHANGELOG.md view
@@ -1,5 +1,10 @@ # Changelog +## 0.1.4.0++- Set GerritAuthor name field as optional+- Allow aeson-2.0+ ## 0.1.3.0 (2021-10.21)  - Honor the authentication for get request
gerrit.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.4 name:                gerrit-version:             0.1.3.0+version:             0.1.4.0 synopsis:            A gerrit client library description:     Gerrit is a client library to interface with https://www.gerritcodereview.com/@@ -27,7 +27,7 @@  common common-options   build-depends:       base                   >= 4.11.0.0 && < 5-                     , aeson                  >= 1.0.0.0  && < 1.6+                     , aeson                  >= 1.0.0.0  && < 2.1                      , bytestring             < 0.11                      , time                   >= 1.9.3    && < 2.0   ghc-options:         -Wall
src/Gerrit/Data/Change.hs view
@@ -170,7 +170,7 @@  data GerritAuthor = GerritAuthor   { aAccountId :: Int,-    aName :: Text,+    aName :: Maybe Text,     aEmail :: Maybe Text,     aUsername :: Maybe Text   }