packages feed

stratosphere 0.1.2.1 → 0.1.3

raw patch · 5 files changed

+21/−14 lines, 5 filesdep ~aeson-prettyPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: aeson-pretty

API changes (from Hackage documentation)

- Stratosphere.Resources: [resourceName] :: Resource -> Text
- Stratosphere.Resources: instance Stratosphere.Resources.HasName Stratosphere.Resources.Resource Data.Text.Internal.Text
+ Stratosphere.Resources: [resourceResName] :: Resource -> Text
+ Stratosphere.Resources: instance Stratosphere.Resources.HasResName Stratosphere.Resources.Resource Data.Text.Internal.Text
+ Stratosphere.Resources: resName :: HasResName s a => Lens' s a

Files

CHANGELOG.md view
@@ -1,5 +1,10 @@ # Change Log +## 0.1.3++* Update `aeson-pretty` to version 0.8 so we can stay in stackage nightly.+* Fix not exporting resource name lens.+ ## 0.1.2.1  * Removed some dependencies that crept in so we can build against stackage
library-gen/Stratosphere/Resources.hs view
@@ -21,6 +21,7 @@      ( module X      , Resource (..)      , resource+     , resName      , properties      , deletionPolicy      , resCreationPolicy@@ -169,7 +170,7 @@  data Resource =   Resource-  { resourceName :: T.Text+  { resourceResName :: T.Text   , resourceProperties :: ResourceProperties   , resourceDeletionPolicy :: Maybe DeletionPolicy   , resourceResCreationPolicy :: Maybe CreationPolicy@@ -178,7 +179,7 @@   } deriving (Show)  instance ToRef Resource b where-  toRef r = Ref (resourceName r)+  toRef r = Ref (resourceResName r)  -- | Convenient constructor for 'Resource' with required arguments. resource@@ -187,7 +188,7 @@   -> Resource resource rn rp =   Resource-  { resourceName = rn+  { resourceResName = rn   , resourceProperties = rp   , resourceDeletionPolicy = Nothing   , resourceResCreationPolicy = Nothing@@ -343,7 +344,7 @@   toList = unResources  instance NamedItem Resource where-  itemName = resourceName+  itemName = resourceResName   nameToJSON = resourceToJSON   nameParseJSON = resourceFromJSON 
library/Stratosphere/Template.hs view
@@ -101,7 +101,7 @@  -- | Pretty print a template using aeson-pretty. encodeTemplate :: Template -> BS.ByteString-encodeTemplate = encodePretty' defConfig { confIndent = 2, confCompare = comp }+encodeTemplate = encodePretty' defConfig { confIndent = Spaces 2, confCompare = comp }   where comp = keyOrder [ "AWSTemplateFormatVersion"                         , "Description"                         , "Metadata"
stack.yaml view
@@ -1,4 +1,5 @@-resolver: lts-6.0+resolver: nightly-2016-06-30 packages:   - '.'-extra-deps: []+extra-deps:+  - aeson-pretty-0.8.0
stratosphere.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack  name:           stratosphere-version:        0.1.2.1+version:        0.1.3 synopsis:       EDSL for AWS CloudFormation description:    EDSL for AWS CloudFormation category:       AWS, Cloud@@ -33,7 +33,7 @@   build-depends:       base >= 4.8 && < 5     , aeson >= 0.11-    , aeson-pretty >= 0.7+    , aeson-pretty >= 0.8     , bytestring     , lens >= 4.5     , template-haskell >= 2.0@@ -129,7 +129,7 @@   build-depends:       base >= 4.8 && < 5     , aeson >= 0.11-    , aeson-pretty >= 0.7+    , aeson-pretty >= 0.8     , bytestring     , lens >= 4.5     , template-haskell >= 2.0@@ -146,7 +146,7 @@   build-depends:       base >= 4.8 && < 5     , aeson >= 0.11-    , aeson-pretty >= 0.7+    , aeson-pretty >= 0.8     , bytestring     , lens >= 4.5     , template-haskell >= 2.0@@ -163,7 +163,7 @@   build-depends:       base >= 4.8 && < 5     , aeson >= 0.11-    , aeson-pretty >= 0.7+    , aeson-pretty >= 0.8     , bytestring     , lens >= 4.5     , template-haskell >= 2.0@@ -180,7 +180,7 @@   build-depends:       base >= 4.8 && < 5     , aeson >= 0.11-    , aeson-pretty >= 0.7+    , aeson-pretty >= 0.8     , bytestring     , lens >= 4.5     , template-haskell >= 2.0@@ -201,7 +201,7 @@   build-depends:       base >= 4.8 && < 5     , aeson >= 0.11-    , aeson-pretty >= 0.7+    , aeson-pretty >= 0.8     , bytestring     , lens >= 4.5     , template-haskell >= 2.0