From 492249621b63eac07327ec593a6e07f5f5e06118 Mon Sep 17 00:00:00 2001 From: "Derrick J. Wippler" Date: Thu, 17 Sep 2020 11:30:05 -0500 Subject: [PATCH] Updated CHANGELOG and added ListEventsWithDomain() to the mailgun interface --- CHANGELOG | 4 ++++ mailgun.go | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 29284326..23d11f52 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.2.0] - 2020-09-17 +### Added +* Added ListEventsWithDomain() + ## [4.1.4] - 2020-08-20 ### Changes * Added Storage to Accepted, Delivered and Failed events diff --git a/mailgun.go b/mailgun.go index 5265cf6f..f4bc7eaf 100644 --- a/mailgun.go +++ b/mailgun.go @@ -206,6 +206,7 @@ type Mailgun interface { UpdateMember(ctx context.Context, Member, list string, prototype Member) (Member, error) DeleteMember(ctx context.Context, Member, list string) error + ListEventsWithDomain(opts *ListEventOptions, domain string) *EventIterator ListEvents(*ListEventOptions) *EventIterator PollEvents(*ListEventOptions) *EventPoller