Skip to content

Conversation

@missionlane-renovate
Copy link
Contributor

@missionlane-renovate missionlane-renovate bot commented Apr 18, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/mailgun/mailgun-go/v3 v3.6.4 -> v5.9.0 age adoption passing confidence

Release Notes

mailgun/mailgun-go (github.com/mailgun/mailgun-go/v3)

v5.9.0: extend domains endpoints

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v5.8.1...v5.9.0

v5.8.1

Compare Source

What's Changed

  • DE-1624 Fix encoding in Unsubscribe and MailingLists endpoints by @​vtopc in #​441

Full Changelog: mailgun/mailgun-go@v5.8.0...v5.8.1

v5.8.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v5.7.0...v5.8.0

v5.7.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v5.6.2...v5.7.0

v5.6.2

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v5.6.1...v5.6.2

v5.6.1

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v5.6.0...v5.6.1

v5.6.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v5.5.0...v5.6.0

v5.5.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v5.4.2...v5.5.0

v5.4.2

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v5.4.1...v5.4.2

v5.4.1

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v5.4.0...v5.4.1

v5.4.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v5.3.0...v5.4.0

v5.3.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v5.2.0...v5.3.0

v5.2.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v5.1.0...v5.2.0

v5.1.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v5.0.0...v5.1.0

v5.0.0

Compare Source

What's Changed

Breaking changes:
Mailgun client is now domain agnostic
  • No need to pass the domain into the func mailgun.NewMailgun
  • Many methods now require passing a domain, which indicates which methods are domain-specific and which are global for your account.
    • Pay attention to that func NewMessage(domain, from, subject, text string, to ...string) has a variadic to argument, so there would be no compile error if you miss passing domain.
Types and mocks
  • API requests, responses, and helper types are moved into github.com/mailgun/mailgun-go/v5/mtypes package.
  • Event interface and parsers moved to github.com/mailgun/mailgun-go/v5/events
  • mocks moved to github.com/mailgun/mailgun-go/v5/mocks to address #​322 and #​332
Messages
  • Send() and ReSend() methods now returns mtypes.SendMessageResponse.
  • Deprecated NewMessage() and NewMIMEMessage() have been removed, use relative funcs.
  • Deprecated GetStoredMessageForURL method has been removed.
  • Deprecated GetStoredMessageRawForURL method has been removed.
Validation
  • Deprecated NewEmailValidator and NewEmailValidatorFromEnv are removed, use ValidateEmail(...) method of Mailgun.
  • Deprecated IsValid field is removed from the response; use Risk.
Subaccounts
  • Deprecated SubaccountDetails(ctx context.Context, subaccountId string) method is removed, use GetSubaccount(ctx context.Context, subaccountID string).
Domains
  • Deprecated func UpdateDomainTrackingWebPrefix is removed, use func UpdateDomain.
  • Deprecated func VerifyDomain is removed, use func VerifyAndReturnDomain.
  • Deprecated field CreateDomainOptions.IPS is removed, use CreateDomainOptions.IPs.
  • ListEventsWithDomain(opts *ListEventOptions, domain string) -> ListEvents(domain string, opts *ListEventOptions).
Metrics
  • The deprecated field ESPBlockCount has been removed. Use TemporaryFailedESPBlockCount.
IPs
  • Deprecated ListDomainIPS(...) is removed, use ListDomainIPs(...).
  • Deprecated ListIPS(ctx context.Context, dedicated bool) is removed, use ListIPs(ctx context.Context, dedicated, enabled bool) (has new enabled argument).
Webhooks
  • Deprecated VerifyWebhookRequest method has been removed.
Other changes

These changes might be breaking in some cases.

  • Send(ctx context.Context, m Message) method now accepts the Message interface instead of a pointer to struct.

  • SetAPIBase() method now returns an error.

  • For the EU: do mg.SetAPIBase(mailgun.APIBaseEU) instead of mg.SetAPIBase("https://api.eu.mailgun.net/v...").

  • The Webhook Signing Key is now optional and does not relate to the API key. If it is not set(by SetWebhookSigningKey(webhookSigningKey string) method), don't call the VerifyWebhookSignature() method, as it will always fail.

  • mailgun.MailgunImpl is renamed to mailgun.Client for not stuttering.

PRs:

Full Changelog: mailgun/mailgun-go@v4.23.0...v5.0.0

v4.23.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.22.3...v4.23.0

v4.22.3

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.22.2...v4.22.3

v4.22.2

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.22.1...v4.22.2

v4.22.1

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.22.0...v4.22.1

