Skip to content

chore(deps): bump lettermint from 1.5.1 to 2.0.0#20

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/lettermint-2.0.0
Open

chore(deps): bump lettermint from 1.5.1 to 2.0.0#20
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/lettermint-2.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 11, 2026

Bumps lettermint from 1.5.1 to 2.0.0.

Release notes

Sourced from lettermint's releases.

v2.0.0

2.0.0 (2026-05-11)

Features

BREAKING CHANGES

  • SDK v2 changes client structure, response types, and token configuration.
Changelog

Sourced from lettermint's changelog.

2.0.0 (2026-05-11)

Features

BREAKING CHANGES

  • SDK v2 changes client structure, response types, and token configuration.
Upgrade guide

Sourced from lettermint's upgrade guide.

Upgrade To v2

This guide covers upgrading from the latest released v1 Node SDK to v2.

Highlights

  • Sending email now lives behind Lettermint.email(token).
  • The full Lettermint API is available through Lettermint.api(token).
  • Sending tokens use x-lettermint-token; full API tokens use Authorization: Bearer.
  • ping() returns the raw trimmed pong response.
  • Request and response types are generated from the OpenAPI specs and exported from the package.

Replace Client Construction

import { Lettermint } from 'lettermint';
const email = Lettermint.email(process.env.LETTERMINT_SENDING_TOKEN!);
const api = Lettermint.api(process.env.LETTERMINT_API_TOKEN!);

Existing new Lettermint({ apiToken }) email-builder usage still works for sending email.

Batch Sending

await Lettermint.email(token).sendBatch([
  { from: 'sender@example.com', to: ['user@example.com'], subject: 'Hello', text: 'Hi' },
]);

Full API

const domains = await Lettermint.api(token).domains.list();
const messageHtml = await Lettermint.api(token).messages.html('message-id');
Commits
  • 5587b4f chore(release): 2.0.0 [skip ci]
  • 2d37374 feat: release SDK v2
  • 3ec0837 feat: implement Team API API endpoints (#14)
  • 35eb867 chore(deps): bump js-yaml (#15)
  • db3f219 chore(deps-dev): bump lodash-es from 4.17.21 to 4.18.1 (#13)
  • 20b44e3 chore(deps-dev): bump rollup from 4.41.1 to 4.60.1 (#9)
  • 4ceb188 chore(deps): bump lodash from 4.17.21 to 4.18.1 (#11)
  • 08ffb35 chore(deps): bump minimatch and npm (#12)
  • 15c1cbe chore(deps-dev): bump handlebars from 4.7.8 to 4.7.9
  • 8a41a57 chore(ci): simplify release workflow by removing unused npm configurations
  • See full diff in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for lettermint since your current version.


@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 11, 2026

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Bumps [lettermint](https://github.com/lettermint/lettermint-node) from 1.5.1 to 2.0.0.
- [Release notes](https://github.com/lettermint/lettermint-node/releases)
- [Changelog](https://github.com/lettermint/lettermint-node/blob/main/CHANGELOG.md)
- [Upgrade guide](https://github.com/lettermint/lettermint-node/blob/main/UPGRADE.md)
- [Commits](lettermint/lettermint-node@v1.5.1...v2.0.0)

---
updated-dependencies:
- dependency-name: lettermint
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/lettermint-2.0.0 branch from 8a98fdb to 44d7055 Compare May 28, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants