Skip to content

[material-ui] Update minimum TypeScript support to 4.9#45535

Merged
siriwatknp merged 6 commits intomui:masterfrom
siriwatknp:deps/typescript
Mar 20, 2025
Merged

[material-ui] Update minimum TypeScript support to 4.9#45535
siriwatknp merged 6 commits intomui:masterfrom
siriwatknp:deps/typescript

Conversation

@siriwatknp
Copy link
Copy Markdown
Member

For v7, align with DefinitelyTyped support window (2 years).

Side benefit of this is to align with the ongoing PR that mention about satisfies usage (added in TypeScript 4.9).


@siriwatknp siriwatknp added breaking change Introduces changes that are not backward compatible. package: material-ui v7.x labels Mar 10, 2025
@siriwatknp siriwatknp requested review from DiegoAndai and Janpot March 10, 2025 04:03

## Supported browsers and versions

### Minimum TypeScript version
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The structure and content is similar to v6 upgrade guide.

@mui-bot
Copy link
Copy Markdown

mui-bot commented Mar 10, 2025

Comment thread docs/data/material/migration/upgrade-to-v7/upgrade-to-v7.md Outdated
Comment on lines +19 to +38
### Minimum React version

The minimum supported version of React is v17.0.0 (the same as v5 and v6).
Use the snippet below to update your project (replace the `<version>` with the one you want):

<codeblock storageKey="package-manager">

```bash npm
npm install react@<version> react-dom@<version>
```

```bash pnpm
pnpm add react@<version> react-dom@<version>
```

```bash yarn
yarn add react@<version> react-dom@<version>
```

</codeblock>
Copy link
Copy Markdown
Member

@DiegoAndai DiegoAndai Mar 19, 2025

Choose a reason for hiding this comment

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

If it's the same as v6, I think we can remove this section and keep only the @types/react one.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I still think that this section is useful. If I am upgrading to v7, I want to know this even though the minimum version is the same.

So I simplified this section instead.

@siriwatknp siriwatknp requested review from DiegoAndai and Janpot March 20, 2025 03:55
@siriwatknp siriwatknp merged commit feec357 into mui:master Mar 20, 2025
22 checks passed

## Supported browsers and versions

### Minimum React version
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Removed in #45762, it didn't change.

@oliviertassinari
Copy link
Copy Markdown
Member

I have updated the support version page in #45761.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Introduces changes that are not backward compatible. v7.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants