Skip to content

Commit d114e96

Browse files
arminmehflaviendelangleLukasTy
authored
v7.20.0 (#14910)
Signed-off-by: Armin Mehinovic <[email protected]> Co-authored-by: Flavien DELANGLE <[email protected]> Co-authored-by: Lukas Tyla <[email protected]>
1 parent 4bc5acc commit d114e96

File tree

18 files changed

+123
-28
lines changed

18 files changed

+123
-28
lines changed

Diff for: CHANGELOG.md

+92
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,96 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## 7.20.0
7+
8+
_Oct 11, 2024_
9+
10+
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
11+
12+
- 📚 Updated ["What's new"](https://mui.com/x/whats-new/) page giving more detailed overview of the latest new features and other highlights
13+
- 📚 New [collapsible column groups demo](https://mui.com/x/react-data-grid/column-groups/#collapsible-column-groups) for the Data Grid component
14+
- 📚 New [Tree Item Customization](https://mui.com/x/react-tree-view/tree-item-customization/) documentation to learn how to use the new APIs to create custom Tree Items. The old APIs (`props.ContentComponent` and `props.ContentProps`) have been deprecated and will be removed in the new major version of the Tree View component.
15+
- 🌍 Improve Japanese (ja-JP) locale on the Data Grid component
16+
- 🐞 Bugfixes
17+
- 📚 Other documentation improvements
18+
19+
Special thanks go out to the community contributors who have helped make this release possible:
20+
@k-rajat19, @kalyan90, @uma-neko, @vfbiby.
21+
Following are all team members who have contributed to this release: @alelthomas, @arminmeh, @arthurbalduini,
22+
@cherniavskii, @flaviendelangle, @JCQuintas, @MBilalShafi, @noraleonte, @oliviertassinari, @samuelsycamore, @siriwatknp.
23+
24+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
25+
26+
### Data Grid
27+
28+
#### `@mui/[email protected]`
29+
30+
- [DataGrid] Add `onColumnHeaderContextMenu` event (#14734) @vfbiby
31+
- [DataGrid] Avoid row spanning computation of outdated rows (#14902) @MBilalShafi
32+
- [DataGrid] Fix scrollbar position not being updated after `scrollToIndexes` (#14888) @arminmeh
33+
- [DataGrid] Pass `rowId` param to `processRowUpdate` (#14821) @k-rajat19
34+
- [l10n] Improve Japanese (ja-JP) locale (#14870) @uma-neko
35+
36+
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
37+
38+
Same changes as in `@mui/[email protected]`, plus:
39+
40+
- [DataGridPro] Fix wording on the `rowSelectionPropagation` JSDoc and doc section (#14907) @flaviendelangle
41+
42+
#### `@mui/[email protected]` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
43+
44+
Same changes as in `@mui/[email protected]`.
45+
46+
### Date and Time Pickers
47+
48+
#### `@mui/[email protected]`
49+
50+
- [pickers] Add `PageUp` and `PageDown` support for time components (#14812) @arthurbalduini
51+
- [pickers] Fix regression on `PickerValidDate` (#14896) @flaviendelangle
52+
- [pickers] Move the `DateFieldInPickerProps` interface to the `DatePicker` folder and rename it `DatePickerFieldProps` (same for time and date time) (#14828) @flaviendelangle
53+
54+
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
55+
56+
Same changes as in `@mui/[email protected]`.
57+
58+
### Charts
59+
60+
#### `@mui/[email protected]`
61+
62+
No changes since `@mui/[email protected]`.
63+
64+
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
65+
66+
Same changes as in `@mui/[email protected]`.
67+
68+
### Tree View
69+
70+
#### `@mui/[email protected]`
71+
72+
- [TreeItem] Deprecate the `ContentComponent` and `ContentProps` props (#14908) @flaviendelangle
73+
- [TreeView] Rework how items are being rendered in Rich Tree View components (#14749) @flaviendelangle
74+
75+
### Docs
76+
77+
- [docs] Update "What's new" page (#14858) @cherniavskii
78+
- [docs] Add collapsible column groups demo (#14818) @cherniavskii
79+
- [docs] Add custom columns panel demo (#14825) @cherniavskii
80+
- [docs] Capitalize all instances of "Data Grid" (#14884) @samuelsycamore
81+
- [docs] Divide charts `tooltip` and `highlighting` pages (#14824) @JCQuintas
82+
- [docs] Document the `TreeItem2` component and the `useTreeItem2` hook (#14551) @noraleonte
83+
- [docs] Fix column pinning for "Disable detail panel content scroll" section (#14854 and #14885) @kalyan90
84+
- [docs] Fix detail panel demo not working well with pinned columns (#14883) @cherniavskii
85+
- [docs] New recipe of a read-only field (#14606) @flaviendelangle
86+
- [docs] Change demo name example (#14822) @alelthomas
87+
88+
### Core
89+
90+
- [core] Support `@mui/utils` v6 (#14867) @siriwatknp
91+
- [code-infra] Remove deprecated `data-mui-test` in favour of `data-testid` (#14882) @JCQuintas
92+
- [code-infra] Update renovate config and add a `vitest` group (#14856) @JCQuintas
93+
- [test] Replace `waitFor()` with `act()` (#14851) @oliviertassinari
94+
- [test] Restore "pnpm tc" CLI (#14852) @oliviertassinari
95+
696
## 7.19.0
797

898
_Oct 4, 2024_
@@ -678,6 +768,8 @@ Same changes as in `@mui/[email protected]`, plus:
678768

679769
#### `@mui/[email protected]`
680770

771+
No changes since `@mui/[email protected]`.
772+
681773
### Docs
682774

683775
- [docs] Add a warning to promote the usage of `updateRows` (#14027) @MBilalShafi

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "7.19.0",
2+
"version": "7.20.0",
33
"private": true,
44
"scripts": {
55
"preinstall": "npx only-allow pnpm",

Diff for: packages/x-charts-pro/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-charts-pro",
3-
"version": "7.0.0-beta.3",
3+
"version": "7.0.0-beta.4",
44
"description": "The Pro plan edition of the Charts components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-charts-vendor/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-charts-vendor",
3-
"version": "7.19.0",
3+
"version": "7.20.0",
44
"description": "Vendored dependencies for MUI X Charts",
55
"author": "MUI Team",
66
"keywords": [

Diff for: packages/x-charts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-charts",
3-
"version": "7.19.0",
3+
"version": "7.20.0",
44
"description": "The community edition of the Charts components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.js",

Diff for: packages/x-codemod/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-codemod",
3-
"version": "7.18.0",
3+
"version": "7.20.0",
44
"bin": "./codemod.js",
55
"private": false,
66
"author": "MUI Team",

Diff for: packages/x-data-grid-generator/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-data-grid-generator",
3-
"version": "7.19.0",
3+
"version": "7.20.0",
44
"description": "Generate fake data for demo purposes only.",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-data-grid-premium/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-data-grid-premium",
3-
"version": "7.19.0",
3+
"version": "7.20.0",
44
"description": "The Premium plan edition of the Data Grid Components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-data-grid-pro/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-data-grid-pro",
3-
"version": "7.19.0",
3+
"version": "7.20.0",
44
"description": "The Pro plan edition of the Data Grid components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-data-grid/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-data-grid",
3-
"version": "7.19.0",
3+
"version": "7.20.0",
44
"description": "The Community plan edition of the Data Grid components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-date-pickers-pro/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-date-pickers-pro",
3-
"version": "7.19.0",
3+
"version": "7.20.0",
44
"description": "The Pro plan edition of the Date and Time Picker components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-date-pickers/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-date-pickers",
3-
"version": "7.19.0",
3+
"version": "7.20.0",
44
"description": "The community edition of the Date and Time Picker components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-internals/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-internals",
3-
"version": "7.18.0",
3+
"version": "7.20.0",
44
"description": "Utility functions for the MUI X packages (internal use only).",
55
"author": "MUI Team",
66
"license": "MIT",

Diff for: packages/x-license/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-license",
3-
"version": "7.18.0",
3+
"version": "7.20.0",
44
"description": "MUI X License verification",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-tree-view-pro/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-tree-view-pro",
3-
"version": "7.19.0",
3+
"version": "7.20.0",
44
"description": "The Pro plan edition of the Tree View components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: packages/x-tree-view/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-tree-view",
3-
"version": "7.19.0",
3+
"version": "7.20.0",
44
"description": "The community edition of the Tree View components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

Diff for: scripts/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ pnpm release:changelog
2424
--githubToken YOUR_GITHUB_TOKEN (needs "public_repo" permission)
2525
--lastRelease The release to compare against (default: the last one)
2626
--release The branch to release (default: master)
27+
--nextVersion Expected version of the next release (if not provided, __VERSION__ placeholders must be updated manually)
2728
```
2829

2930
> :warning: the script will add a separator string in form of a comment like this right after the highlights:

Diff for: scripts/releaseChangelog.mjs

+15-13
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function resolvePackagesByLabels(labels) {
6161
}
6262

6363
async function main(argv) {
64-
const { githubToken, lastRelease: lastReleaseInput, release } = argv;
64+
const { githubToken, lastRelease: lastReleaseInput, release, nextVersion } = argv;
6565

6666
if (!githubToken) {
6767
throw new TypeError(
@@ -297,7 +297,7 @@ async function main(argv) {
297297
return '';
298298
}
299299

300-
return `Special thanks go out to our community contributors who have helped make this release possible:\n${contributors.join(', ')}.`;
300+
return `Special thanks go out to the community contributors who have helped make this release possible:\n${contributors.join(', ')}.`;
301301
};
302302

303303
const logTeamSection = () => {
@@ -328,15 +328,14 @@ ${logTeamSection()}
328328
329329
#### \`@mui/x-data-grid@__VERSION__\`
330330
331-
${logChangelogSection(dataGridCommits)}
331+
${logChangelogSection(dataGridCommits) || `No changes since \`@mui/x-data-grid@${lastRelease}\`.`}
332332
333333
#### \`@mui/x-data-grid-pro@__VERSION__\` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
334334
335335
Same changes as in \`@mui/x-data-grid@__VERSION__\`${
336336
dataGridProCommits.length > 0 ? ', plus:\n' : '.'
337337
}
338-
${logChangelogSection(dataGridProCommits)}
339-
338+
${logChangelogSection(dataGridProCommits)}${dataGridProCommits.length > 0 ? '\n' : ''}
340339
#### \`@mui/x-data-grid-premium@__VERSION__\` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
341340
342341
Same changes as in \`@mui/x-data-grid-pro@__VERSION__\`${
@@ -347,31 +346,29 @@ ${logChangelogSection(dataGridPremiumCommits)}${dataGridPremiumCommits.length >
347346
348347
#### \`@mui/x-date-pickers@__VERSION__\`
349348
350-
${logChangelogSection(pickersCommits)}
349+
${logChangelogSection(pickersCommits) || `No changes since \`@mui/x-date-pickers@${lastRelease}\`.`}
351350
352351
#### \`@mui/x-date-pickers-pro@__VERSION__\` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
353352
354353
Same changes as in \`@mui/x-date-pickers@__VERSION__\`${
355354
pickersProCommits.length > 0 ? ', plus:\n' : '.'
356355
}
357-
${logChangelogSection(pickersProCommits)}
358-
356+
${logChangelogSection(pickersProCommits)}${pickersProCommits.length > 0 ? '\n' : ''}
359357
### Charts
360358
361359
#### \`@mui/x-charts@__VERSION__\`
362360
363-
${logChangelogSection(chartsCommits)}
361+
${logChangelogSection(chartsCommits) || `No changes since \`@mui/x-charts@${lastRelease}\`.`}
364362
365363
#### \`@mui/x-charts-pro@__VERSION-ALPHA__\` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
366364
367365
Same changes as in \`@mui/x-charts@__VERSION__\`${chartsProCommits.length > 0 ? ', plus:\n' : '.'}
368-
${logChangelogSection(chartsProCommits)}
369-
366+
${logChangelogSection(chartsProCommits)}${chartsProCommits.length > 0 ? '\n' : ''}
370367
### Tree View
371368
372369
#### \`@mui/x-tree-view@__VERSION__\`
373370
374-
${logChangelogSection(treeViewCommits)}
371+
${logChangelogSection(treeViewCommits) || `No changes since \`@mui/x-tree-view@${lastRelease}\`.`}
375372
${logChangelogSection(codemodCommits, `### \`@mui/x-codemod@__VERSION__\``)}
376373
${logChangelogSection(docsCommits, '### Docs')}
377374
${logChangelogSection(coreCommits, '### Core')}
@@ -380,7 +377,7 @@ ${logChangelogSection(otherCommits, '')}
380377
`;
381378

382379
// eslint-disable-next-line no-console -- output of this script
383-
console.log(changelog);
380+
console.log(nextVersion ? changelog.replace(/__VERSION__/g, nextVersion) : changelog);
384381
}
385382

386383
yargs(hideBin(process.argv))
@@ -405,6 +402,11 @@ yargs(hideBin(process.argv))
405402
default: 'master',
406403
describe: 'Ref which we want to release',
407404
type: 'string',
405+
})
406+
.option('nextVersion', {
407+
describe:
408+
'The version expected to be released e.g. `5.2.0`. Replaces `_VERSION__` placeholder in the changelog.',
409+
type: 'string',
408410
});
409411
},
410412
handler: main,

0 commit comments

Comments
 (0)