Skip to content

Releases: mailgun/mailgun.js

v12.3.0

01 Dec 11:59

Choose a tag to compare

What's Changed

Full Changelog: v12.2.0...v12.3.0

v12.2.0

25 Nov 12:38

Choose a tag to compare

What's Changed

Full Changelog: v12.1.1...v12.2.0

v12.1.1

10 Oct 08:39

Choose a tag to compare

What's Changed

Full Changelog: v12.1.0...v12.1.1

v12.1.0

25 Sep 08:10

Choose a tag to compare

What's Changed

Full Changelog: v12.0.3...v12.1.0

v12.0.3

20 Jun 12:33

Choose a tag to compare

What's Changed

Full Changelog: v12.0.2...v12.0.3

v12.0.2

27 May 11:24

Choose a tag to compare

What's Changed

Full Changelog: v12.0.1...v12.0.2

v12.0.1

05 Mar 09:57

Choose a tag to compare

What's Changed

  • other: update x509 TLS certificate generation README by @laserchicken in #440
  • fix: Update package.json conditional exports to support "moduleResolution": "bundler" by @olexandr-mazepa in #442

New Contributors

Full Changelog: v12.0.0...v12.0.1

v12.0.0

24 Feb 12:59

Choose a tag to compare

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: v11.1.0...v12.0.0

v11.1.0

09 Jan 12:55

Choose a tag to compare

What's Changed

  • created DomainTrackingClient to implement domain tracking API
  • getTracking and updateTracking methods moved from DomainsClient to DomainTrackingClient
  • getTracking and updateTracking methods marked as deprecated in DomainsClient

New Contributors

Full Changelog: v11.0.0...v11.1.0

v11.0.0

09 Jan 08:30

Choose a tag to compare

What's Changed

  • Removed DomainShortData type, because there is no difference between DomainShortData and DomainData in the new version.
  • created_at is now a Date object instead of a string in the TDomain type.
  • The query type for the domains.list method was extended by state, sort, authority, and search properties.
  • The domains.get method was extended, and now allows query.
  • Fixed domains.getConnection method to return data instead of undefined.
  • getIps, assignIp, deleteIp, linkIpPool, unlinkIpPoll, and updateWebPrefix methods in the DomainClient have been deprecated.
  • domains.updateDKIMSelector response shape is changed from { body: { message: 'DKIM selector changed' }, status: 200 } to {message: 'DKIM selector changed', status: 200 }

Full Changelog: v10.4.0...v11.0.0