Skip to content

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

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

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.


@changeset-bot

changeset-bot Bot commented May 21, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ff9310e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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 8caddc1 to ff9310e Compare May 24, 2026 17:18
@dependabot @github

dependabot Bot commented on behalf of github May 28, 2026

Copy link
Copy Markdown
Contributor Author

Looks like lettermint is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this May 28, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/lettermint-2.0.0 branch May 28, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants