From 40b6038015646d41146614947fb53c52e7277687 Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 13 Jun 2024 18:31:19 +0300 Subject: [PATCH] v7.7.0 (#13472) --- CHANGELOG.md | 81 +++++++++++++++++++++ package.json | 2 +- packages/x-charts-pro/package.json | 2 +- packages/x-charts/package.json | 2 +- packages/x-codemod/package.json | 2 +- packages/x-data-grid-generator/package.json | 2 +- packages/x-data-grid-premium/package.json | 2 +- packages/x-data-grid-pro/package.json | 2 +- packages/x-data-grid/package.json | 2 +- packages/x-date-pickers-pro/package.json | 2 +- packages/x-date-pickers/package.json | 2 +- packages/x-license/package.json | 2 +- packages/x-tree-view/package.json | 2 +- scripts/releaseChangelog.mjs | 12 ++- 14 files changed, 101 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2b8914d6b6be..051df7ec2e97f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,87 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 7.7.0 + +_Jun 13, 2024_ + +We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨: + +- 🎁 Allow customization of the Pickers month and the year buttons +- 🌍 Improve Persian (fa-IR), Portuguese (pt-PT), and Russian (ru-RU) locales on the Data Grid +- 🌍 Improve Korean (ko-KR) and Persian (fa-IR) locales on the Date and Time Pickers +- 🐞 Bugfixes +- 📚 Documentation improvements + + + +### Data Grid + +#### `@mui/x-data-grid@7.7.0` + +- [DataGrid] Add `getFilterState` method (#13418) @cherniavskii +- [DataGrid] Do not show resize separators for column groups (#13455) @cherniavskii +- [l10n] Improve Persian (fa-IR) locale (#13402) @fakhamatia +- [l10n] Improve Portuguese (pt-PT) locale (#13384) @olavocarvalho +- [l10n] Improve Russian (ru-RU) locale (#11210) @dastan-akhmetov-scity + +#### `@mui/x-data-grid-pro@7.7.0` [![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.7.0`, plus: + +- [DataGridPro] Do not render detail panel if the focused cell is not visible (#13456) @cherniavskii + +#### `@mui/x-data-grid-premium@7.7.0` [![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.7.0`. + +### Date and Time Pickers + +#### `@mui/x-date-pickers@7.7.0` + +- [l10n] Improve Korean (ko-KR) locale (#13452) @ryxxn +- [l10n] Improve Persian (fa-IR) locale (#13402) @fakhamatia +- [pickers] Allow to customize the month and the year buttons (#13321) @flaviendelangle + +#### `@mui/x-date-pickers-pro@7.7.0` [![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.7.0`. + +### Charts + +#### `@mui/x-charts@7.7.0` + +- [charts] Add watermark on the pro `ResponsiveChartContainer` (#13398) @alexfauquette +- [charts] Allow to specify y-axis configuration (#13438) @alexfauquette +- [charts] Fix eslint for react compiler (#13444) @alexfauquette +- [charts] Improve themeAugmentation typing (#13433) @noraleonte +- [charts] Move the `ZAxisContextProvider` by default in the `ChartContainer` (#13465) @alexfauquette +- [charts] Use plugins to define series extremum and colors (#13397) @alexfauquette + +### Tree View + +#### `@mui/x-tree-view@7.7.0` + +- [TreeView] Improve TypeScript for plugins (#13380) @flaviendelangle +- [TreeView] Improve the typing of the cancelable events (#13152) @flaviendelangle +- [TreeView] Prepare support for PigmentCSS (#13412) @flaviendelangle +- [TreeView] Refactor the tree view internals to prepare for headless API (#13311) @flaviendelangle + +### Docs + +- [docs] Add `renderHeader` recipe to the Master Details docs (#13370) @michelengelen +- [docs] Add lazy loading detail panel demo (#13453) @cherniavskii +- [docs] Add small edits to the Data Grid overview page (#13060) @danilo-leal +- [docs] Update a11y pages description (#13417) @danilo-leal +- [docs] improve the writing on the "Quick filter outside of the grid" example (#13155) @michelengelen + +### Core + +- [core] Add `eslint-plugin-react-compiler` experimental version and rules (#13415) @JCQuintas +- [core] Minor setup cleanup (#13467) @LukasTy +- [infra] Adjust CI setup (#13448) @LukasTy +- [test] Add tests for the custom slots of `TreeItem2` (#13314) @flaviendelangle + ## 7.6.2 _Jun 6, 2024_ diff --git a/package.json b/package.json index f52f84ebe4f38..0ba76b8597094 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "7.6.2", + "version": "7.7.0", "private": true, "scripts": { "preinstall": "npx only-allow pnpm", diff --git a/packages/x-charts-pro/package.json b/packages/x-charts-pro/package.json index 1f69d7aba95cc..7db82fe0fbe31 100644 --- a/packages/x-charts-pro/package.json +++ b/packages/x-charts-pro/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-charts-pro", - "version": "7.6.2", + "version": "7.7.0", "description": "The community edition of the Charts components (MUI X).", "author": "MUI Team", "main": "./src/index.ts", diff --git a/packages/x-charts/package.json b/packages/x-charts/package.json index c87bd66a53e91..d6038a45fd407 100644 --- a/packages/x-charts/package.json +++ b/packages/x-charts/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-charts", - "version": "7.6.2", + "version": "7.7.0", "description": "The community edition of the Charts components (MUI X).", "author": "MUI Team", "main": "./src/index.js", diff --git a/packages/x-codemod/package.json b/packages/x-codemod/package.json index 0c09f399b895c..2b97f82feb4e2 100644 --- a/packages/x-codemod/package.json +++ b/packages/x-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-codemod", - "version": "7.6.0", + "version": "7.7.0", "bin": "./codemod.js", "private": false, "author": "MUI Team", diff --git a/packages/x-data-grid-generator/package.json b/packages/x-data-grid-generator/package.json index 752c3694def8a..7139697527d82 100644 --- a/packages/x-data-grid-generator/package.json +++ b/packages/x-data-grid-generator/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-generator", - "version": "7.6.2", + "version": "7.7.0", "description": "Generate fake data for demo purposes only.", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-data-grid-premium/package.json b/packages/x-data-grid-premium/package.json index ec150a354f0a4..b6cf4d8eef41a 100644 --- a/packages/x-data-grid-premium/package.json +++ b/packages/x-data-grid-premium/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-premium", - "version": "7.6.2", + "version": "7.7.0", "description": "The Premium plan edition of the Data Grid Components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-data-grid-pro/package.json b/packages/x-data-grid-pro/package.json index 3776ac2acae09..d8ff4c49188e6 100644 --- a/packages/x-data-grid-pro/package.json +++ b/packages/x-data-grid-pro/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid-pro", - "version": "7.6.2", + "version": "7.7.0", "description": "The Pro plan edition of the Data Grid components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-data-grid/package.json b/packages/x-data-grid/package.json index a43371910894b..9af649b6d794e 100644 --- a/packages/x-data-grid/package.json +++ b/packages/x-data-grid/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-data-grid", - "version": "7.6.2", + "version": "7.7.0", "description": "The Community plan edition of the Data Grid components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-date-pickers-pro/package.json b/packages/x-date-pickers-pro/package.json index fc9c55e009553..5345723742f10 100644 --- a/packages/x-date-pickers-pro/package.json +++ b/packages/x-date-pickers-pro/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-date-pickers-pro", - "version": "7.6.2", + "version": "7.7.0", "description": "The Pro plan edition of the Date and Time Picker components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-date-pickers/package.json b/packages/x-date-pickers/package.json index 17fc41b227b9a..2f1f010c87c11 100644 --- a/packages/x-date-pickers/package.json +++ b/packages/x-date-pickers/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-date-pickers", - "version": "7.6.2", + "version": "7.7.0", "description": "The community edition of the Date and Time Picker components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-license/package.json b/packages/x-license/package.json index 01245222119b7..6627bdb4e3bf0 100644 --- a/packages/x-license/package.json +++ b/packages/x-license/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-license", - "version": "7.6.1", + "version": "7.7.0", "description": "MUI X License verification", "author": "MUI Team", "main": "src/index.ts", diff --git a/packages/x-tree-view/package.json b/packages/x-tree-view/package.json index 6aa3dc5e406cc..e3b029fea7cdf 100644 --- a/packages/x-tree-view/package.json +++ b/packages/x-tree-view/package.json @@ -1,6 +1,6 @@ { "name": "@mui/x-tree-view", - "version": "7.6.2", + "version": "7.7.0", "description": "The community edition of the Tree View components (MUI X).", "author": "MUI Team", "main": "src/index.ts", diff --git a/scripts/releaseChangelog.mjs b/scripts/releaseChangelog.mjs index 6e4b0f22c2342..7c2867817cc91 100644 --- a/scripts/releaseChangelog.mjs +++ b/scripts/releaseChangelog.mjs @@ -8,16 +8,16 @@ const GIT_REPO = 'mui-x'; /** * @param {string} commitMessage - * @returns {string} The tags in lowercases, ordered ascending and commaseparated + * @returns {string} The tags in lowercases, ordered ascending and comma-separated */ function parseTags(commitMessage) { - const tagMatch = commitMessage.match(/^(\[[\w-]+\])+/); + const tagMatch = commitMessage.match(/^(\[[\w- ]+\])+/); if (tagMatch === null) { return ''; } const [tagsWithBracketDelimiter] = tagMatch; return tagsWithBracketDelimiter - .match(/([\w-]+)/g) + .match(/([\w- ]+)/g) .map((tag) => { return tag; }) @@ -165,8 +165,11 @@ async function main(argv) { commitsItems.forEach((commitItem) => { const tag = parseTags(commitItem.commit.message); - switch (tag) { + // for now we use only one parsed tag + const firstTag = tag.split(',')[0]; + switch (firstTag) { case 'DataGrid': + case 'data grid': dataGridCommits.push(commitItem); break; case 'DataGridPro': @@ -190,6 +193,7 @@ async function main(argv) { chartsCommits.push(commitItem); break; case 'TreeView': + case 'tree view': treeViewCommits.push(commitItem); break; case 'docs':