v4.22.0

Compare Source

What's Changed

New Contributors

Full Changelog: mailgun/mailgun-go@v4.21.0...v4.22.0

v4.21.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.20.6...v4.21.0

v4.20.6

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.20.5...v4.20.6

v4.20.5

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.20.4...v4.20.5

v4.20.4

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.20.3...v4.20.4

v4.20.3

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.20.2...v4.20.3

v4.20.2

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.20.1...v4.20.2

v4.20.1

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.20.0...v4.20.1

v4.20.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.19.1...v4.20.0

v4.19.1

Compare Source

What's Changed

New Contributors

Full Changelog: mailgun/mailgun-go@v4.19.0...v4.19.1

v4.19.0

Compare Source

What's Changed

New Contributors

Full Changelog: mailgun/mailgun-go@v4.18.5...v4.19.0

v4.18.5

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.18.4...v4.18.5

v4.18.4

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.18.3...v4.18.4

v4.18.3

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.18.2...v4.18.3

v4.18.2

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.18.1...v4.18.2

v4.18.1

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.18.0...v4.18.1

v4.18.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.17.3...v4.18.0

v4.17.3

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.17.2...v4.17.3

v4.17.2

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.17.1...v4.17.2

v4.17.1

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.17.0...v4.17.1

v4.17.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.16.0...v4.17.0

v4.16.0

Compare Source

What's Changed

New Contributors

Full Changelog: mailgun/mailgun-go@v4.15.2...v4.16.0

v4.15.2

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.15.1...v4.15.2

v4.15.1

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.15.0...v4.15.1

v4.15.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.14.0...v4.15.0

v4.14.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.13.0...v4.14.0

v4.13.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.12.0...v4.13.0

v4.12.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.11.1...v4.12.0

v4.11.1

Compare Source

What's Changed

New Contributors

Full Changelog: mailgun/mailgun-go@v4.11.0...v4.11.1

v4.11.0

Compare Source

What's Changed

New Contributors

Full Changelog: mailgun/mailgun-go@v4.10.0...v4.11.0

v4.10.0

Compare Source

What's Changed

New Contributors

Full Changelog: mailgun/mailgun-go@v4.9.2...v4.10.0

v4.9.2

Compare Source

What's Changed

New Contributors

Full Changelog: mailgun/mailgun-go@v4.9.1...v4.9.2

v4.9.1

Compare Source

What's Changed

New Contributors

Full Changelog: mailgun/mailgun-go@v4.9.0...v4.9.1

v4.9.0

Compare Source

What's Changed

New Contributors

Full Changelog: mailgun/mailgun-go@v4.8.2...v4.9.0

v4.8.2

Compare Source

What's Changed

New Contributors

Full Changelog: mailgun/mailgun-go@v4.8.01...v4.8.2

v4.8.1

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.8.0...v4.8.01

v4.8.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.7.0...v4.8.0

v4.7.0

Compare Source

What's Changed

Full Changelog: mailgun/mailgun-go@v4.6.2...v4.7.0

v4.6.2

Compare Source

What's Changed

New Contributors

Full Changelog: mailgun/mailgun-go@v4.6.1...v4.6.2

v4.6.1

Compare Source

[4.6.1] - 2022-03-29

Changed
  • Validate domain passed to Send()

v4.6.0

Compare Source

v4.5.3

Compare Source

Added result to v4 validation response

v4.5.2

Compare Source

[4.5.2] - 2021-06-28

Changed
  • Change response for VerifyDomain method from (string, error) to (DomainResponse, error)

v4.5.1

Compare Source

[4.5.1] - 2021-04-12

Changed
  • MockServer now locks internal resources for thread safety.

v4.5.0

Compare Source

[4.5.0] - 2021-04-09

Changed
  • MockServer is now an interface, NewMockServer() now returns the interface.

v4.4.1

Compare Source

[4.4.1] - 2021-02-23

Changed
  • Removed dependency on github.com/go-chi/chi

v4.4.0

Compare Source

[4.4.0] - 2021-02-22

Changed
  • Added SetTrackingOptions() to support htmlonly option

v4.3.4

Compare Source

[4.3.4] - 2021-02-22

Changed
  • Paging through results now clears the previous result before new fetch
  • Added test for multiple attachments

v4.3.3

Compare Source

[4.3.3] - 2021-01-29

Added
  • Added UpdateDomainTrackingWebPrefix()
  • Add the Risk to the EmailVerification response attributes

v4.3.2: Release 4.3.2

Compare Source

