serverless-haskell 0.5.1 → 0.5.2
raw patch · 3 files changed
+10/−3 lines, 3 files
Files
- README.md +5/−1
- serverless-haskell.cabal +2/−2
- src/AWSLambda/Orphans.hs +3/−0
README.md view
@@ -22,7 +22,9 @@ stack new mypackage ``` - LTS 9 and 10 are supported, older versions are likely to work too but untested.+ LTS 9, 10 and 11 are supported, older versions are likely to work too but+ untested. For LTS 11, add the Amazonka 1.6.0 dependency manually - see+ [stack.yaml](stack.yaml#L9-L12). * Initialise a Serverless project inside the Stack package directory and install the `serverless-haskell` plugin:@@ -112,6 +114,8 @@ * Run `./integration-test/run.sh`. The exit code indicates success. * To verify just the packaging, without deployment, run `./integration-test/run.sh --dry-run`.+* By default, the integration test is run with LTS 11. To specify a different+series, use `RESOLVER_SERIES=lts-9`. ## Releasing
serverless-haskell.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: dd2b5566a666fb6304386c170bc456dfed8ad8faffc46cb6336a6dc2789fe58c+-- hash: 8f7a5edd86f688ac89a16b18015891d3d1ef2dd96525bb7f22231c96791b2183 name: serverless-haskell-version: 0.5.1+version: 0.5.2 synopsis: Deploying Haskell code onto AWS Lambda using Serverless description: Utilities to help process the events from AWS Lambda when deployed with the serverless-haskell plugin. category: AWS, Cloud, Network
src/AWSLambda/Orphans.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE StandaloneDeriving #-}@@ -10,7 +11,9 @@ import Network.AWS.Data.Text (fromText) import qualified Network.AWS.S3 as S3 +#if !MIN_VERSION_amazonka_core(1,6,0) deriving instance FromJSON S3.BucketName+#endif deriving instance FromJSON S3.ObjectKey