Releases: mailgun/mailgun.js
Releases · mailgun/mailgun.js
v12.3.0
What's Changed
- feature: Add missed messages endpoints by @olexandr-mazepa in #464
- feature: Add domain keys endpoints by @olexandr-mazepa in #465
- List keys for all domains
- Create a domain key
- Delete a domain key
- Activate a domain key
- List domain keys
- Deactivate a domain key
- Deprecates
mg.domains.updateDKIMAuthority(domainAddress, data)andmg.domains.updateDKIMSelector(domainAddress, data)
in favor tomg.domains.domainKeys.updateDKIMAuthority(domainAddress, data)andmg.domains.domainKeys.updateDKIMSelector(domainAddress, data)
Full Changelog: v12.2.0...v12.3.0
v12.2.0
What's Changed
- Added new subaccounts endpoints and fix existing types by @olexandr-mazepa in #462
Full Changelog: v12.1.1...v12.2.0
v12.1.1
What's Changed
- fix: Domain template types are missing headers field by @olexandr-mazepa in #459
Full Changelog: v12.1.0...v12.1.1
v12.1.0
What's Changed
- feature: Add Fetch as alternative client for requests by @olexandr-mazepa in #456
- chore(deps-dev): bump form-data from 3.0.3 to 3.0.4 by @dependabot[bot] in #452
- chore(deps): bump axios from 1.10.0 to 1.11.0 by @dependabot[bot] in #453
- chore(deps): bump axios from 1.11.0 to 1.12.1 by @dependabot[bot] in #457
- chore(deps): bump tar-fs from 3.0.9 to 3.1.1 by @dependabot[bot] in #458
Full Changelog: v12.0.3...v12.1.0
v12.0.3
What's Changed
- chore(deps): bump tar-fs from 3.0.8 to 3.0.9 by @dependabot in #448
- chore(deps): bump axios from 1.7.9 to 1.9.0 by @dependabot in #447
- fix: Update dependencies by @olexandr-mazepa in #451
Full Changelog: v12.0.2...v12.0.3
v12.0.2
What's Changed
- feature: Add default timeout to prevent unresolved promise by @olexandr-mazepa in #446
Full Changelog: v12.0.1...v12.0.2
v12.0.1
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
- @laserchicken made their first contribution in #440
Full Changelog: v12.0.0...v12.0.1
v12.0.0
What's Changed
- breaking: Add ESM support by @olexandr-mazepa in #437
BREAKING:
-
Exports of TypeScript types, interfaces, and enums have been moved to the
mailgun.js/definitionssubmodule.
In case you need them, starting from version 12, please useimport { MailgunClientOptions, MessagesSendResult } from 'mailgun.js/definitions';
instead of
import { MailgunClientOptions, MessagesSendResult } from 'mailgun.js';
-
AMD import no longer requires using the
.defaultproperty.
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
What's Changed
- feature: Adding Secure Tracking API support by @olexandr-mazepa and @Szasza in #435
- created
DomainTrackingClientto implement domain tracking API getTrackingandupdateTrackingmethods moved fromDomainsClienttoDomainTrackingClientgetTrackingandupdateTrackingmethods marked as deprecated inDomainsClient
New Contributors
Full Changelog: v11.0.0...v11.1.0
v11.0.0
What's Changed
- other: Update readme by domain templates by @olexandr-mazepa in #433
- breaking: Update domains client to use v4 of API by @olexandr-mazepa in #434
- Removed
DomainShortDatatype, because there is no difference betweenDomainShortDataandDomainDatain the new version. created_atis now a Date object instead of a string in theTDomaintype.- The query type for the
domains.listmethod was extended bystate,sort,authority, andsearchproperties. - The
domains.getmethod was extended, and now allows query. - Fixed
domains.getConnectionmethod to return data instead of undefined. getIps,assignIp,deleteIp,linkIpPool,unlinkIpPoll, andupdateWebPrefixmethods in theDomainClienthave been deprecated.domains.updateDKIMSelectorresponse 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