Skip to content

Commit eefc4a8

Browse files
JCQuintasLukasTyflaviendelanglecherniavskii
authored
v7.12.0 (#14064)
Signed-off-by: Jose C Quintas Jr <[email protected]> Co-authored-by: Lukas Tyla <[email protected]> Co-authored-by: Flavien DELANGLE <[email protected]> Co-authored-by: Andrew Cherniavskii <[email protected]>
1 parent 77c190e commit eefc4a8

File tree

15 files changed

+139
-32
lines changed

15 files changed

+139
-32
lines changed

CHANGELOG.md

+106
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,112 @@
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.12.0
7+
8+
_Aug 1, 2024_
9+
10+
### 💵 Our commercial offering is evolving
11+
12+
The [Pro plan](https://mui.com/x/introduction/licensing/#pro-plan) is receiving two new packages:
13+
14+
- `@mui/x-tree-view-pro` (available today!)
15+
- `@mui/x-charts-pro` (available in the coming weeks)
16+
17+
As always, every feature released as part of the MIT plan will remain free and MIT licensed forever.
18+
19+
This expansion of the Pro plan comes with some adjustments to our pricing strategy. Learn more about those in the [Upcoming changes to MUI X pricing in 2024](https://mui.com/blog/mui-x-sep-2024-price-update/) blog post.
20+
21+
### Highlights
22+
23+
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
24+
25+
- 🎁 Introduce [item reordering using drag and drop](https://mui.com/x/react-tree-view/rich-tree-view/ordering/) on the `RichTreeViewPro` component
26+
27+
<img width="384" src="https://github.com/user-attachments/assets/78bd83c5-7ce4-4ed7-acf9-be70b2dbce54" alt="Item reordering using drag and drop" />
28+
29+
- 📦 Support Common JS bundle out of the box on `@mui/x-charts` by adding vendored D3 dependencies.
30+
31+
- This modifies how the package imports D3.js. It will impact you if you use `d3` packages installed by `@mui/x-charts` and don't have them in your `package.json`. You shouldn't be affected otherwise.
32+
- For more context, the initial issue is caused by D3 only exporting ESM.
33+
34+
![image](https://github.com/user-attachments/assets/d705b4de-0c93-420e-a416-528e7a044c1d)
35+
36+
- The solution up until now was to export charts with only ESM. But some frameworks are confused by this configuration.
37+
38+
![image](https://github.com/user-attachments/assets/18a09703-9dd4-4226-a33d-167af059219c)
39+
40+
- So in order to fix this, we are providing a CJS version of D3.
41+
42+
![image](https://github.com/user-attachments/assets/56387fe6-85d8-4750-bb9d-9866d5be68fa)
43+
44+
- 🌍 Improve Turkish (tr-TR) locale on the Data Grid
45+
- 🌍 Improve Finnish (fi-FI) locale on the Date and Time Pickers
46+
- 🐞 Bugfixes
47+
- 📚 Documentation improvements
48+
49+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
50+
51+
### Data Grid
52+
53+
#### `@mui/[email protected]`
54+
55+
- [DataGrid] Fix crash when updating columns immediately after scrolling (#13781) @cherniavskii
56+
- [DataGrid] Fix `role=presentation` a11y issue (#13891) @romgrk
57+
- [DataGrid] Fix top corner pixels & outline radius (#13943) @romgrk
58+
- [DataGrid] Refactor: remove useless copy (#14039) @romgrk
59+
- [l10n] Improve Turkish (tr-TR) locale (#13996) @bagcivan
60+
61+
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
62+
63+
Same changes as in `@mui/[email protected]`.
64+
65+
#### `@mui/[email protected]` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
66+
67+
Same changes as in `@mui/[email protected]`.
68+
69+
### Date and Time Pickers
70+
71+
#### `@mui/[email protected]`
72+
73+
- [l10n] Improve Finnish (fi-FI) locale (#14054) @frozenzia
74+
75+
#### `@mui/[email protected]` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
76+
77+
Same changes as in `@mui/[email protected]`.
78+
79+
### Charts
80+
81+
#### `@mui/[email protected]`
82+
83+
- [charts] Fix incorrect `axisId` prop being allowed in xAxis/yAxis config. Use `id` instead. (#13986) @JCQuintas
84+
- [charts] Use vendor to have Common JS bundle working out of the box (#13608) @alexfauquette
85+
- [charts] Divide the `SeriesProvider` to use in filtering (#14026) @JCQuintas
86+
87+
### Tree View
88+
89+
#### `@mui/[email protected]`
90+
91+
- [TreeView] Add new prop `onItemClick` on the Tree View components (#14018) @flaviendelangle
92+
- [TreeView] Add new utility function `isEventTargetInDescendants` (#13982) @flaviendelangle
93+
- [TreeView] Support item reordering using drag and drop (#12213) @flaviendelangle
94+
95+
### Docs
96+
97+
- [docs] Add Pickers `minDate` and `maxDate` `default` description (#14024) @LukasTy
98+
- [docs] Fix 404 (#13989) @alexfauquette
99+
- [docs] Fix Vale errors (#14025) @oliviertassinari
100+
- [docs] Update on `renderCell` & autogenerated rows (#13879) @romgrk
101+
102+
### Core
103+
104+
- [core] Fix event naming convention @oliviertassinari
105+
- [core] Replace @mui/base with @mui/utils + @mui/material (#13823) @mnajdova
106+
- [core] Test `charts` performance with codspeed (#13952) @JCQuintas
107+
- [infra] Consolidate issue cleanup and support labeling action (#14031) @michelengelen
108+
- [infra] Revert `vale` action `paths` filtering (#14038) @LukasTy
109+
- [test] Fix adapters code coverage (#13969) @alexfauquette
110+
- [test] Fix mocha config to run charts tests (#14041) @alexfauquette
111+
6112
## 7.11.1
7113

8114
_Jul 25, 2024_

docs/data/introduction/licensing/licensing.md

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ These are the Pro npm packages:
4343

4444
- [`@mui/x-data-grid-pro`](https://www.npmjs.com/package/@mui/x-data-grid-pro)
4545
- [`@mui/x-date-pickers-pro`](https://www.npmjs.com/package/@mui/x-date-pickers-pro)
46+
- [`@mui/x-tree-view-pro`](https://www.npmjs.com/package/@mui/x-tree-view-pro)
4647

4748
### Premium plan <span class="plan-premium"></span>
4849

package.json

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

packages/x-charts-vendor/package.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-charts-vendor",
3-
"version": "7.8.0",
3+
"version": "7.12.0",
44
"description": "Vendored dependencies for MUI X Charts",
55
"author": "MUI Team",
66
"main": "./index.js",
@@ -25,34 +25,34 @@
2525
},
2626
"dependencies": {
2727
"@babel/runtime": "^7.25.0",
28-
"d3-color": "^3.1.0",
29-
"d3-delaunay": "^6.0.4",
30-
"d3-interpolate": "^3.0.1",
31-
"d3-scale": "^4.0.2",
32-
"d3-shape": "^3.2.0",
33-
"d3-time": "^3.1.0",
3428
"@types/d3-color": "^3.1.3",
3529
"@types/d3-delaunay": "^6.0.4",
3630
"@types/d3-interpolate": "^3.0.4",
3731
"@types/d3-scale": "^4.0.8",
3832
"@types/d3-shape": "^3.1.6",
3933
"@types/d3-time": "^3.0.3",
40-
"robust-predicates": "^3.0.2",
41-
"delaunator": "^5.0.1"
34+
"d3-color": "^3.1.0",
35+
"d3-delaunay": "^6.0.4",
36+
"d3-interpolate": "^3.0.1",
37+
"d3-scale": "^4.0.2",
38+
"d3-shape": "^3.2.0",
39+
"d3-time": "^3.1.0",
40+
"delaunator": "^5.0.1",
41+
"robust-predicates": "^3.0.2"
4242
},
4343
"devDependencies": {
44-
"d3-format": "^3.1.0",
45-
"d3-time-format": "^4.1.0",
46-
"d3-path": "^3.0.1",
47-
"d3-array": "^3.1.6",
44+
"@babel/plugin-transform-runtime": "^7.24.7",
45+
"@types/d3-array": "^3.0.3",
4846
"@types/d3-format": "^3.0.4",
49-
"@types/d3-time-format": "^4.0.3",
5047
"@types/d3-path": "^3.0.1",
51-
"@types/d3-array": "^3.0.3",
52-
"internmap": "^2.0.3",
48+
"@types/d3-time-format": "^4.0.3",
49+
"d3-array": "^3.1.6",
50+
"d3-format": "^3.1.0",
51+
"d3-path": "^3.0.1",
52+
"d3-time-format": "^4.1.0",
5353
"execa": "^9.3.0",
54-
"rimraf": "^5.0.8",
55-
"@babel/plugin-transform-runtime": "^7.24.7"
54+
"internmap": "^2.0.3",
55+
"rimraf": "^5.0.8"
5656
},
5757
"publishConfig": {
5858
"provenance": true

packages/x-charts/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mui/x-charts",
3-
"version": "7.11.1",
3+
"version": "7.12.0",
44
"description": "The community edition of the Charts components (MUI X).",
55
"author": "MUI Team",
66
"main": "./src/index.js",
@@ -42,11 +42,11 @@
4242
"@babel/runtime": "^7.25.0",
4343
"@mui/system": "^5.16.5",
4444
"@mui/utils": "^5.16.5",
45+
"@mui/x-charts-vendor": "workspace:*",
4546
"@react-spring/rafz": "^9.7.4",
4647
"@react-spring/web": "^9.7.4",
4748
"clsx": "^2.1.1",
48-
"prop-types": "^15.8.1",
49-
"@mui/x-charts-vendor": "workspace:*"
49+
"prop-types": "^15.8.1"
5050
},
5151
"peerDependencies": {
5252
"@emotion/react": "^11.9.0",

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.11.1",
3+
"version": "7.12.0",
44
"description": "Generate fake data for demo purposes only.",
55
"author": "MUI Team",
66
"main": "src/index.ts",

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.11.1",
3+
"version": "7.12.0",
44
"description": "The Premium plan edition of the Data Grid Components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

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.11.1",
3+
"version": "7.12.0",
44
"description": "The Pro plan edition of the Data Grid components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

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.11.1",
3+
"version": "7.12.0",
44
"description": "The Community plan edition of the Data Grid components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

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.11.1",
3+
"version": "7.12.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",

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.11.1",
3+
"version": "7.12.0",
44
"description": "The community edition of the Date and Time Picker components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

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.11.1",
3+
"version": "7.12.0",
44
"description": "Utility functions for the MUI X packages (internal use only).",
55
"author": "MUI Team",
66
"license": "MIT",

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.11.1",
3+
"version": "7.12.0",
44
"description": "MUI X License verification",
55
"author": "MUI Team",
66
"main": "src/index.ts",

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.11.1",
3+
"version": "7.12.0",
44
"description": "The Pro plan edition of the Tree View components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

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.11.1",
3+
"version": "7.12.0",
44
"description": "The community edition of the Tree View components (MUI X).",
55
"author": "MUI Team",
66
"main": "src/index.ts",

0 commit comments

Comments
 (0)