Skip to content

Bump mailgun.js from 5.2.2 to 12.0.0#55

Closed
dependabot[bot] wants to merge 1 commit into
blogfrom
dependabot/npm_and_yarn/mailgun.js-12.0.0
Closed

Bump mailgun.js from 5.2.2 to 12.0.0#55
dependabot[bot] wants to merge 1 commit into
blogfrom
dependabot/npm_and_yarn/mailgun.js-12.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 24, 2025

Copy link
Copy Markdown
Contributor

Bumps mailgun.js from 5.2.2 to 12.0.0.

Release notes

Sourced from mailgun.js's releases.

v12.0.0

What's Changed

BREAKING:

  • Exports of TypeScript types, interfaces, and enums have been moved to the mailgun.js/definitions submodule. In case you need them, starting from version 12, please use

    import { MailgunClientOptions, MessagesSendResult } from 'mailgun.js/definitions';

    instead of

    import { MailgunClientOptions, MessagesSendResult } from 'mailgun.js';
  • AMD import no longer requires using the .default property. So now this is

    <script>
    require('./dist/AMD/mailgun.amd.js', function(Mailgun) {
     const mailgun = new Mailgun(FormData); // default property is not needed anymore
    }
    </script>

    Instead of

    <script>
    require('./dist/AMD/mailgun.amd.js', function(Mailgun) {
     const mailgun = new Mailgun.default(FormData);  // default property was required previously
    });
    </script>

Features:

  • Added ESM bundles for browser and Node.js environments

Other:

  • Webpack has been replaced by Rollup
  • Mocha has been replaced by Jest to use one test runner for all tests
  • Added new tests that check ESM bundles exports
  • Updated TS documentation

Full Changelog: mailgun/mailgun.js@v11.1.0...v12.0.0

v11.1.0

What's Changed

  • created DomainTrackingClient to implement domain tracking API
  • getTracking and updateTracking methods moved from DomainsClient to DomainTrackingClient

... (truncated)

Changelog

Sourced from mailgun.js's changelog.

12.0.0 (2025-02-24)

Breaking changes

  • Move types, interfaces, enums into submodule (dba1dd9)
  • Exports of TypeScript types, interfaces, and enums have been moved to the mailgun.js/definitions submodule. In case you need them, starting from version 12, please use

    import { MailgunClientOptions, MessagesSendResult } from 'mailgun.js/definitions';

    instead of

    import { MailgunClientOptions, MessagesSendResult } from 'mailgun.js';
  • AMD import no longer requires using the .default property. So now this is

    <script>
    require('./dist/AMD/mailgun.amd.js', function(Mailgun) {
     const mailgun = new Mailgun(FormData); // default property is not needed anymore
    }
    </script>

    Instead of

    <script>
    require('./dist/AMD/mailgun.amd.js', function(Mailgun) {
     const mailgun = new Mailgun.default(FormData);  // default property was required previously
    });
    </script>

Other changes

... (truncated)

Commits
  • c233014 chore(release): 12.0.0
  • 460665c Merge pull request #437 from mailgun/replace-webpack-by-roll-up
  • e658740 other: Increase tests timeout
  • a70841a other: Regenerate TS documentation
  • aa3958c other: Update Readme
  • c43cfcc other: Remove webpack deps
  • 6ae657e other: Add watch script and production setup
  • d76c1e6 other: Make function for esm builds configuration
  • 03ee42c other: Fix tests
  • 81af7fb other: Add tests for esm imports
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [mailgun.js](https://github.com/mailgun/mailgun.js) from 5.2.2 to 12.0.0.
- [Release notes](https://github.com/mailgun/mailgun.js/releases)
- [Changelog](https://github.com/mailgun/mailgun.js/blob/master/CHANGELOG.md)
- [Commits](mailgun/mailgun.js@v5.2.2...v12.0.0)

---
updated-dependencies:
- dependency-name: mailgun.js
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Feb 24, 2025
@netlify

netlify Bot commented Feb 24, 2025

Copy link
Copy Markdown

Deploy Preview for api-jdsteinbach ready!

Name Link
🔨 Latest commit 8cbf11a
🔍 Latest deploy log https://app.netlify.com/sites/api-jdsteinbach/deploys/67bcd55ad5a03b0008a264a4
😎 Deploy Preview https://deploy-preview-55--api-jdsteinbach.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@dependabot @github

dependabot Bot commented on behalf of github Mar 10, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #57.

@dependabot dependabot Bot closed this Mar 10, 2025
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/mailgun.js-12.0.0 branch March 10, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants