Skip to content

Commit

Permalink
[release] v7.0.0-alpha.6 (#11492)
Browse files Browse the repository at this point in the history
Signed-off-by: Rom Grk <romgrk@users.noreply.github.com>
Co-authored-by: Andrew Cherniavskii <andrew.cherniavskii@gmail.com>
Co-authored-by: Alexandre Fauquette <45398769+alexfauquette@users.noreply.github.com>
  • Loading branch information
3 people committed Dec 22, 2023
1 parent b12f0c5 commit a6af794
Show file tree
Hide file tree
Showing 10 changed files with 153 additions and 14 deletions.
139 changes: 139 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,96 @@
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.6

_Dec 22, 2023_

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

- 🎁 Data Grid now supports `Date` objects in the `filterModel`
- 🌍 Improve Russian (ru-RU) locale on the Data Grid
- 🐞 Bugfixes

### Data Grid

#### Breaking changes

- The filter panel no longer uses the native version of the [`Select`](https://mui.com/material-ui/react-select/) component for all components.
- The `getOptionValue` and `getOptionLabel` props were removed from the following components:

- `GridEditSingleSelectCell`
- `GridFilterInputSingleSelect`
- `GridFilterInputMultipleSingleSelect`

Use the `getOptionValue` and `getOptionLabel` properties on the `singleSelect` column definition instead:

```tsx
const column: GridColDef = {
type: 'singleSelect',
field: 'country',
valueOptions: [
{ code: 'BR', name: 'Brazil' },
{ code: 'FR', name: 'France' },
],
getOptionValue: (value: any) => value.code,
getOptionLabel: (value: any) => value.name,
};
```
- The `filterModel` now supports `Date` objects as values for `date` and `dateTime` column types.
The `filterModel` still accepts strings as values for `date` and `dateTime` column types,
but all updates to the `filterModel` coming from the UI (e.g. filter panel) will set the value as a `Date` object.

#### `@mui/x-data-grid@7.0.0-alpha.6`

- [DataGrid] Fix typos in the JSDoc (#11451) @flaviendelangle
- [DataGrid] Make `checkboxSelection` respect the `disableMultipleRowSelection` prop (#11448) @cherniavskii
- [DataGrid] Support `Date` objects in filter model (#7069) @cherniavskii
- [DataGrid] Use non-native `Select`s by default (#11330) @cherniavskii
- [l10n] Improve Russian (ru-RU) locale (#11441) @wensiet

#### `@mui/x-data-grid-pro@7.0.0-alpha.6` [![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@7.0.0-alpha.6`.

#### `@mui/x-data-grid-premium@7.0.0-alpha.6` [![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@7.0.0-alpha.6`.

### Date Pickers

#### `@mui/x-date-pickers@7.0.0-alpha.6`

- [fields] Adjust `PickersInput` sizing styles (#11392) @noraleonte
- [fields] Fix section pasting (#11447) @LukasTy
- [pickers] Add `PickersTextField` `standard` and `filled` variants (#11250) @noraleonte
- [pickers] Add missing breaking changes to changelog (#11420) @MBilalShafi
- [pickers] Cleanup error messages in `PickersSectionList` (#11449) @flaviendelangle
- [pickers] Create new component `PickersSectionList` (#11352) @flaviendelangle

#### `@mui/x-date-pickers-pro@7.0.0-alpha.6` [![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@7.0.0-alpha.6`.

### Charts / `@mui/x-charts@7.0.0-alpha.6`

- [charts] Allow percentage values for pie chart center and radius (#11464) @alexfauquette
- [charts] Improve dataset typing (#11372) @alexfauquette
- [charts] Make error message more explicit (#11457) @alexfauquette
- [charts] Make the helper `ChartsText` component public (#11370) @alexfauquette

### Docs

- [docs] Document `false` default values for boolean props (#11477) @cherniavskii
- [docs] Improve Pickers `name` prop examples (#11422) @LukasTy
- [docs] Limit `date-fns` package to v2 in codesandbox (#11463) @LukasTy

### Core

- [core] Cherry pick follow up (#11469) @LukasTy
- [core] Fix `cherry-pick` action (#11446) @LukasTy
- [core] Fix security regressions in cherry-pick-next-to-master.yml (#11482) @MBilalShafi
- [test] Reload the page if its blank and there are no links to the remaining tests (#11466) @cherniavskii

## 7.0.0-alpha.5

_Dec 14, 2023_
Expand Down Expand Up @@ -1110,6 +1200,55 @@ 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.6

_Dec 22, 2023_

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

- 🌍 Improve Russian (ru-RU) locale (#11429) @wensiet
- 🐞 Bugfixes

### Data Grid

#### `@mui/x-data-grid@6.18.6`

- [DataGrid] Fix typos in the JSDoc (#11475) @flaviendelangle
- [l10n] Improve Russian (ru-RU) locale (#11429) @wensiet

#### `@mui/x-data-grid-pro@6.18.6` [![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.6`.

#### `@mui/x-data-grid-premium@6.18.6` [![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.6`.

### Date Pickers

#### `@mui/x-date-pickers@6.18.6`

- [fields] Fix section pasting (#11467) @LukasTy

#### `@mui/x-date-pickers-pro@6.18.6` [![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.6`.

### Charts / `@mui/x-charts@6.18.6`

- [charts] Allow percentage values for pie chart center and radius (#11464) @alexfauquette
- [charts] Make error message more explicit (#11457) @alexfauquette
- [charts] Make the helper `ChartsText` component public (#11370) @alexfauquette
- [charts] Improve dataset typing (#11372) @alexfauquette
- [charts] Fix size overflow (#11385) @alexfauquette

### Docs

- [docs] Document false default values for boolean props (#11489) @cherniavskii
- [docs] Improve Pickers `name` prop examples (#11442) @LukasTy
- [docs] Limit `date-fns` package to v2 in codesandbox (#11478) @LukasTy
- [test] Reload the page if its blank and there are no links to the remaining tests (#11471) @cherniavskii

## 6.18.5

_Dec 14, 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.5",
"version": "7.0.0-alpha.6",
"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.5",
"version": "7.0.0-alpha.6",
"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.5",
"@mui/base": "^5.0.0-beta.27",
"@mui/x-data-grid-premium": "7.0.0-alpha.5",
"@mui/x-data-grid-premium": "7.0.0-alpha.6",
"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.5",
"version": "7.0.0-alpha.6",
"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.5",
"@mui/system": "^5.15.0",
"@mui/utils": "^5.15.0",
"@mui/x-data-grid": "7.0.0-alpha.5",
"@mui/x-data-grid-pro": "7.0.0-alpha.5",
"@mui/x-data-grid": "7.0.0-alpha.6",
"@mui/x-data-grid-pro": "7.0.0-alpha.6",
"@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.5",
"version": "7.0.0-alpha.6",
"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.5",
"@mui/system": "^5.15.0",
"@mui/utils": "^5.15.0",
"@mui/x-data-grid": "7.0.0-alpha.5",
"@mui/x-data-grid": "7.0.0-alpha.6",
"@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.5",
"version": "7.0.0-alpha.6",
"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.4",
"version": "7.0.0-alpha.5",
"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.5",
"version": "7.0.0-alpha.6",
"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.5",
"version": "7.0.0-alpha.6",
"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.27",
"@mui/system": "^5.15.0",
"@mui/utils": "^5.15.0",
"@mui/x-date-pickers": "7.0.0-alpha.5",
"@mui/x-date-pickers": "7.0.0-alpha.6",
"@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.5",
"version": "7.0.0-alpha.6",
"description": "The community edition of the date picker components (MUI X).",
"author": "MUI Team",
"main": "src/index.ts",
Expand Down

0 comments on commit a6af794

Please sign in to comment.