hailgun 0.4.1.8 → 0.4.2
raw patch · 3 files changed
+16/−2 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
+ Mail.Hailgun.Internal: Attached :: AttachmentType
+ Mail.Hailgun.Internal: HailgunMessage :: MessageSubject -> MessageContent -> EmailAddress -> [EmailAddress] -> [EmailAddress] -> [EmailAddress] -> [SpecificAttachment] -> HailgunMessage
+ Mail.Hailgun.Internal: Inline :: AttachmentType
+ Mail.Hailgun.Internal: SpecificAttachment :: AttachmentType -> FilePath -> AttachmentBody -> SpecificAttachment
+ Mail.Hailgun.Internal: [messageAttachments] :: HailgunMessage -> [SpecificAttachment]
+ Mail.Hailgun.Internal: [messageBCC] :: HailgunMessage -> [EmailAddress]
+ Mail.Hailgun.Internal: [messageCC] :: HailgunMessage -> [EmailAddress]
+ Mail.Hailgun.Internal: [messageContent] :: HailgunMessage -> MessageContent
+ Mail.Hailgun.Internal: [messageFrom] :: HailgunMessage -> EmailAddress
+ Mail.Hailgun.Internal: [messageSubject] :: HailgunMessage -> MessageSubject
+ Mail.Hailgun.Internal: [messageTo] :: HailgunMessage -> [EmailAddress]
+ Mail.Hailgun.Internal: [saBody] :: SpecificAttachment -> AttachmentBody
+ Mail.Hailgun.Internal: [saFilePath] :: SpecificAttachment -> FilePath
+ Mail.Hailgun.Internal: [saType] :: SpecificAttachment -> AttachmentType
+ Mail.Hailgun.Internal: data AttachmentType
+ Mail.Hailgun.Internal: data HailgunMessage
+ Mail.Hailgun.Internal: data SpecificAttachment
- Mail.Hailgun: type MessageSubject = Text Represents a message subject.
+ Mail.Hailgun: type MessageSubject = Text " Represents a message subject."
- Mail.Hailgun: type UnverifiedEmailAddress = ByteString Represents an email address that is not yet verified.
+ Mail.Hailgun: type UnverifiedEmailAddress = ByteString " Represents an email address that is not yet verified."
Files
- Changelog.md +3/−0
- Mail/Hailgun/Internal.hs +10/−0
- hailgun.cabal +3/−2
+ Changelog.md view
@@ -0,0 +1,3 @@+## 0.4.2++- Adds `Mail.Hailgun.Internal` module, which exposes private APIs for constructing a `HailgunMessage`.
+ Mail/Hailgun/Internal.hs view
@@ -0,0 +1,10 @@+-- | This module exports internals of Hailgun+--+-- Breaking changes in this module will NOT be reflected in a change to the first two components of the package version number.+module Mail.Hailgun.Internal+ ( HailgunMessage(..)+ , SpecificAttachment(..)+ , AttachmentType(..)+ ) where++import Mail.Hailgun.Internal.Data
hailgun.cabal view
@@ -10,7 +10,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.4.1.8+version: 0.4.2 -- A short (one-line) description of the package. synopsis: Mailgun REST api interface for Haskell.@@ -44,7 +44,7 @@ -- Extra files to be distributed with the package, such as examples or a -- README.-extra-source-files: README.markdown+extra-source-files: README.markdown, Changelog.md -- Constraint on the version of Cabal needed to build this package. cabal-version: >=1.10@@ -58,6 +58,7 @@ library exposed-modules: Mail.Hailgun , Mail.Hailgun.Attachment+ , Mail.Hailgun.Internal other-modules: Mail.Hailgun.Internal.Data , Mail.Hailgun.Attachment.Internal