[4.3.2] - 2021-01-19

Added
  • Added UpdateDomainDkimSelector()

v4.3.1

Compare Source

[4.3.1] - 2021-01-08

Changed
  • Remove mustache from our list of supported template engines

v4.3.0

Compare Source

[4.3.0] - 2020-10-14

Changed
  • Replaced easyjson with json-iterator when marshaling events
  • Modified the mailgun.Event interface by removing the Marshaller interface from easyjson.
  • Fixed failure while testing webhook via mailgun web console

v4.2.0

Compare Source

[4.2.0] - 2020-09-17

Added
  • Added ListEventsWithDomain()

v4.1.4

Compare Source

[4.1.4] - 2020-08-20

Changes
  • Added Storage to Accepted, Delivered and Failed events

v4.1.3

Compare Source

[4.1.3] - 2020-06-23

Changes
  • UpdateTemplateVersion() now including the template html in the payload request

v4.1.2: Release 4.1.2

Compare Source

[4.1.2] - 2020-06-10

Added
  • Added DeleteBounceList method

v4.1.1

Compare Source

[4.1.1] - 2020-06-05

Changed
  • Nows sets initial tag when creating a new template

v4.1.0

Compare Source

[4.1.0] - 2020-04-23

Changed
  • Added EmailVerification.reason is now a []string (Fixes #​217)

v4.0.1

Compare Source

[4.0.1] - 2020-03-10

Added
  • Added SetTemplateVersion and SetTemplateRenderText methods to Message

v4.0.0: Release 4.0.0

Compare Source

[4.0.0] - 2020-01-27

Changes
  • Changed UserVariables type from map[string]interface{} to interface{}
    to handle truncated user-variable messages in events.
Added
  • Add support for setting AMP content in messages

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@missionlane-renovate
Copy link
Contributor Author

missionlane-renovate bot commented Apr 18, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/mattn/go-isatty v0.0.19 -> v0.0.20

@xbglowx
Copy link
Member

xbglowx commented Apr 18, 2025

FYI, there are some big breaking changings between v3 and v5.

@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch from 8ba5d3e to c166340 Compare May 1, 2025 12:17
@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch 2 times, most recently from e2200db to 815b723 Compare May 27, 2025 13:44
@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch 2 times, most recently from a03d149 to 92a1187 Compare July 2, 2025 13:39
@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch from 92a1187 to 4ac38bf Compare August 1, 2025 12:25
@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch 2 times, most recently from 232e5b8 to 7334704 Compare September 2, 2025 18:17
@missionlane-renovate missionlane-renovate bot changed the title fix(deps): update module github.com/mailgun/mailgun-go/v3 to v5 fix(deps): update golang deps (major) Sep 2, 2025
@missionlane-renovate missionlane-renovate bot changed the title fix(deps): update golang deps (major) fix(deps): update module github.com/mailgun/mailgun-go/v3 to v5 Sep 3, 2025
@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch from 7334704 to 7ec9751 Compare September 9, 2025 18:30
@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch from 7ec9751 to 4c9f89d Compare September 18, 2025 22:09
@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch 2 times, most recently from b77ad21 to fc041f6 Compare October 5, 2025 16:18
@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch 2 times, most recently from b7c5ca0 to 6bf4fc5 Compare October 21, 2025 00:29
@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch from 6bf4fc5 to 13c2505 Compare November 6, 2025 16:59
@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch from 13c2505 to a2e2744 Compare November 24, 2025 14:39
@kodem-security
Copy link

kodem-security bot commented Nov 24, 2025

Kodem Security Scan Summary

Status Check Issues by Severity Link
✅ Passed Code Weakness Security Report Link to Check

@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch 5 times, most recently from a0d8678 to 7db1567 Compare November 26, 2025 16:54
@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch 4 times, most recently from 00cc548 to 1e5e99d Compare December 7, 2025 02:34
@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch 5 times, most recently from cf41d92 to 43643f3 Compare December 19, 2025 10:38
@missionlane-renovate missionlane-renovate bot force-pushed the renovate/major-golang-deps branch from 43643f3 to ddb8984 Compare December 21, 2025 18:34
@missionlane-renovate missionlane-renovate bot changed the title fix(deps): update module github.com/mailgun/mailgun-go/v3 to v5 fix(deps): update module github.com/mailgun/mailgun-go/v3 to v5 - autoclosed Dec 22, 2025
@missionlane-renovate missionlane-renovate bot deleted the renovate/major-golang-deps branch December 22, 2025 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant