Skip to content

Commit

Permalink
6.0.0-alpha.13 (#7305)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanailH authored Dec 24, 2022
1 parent c0804f2 commit 7b36870
Show file tree
Hide file tree
Showing 11 changed files with 158 additions and 15 deletions.
132 changes: 132 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,138 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 6.0.0-alpha.13

_Dec 24, 2022_

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

- 🚀 New column menu design and API
- 🌍 Improve Russian (ru-RU) and Korean (ko-KR) locales
- 📚 Documentation improvements
- 🐞 Bugfixes

### `@mui/x-data-grid@6.0.0-alpha.13` / `@mui/x-data-grid-pro@6.0.0-alpha.13` / `@mui/x-data-grid-premium@6.0.0-alpha.13`

#### Breaking changes

- New column menu design and API (#6619) MBilalShafi

The `currentColumn` prop passed to `components.ColumnMenu` was renamed to `colDef`.
The `column` prop passed to the items of the column menu was renamed to `colDef`.
The `DATA_GRID_DEFAULT_SLOTS_COMPONENTS` export has been removed.
The following components and interfaces were been renamed for consistency:

**Community Package:**

```diff
-<GridFilterMenuItem />
+<GridColumnMenuFilterItem />
```

```diff
-<HideGridColMenuItem />
+<GridColumnMenuHideItem />
```

```diff
-<GridColumnsMenuItem />
+<GridColumnMenuColumnsItem />
```

```diff
-<SortGridMenuItems />
+<GridColumnMenuSortItem />
```

```diff
-interface GridFilterItemProps
+interface GridColumnMenuItemProps
```

**Pro package:**

```diff
-<GridColumnPinningMenuItems />
+<GridColumnMenuPinningItem />
```

**Premium package:**

```diff
-<GridAggregationColumnMenuItem />
+<GridColumnMenuAggregationItem />
```

```diff
-<GridRowGroupingColumnMenuItems />
-<GridRowGroupableColumnMenuItems />
+<GridColumnMenuGroupingItem />
```

- Improve column definition typing (#7224) @cherniavskii

The `GridColumns` type was removed. Use `GridColDef[]` instead.
The `GridActionsColDef` interface was removed. Use `GridColDef` instead.
The `GridEnrichedColDef` type was removed. Use `GridColDef` instead.
The `GridStateColDef` type was removed.

If you use it to type `searchPredicate`, use `GridColumnsPanelProps['searchPredicate']` instead.
If you use it to type `getApplyFilterFn`, `GridFilterOperator['getApplyFilterFn']` can be used as replacement.

- Remove GridDensityType enum (#7304) @cherniavskii

The `GridDensityTypes` enum was removed. Use `GridDensity` type instead.

#### Changes

- [DataGrid] Allow disabling of buttons in column panel (#6947) @MBilalShafi
- [DataGrid] Improve column definition typing (#7224) @cherniavskii
- [DataGrid] Improve column menu design and API (#6619) @MBilalShafi
- [DataGrid] Remove `GridDensityType` enum (#7304) @cherniavskii
- [DataGrid] Remove `rowHeight` and `headerHeight` from state (#7199) @DanailH
- [DataGrid] Remove column separator to match table styles (#7067) @MBilalShafi
- [DataGrid] Update Russian (ru-RU) locale (#7220) @VeceluXa
- [DataGridPro] Use row ID as `key` of the detail panels (#7302) @m4theushw
- [DataGridPremium] Fix `exceljs` import with parcel (#7284) @alexfauquette

### `@mui/x-date-pickers@6.0.0-alpha.13` / `@mui/x-date-pickers-pro@6.0.0-alpha.13`

#### Breaking changes

- Require Luxon 3.0.2 or higher (#7249) @flaviendelangle

`AdapterLuxon` now requires `luxon` in version `3.0.2` or higher in order to work.

Take a look at the [Upgrading Luxon](https://moment.github.io/luxon/#/upgrading) guide if you are using an older version.

#### Changes

- [DateRangePicker] Fix to propagate `disabled` and `readOnly` on multi input picker (#7135) @LukasTy
- [fields] Fix multi input fields root element props order and types (#7225) @LukasTy
- [fields] Support escaped characters (#7184) @flaviendelangle
- [pickers] Allow to define custom view renderers on the pickers (#7176) @flaviendelangle
- [pickers] Avoid running validation methods several times in `DateCalendar` (#7247) @flaviendelangle
- [pickers] Improve Korean (ko-KR) locale (#7266) @hanbin9775
- [pickers] Require Luxon 3.0.2 or higher (#7249) @flaviendelangle
- [pickers] Rework view internals (#7097) @flaviendelangle

### `@mui/x-codemod@6.0.0-alpha.13`

#### Changes

- [codemod] New codemod for view component renaming (#7264) @flaviendelangle

### Docs

- [docs] Fix some selectors not being documented (#7218) @cherniavskii
- [docs] New page for `DateCalendar` (#7053) @flaviendelangle
- [docs] Split selection docs (#7213) @m4theushw

### Core

- [core] Fix API demos callout spacing @oliviertassinari

## 6.0.0-alpha.12

_Dec 16, 2022_
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": "6.0.0-alpha.12",
"version": "6.0.0-alpha.13",
"private": true,
"author": "MUI Team",
"license": "MIT",
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": "6.0.0-alpha.12",
"version": "6.0.0-alpha.13",
"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": "6.0.0-alpha.11",
"version": "6.0.0-alpha.13",
"description": "Generate fake data for demo purposes only.",
"author": "MUI Team",
"main": "src/index.ts",
Expand Down Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@babel/runtime": "^7.20.6",
"@mui/base": "^5.0.0-alpha.109",
"@mui/x-data-grid-premium": "6.0.0-alpha.12",
"@mui/x-data-grid-premium": "6.0.0-alpha.13",
"chance": "^1.1.9",
"clsx": "^1.2.1",
"lru-cache": "^7.14.1"
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": "6.0.0-alpha.12",
"version": "6.0.0-alpha.13",
"description": "The Premium plan edition of the data grid component (MUI X).",
"author": "MUI Team",
"main": "src/index.ts",
Expand Down Expand Up @@ -44,8 +44,8 @@
"dependencies": {
"@babel/runtime": "^7.20.6",
"@mui/utils": "^5.10.16",
"@mui/x-data-grid": "6.0.0-alpha.12",
"@mui/x-data-grid-pro": "6.0.0-alpha.12",
"@mui/x-data-grid": "6.0.0-alpha.13",
"@mui/x-data-grid-pro": "6.0.0-alpha.13",
"@mui/x-license-pro": "6.0.0-alpha.9",
"@types/format-util": "^1.0.2",
"clsx": "^1.2.1",
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": "6.0.0-alpha.12",
"version": "6.0.0-alpha.13",
"description": "The Pro plan edition of the data grid component (MUI X).",
"author": "MUI Team",
"main": "src/index.ts",
Expand Down Expand Up @@ -44,7 +44,7 @@
"dependencies": {
"@babel/runtime": "^7.20.6",
"@mui/utils": "^5.10.16",
"@mui/x-data-grid": "6.0.0-alpha.12",
"@mui/x-data-grid": "6.0.0-alpha.13",
"@mui/x-license-pro": "6.0.0-alpha.9",
"@types/format-util": "^1.0.2",
"clsx": "^1.2.1",
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": "6.0.0-alpha.12",
"version": "6.0.0-alpha.13",
"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-codemod/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-codemod",
"version": "6.0.0-alpha.11",
"version": "6.0.0-alpha.13",
"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": "6.0.0-alpha.12",
"version": "6.0.0-alpha.13",
"description": "The commercial edition of the date picker components (MUI X).",
"author": "MUI Team",
"main": "./src/index.js",
Expand Down Expand Up @@ -47,7 +47,7 @@
"@date-io/luxon": "^2.16.1",
"@date-io/moment": "^2.16.1",
"@mui/utils": "^5.10.16",
"@mui/x-date-pickers": "6.0.0-alpha.12",
"@mui/x-date-pickers": "6.0.0-alpha.13",
"@mui/x-license-pro": "6.0.0-alpha.9",
"clsx": "^1.2.1",
"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": "6.0.0-alpha.12",
"version": "6.0.0-alpha.13",
"description": "The community edition of the date picker components (MUI X).",
"author": "MUI Team",
"main": "./src/index.js",
Expand Down
13 changes: 12 additions & 1 deletion scripts/releaseChangelog.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ async function main(argv) {
const coreCommits = [];
const docsCommits = [];
const otherCommits = [];
const codemodCommits = [];

commitsItems.forEach((commitItem) => {
const tag = parseTags(commitItem.commit.message);
Expand All @@ -160,6 +161,9 @@ async function main(argv) {
case 'core':
coreCommits.push(commitItem);
break;
case 'codemod':
codemodCommits.push(commitItem);
break;
default:
otherCommits.push(commitItem);
break;
Expand Down Expand Up @@ -208,8 +212,15 @@ ${changeLogMessages.length > 0 ? '\n\n' : ''}${changeLogMessages.join('\n')}
### \`@mui/x-data-grid@v__VERSION__\` / \`@mui/x-data-grid-pro@v__VERSION__\` / \`@mui/x-data-grid-premium@v__VERSION__\`
${logChangelogSection(dataGridCommits, '#### Changes')}
### \`@mui/x-date-pickers@v__PICKERS_VERSION__\` / \`@mui/x-date-pickers-pro@v__PICKERS_VERSION__\`
### \`@mui/x-date-pickers@v__VERSION__\` / \`@mui/x-date-pickers-pro@v__VERSION__\`
${logChangelogSection(pickersCommits, '#### Changes')}
${logChangelogSection(
codemodCommits,
`
### \`@mui/x-codemod@v__VERSION__\`
#### Changes`,
)}
${logChangelogSection(docsCommits, '### Docs')}
${logChangelogSection(coreCommits, '### Core')}
${logChangelogSection(otherCommits, '')}
Expand Down

0 comments on commit 7b36870

Please sign in to comment.