Skip to content

feat(jsx-email): update caniemail, support email clients in config files#452

Merged
shellscape merged 3 commits into
mainfrom
chore/jsx-email/update-caniemail
May 18, 2026
Merged

feat(jsx-email): update caniemail, support email clients in config files#452
shellscape merged 3 commits into
mainfrom
chore/jsx-email/update-caniemail

Conversation

@shellscape
Copy link
Copy Markdown
Owner

@shellscape shellscape commented May 17, 2026

Component / Package Name:

jsx-email

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

N/A

Description

Updates caniemail to 2.0.2 and excludes it from the workspace minimumReleaseAge policy so the dependency can be
adopted immediately.

This also updates email check for the newer caniemail API shape by passing typed client globs through
CanIEmailOptions['clients'] and treating issues.warnings as a FeatureMap instead of an optional value.

Adds support for configuring default check clients in jsx-email.config.*:

export const config = defineConfig({
  check: {
    emailClients: ['gmail.*', 'outlook.*']
  }
});

--email-clients still takes precedence when passed on the CLI.

Documentation for the new check.emailClients config option was added to the core config docs.

@shellscape shellscape changed the title chore(jsx-email): update caniemail feat(jsx-email): update caniemail, support email clients in config files May 17, 2026
@shellscape shellscape merged commit 2be7b73 into main May 18, 2026
7 checks passed
@shellscape shellscape deleted the chore/jsx-email/update-caniemail branch May 18, 2026 00:38
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.

1 participant