Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Add "Migration" section to sidebar and revise v4-v5 content #32740

Merged
merged 51 commits into from
Jun 7, 2022
Merged
Show file tree
Hide file tree
Changes from 45 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
bf01586
update migration section
mapache-salvaje May 11, 2022
52f5069
newer v4 doc
mapache-salvaje May 11, 2022
2d49226
breaking changes page
mapache-salvaje May 11, 2022
77764c0
i18n, prettier
mapache-salvaje May 11, 2022
a3ff7d5
jss and troubleshooting pages
mapache-salvaje May 11, 2022
79c2fc7
prettier
mapache-salvaje May 11, 2022
f2b0aeb
migration intro revision
mapache-salvaje May 11, 2022
f0f28cf
intro and why revisions, content rearranging, toc cleanup
mapache-salvaje May 11, 2022
7b71704
migration main doc first pass revisions
mapache-salvaje May 12, 2022
638d2c5
prettier
mapache-salvaje May 12, 2022
302eed1
formatting one breaking change page, add another
mapache-salvaje May 13, 2022
5e9968e
prettier
mapache-salvaje May 13, 2022
9ac6648
tweak nav bar
mapache-salvaje May 13, 2022
a94a9c8
style and formatting on breaking changes pages
mapache-salvaje May 13, 2022
4899f67
linting
mapache-salvaje May 13, 2022
d502480
remove success callouts from component changes page
mapache-salvaje May 25, 2022
5eada87
merge master
mapache-salvaje May 25, 2022
739cf90
remove and revise callouts
mapache-salvaje May 25, 2022
3eb5475
update intros to breaking changes docs
mapache-salvaje May 25, 2022
3615cff
breaking changes one copy edits
mapache-salvaje May 26, 2022
785d902
breaking changes two copy edits
mapache-salvaje May 26, 2022
e0c3295
migrating from jss copy edits
mapache-salvaje May 26, 2022
145cf06
troubleshooting copy edits
mapache-salvaje May 26, 2022
1a0c4f4
adds migration toc
mapache-salvaje May 26, 2022
ea56863
redirect, fix outdated links
mapache-salvaje May 26, 2022
8772e3b
link fix
mapache-salvaje May 26, 2022
a869525
Update docs/data/material/components/hidden/hidden.md
mapache-salvaje May 31, 2022
aea8585
Update docs/data/material/migration/migration-v4/migration-v4.md
mapache-salvaje May 31, 2022
263c7da
Update docs/data/material/migration/migration-v4/migration-v4.md
mapache-salvaje May 31, 2022
ca91d5b
Update docs/data/material/migration/migration-v4/migration-v4.md
mapache-salvaje May 31, 2022
258ae01
Update docs/data/material/migration/migration-v4/migration-v4.md
mapache-salvaje May 31, 2022
91c1f0d
Update docs/data/material/migration/migration-v4/migrating-from-jss.md
mapache-salvaje May 31, 2022
38802f0
Update docs/data/material/migration/migration-v4/migrating-from-jss.md
mapache-salvaje May 31, 2022
a7377f5
pointy fingers
mapache-salvaje May 31, 2022
94137f3
move content off JSS page, mark as optional
mapache-salvaje May 31, 2022
8c63395
add note about codemods removing old packages
mapache-salvaje May 31, 2022
7092ad0
tiny copy edits
mapache-salvaje May 31, 2022
4ae4b6f
Olivier's review
mapache-salvaje Jun 2, 2022
c551335
prettier
mapache-salvaje Jun 2, 2022
e9e6800
move migration sectioni
mapache-salvaje Jun 4, 2022
914e91b
merge master
mapache-salvaje Jun 4, 2022
9ec0039
make replace imports its own step, rearrange
mapache-salvaje Jun 4, 2022
bf86aa3
move muithemeprovider import section
mapache-salvaje Jun 4, 2022
00a4817
remove maincontent link
mapache-salvaje Jun 4, 2022
c91243d
i18n
mapache-salvaje Jun 4, 2022
b61aeb0
Update docs/data/material/migration/migration-v4/migrating-from-jss.md
mnajdova Jun 7, 2022
7d924e1
Merge branch 'master' into update-migration
mnajdova Jun 7, 2022
a181b31
Fixed more links
mnajdova Jun 7, 2022
1a8adce
merge master
mapache-salvaje Jun 7, 2022
6b0492a
final cleanup
mapache-salvaje Jun 7, 2022
3ff10dc
Update packages/mui-codemod/src/v5.0.0/modal-props.test/expected.js
mnajdova Jun 7, 2022
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
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2598,7 +2598,7 @@ _Sep 1, 2021_
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:

