aur-api 0.1.1.0 → 0.1.2.1
raw patch · 2 files changed
+8/−8 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Distribution.ArchLinux.AUR: AURInfo :: Int -> Text -> Int -> Text -> Text -> Text -> Text -> Int -> Double -> Maybe Int -> Maybe Text -> Int -> Int -> Text -> [Text] -> [Text] -> [Text] -> [Text] -> [Text] -> [Text] -> AURInfo
+ Distribution.ArchLinux.AUR: AURInfo :: Int -> Text -> Int -> Text -> Text -> Maybe Text -> Maybe Text -> Int -> Double -> Maybe Int -> Maybe Text -> Int -> Int -> Maybe Text -> [Text] -> [Text] -> [Text] -> [Text] -> [Text] -> [Text] -> AURInfo
- Distribution.ArchLinux.AUR: [packageDescription] :: AURInfo -> Text
+ Distribution.ArchLinux.AUR: [packageDescription] :: AURInfo -> Maybe Text
- Distribution.ArchLinux.AUR: [packageURLPath] :: AURInfo -> Text
+ Distribution.ArchLinux.AUR: [packageURLPath] :: AURInfo -> Maybe Text
- Distribution.ArchLinux.AUR: [packageURL] :: AURInfo -> Text
+ Distribution.ArchLinux.AUR: [packageURL] :: AURInfo -> Maybe Text
- Distribution.ArchLinux.AUR.Types: AURInfo :: Int -> Text -> Int -> Text -> Text -> Text -> Text -> Int -> Double -> Maybe Int -> Maybe Text -> Int -> Int -> Text -> [Text] -> [Text] -> [Text] -> [Text] -> [Text] -> [Text] -> AURInfo
+ Distribution.ArchLinux.AUR.Types: AURInfo :: Int -> Text -> Int -> Text -> Text -> Maybe Text -> Maybe Text -> Int -> Double -> Maybe Int -> Maybe Text -> Int -> Int -> Maybe Text -> [Text] -> [Text] -> [Text] -> [Text] -> [Text] -> [Text] -> AURInfo
- Distribution.ArchLinux.AUR.Types: [packageDescription] :: AURInfo -> Text
+ Distribution.ArchLinux.AUR.Types: [packageDescription] :: AURInfo -> Maybe Text
- Distribution.ArchLinux.AUR.Types: [packageURLPath] :: AURInfo -> Text
+ Distribution.ArchLinux.AUR.Types: [packageURLPath] :: AURInfo -> Maybe Text
- Distribution.ArchLinux.AUR.Types: [packageURL] :: AURInfo -> Text
+ Distribution.ArchLinux.AUR.Types: [packageURL] :: AURInfo -> Maybe Text
Files
aur-api.cabal view
@@ -1,9 +1,9 @@ name: aur-api-version: 0.1.1.0+version: 0.1.2.1 synopsis: ArchLinux AUR json v5 API description: Implements ArchLinux AUR json v5 API defined at: .- https://wiki.archlinux.org/index.php/AurJson+ <https://wiki.archlinux.org/index.php/AurJson> . homepage: https://github.com/wangbj/aur-api license: BSD3
src/Distribution/ArchLinux/AUR/Types.hs view
@@ -79,15 +79,15 @@ , packagePackageBaseID :: Int , packagePackageBase :: Text , packageVersion :: Text- , packageDescription :: Text- , packageURL :: Text+ , packageDescription :: Maybe Text+ , packageURL :: Maybe Text , packageNumVotes :: Int , packagePopularity :: Double , packageOutOfDate :: Maybe Int , packageMaintainer :: Maybe Text , packageFirstSubmitted :: Int , packageLastModified :: Int- , packageURLPath :: Text+ , packageURLPath :: Maybe Text , packageDepends :: [Text] , packageMakeDepends :: [Text] , packageOptDepends :: [Text]@@ -103,15 +103,15 @@ <*> v .: "PackageBaseID" <*> v .: "PackageBase" <*> v .: "Version"- <*> v .: "Description"- <*> v .: "URL"+ <*> v .:? "Description"+ <*> v .:? "URL" <*> v .: "NumVotes" <*> v .: "Popularity" <*> v .: "OutOfDate" <*> v .:? "Maintainer" <*> v .: "FirstSubmitted" <*> v .: "LastModified"- <*> v .: "URLPath"+ <*> v .:? "URLPath" <*> v .:! "Depends" .!= [] <*> v .:! "MakeDepends" .!= [] <*> v .:! "OptDepends" .!= []