Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .cursor/rules/release-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ Transform auto-generated entries into consumer-facing descriptions.
- See [Migration Guide](./MIGRATION.md#from-version-0100-to-0110)
```

After editing, validate format:

```bash
yarn changelog:validate
Copy link
Copy Markdown
Contributor Author

@georgewrmarshall georgewrmarshall Apr 9, 2026

Choose a reason for hiding this comment

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

yarn changelog:validate catches formatting issues (wrong section names, missing version links, malformed entries) before you invest time writing MIGRATION.md. Discovering a format error after completing Steps 4–5 means backtracking; catching it here keeps the workflow linear.

```

### Step 4: Update MIGRATION.md (Breaking Changes Only)

**When to update:**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/metamask-design-system",
"version": "31.0.0",
"version": "32.0.0",
"private": true,
"description": "The MetaMask Design System monorepo",
"repository": {
Expand Down
11 changes: 10 additions & 1 deletion packages/design-system-react-native/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.17.0]

### Changed

- **BREAKING:** Migrated `Text` typography types (`TextVariant`, `TextColor`, `FontWeight`, `FontStyle`, `FontFamily`) to `@metamask/design-system-shared`; all imports through `@metamask/design-system-react-native` continue to work without change ([#1047](https://github.com/MetaMask/metamask-design-system/pull/1047))
Copy link
Copy Markdown
Contributor Author

@georgewrmarshall georgewrmarshall Apr 9, 2026

Choose a reason for hiding this comment

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

Although the runtime imports are backwards-compatible, the underlying FontWeight string values changed (e.g. '600' β†’ 'bold'), which is a breaking change for any consumer comparing against raw values. The sub-bullets clarify the scope: idiomatic enum usage is unaffected, but raw-string comparisons will break.

- `FontWeight` underlying string values changed from numeric strings (`'600'`, `'500'`, `'400'`) to semantic identifiers (`'bold'`, `'medium'`, `'regular'`); idiomatic usage (e.g. `FontWeight.Bold`) is unaffected
- See [Migration Guide](./MIGRATION.md#from-version-0160-to-0170)
Copy link
Copy Markdown
Contributor Author

@georgewrmarshall georgewrmarshall Apr 9, 2026

Choose a reason for hiding this comment

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

Consumers who scan node_modules/@metamask/design-system-react-native for Tailwind class names (e.g. to pick up TextColor values) must also scan @metamask/design-system-shared after this release, since the string values now live in the shared package's compiled output. This is documented in the linked migration guide.


## [0.16.0]

### Added
Expand Down Expand Up @@ -314,7 +322,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Full TypeScript support with type definitions and enums
- React Native integration with TWRNC preset support

[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.16.0...HEAD
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.17.0...HEAD
[0.17.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.16.0...@metamask/design-system-react-native@0.17.0
[0.16.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.15.0...@metamask/design-system-react-native@0.16.0
[0.15.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.14.0...@metamask/design-system-react-native@0.15.0
[0.14.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.13.0...@metamask/design-system-react-native@0.14.0
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/design-system-react-native",
"version": "0.16.0",
"version": "0.17.0",
"description": "Design System React Native",
"keywords": [
"MetaMask",
Expand Down
9 changes: 8 additions & 1 deletion packages/design-system-shared/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.10.0]

### Added

- Added `TextVariant`, `TextColor`, and `TextPropsShared` shared types for cross-platform use ([#1047](https://github.com/MetaMask/metamask-design-system/pull/1047))

## [0.9.0]

### Added
Expand Down Expand Up @@ -108,7 +114,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Initial release** - MetaMask Design System Shared
- Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))

[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.9.0...HEAD
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.10.0...HEAD
[0.10.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.9.0...@metamask/design-system-shared@0.10.0
[0.9.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.8.0...@metamask/design-system-shared@0.9.0
[0.8.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.7.0...@metamask/design-system-shared@0.8.0
[0.7.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.6.0...@metamask/design-system-shared@0.7.0
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/design-system-shared",
"version": "0.9.0",
"version": "0.10.0",
"description": "Shared types for design system libraries",
"keywords": [
"MetaMask",
Expand Down
Loading