Skip to content

Release 44.0.0#1229

Merged
georgewrmarshall merged 5 commits into
mainfrom
release/44.0.0
Jun 9, 2026
Merged

Release 44.0.0#1229
georgewrmarshall merged 5 commits into
mainfrom
release/44.0.0

Conversation

@georgewrmarshall

@georgewrmarshall georgewrmarshall commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Release 44.0.0

This release adds Toast/Toaster and Tag to React, ListItem to React Native, aligns the TextButton API across platforms, and standardizes severity vocabulary (ErrorDanger) across AvatarIcon, IconAlert, and Tag.

📦 Package Versions

  • @metamask/design-system-shared: 0.22.0
  • @metamask/design-system-react: 0.26.0
  • @metamask/design-system-react-native: 0.29.0

🔄 Shared Type Updates (0.22.0)

New shared types (#1190, #1203, #1224, #1225)

What Changed:

  • Added ToastPropsShared and ToastSeverity for cross-platform Toast support
  • Added ListItemPropsShared and related types for cross-platform ListItem support
  • Added TextButtonPropsShared to align TextButton API across React and React Native
  • Added AvatarNetworkSize as a named export from the shared package

Impact:

  • Enables consistent Toast and ListItem implementations across both platforms
  • Continues ADR-0003/0004 const-object + string-union pattern adoption

Severity vocabulary: .Error.Danger (#1159)

What Changed:

  • AvatarIconSeverity.ErrorAvatarIconSeverity.Danger
  • IconAlertSeverity.ErrorIconAlertSeverity.Danger
  • TagSeverity.ErrorTagSeverity.Danger

Impact:

  • Breaking change for any consumer using .Error on these three const objects. Rendered colors are unchanged.

🌐 React Web Updates (0.26.0)

Added

  • Added Tag component for categorization and filtering labels (#1211)
  • Added Toast component with Toaster provider and imperative toast() API (#1190)

Changed

  • BREAKING: TextButton API aligned with React Native — size/TextButtonSize replaced by variant/TextVariant; isInverse, isDisabled, textProps, and icon/accessory props removed; asChild added (#1224)
  • BREAKING: AvatarIconSeverity.ErrorAvatarIconSeverity.Danger (#1159)

Fixed

  • Fixed Toast to support toast() calls made before Toaster mounts (#1217)

📱 React Native Updates (0.29.0)

Added

  • Added ListItem component for list row layouts (#1203)
  • Added Toast component with Toaster provider and imperative toast() API (#1190)

Changed

  • BREAKING: AvatarIconSeverity.Error, IconAlertSeverity.Error, and TagSeverity.Error.Danger (#1159)

⚠️ Breaking Changes

TextButton rewrite (React Web Only)

What Changed:

  • size / TextButtonSize removed — use variant / TextVariant instead
  • isInverse, isDisabled, textProps, start/end icons, and accessory slots removed
  • asChild added for semantic link composition

Migration:

// Before (0.25.0)
import { TextButton, TextButtonSize } from '@metamask/design-system-react';
<TextButton size={TextButtonSize.BodySm}>Learn more</TextButton>

// After (0.26.0)
import { TextButton } from '@metamask/design-system-react';
import { TextVariant } from '@metamask/design-system-shared';
<TextButton variant={TextVariant.BodySm}>Learn more</TextButton>

See React Migration Guide

Severity vocabulary: .Error.Danger (Both Platforms)

What Changed:

  • AvatarIconSeverity.ErrorAvatarIconSeverity.Danger (React + React Native)
  • IconAlertSeverity.ErrorIconAlertSeverity.Danger (React Native)
  • TagSeverity.ErrorTagSeverity.Danger (React Native)

Migration:

// Before
<AvatarIcon severity={AvatarIconSeverity.Error} />
<IconAlert severity={IconAlertSeverity.Error} />
<Tag severity={TagSeverity.Error}>High risk</Tag>

// After
<AvatarIcon severity={AvatarIconSeverity.Danger} />
<IconAlert severity={IconAlertSeverity.Danger} />
<Tag severity={TagSeverity.Danger}>High risk</Tag>

See migration guides for complete instructions:

✅ Checklist

  • Changelogs updated with human-readable descriptions
  • Changelog validation passed (yarn changelog:validate)
  • Version bumps follow semantic versioning
    • design-system-shared: minor (0.21.0 → 0.22.0) - new shared types + breaking severity rename
    • design-system-react: minor (0.25.0 → 0.26.0) - new components + breaking API changes
    • design-system-react-native: minor (0.28.0 → 0.29.0) - new components + breaking severity rename
  • Breaking changes documented with migration guidance
  • Migration guides updated with before/after examples
  • PR references included in changelog entries

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've reviewed the Reviewing Release PRs guide
  • Package versions follow semantic versioning
  • Changelog entries are consumer-facing (not commit message regurgitation)
  • Breaking changes are documented in MIGRATION.md with examples
  • All unreleased changes are accounted for in changelogs

Note

Low Risk
Diff is version bumps, changelogs, and migration docs only; breaking API impact is on consumers upgrading packages, not on runtime code in this PR.

Overview
Release 44.0.0 cuts published versions for the monorepo and design-system packages, and moves accumulated changes from [Unreleased] into versioned changelog sections with compare links.

Bumps: root 43.0.0 → 44.0.0; @metamask/design-system-shared 0.22.0, @metamask/design-system-react 0.26.0, @metamask/design-system-react-native 0.29.0. Changelogs document Toast/Toaster and Tag on React, ListItem on React Native, shared types for those APIs, and a breaking rename of severity .Error.Danger on AvatarIcon / IconAlert / Tag. React TextButton is documented as a breaking alignment with React Native (variant/TextVariant instead of size/TextButtonSize, removed inverse/disabled/icon props, added asChild).

MIGRATION.md gains 0.25→0.26 (React) and 0.28→0.29 (React Native) sections with before/after examples for those breaks.

Reviewed by Cursor Bugbot for commit 9bf714d. Bugbot is set up for automated code reviews on this repo. Configure here.

@georgewrmarshall georgewrmarshall requested a review from a team as a code owner June 9, 2026 20:14
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

📖 Storybook Preview

"react-native-safe-area-context": "~5.6.0",
"react-native-svg": "15.12.1",
"react-native-svg-transformer": "^1.5.3",
"react-native-worklets": "patch:react-native-worklets@npm%3A0.5.1#~/.yarn/patches/react-native-worklets-npm-0.5.1-dcf1422a19.patch",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-ordering fix when running yarn, probably shouldn't be in the release PR but it's inconsequential

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

📖 Storybook Preview

Comment thread packages/design-system-react-native/CHANGELOG.md Outdated
@georgewrmarshall georgewrmarshall self-assigned this Jun 9, 2026
@georgewrmarshall georgewrmarshall enabled auto-merge (squash) June 9, 2026 20:29
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

📖 Storybook Preview

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

📖 Storybook Preview

@georgewrmarshall georgewrmarshall merged commit 8e8b27d into main Jun 9, 2026
36 checks passed
@georgewrmarshall georgewrmarshall deleted the release/44.0.0 branch June 9, 2026 22:34
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.

2 participants