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

[release] v0.12.0 #4582

Merged
merged 9 commits into from
Jan 11, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
78 changes: 69 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,65 @@
# Changelog

## v0.12.0

<!-- generated comparing v0.11.0..master -->

_Jan 10, 2025_

A big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:

**BREAKING CHANGE**

- Framework-specific `AppProvider` exports have been renamed for clarity:

_(Note the change in the path from `react-router-dom` to `react-router`)_

```diff
- import { AppProvider } from '@toolpad/core/react-router-dom';
+ import { ReactRouterAppProvider } from '@toolpad/core/react-router';
```

```diff
- import { AppProvider } from '@toolpad/core/nextjs';
+ import { NextAppProvider } from '@toolpad/core/nextjs';
```

- Upgraded Toolpad to React 19
- Added framework selection to `create-toolpad-app` to support Vite
- Improved sidebar CSS transitions in `DashboardLayout`
- Allow multiple breadcrumbs that are not links in `PageHeader`
- Added multiple bug fixes and improvements
- Fixed various UI and documentation issues

### `@toolpad/core`

- Upgrade Toolpad to React 19 (#4488) @bharatkashyap
- Fix sidebar CSS transitions for some breakpoints in `DashboardLayout` (#4522) @gil-obradors
- Prevent account info overflowing on kebab menu in `Account` component (#4555) @bharatkashyap
- Use unique names for framework specific `AppProvider`s (#4553) @apedroferreira
- Allow multiple breadcrumbs that are not links in `PageHeader`(#4571) @null93

### CLI

- Add framework selection to support Vite (#4545) @bharatkashyap

### Docs

- Fix featured image (#4561) @bharatkashyap
- Improve example README files (#4580) @bharatkashyap
- Link to docs on PRs (#4349) @oliviertassinari
- Fix layout shift example page (#4350) @oliviertassinari
- Fix correct use of Page Router and App Router (77a8b87) @oliviertassinari
- Fix 301 links (#4558) @oliviertassinari

### Core

- Remove lockfile from example (#4577) @bharatkashyap
- Fix CI failing due to Recharts console error (#4576) @bharatkashyap
- Fix docs:build to work in docs folder too (a8b74d4) @oliviertassinari

All contributors of this release in alphabetical order: @apedroferreira, @bharatkashyap, @gil-obradors, @null93, @oliviertassinari

## v0.11.0

<!-- generated comparing v0.10.0..master -->
Expand Down Expand Up @@ -262,7 +322,7 @@

A big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:

- Migrate to Material UI v6
- Migrate to Material UI v6

Check failure on line 325 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI') Raw Output: {"message": "[MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI')", "location": {"path": "CHANGELOG.md", "range": {"start": {"line": 325, "column": 14}}}, "severity": "ERROR"}
- Collapsible sidebar in `DashboardLayout` component with mini drawer variant
- Support route patterns in navigation
- Add more OAuth providers to `SignInPage`
Expand All @@ -276,7 +336,7 @@
- Add more OAuth providers to `SignInPage` (#3933) @bharatkashyap
- Refactor `<Account />` (#3992) @bharatkashyap
- Add toolbarActions and toolbarAccount slots to DashboardLayout (#3984)
- Migrate to Material UI v6 (#3862) @Janpot
- Migrate to Material UI v6 (#3862) @Janpot

Check failure on line 339 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI') Raw Output: {"message": "[MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI')", "location": {"path": "CHANGELOG.md", "range": {"start": {"line": 339, "column": 14}}}, "severity": "ERROR"}
- Support route patterns in navigation (#3991) @apedroferreira

### Docs
Expand Down Expand Up @@ -357,7 +417,7 @@

A big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:

- Support Material UI v5 and v6 in `@toolpad/core`, especially regarding CSS variables themes
- Support Material UI v5 and v6 in `@toolpad/core`, especially regarding CSS variables themes

Check failure on line 420 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI') Raw Output: {"message": "[MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI')", "location": {"path": "CHANGELOG.md", "range": {"start": {"line": 420, "column": 11}}}, "severity": "ERROR"}
- Fix theme switcher in documentation examples
- Fix DashboardLayout bugs with theming and mobile navigation
- Fix some file handling restrictions in `@toolpad/studio`
Expand All @@ -379,7 +439,7 @@
### Core

- Support `require` (#3908) @bharatkashyap
- Port fixes from Material UI v6 migration branch (#3910) @Janpot
- Port fixes from Material UI v6 migration branch (#3910) @Janpot

Check failure on line 442 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI') Raw Output: {"message": "[MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI')", "location": {"path": "CHANGELOG.md", "range": {"start": {"line": 442, "column": 19}}}, "severity": "ERROR"}
- Upgrade monorepo (#3911) @Janpot
- Clarify security policy @oliviertassinari
- Update smoke test instructions (#3899) @Janpot
Expand Down Expand Up @@ -411,7 +471,7 @@
- Add authentication to Toolpad Core (#3609) @bharatkashyap
- Make Core the default project (#3868) @bharatkashyap
- Make navigation item segments optional (#3838) @apedroferreira
- Ensure Material UI v5 compatibility (#3894) @Janpot
- Ensure Material UI v5 compatibility (#3894) @Janpot

Check failure on line 474 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI') Raw Output: {"message": "[MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI')", "location": {"path": "CHANGELOG.md", "range": {"start": {"line": 474, "column": 10}}}, "severity": "ERROR"}
- Bring in some fixes from the next update branch (#3866) @Janpot

### Docs
Expand Down Expand Up @@ -589,9 +649,9 @@
- [DataProvider] Support custom Id field (#3613) @Janpot
- [docs] Start Toolpad Core docs (#3383) @bharatkashyap
- [docs] Add Toolpad core tutorial example (#3617) @bharatkashyap
- [docs] Add badges like in Material UI @oliviertassinari
- [docs] Add badges like in Material UI @oliviertassinari
- [docs] Add badges like in Material UI @oliviertassinari
- [docs] Add badges like in Material UI @oliviertassinari

Check failure on line 652 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI') Raw Output: {"message": "[MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI')", "location": {"path": "CHANGELOG.md", "range": {"start": {"line": 652, "column": 29}}}, "severity": "ERROR"}
- [docs] Add badges like in Material UI @oliviertassinari

Check failure on line 653 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI') Raw Output: {"message": "[MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI')", "location": {"path": "CHANGELOG.md", "range": {"start": {"line": 653, "column": 29}}}, "severity": "ERROR"}
- [docs] Add badges like in Material UI @oliviertassinari

Check failure on line 654 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI') Raw Output: {"message": "[MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Material UI' instead of 'Material UI')", "location": {"path": "CHANGELOG.md", "range": {"start": {"line": 654, "column": 29}}}, "severity": "ERROR"}
- [docs] Update twitter.com to x.com @oliviertassinari
- [docs] Support demo previews with comments (#3577) @Janpot
- [docs] Fix demo codesandbox dependencies (#3578) @Janpot
Expand Down Expand Up @@ -786,7 +846,7 @@
- [DataGrid] fix errors not showing up in the rows area (#3264) @Janpot
- [docs] Prefer https links @oliviertassinari
- [docs-infra] Fixes for vale-action with shared config (#3234) @bharatkashyap
- [docs-infra] Fix Stack Overflow breaking space @oliviertassinari
- [docs-infra] Fix Stack Overflow breaking space @oliviertassinari
- [docs-infra] Add vale for style-guide lint on docs (#3178) @bharatkashyap
- [examples] Hacker News client example (#2170) @Janpot

Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "0.11.0",
"version": "0.12.0",
"private": true,
"author": "MUI Toolpad",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "0.11.0",
"version": "0.12.0",
"npmClient": "pnpm"
}
2 changes: 1 addition & 1 deletion packages/create-toolpad-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-toolpad-app",
"version": "0.11.0",
"version": "0.12.0",
"keywords": [
"react",
"toolpad",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-material-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-material-ui",
"version": "0.11.0",
"version": "0.12.0",
"private": true,
"description": "Custom eslint rules for Material UI.",
"main": "src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@toolpad/core",
"version": "0.11.0",
"version": "0.12.0",
"author": "Toolpad Team",
"description": "Dashboard framework powered by MUI.",
"main": "./node/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-studio-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@toolpad/studio-components",
"version": "0.11.0",
"version": "0.12.0",
"description": "Build MUI apps quickly",
"author": "MUI Toolpad team",
"homepage": "https://github.com/mui/toolpad#readme",
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-studio-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@toolpad/studio-runtime",
"version": "0.11.0",
"version": "0.12.0",
"description": "Build MUI apps quickly",
"author": "MUI Toolpad team",
"homepage": "https://github.com/mui/toolpad#readme",
Expand Down
4 changes: 2 additions & 2 deletions packages/toolpad-studio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@toolpad/studio",
"version": "0.11.0",
"version": "0.12.0",
"license": "MIT",
"bin": {
"toolpad-studio": "./cli.mjs"
Expand Down Expand Up @@ -69,12 +69,12 @@
"@mui/system": "6.3.1",
"@mui/types": "7.2.21",
"@mui/utils": "6.3.1",
"@mui/x-license": "7.23.5",
"@mui/x-charts": "7.23.2",
"@mui/x-data-grid": "7.23.5",
"@mui/x-data-grid-premium": "7.23.5",
"@mui/x-date-pickers": "7.23.3",
"@mui/x-date-pickers-pro": "7.23.3",
"@mui/x-license": "7.23.5",
"@mui/x-tree-view": "7.23.2",
"@tanstack/react-query": "5.61.3",
"@tanstack/react-query-devtools": "5.61.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/toolpad-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@toolpad/utils",
"version": "0.11.0",
"version": "0.12.0",
"description": "Shared utilities used by Toolpad packages.",
"author": "MUI Toolpad team",
"homepage": "https://github.com/mui/toolpad#readme",
Expand Down
2 changes: 1 addition & 1 deletion playground/nextjs-pages/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "playground-nextjs-pages",
"version": "0.11.0",
"version": "0.12.0",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion playground/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "playground-nextjs",
"version": "0.11.0",
"version": "0.12.0",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion playground/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "playground-vite",
"private": true,
"version": "0.11.0",
"version": "0.12.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"recharts": "^2.15.0"
},
"type": "module",
"version": "0.11.0"
"version": "0.12.0"
}
Loading