github.com/mailgun/mailgun-go/v3@v3.6.4/CHANGELOG (about)

     1  # Changelog
     2  All notable changes to this project will be documented in this file.
     3  
     4  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
     5  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
     6  
     7  ## [3.6.3] - 2019-12-03
     8  ### Changes
     9  * Calls to get stats now use epoch as the time format
    10  
    11  ## [3.6.2] - 2019-11-18
    12  ### Added
    13  * Added `AddTemplateVariable()` to make adding variables to templates 
    14    less confusing and error prone.
    15  
    16  ## [3.6.1] - 2019-10-24
    17  ### Added
    18  * Added `VerifyWebhookSignature()` to mailgun interface
    19  
    20  ## [3.6.1-rc.3] - 2019-07-16
    21  ### Added
    22  * APIBaseEU and APIBaseUS to help customers change regions
    23  * Documented how to change regions in the README
    24  
    25  ## [3.6.1-rc.2] - 2019-07-01
    26  ### Changes
    27  * Fix the JSON response for `GetMember()`
    28  * Typo in format string in max number of tags error
    29  
    30  ## [3.6.0] - 2019-06-26
    31  ### Added
    32  * Added UpdateClickTracking() to modify click tracking for a domain
    33  * Added UpdateUnsubscribeTracking() to modify unsubscribe tracking for a domain
    34  * Added UpdateOpenTracking() to modify open tracking for a domain
    35  
    36  ## [3.5.0] - 2019-05-21
    37  ### Added
    38  * Added notice in README about go dep bug.
    39  * Added endpoints for webhooks in mock server
    40  ### Changes
    41  * Change names of some parameters on public methods to make their use clearer.
    42  * Changed signature of `GetWebhook()` now returns []string.
    43  * Changed signature of `ListWebhooks()` now returns map[string][]string.
    44  * Both `GetWebhooks()` and `ListWebhooks()` now handle new and legacy webhooks properly.
    45  
    46  ## [3.4.0] - 2019-04-23
    47  ### Added
    48  * Added `Message.SetTemplate()` to allow sending with the body of a template.
    49  ### Changes
    50  * Changed signature of `CreateDomain()` moved password into `CreateDomainOptions`
    51  
    52  ## [3.4.0] - 2019-04-23
    53  ### Added
    54  * Added `Message.SetTemplate()` to allow sending with the body of a template.
    55  ### Changes
    56  * Changed signature of `CreateDomain()` moved password into `CreateDomainOptions`
    57  
    58  ## [3.3.2] - 2019-03-28
    59  ### Changes
    60  * Uncommented DeliveryStatus.Code and change it to an integer (See #175)
    61  * Added UserVariables to all Message events (See #176)
    62  
    63  ## [3.3.1] - 2019-03-13
    64  ### Changes
    65  * Updated Template calls to reflect the most recent Template API changes.
    66  * GetStoredMessage() now accepts a URL instead of an id
    67  * Deprecated GetStoredMessageForURL()
    68  * Deprecated GetStoredMessageRawForURL()
    69  * Fixed GetUnsubscribed()
    70  
    71  ### Added
    72  * Added `GetStoredAttachment()`
    73  
    74  ### Removed
    75  * Method `DeleteStoredMessage()` mailgun API no long allows this call
    76  
    77  ## [3.3.0] - 2019-01-28
    78  ### Changes
    79  * Changed signature of CreateDomain() Now returns JSON response
    80  * Changed signature of GetDomain() Now returns a single DomainResponse
    81  * Clarified installation notes for non golang module users
    82  * Changed 'Public Key' to 'Public Validation Key' in readme
    83  * Fixed issue with Next() for limit/skip based iterators
    84  
    85  ### Added
    86  * Added VerifyDomain()
    87  
    88  ## [3.2.0] - 2019-01-21
    89  ### Changes
    90  * Deprecated mg.VerifyWebhookRequest()
    91  
    92  ### Added
    93  * Added mailgun.ParseEvent()
    94  * Added mailgun.ParseEvents()
    95  * Added mg.VerifyWebhookSignature()
    96  
    97  
    98  ## [3.1.0] - 2019-01-16
    99  ### Changes
   100  * Removed context.Context from ListDomains() signature
   101  * ListEventOptions.Begin and End are no longer pointers to time.Time
   102  
   103  ### Added
   104  * Added mg.ReSend() to public Mailgun interface
   105  * Added Message.SetSkipVerification()
   106  * Added Message.SetRequireTLS()
   107  
   108  ## [3.0.0] - 2019-01-15
   109  ### Added
   110  * Added CHANGELOG
   111  * Added `AddDomainIP()`
   112  * Added `ListDomainIPS()`
   113  * Added `DeleteDomainIP()`
   114  * Added `ListIPS()`
   115  * Added `GetIP()`
   116  * Added `GetDomainTracking()`
   117  * Added `GetDomainConnection()`
   118  * Added `UpdateDomainConnection()`
   119  * Added `CreateExport()`
   120  * Added `ListExports()`
   121  * Added `GetExports()`
   122  * Added `GetExportLink()`
   123  * Added `CreateTemplate()`
   124  * Added `GetTemplate()`
   125  * Added `UpdateTemplate()`
   126  * Added `DeleteTemplate()`
   127  * Added `ListTemplates()`
   128  * Added `AddTemplateVersion()`
   129  * Added `GetTemplateVersion()`
   130  * Added `UpdateTemplateVersion()`
   131  * Added `DeleteTemplateVersion()`
   132  * Added `ListTemplateVersions()`
   133  
   134  ### Changed
   135  * Added a `mailgun.MockServer` which duplicates part of the mailgun API; suitable for testing
   136  * `ListMailingLists()` now uses the `/pages` API and returns an iterator
   137  * `ListMembers()` now uses the `/pages` API and returns an iterator
   138  * Renamed public interface methods to be consistent. IE: `GetThing(), ListThing(), CreateThing()`
   139  * Moved event objects into the `mailgun/events` package, so names like
   140    `MailingList` returned by API calls and `MailingList` as an event object
   141    don't conflict and confuse users.
   142  * Now using context.Context for all network operations
   143  * Test suite will run without MG_ env vars defined
   144  * ListRoutes() now uses the iterator interface
   145  * Added SkipNetworkTest()
   146  * Renamed GetStatsTotals() to GetStats()
   147  * Renamed GetUnsubscribes to ListUnsubscribes()
   148  * Renamed Unsubscribe() to CreateUnsubscribe()
   149  * Renamed RemoveUnsubscribe() to DeleteUnsubscribe()
   150  * GetStats() now takes an `*opt` argument to pass optional parameters
   151  * Modified GetUnsubscribe() to follow the API
   152  * Now using golang modules
   153  * ListCredentials() now returns an iterator
   154  * ListUnsubscribes() now returns an paging iterator
   155  * CreateDomain now accepts CreateDomainOption{}
   156  * CreateDomain() now supports all optional parameters not just spam_action and wildcard.
   157  * ListComplaints() now returns a page iterator
   158  * Renamed `TagItem` to `Tag`
   159  * ListBounces() now returns a page iterator
   160  * API responses with CreatedAt fields are now unmarshalled into RFC2822
   161  * DomainList() now returns an iterator
   162  * Updated godoc documentation
   163  * Renamed ApiBase to APIBase
   164  * Updated copyright to 2019
   165  * `ListEvents()` now returns a list of typed events
   166  
   167  ### Removed
   168  * Removed more deprecated types
   169  * Removed gobuffalo/envy dependency
   170  * Remove mention of the CLI in the README
   171  * Removed mailgun cli from project
   172  * Removed GetCode() from `Bounce` struct. Verified API returns 'string' and not 'int'
   173  * Removed deprecated methods NewMessage and NewMIMEMessage
   174  * Removed ginkgo and gomega tests
   175  * Removed GetStats() As the /stats endpoint is depreciated