Skip to content

Commit

Permalink
v7.0.0-alpha.7 (#11583)
Browse files Browse the repository at this point in the history
Signed-off-by: Flavien DELANGLE <[email protected]>
Co-authored-by: Bilal Shafi <[email protected]>
Co-authored-by: Lukas <[email protected]>
Co-authored-by: Alexandre Fauquette <[email protected]>
  • Loading branch information
4 people authored Jan 5, 2024
1 parent 0ed7168 commit 8153169
Show file tree
Hide file tree
Showing 11 changed files with 197 additions and 15 deletions.
182 changes: 182 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,146 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 7.0.0-alpha.7

_Jan 5, 2024_

We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:

- 🎁 New component to create a Tree View from a structured data source:

You can now directly pass your data to the `RichTreeView` component instead of manually converting it into JSX `TreeItem` components:

```tsx
const ITEMS = [
{
id: 'node-1',
label: 'Node 1',
children: [
{ id: 'node-1-1', label: Node 1.1' },
{ id: 'node-1-2', label: Node 1.2' },
],
},
{
id: 'node-2',
label: 'Node 2',
},
];

<RichTreeView
items={MUI_X_PRODUCTS}
defaultCollapseIcon={<ExpandMoreIcon />}
defaultExpandIcon={<ChevronRightIcon />}
/>
```
- 🌍 Improve Czech (cs-CZ) locale on the Data Grid
- 🐞 Bugfixes
### Data Grid
#### `@mui/[email protected]`
- [DataGrid] Don't evaluate `hasEval` when `disableEval` is set (#11516) @reihwald
- [DataGrid] follow warning message guideline for `autoPageSize` and `autoHeight` (#11585) @Sboonny
- [DataGrid] Replace `eval` with `new Function` (#11557) @oliviertassinari
- [DataGrid] Warn devs when `autoPageSize` is used with `autoHeight` (#11554) @Sboonny
- [l10n] Improve Czech (cs-CZ) locale (#11526) @fdebef
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
Same changes as in `@mui/[email protected]`.
#### `@mui/[email protected]` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
Same changes as in `@mui/[email protected]`.
### Date Pickers
#### `@mui/[email protected]`
- [pickers] Fix views management (#11419) @LukasTy
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
Same changes as in `@mui/[email protected]`.
### Charts / `@mui/[email protected]`
- [charts] Add `arcLabelRadius` property (#11487) @alexfauquette
- [charts] Fix `null` in line chart using dataset (#11550) @alexfauquette
### Tree View
#### Breaking changes
- The expansion props have been renamed to better describe their behaviors:
| Old name | New name |
| :---------------- | :---------------------- |
| `onNodeToggle` | `onExpandedNodesChange` |
| `expanded` | `expandedNodes` |
| `defaultExpanded` | `defaultExpandedNodes` |
```diff
<TreeView
- onNodeToggle={handleExpansionChange}
+ onExpandedNodesChange={handleExpansionChange}

- expanded={expandedNodes}
+ expandedNodes={expandedNodes}

- defaultExpanded={defaultExpandedNodes}
+ defaultExpandedNodes={defaultExpandedNodes}
/>
```
- The selection props have been renamed to better describe their behaviors:
| Old name | New name |
| :---------------- | :---------------------- |
| `onNodeSelect` | `onSelectedNodesChange` |
| `selected` | `selectedNodes` |
| `defaultSelected` | `defaultSelectedNodes` |
```diff
<TreeView
- onNodeSelect={handleSelectionChange}
+ onSelectedNodesChange={handleSelectionChange}

- selected={selectedNodes}
+ selectedNodes={selectedNodes}

- defaultSelected={defaultSelectedNodes}
+ defaultSelectedNodes={defaultSelectedNodes}
/>
```
#### `@mui/[email protected]`
- [TreeView] Improve the expansion API (#11476) @flaviendelangle
- [TreeView] Improve the selection API (#11560) @flaviendelangle
- [TreeView] Introduce the `items` prop (#11059) @flaviendelangle
### Docs
- [docs] Add example for TreeView `onNodeExpansionToggle` prop (#11547) @flaviendelangle
- [docs] Clarify Pickers usage with Luxon (#11545) @LukasTy
- [docs] Complete transition to next branch (#11521) @oliviertassinari
- [docs] Fix 404 links in the docs @oliviertassinari
- [docs] Fix over page fetching @oliviertassinari
- [docs] Lint `next.config.js` (#11514) @oliviertassinari
### Core
- [core] Fix release changelog (#11496) @romgrk
- [core] Fix use of ::before & ::after (#11515) @oliviertassinari
- [core] Localize the issue template to MUI X (#11511) @oliviertassinari
- [core] Regen api files (#11542) @flaviendelangle
- [core] Remove issue emoji @oliviertassinari
- [core] Sync the release instructions with MUI Core @oliviertassinari
- [core] Yaml format match most common convention @oliviertassinari
## 7.0.0-alpha.6
_Dec 22, 2023_
Expand Down Expand Up @@ -1200,6 +1340,48 @@ Here is an example of the renaming for the `<ChartsTooltip />` component.
- [core] Update release instructions as per v7 configuration (#10962) @MBilalShafi
- [license] Correctly throw errors (#10924) @oliviertassinari
## 6.18.7
_Jan 5, 2024_
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
- 🌍 Improve Czech (cs-CZ) locale on Data Grid (#11429) @wensiet
- 🐞 Bugfixes
### Data Grid
#### `@mui/x-data-grid@6.18.7`
- [DataGrid] Don't evaluate `hasEval` when `disableEval` is set (#11553) @reihwald
- [l10n] Update Czech (cs-CZ) locale (#11498) @fdebef
#### `@mui/x-data-grid-pro@6.18.7` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
Same changes as in `@mui/x-data-grid@6.18.7`.
#### `@mui/x-data-grid-premium@6.18.7` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
Same changes as in `@mui/x-data-grid-pro@6.18.7`.
### Date Pickers
#### `@mui/x-date-pickers@6.18.7`
- [pickers] Fix views management (@LukasTy) (#11572)
#### `@mui/x-date-pickers-pro@6.18.7` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
Same changes as in `@mui/x-date-pickers@6.18.7`.
### Charts / `@mui/x-charts@6.18.7`
- [charts] Fix `null` in line chart using dataset (@alexfauquette) (#11561)
### Docs
- [docs] Clarify Pickers usage with Luxon (#11566) @LukasTy
## 6.18.6
_Dec 22, 2023_
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "7.0.0-alpha.6",
"version": "7.0.0-alpha.7",
"private": true,
"scripts": {
"start": "yarn && yarn docs:dev",
Expand Down
4 changes: 2 additions & 2 deletions packages/grid/x-data-grid-generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-data-grid-generator",
"version": "7.0.0-alpha.6",
"version": "7.0.0-alpha.7",
"description": "Generate fake data for demo purposes only.",
"author": "MUI Team",
"main": "src/index.ts",
Expand Down Expand Up @@ -35,7 +35,7 @@
"dependencies": {
"@babel/runtime": "^7.23.7",
"@mui/base": "^5.0.0-beta.29",
"@mui/x-data-grid-premium": "7.0.0-alpha.6",
"@mui/x-data-grid-premium": "7.0.0-alpha.7",
"chance": "^1.1.11",
"clsx": "^2.0.0",
"lru-cache": "^7.18.3"
Expand Down
6 changes: 3 additions & 3 deletions packages/grid/x-data-grid-premium/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-data-grid-premium",
"version": "7.0.0-alpha.6",
"version": "7.0.0-alpha.7",
"description": "The Premium plan edition of the data grid component (MUI X).",
"author": "MUI Team",
"main": "src/index.ts",
Expand Down Expand Up @@ -46,8 +46,8 @@
"@babel/runtime": "^7.23.7",
"@mui/system": "^5.15.2",
"@mui/utils": "^5.15.2",
"@mui/x-data-grid": "7.0.0-alpha.6",
"@mui/x-data-grid-pro": "7.0.0-alpha.6",
"@mui/x-data-grid": "7.0.0-alpha.7",
"@mui/x-data-grid-pro": "7.0.0-alpha.7",
"@mui/x-license-pro": "7.0.0-alpha.1",
"@types/format-util": "^1.0.4",
"clsx": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/grid/x-data-grid-pro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-data-grid-pro",
"version": "7.0.0-alpha.6",
"version": "7.0.0-alpha.7",
"description": "The Pro plan edition of the data grid component (MUI X).",
"author": "MUI Team",
"main": "src/index.ts",
Expand Down Expand Up @@ -46,7 +46,7 @@
"@babel/runtime": "^7.23.7",
"@mui/system": "^5.15.2",
"@mui/utils": "^5.15.2",
"@mui/x-data-grid": "7.0.0-alpha.6",
"@mui/x-data-grid": "7.0.0-alpha.7",
"@mui/x-license-pro": "7.0.0-alpha.1",
"@types/format-util": "^1.0.4",
"clsx": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/x-data-grid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-data-grid",
"version": "7.0.0-alpha.6",
"version": "7.0.0-alpha.7",
"description": "The community edition of the data grid component (MUI X).",
"author": "MUI Team",
"main": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-charts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-charts",
"version": "7.0.0-alpha.5",
"version": "7.0.0-alpha.7",
"description": "The community edition of the charts components (MUI X).",
"author": "MUI Team",
"main": "./src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-codemod/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-codemod",
"version": "7.0.0-alpha.6",
"version": "7.0.0-alpha.7",
"bin": "./codemod.js",
"private": false,
"author": "MUI Team",
Expand Down
4 changes: 2 additions & 2 deletions packages/x-date-pickers-pro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-date-pickers-pro",
"version": "7.0.0-alpha.6",
"version": "7.0.0-alpha.7",
"description": "The commercial edition of the date picker components (MUI X).",
"author": "MUI Team",
"main": "src/index.ts",
Expand Down Expand Up @@ -46,7 +46,7 @@
"@mui/base": "^5.0.0-beta.29",
"@mui/system": "^5.15.2",
"@mui/utils": "^5.15.2",
"@mui/x-date-pickers": "7.0.0-alpha.6",
"@mui/x-date-pickers": "7.0.0-alpha.7",
"@mui/x-license-pro": "7.0.0-alpha.1",
"clsx": "^2.0.0",
"prop-types": "^15.8.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-date-pickers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-date-pickers",
"version": "7.0.0-alpha.6",
"version": "7.0.0-alpha.7",
"description": "The community edition of the date picker components (MUI X).",
"author": "MUI Team",
"main": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-tree-view/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-tree-view",
"version": "7.0.0-alpha.1",
"version": "7.0.0-alpha.7",
"description": "The community edition of the tree view components (MUI X).",
"author": "MUI Team",
"main": "src/index.ts",
Expand Down

0 comments on commit 8153169

Please sign in to comment.