packages feed

twitter-types-lens 0.6.0 → 0.7.0

raw patch · 2 files changed

+5/−4 lines, 2 filesdep +timedep ~twitter-typesPVP ok

version bump matches the API change (PVP)

Dependencies added: time

Dependency ranges changed: twitter-types

API changes (from Hackage documentation)

- Web.Twitter.Types.Lens: type DateString = String
- Web.Twitter.Types.Lens: created_at :: HasCreatedAt a => Lens' a DateString
+ Web.Twitter.Types.Lens: created_at :: HasCreatedAt a => Lens' a UTCTime
- Web.Twitter.Types.Lens: dmCreatedAt :: Lens' DirectMessage DateString
+ Web.Twitter.Types.Lens: dmCreatedAt :: Lens' DirectMessage UTCTime
- Web.Twitter.Types.Lens: entityBody :: Lens (Entity a_a9Xl) (Entity a_a9ZH) a_a9Xl a_a9ZH
+ Web.Twitter.Types.Lens: entityBody :: Lens (Entity a_a8Ee) (Entity a_abLe) a_a8Ee a_abLe
- Web.Twitter.Types.Lens: entityIndices :: Lens' (Entity a_a9Xl) EntityIndices
+ Web.Twitter.Types.Lens: entityIndices :: Lens' (Entity a_a8Ee) EntityIndices
- Web.Twitter.Types.Lens: evCreatedAt :: Lens' Event DateString
+ Web.Twitter.Types.Lens: evCreatedAt :: Lens' Event UTCTime
- Web.Twitter.Types.Lens: rsCreatedAt :: Lens' RetweetedStatus DateString
+ Web.Twitter.Types.Lens: rsCreatedAt :: Lens' RetweetedStatus UTCTime
- Web.Twitter.Types.Lens: searchResultSearchMetadata :: Lens' (SearchResult body_a8Rr) SearchMetadata
+ Web.Twitter.Types.Lens: searchResultSearchMetadata :: Lens' (SearchResult body_a8uj) SearchMetadata
- Web.Twitter.Types.Lens: searchResultStatuses :: Lens (SearchResult body_a8Rr) (SearchResult body_a8RD) body_a8Rr body_a8RD
+ Web.Twitter.Types.Lens: searchResultStatuses :: Lens (SearchResult body_a8uj) (SearchResult body_aaEr) body_a8uj body_aaEr
- Web.Twitter.Types.Lens: searchStatusCreatedAt :: Lens' SearchStatus DateString
+ Web.Twitter.Types.Lens: searchStatusCreatedAt :: Lens' SearchStatus UTCTime
- Web.Twitter.Types.Lens: statusCreatedAt :: Lens' Status DateString
+ Web.Twitter.Types.Lens: statusCreatedAt :: Lens' Status UTCTime
- Web.Twitter.Types.Lens: userCreatedAt :: Lens' User DateString
+ Web.Twitter.Types.Lens: userCreatedAt :: Lens' User UTCTime

Files

Web/Twitter/Types/Lens.hs view
@@ -243,7 +243,6 @@        , imageSizeTypeType         -- * Type aliases and sum types-       , TT.DateString        , TT.UserId        , TT.Friends        , TT.URIString@@ -272,6 +271,7 @@  import Control.Lens hiding (makeLenses) import Data.Text (Text)+import Data.Time import qualified Web.Twitter.Types as TT import Web.Twitter.Types.Lens.TH @@ -350,7 +350,7 @@     screen_name = entityBody.userEntityUserScreenName  class HasCreatedAt a where-    created_at :: Lens' a TT.DateString+    created_at :: Lens' a UTCTime instance HasCreatedAt TT.Status where     created_at = statusCreatedAt instance HasCreatedAt TT.SearchStatus where
twitter-types-lens.cabal view
@@ -1,5 +1,5 @@ name:                twitter-types-lens-version:             0.6.0+version:             0.7.0 synopsis:            Twitter JSON types (lens powered) homepage:            https://github.com/himura/twitter-types-lens license:             BSD3@@ -27,6 +27,7 @@     , lens >= 4.0 && < 5     , template-haskell     , text-    , twitter-types == 0.6.0+    , time+    , twitter-types >= 0.7 && < 0.8    default-language:    Haskell2010