Skip to content

Commit

Permalink
v5.0.0-beta.2 (#2675)
Browse files Browse the repository at this point in the history
  • Loading branch information
m4theushw authored Sep 24, 2021
1 parent 06a4911 commit d5e05f1
Show file tree
Hide file tree
Showing 10 changed files with 75 additions and 18 deletions.
65 changes: 61 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,61 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 5.0.0-beta.2

_Sep 24, 2021_

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

- 🇻🇳 Add Vietnamese (viVN) locale (#2668) @tuananh281098
- 🇵🇱 Improve Polish (plPL) locale (#2632) @michallukowski
- ⚡️ Apply the `valueFormatter` to the `singleSelect` column type (#2581) @DanailH

### `@mui/x-data-grid@v5.0.0-beta.2` / `@mui/x-data-grid-pro@v5.0.0-beta.2`

#### Breaking changes

- [DataGrid] The params passed to the `valueFormatter` were changed. (#2581) @DanailH

Use the `api` to get the missing params.
The `GridValueFormatterParams` interface has the following signature now:

```diff
-export type GridValueFormatterParams = Omit<GridRenderCellParams, 'formattedValue' | 'isEditable'>;
+export interface GridValueFormatterParams {
+ /**
+ * The column field of the cell that triggered the event
+ */
+ field: string;
+ /**
+ * The cell value, but if the column has valueGetter, use getValue.
+ */
+ value: GridCellValue;
+ /**
+ * GridApi that let you manipulate the grid.
+ */
+ api: any;
+}
```

#### Changes

- [DataGrid] Add Vietnamese (viVN) locale (#2668) @tuananh281098
- [DataGrid] Apply the `valueFormatter` to `singleSelect` select options (#2581) @DanailH
- [DataGrid] Free up column header space when icons are not visible (#2606) @DanailH
- [DataGrid] Improve Polish (plPL) locale (#2632) @michallukowski

### Docs

- [docs] Add section for controlled selection and server-side pagination (#2602) @DanailH
- [docs] Fix Algolia search (#2655) @oliviertassinari
- [docs] Improve the seach results relevance (#2656) @oliviertassinari
- [docs] Update installation instructions (#2663) @m4theushw

### Core

- [core] Upgrade JSS plugins to 10.8.0 (#2667) @m4theushw

## 5.0.0-beta.1

_Sep 17, 2021_
Expand All @@ -11,13 +66,15 @@ A big thanks to the 3 contributors who made this release possible.

### `@mui/x-data-grid@v5.0.0-beta.1` / `@mui/x-data-grid-pro@v5.0.0-beta.1`

#### Docs
This is a hotfix to fix an important regression with `v5.0.0-beta.0`.

### Docs

- [docs] Explain how to use theme augmentation (#2582) @ZeeshanTamboli
- [docs] Fix formatting (#2626) @m4theushw
- [docs] Include packages from next tag (#2628) @m4theushw

#### Core
### Core

- [core] Copy bin folder when building the libraries (#2627) @flaviendelangle
- [core] Remove prop-types during build (#2586) @m4theushw
Expand Down Expand Up @@ -617,15 +674,15 @@ Big thanks to the 11 contributors who made this release possible. Here are some
- [XGrid] Only show column sorting in the grid toolbar when experimental features enabled (#2091) @flaviendelangle
- [XGrid] Prevent headers from scrolling during reordering (#2154) @m4theushw

#### Docs
### Docs

- [docs] Add new cursor-based pagination paragraph (#1991) @flaviendelangle
- [docs] Better explain what happens in the future (#2036) @oliviertassinari
- [docs] Fix broken env (#2160) @oliviertassinari
- [docs] Fix small typos in the documentation (#2169) @BrandonOldenhof
- [docs] Fix typo in README (#2150) @studyhog

#### Core
### Core

- [core] Add @material-ui/lab and @material-ui/icons as peer dependencies (#2012) @m4theushw
- [core] Add additional test case for `onSelectionModelChange` (#1966) @DanailH
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": "5.0.0-beta.1",
"version": "5.0.0-beta.2",
"private": true,
"author": "MUI Team",
"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 @@
{
"version": "4.0.0",
"version": "5.0.0-beta.2",
"npmClient": "yarn",
"useWorkspaces": true
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.0.0-beta.1",
"version": "5.0.0-beta.2",
"private": true,
"scripts": {
"start": "yarn docs:dev",
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": "5.0.0-beta.1",
"version": "5.0.0-beta.2",
"private": true,
"description": "Custom eslint rules for Material-UI.",
"main": "src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/data-grid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-data-grid",
"version": "5.0.0-beta.1",
"version": "5.0.0-beta.2",
"description": "The community edition of the data grid component (Material-UI X).",
"author": "MUI Team",
"main": "build/index-cjs.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/x-grid-data-generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-data-grid-generator",
"version": "5.0.0-beta.1",
"version": "5.0.0-beta.2",
"description": "Generate fake data for demo purposes only.",
"author": "MUI Team",
"main": "cjs/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/grid/x-grid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-data-grid-pro",
"version": "5.0.0-beta.1",
"version": "5.0.0-beta.2",
"description": "The commercial edition of the data grid component (Material-UI X).",
"author": "MUI Team",
"main": "build/index-cjs.js",
Expand Down Expand Up @@ -38,7 +38,7 @@
},
"dependencies": {
"@mui/utils": "^5.0.0",
"@mui/x-license-pro": "5.0.0-beta.1",
"@mui/x-license-pro": "5.0.0-beta.2",
"clsx": "^1.0.4",
"prop-types": "^15.7.2",
"reselect": "^4.0.0"
Expand Down
10 changes: 5 additions & 5 deletions packages/storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "storybook",
"version": "5.0.0-beta.1",
"version": "5.0.0-beta.2",
"description": "Storybook components",
"author": "MUI Team",
"private": true,
Expand All @@ -19,10 +19,10 @@
"@mui/icons-material": "^5.0.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
"@mui/x-data-grid": "5.0.0-beta.1",
"@mui/x-data-grid-generator": "5.0.0-beta.1",
"@mui/x-data-grid-pro": "5.0.0-beta.1",
"@mui/x-license-pro": "5.0.0-beta.1",
"@mui/x-data-grid": "5.0.0-beta.2",
"@mui/x-data-grid-generator": "5.0.0-beta.2",
"@mui/x-data-grid-pro": "5.0.0-beta.2",
"@mui/x-license-pro": "5.0.0-beta.2",
"react": "^17.0.2",
"react-is": "^17.0.2",
"rxjs": "^7.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/x-license/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mui/x-license-pro",
"version": "5.0.0-beta.1",
"version": "5.0.0-beta.2",
"description": "Material-UI X License verification",
"author": "MUI Team",
"main": "build/cjs/index.js",
Expand Down

0 comments on commit d5e05f1

Please sign in to comment.