liblastfm 0.4.0.0 → 0.4.1.0
raw patch · 10 files changed
+34/−20 lines, 10 filesdep +lens-aesondep +network-uridep −networkdep ~lensPVP ok
version bump matches the API change (PVP)
Dependencies added: lens-aeson, network-uri
Dependencies removed: network
Dependency ranges changed: lens
API changes (from Hackage documentation)
+ Network.Lastfm.Internal: instance Typeable 'JSON
+ Network.Lastfm.Internal: instance Typeable 'XML
+ Network.Lastfm.Internal: instance Typeable Format
+ Network.Lastfm.Internal: instance Typeable R
+ Network.Lastfm.Internal: instance Typeable Ready
+ Network.Lastfm.Internal: instance Typeable Request
+ Network.Lastfm.Internal: instance Typeable Sign
Files
- CHANGELOG.md +7/−0
- README.md +0/−1
- examples/desktop-authentication.hs +1/−1
- examples/liblastfm-examples.cabal +14/−8
- examples/mobile-authentication.hs +1/−1
- examples/playcount.hs +1/−1
- examples/recommendations.hs +1/−1
- examples/sort-friends.hs +1/−1
- examples/web-authentication.hs +1/−1
- liblastfm.cabal +7/−5
CHANGELOG.md view
@@ -1,3 +1,10 @@+0.4.1.0+=======++ * Updated `lens` dependency++ * Switched to `network-uri` package+ 0.4.0.0 =======
README.md view
@@ -1,7 +1,6 @@ liblastfm ========= [](https://hackage.haskell.org/package/liblastfm)-[](https://drone.io/github.com/supki/liblastfm/latest) [](https://travis-ci.org/supki/liblastfm) Complete API interface to [last.fm][last.fm] service.
examples/desktop-authentication.hs view
@@ -4,7 +4,7 @@ -- Please remember to substitute __YOUR_API_KEY__ -- and __YOUR_SECRET__ for real values import Control.Lens -- lens-import Data.Aeson.Lens -- lens+import Data.Aeson.Lens -- lens-aeson import Data.Foldable (for_) -- base import Data.Text (unpack) -- text import Network.Lastfm -- liblastfm
examples/liblastfm-examples.cabal view
@@ -1,5 +1,5 @@ name: liblastfm-examples-version: 0.4.0.0+version: 0.4.1.0 synopsis: Examples for liblastfm license: MIT license-file: LICENSE@@ -18,7 +18,8 @@ , async , text , aeson- , lens >= 4.0+ , lens >= 4.4+ , lens-aeson >= 1.0.0.1 main-is: sort-friends.hs ghc-options: -Wall@@ -31,7 +32,7 @@ base >= 4 && < 5 , liblastfm >= 0.4.0.0 , text- , lens >= 4.0+ , lens >= 4.4 , aeson main-is: multitag-search.hs ghc-options:@@ -43,7 +44,8 @@ build-depends: base >= 4 && < 5 , liblastfm >= 0.4.0.0- , lens >= 4.0+ , lens >= 4.4+ , lens-aeson >= 1.0.0.1 , happstack-server >= 7.3 , transformers main-is: web-authentication.hs@@ -57,7 +59,8 @@ base >= 4 && < 5 , liblastfm >= 0.4.0.0 , text- , lens >= 4.0+ , lens >= 4.4+ , lens-aeson >= 1.0.0.1 main-is: desktop-authentication.hs ghc-options: -Wall@@ -68,7 +71,8 @@ build-depends: base >= 4 && < 5 , liblastfm >= 0.4.0.0- , lens >= 4.0+ , lens >= 4.4+ , lens-aeson >= 1.0.0.1 , text main-is: mobile-authentication.hs ghc-options:@@ -80,7 +84,8 @@ base >= 4 && < 5 , liblastfm >= 0.4.0.0 , text- , lens >= 4.0+ , lens >= 4.4+ , lens-aeson >= 1.0.0.1 main-is: playcount.hs ghc-options: -Wall@@ -93,7 +98,8 @@ , liblastfm >= 0.4.0.0 , text , aeson- , lens >= 4.0+ , lens >= 4.4+ , lens-aeson >= 1.0.0.1 main-is: recommendations.hs ghc-options: -Wall -fno-warn-unused-do-bind
examples/mobile-authentication.hs view
@@ -5,7 +5,7 @@ -- __YOUR_SECRET__, __USERNAME__ and __PASSWORD__ -- for real values import Control.Lens -- lens-import Data.Aeson.Lens -- lens+import Data.Aeson.Lens -- lens-aeson import qualified Data.Text as Text -- text import qualified Data.Text.IO as Text -- text import Network.Lastfm -- liblastfm
examples/playcount.hs view
@@ -12,7 +12,7 @@ - $> -} import Control.Lens -- lens-import Data.Aeson.Lens -- lens+import Data.Aeson.Lens -- lens-aeson import Control.Monad -- base import Data.Maybe -- base import Data.Text (Text) -- text
examples/recommendations.hs view
@@ -14,7 +14,7 @@ -} import Control.Lens -- lens-import Data.Aeson.Lens -- lens+import Data.Aeson.Lens -- lens-aeson import Data.Traversable (for) -- base import Data.Aeson (Value) -- aeson import Data.Foldable (Foldable) -- base
examples/sort-friends.hs view
@@ -22,7 +22,7 @@ -} import Control.Concurrent.Async -- async import Control.Lens -- lens-import Data.Aeson.Lens -- lens+import Data.Aeson.Lens -- lens-aeson import Data.Aeson (Value) -- aeson import Data.Function (on) -- base import Data.List (sortBy) -- base
examples/web-authentication.hs view
@@ -4,7 +4,7 @@ -- Please remember to substitute __YOUR_API_KEY__, -- __YOUR_SECRET__ and __YOUR_CALLBACK__ for real values import Control.Lens -- lens-import Data.Aeson.Lens -- lens+import Data.Aeson.Lens -- lens-aeson import Control.Monad -- base import Control.Monad.IO.Class (liftIO) -- transformers import Data.IORef -- base
liblastfm.cabal view
@@ -1,5 +1,5 @@ name: liblastfm-version: 0.4.0.0+version: 0.4.1.0 synopsis: Lastfm API interface license: MIT license-file: LICENSE@@ -44,7 +44,7 @@ , crypto-api , http-client >= 0.3 , http-client-tls >= 0.2- , network+ , network-uri , profunctors , pureMD5 , semigroups@@ -87,7 +87,8 @@ , base >= 4 && < 5 , bytestring , HUnit- , lens >= 4.0.1+ , lens-aeson >= 1.0.0.1+ , lens >= 4.4 , liblastfm , hspec , text@@ -143,8 +144,9 @@ , hspec-expectations-lens >= 0.3.0.0 , http-client , http-client-tls- , lens >= 4.0- , network+ , lens >= 4.4+ , lens-aeson >= 1.0.0.1+ , network-uri , profunctors , pureMD5 , text