- 🎉 Renamed packages to `@mui/*` as part of rebranding the company, following the strategy of expanding the library scope beyond Material Design. For more details about it, check the [GitHub discussion](https://github.com/mui/material-ui/discussions/27803).
- 🛠 Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/material-ui/guides/migration-v4/#preset-safe)
- 🛠 Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/material-ui/migration/migration-v4/#preset-safe)
- 🧪 Added new `<Mansory>` component to the lab, [check it out](https://mui.com/components/masonry/). It has been crafted by our first intern, @hbjORbj 👏!

### `@mui/material@5.0.0-rc.0`
Expand Down Expand Up @@ -4003,7 +4003,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
/>
```

> Follow [this link](https://mui.com/material-ui/guides/migration-v4/#main-content) for full migration from v4 => v5
> Follow [this link](https://mui.com/material-ui/migration/migration-v4/) for full migration from v4 => v5

#### Changes

Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.old.md
Original file line number Diff line number Diff line change
Expand Up @@ -3853,7 +3853,7 @@ We will focus or effort on the stability of the library for the next two weeks.
We don't plan more breaking changes, at the exception of changes that are required to fix bugs or that have minor impacts.
We hope we can release v4 on May 15th, one year after v1.

Please try the beta out! You can find an [upgrade guide](https://mui.com/material-ui/guides/migration-v3/) to ease the transition.
Please try the beta out! You can find an [upgrade guide](https://mui.com/material-ui/migration/migration-v3/) to ease the transition.
You will learn more about v4 in the final release blog post and our plans for the future.

### `@material-ui/core@v4.0.0-beta.0`
Expand Down Expand Up @@ -3988,7 +3988,7 @@ Here are the last breaking changes we want to introduce:

We have done a lot of changes in the alpha phase.
The beta phase will be used to stabilize the library, we might have introduced bugs.
We will encourage people to try the beta out. We hope the migration will be smooth [with the upgrade guide](https://mui.com/material-ui/guides/migration-v3/).
We will encourage people to try the beta out. We hope the migration will be smooth [with the upgrade guide](https://mui.com/material-ui/migration/migration-v3/).

We hope 2-3 weeks of beta will be enough. We plan on releasing v4 stable in May.

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ yarn add @mui/material @emotion/react @emotion/styled
<details>
<summary>Older versions</summary>

- **[v4.x](https://v4.mui.com/)** ([Migration from v4 to v5](https://mui.com/material-ui/guides/migration-v4/))
- **[v3.x](https://v3.mui.com/)** ([Migration from v3 to v4](https://mui.com/material-ui/guides/migration-v3/))
- **[v0.x](https://v0.mui.com/)** ([Migration to v1](https://mui.com/material-ui/guides/migration-v0x/))
- **[v4.x](https://v4.mui.com/)** ([Migration from v4 to v5](https://mui.com/material-ui/migration/migration-v4/))
- **[v3.x](https://v3.mui.com/)** ([Migration from v3 to v4](https://mui.com/material-ui/migration/migration-v3/))
- **[v0.x](https://v0.mui.com/)** ([Migration to v1](https://mui.com/material-ui/migration/migration-v0x/))

</details>

Expand Down
3 changes: 2 additions & 1 deletion docs/data/material/components/hidden/hidden.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ githubLabel: 'component: Hidden'
# Hidden

:::error
`Hidden` is deprecated, checkout [migration docs](/material-ui/guides/migration-v4/#hidden)
`Hidden` was deprecated in Material UI v5.
To learn more, see [the `Hidden` section](/material-ui/migration/v5-component-changes/#hidden) of the migration docs.
:::

<p class="description"></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -766,8 +766,7 @@ if you like the hook-based API (`makeStyles` → `useStyles`) that [`react-jss`]
TypeScript support than JSS.

:::info
If you are updating from `@material-ui/core` (v4) to `@mui/material` (v5) checkout
[migration guide](/material-ui/guides/migration-v4/#2-use-tss-react).
If you are updating from `@material-ui/core` (v4) to `@mui/material` (v5), check out the [tss-react section](/material-ui/migration/migrating-from-jss/#2-use-tss-react) of the Migration guide.
:::

```tsx
Expand Down
Loading