Releases: mailgun/mailgun-go
Releases · mailgun/mailgun-go
Release v3.3.4
- Event iterator now returns false if it encounters a event parse error. #182
Release 3.3.3
Fixed marshalling for event changes
Release 3.3.2
Release 3.3.1
[3.3.1] - 2019-03-13
Changes
- Updated Template calls to reflect the most recent Template API changes.
GetStoredMessage()
now accepts a URL instead of an id- Deprecated
GetStoredMessageForURL()
- Deprecated
GetStoredMessageRawForURL()
- Fixed
GetUnsubscribed()
Added
- Added
GetStoredAttachment()
Removed
- Method
DeleteStoredMessage()
mailgun API no long allows this call
Release v3.3.0
Changes
- Changed signature of CreateDomain() Now returns JSON response
- Changed signature of GetDomain() Now returns a single DomainResponse
- Clarified installation notes for non golang module users
- Changed 'Public Key' to 'Public Validation Key' in readme
- Fixed issue with Next() for limit/skip based iterators
Added
- Added VerifyDomain()
Release Candidate 3.3.0-rc.1
- Changed signature of CreateDomain() Now returns JSON response
- Changed signature of GetDomain() Now returns a single DomainResponse
- Clarified installation notes for non golang module users
- Changed 'Public Key' to 'Public Validation Key' in readme
Release v3.2.0
Added support for Mailgun Webhooks 2.0
- Deprecated mg.VerifyWebhookRequest()
- Added mailgun.ParseEvent()
- Added mailgun.ParseEvents()
- Added mg.VerifyWebhookSignature()
Release 3.1.0
Changes
- Removed context.Context from ListDomains() signature
- ListEventOptions.Begin and End are no longer pointers to time.Time
Added
- Added mg.ReSend() to public Mailgun interface
- Added Message.SetSkipVerification()
- Added Message.SetRequireTLS()
Release v3.0.1
Templates API now marshals RFC2822 dates to time.Time instead of string
Release v3.0.0
NOTE: This release introduces go module support and requires the latests golang version to support versioned import paths.
List of added methods
- Added
AddDomainIP()
- Added
ListDomainIPS()
- Added
DeleteDomainIP()
- Added
ListIPS()
- Added
GetIP()
- Added
GetDomainTracking()
- Added
GetDomainConnection()
- Added
UpdateDomainConnection()
- Added
CreateExport()
- Added
ListExports()
- Added
GetExports()
- Added
GetExportLink()
- Added
CreateTemplate()
- Added
GetTemplate()
- Added
UpdateTemplate()
- Added
DeleteTemplate()
- Added
ListTemplates()
- Added
AddTemplateVersion()
- Added
GetTemplateVersion()
- Added
UpdateTemplateVersion()
- Added
DeleteTemplateVersion()
- Added
ListTemplateVersions()
List of improvements
- Added a
mailgun.MockServer
which duplicates part of the mailgun API; suitable for testing ListMailingLists()
now uses the/pages
API and returns an iteratorListMembers()
now uses the/pages
API and returns an iterator- Renamed public interface methods to be consistent. IE:
GetThing(), ListThing(), CreateThing()
- Moved event objects into the
mailgun/events
package, so names likeMailingList
returned by API calls andMailingList
as an event object don't conflict and confuse users. - Now using context.Context for all network operations
- Test suite will run without MG_ env vars defined
- ListRoutes() now uses the iterator interface
- Added SkipNetworkTest()
- Removed ginkgo and gomega tests
- Removed GetStats() As the /stats endpoint is depreciated
- Renamed GetStatsTotals() to GetStats()
- Renamed GetUnsubscribes to ListUnsubscribes()
- Renamed Unsubscribe() to CreateUnsubscribe()
- Renamed RemoveUnsubscribe() to DeleteUnsubscribe()
- GetStats() now takes an
*opt
argument to pass optional parameters - Modified GetUnsubscribe() to follow the API
- Now using golang modules
- Removed deprecated methods NewMessage and NewMIMEMessage
- ListCredentials() now returns an iterator
- ListUnsubscribes() now returns an paging iterator
- CreateDomain now accepts CreateDomainOption{}
- CreateDomain() now supports all optional parameters not just spam_action and wildcard.
- ListComplaints() now returns a page iterator
- Renamed
TagItem
toTag
- ListBounces() now returns a page iterator
- API responses with CreatedAt fields are now unmarshalled into RFC2822
- Removed GetCode() from
Bounce
struct. Verified API returns 'string' and not 'int' - DomainList() now returns an iterator
- Updated godoc documentation
- Removed more deprecated types
- Renamed ApiBase to APIBase
- Removed gobuffalo/envy dependency
- Updated copyright to 2019
- Removed mailgun cli from project
- Remove mention of the CLI in the README
- Fix #142 - Allow only CC or BCC recipients
- Fix #138 - Send() now warns if domain or api key is not provided
- Fix #113 - Send() now responds with a useful error if the server closed connection prematurely
- Fix #112 - Now unquote variables added to the message before send
ListEvents()
now returns a list of typed events