Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mailgun/mailgun-go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.22.1
Choose a base ref
...
head repository: mailgun/mailgun-go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.22.2
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Feb 9, 2025

  1. DE-1417 deprecate UpdateDomainTrackingWebPrefix (#389)

    vtopc authored Feb 9, 2025
    Copy the full SHA
    2596ed9 View commit details

Commits on Feb 20, 2025

  1. Bump github.com/go-chi/chi/v5 from 5.2.0 to 5.2.1 (#391)

    Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from
    5.2.0 to 5.2.1.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/go-chi/chi/releases">github.com/go-chi/chi/v5's
    releases</a>.</em></p>
    <blockquote>
    <h2>v5.2.1</h2>
    <h2>⚠️  Chi supports Go 1.20+</h2>
    <p>Starting this release, we will now support the four most recent major
    versions of Go. See <a
    href="https://redirect.github.com/go-chi/chi/issues/963">go-chi/chi#963</a>
    for related discussion.</p>
    <h2>What's Changed</h2>
    <ul>
    <li>Support the four most recent major versions of Go by <a
    href="https://github.com/VojtechVitek"><code>@​VojtechVitek</code></a>
    in <a
    href="https://redirect.github.com/go-chi/chi/pull/969">go-chi/chi#969</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/go-chi/chi/compare/v5.2.0...v5.2.1">https://github.com/go-chi/chi/compare/v5.2.0...v5.2.1</a></p>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/go-chi/chi/commit/71307f9b7e4e9527638bc951c42b782cd1560331"><code>71307f9</code></a>
    Support the four most recent major versions of Go (<a
    href="https://redirect.github.com/go-chi/chi/issues/969">#969</a>)</li>
    <li>See full diff in <a
    href="https://github.com/go-chi/chi/compare/v5.2.0...v5.2.1">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/go-chi/chi/v5&package-manager=go_modules&previous-version=5.2.0&new-version=5.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 20, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    554933d View commit details
Showing with 6 additions and 4 deletions.
  1. +3 −1 domains.go
  2. +1 −1 go.mod
  3. +2 −2 go.sum
4 changes: 3 additions & 1 deletion domains.go
Original file line number Diff line number Diff line change
@@ -406,7 +406,9 @@ func (mg *MailgunImpl) UpdateDomainDkimSelector(ctx context.Context, domain, dki
return err
}

// Update the CNAME used for tracking opens and clicks
// UpdateDomainTrackingWebPrefix updates the CNAME used for tracking opens and clicks
// Deprecated: Use UpdateDomainOptions use UpdateDomain
// https://documentation.mailgun.com/docs/mailgun/api-reference/openapi-final/tag/Domains/#tag/Domains/operation/PUT-v3-domains--name--web-prefix
func (mg *MailgunImpl) UpdateDomainTrackingWebPrefix(ctx context.Context, domain, webPrefix string) error {
r := newHTTPRequest(generatePublicApiUrl(mg, domainsEndpoint) + "/" + domain + "/web_prefix")
r.setClient(mg.Client())
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ module github.com/mailgun/mailgun-go/v4
go 1.22

require (
github.com/go-chi/chi/v5 v5.2.0
github.com/go-chi/chi/v5 v5.2.1
github.com/json-iterator/go v1.1.12
github.com/mailgun/errors v0.4.0
github.com/stretchr/testify v1.10.0
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/go-chi/chi/v5 v5.2.0 h1:Aj1EtB0qR2Rdo2dG4O94RIU35w2lvQSj6BRA4+qwFL0=
github.com/go-chi/chi/v5 v5.2.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8=
github.com/go-chi/chi/v5 v5.2.1 h1:KOIHODQj58PmL80G2Eak4WdvUzjSJSm0vG72crDCqb8=
github.com/go-chi/chi/v5 v5.2.1/go.mod h1:L2yAIGWB3H+phAw1NxKwWM+7eUH/lU8pOMm5hHcoops=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=