packages feed

bloodhound-amazonka-auth 0.1.2.0 → 0.1.2.1

raw patch · 3 files changed

+10/−4 lines, 3 filesdep ~amazonka-coredep ~amazonka-elasticsearchPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-core, amazonka-elasticsearch

API changes (from Hackage documentation)

Files

bloodhound-amazonka-auth.cabal view
@@ -1,5 +1,5 @@ name:                bloodhound-amazonka-auth-version:             0.1.2.0+version:             0.1.2.1 synopsis:            Adds convenient Amazon ElasticSearch Service authentication to Bloodhound. description:         Please see README.md homepage:            http://github.com/MichaelXavier/bloodhound-amazonka-auth#readme@@ -26,8 +26,8 @@                      , bloodhound >= 0.11                      , http-client                      , time-                     , amazonka-core >= 1.3.0 && < 1.5-                     , amazonka-elasticsearch >= 1.3.6 && < 1.5+                     , amazonka-core >= 1.3.0+                     , amazonka-elasticsearch >= 1.3.6                      , transformers                      , http-types                      , exceptions
changelog.md view
@@ -1,3 +1,6 @@+0.1.2.1+* Allow newer dependencies, including bloodhound.+ 0.1.2.0 * Fix bug where amazonka would override user-specified timeouts. * Support newer versions of bloodhound.
test/Main.hs view
@@ -73,6 +73,9 @@           , searchType = SearchTypeQueryThenFetch           , fields = Nothing           , source = Nothing+#if MIN_VERSION_bloodhound(0, 15, 0)+          , suggestBody = Nothing+#endif           }       res <- parseEsResponse =<< runBH env (searchByIndex testIndexSplat search)       case (res :: Either EsError (SearchResult Value)) of@@ -104,7 +107,7 @@   [     testCase "does not mangle query parameters" $ do       req <- parseUrlThrow "http://localhost:9200/foo/foo/_search?scroll=1m&search_type=scan"-      let ae = AuthEnv (AccessKey "access key") (SecretKey "secret key") Nothing Nothing+      let ae = AuthEnv (AccessKey "access key") "secret key" Nothing Nothing       let now = posixSecondsToUTCTime 0       let Right res = amazonkaAuthHook' ae NorthVirginia req now       secure res @?= False