Skip to content

Commit 7b71596

Browse files
author
pipeline
committed
v31.1.22 is released
1 parent 17de829 commit 7b71596

File tree

43 files changed

+242
-82
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+242
-82
lines changed

components/base/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 31.1.21 (2025-09-23)
5+
## 31.1.22 (2025-10-01)
66

77
### Common
88

components/blockeditor/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22

33
## [Unreleased]
44

5+
## 31.1.22 (2025-10-01)
6+
7+
### Block Editor
8+
9+
#### Bug Fixes
10+
11+
- `#I756987` - Now the issue with the Block Editor vulnerable code due to the usage of `Math.random()` has been resolved.

components/calendars/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 31.1.21 (2025-09-23)
5+
## 31.1.22 (2025-10-01)
66

77
### DateRangePicker
88

components/charts/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,33 @@
22

33
## [Unreleased]
44

5+
## 31.1.22 (2025-10-01)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I747736` - Now, the combination stacking and stacking of 100 different series renders properly.
12+
- `#I757693` - Now, the space on the left margin has adjusted properly after placing the axis label inside.
13+
14+
#### Feature
15+
16+
- `#I764441` - Support for the text render event has been added to stacking labels.
17+
518
## 31.1.21 (2025-09-23)
619

720
### Chart
821

922
#### Bug Fixes
1023

24+
- `#I764449` - Now the stacking label is positioned properly when zooming is performed.
25+
26+
## 31.1.20 (2025-09-17)
27+
28+
### Chart
29+
30+
#### Bug Fixes
31+
1132
- `#F69182` - Columns with a single X-axis value now render with the correct width.
1233
- `#I762508` - The legend highlight now works correctly when the highlight mode is set to `Series`.
1334
- `#I760409` - The Zoom toolbar tooltip will be displayed on the pop-up.

components/charts/ej2-angular-samples/Chart/crosshair/assets/chart-data.service.ts

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { secureRandom } from "../../../../spec/chart/base/data.spec";
2+
13
/**
24
* chart data source
35
*/
@@ -12,12 +14,12 @@ export class ChartDataService {
1214
let i: number;
1315
for (i = 1; i < 250; i++) {
1416

15-
if (Math.random() > .5) {
16-
value += Math.random();
17-
value1 += Math.random();
17+
if (secureRandom() > .5) {
18+
value += secureRandom();
19+
value1 += secureRandom();
1820
} else {
19-
value -= Math.random();
20-
value1 -= Math.random();
21+
value -= secureRandom();
22+
value1 -= secureRandom();
2123
}
2224
point1 = { x: new Date(2000, i, 1), y: value };
2325
point2 = { x: new Date(2000, i, 1), y: value1 };
@@ -34,20 +36,20 @@ export class ChartDataService {
3436
let value1: number = 70;
3537
let i: number;
3638
for (i = 1; i < 120; i++) {
37-
if (Math.random() > 0.5) {
38-
value += Math.random();
39+
if (secureRandom() > 0.5) {
40+
value += secureRandom();
3941
} else {
40-
value -= Math.random();
42+
value -= secureRandom();
4143
}
4244
value = value < 60 ? 60 : value > 90 ? 90 : value;
4345
point1 = { x: (145 + (i / 3)).toFixed(1), y: value.toFixed(1) };
4446
series1.push(point1);
4547
}
4648
for (i = 1; i < 120; i++) {
47-
if (Math.random() > 0.5) {
48-
value1 += Math.random();
49+
if (secureRandom() > 0.5) {
50+
value1 += secureRandom();
4951
} else {
50-
value1 -= Math.random();
52+
value1 -= secureRandom();
5153
}
5254
value1 = value1 < 60 ? 60 : value1 > 90 ? 90 : value1;
5355
point1 = { x: (145 + (i / 3)).toFixed(1), y: value1.toFixed(1) };
@@ -65,12 +67,12 @@ export class ChartDataService {
6567
let i: number;
6668
for (i = 1; i < 500; i++) {
6769

68-
if (Math.random() > .5) {
69-
value += Math.random();
70-
value1 += Math.random();
70+
if (secureRandom() > .5) {
71+
value += secureRandom();
72+
value1 += secureRandom();
7173
} else {
72-
value -= Math.random();
73-
value1 -= Math.random();
74+
value -= secureRandom();
75+
value1 -= secureRandom();
7476
}
7577
point1 = { x: new Date(1960, (i + 1), i), y: Math.round(value) };
7678
point2 = { x: new Date(1960, (i + 1), i), y: Math.round(value1) };
@@ -85,10 +87,10 @@ export class ChartDataService {
8587
let value: number = 80;
8688
let i: number;
8789
for (i = 1; i < 500; i++) {
88-
if (Math.random() > .5) {
89-
value += Math.random();
90+
if (secureRandom() > .5) {
91+
value += secureRandom();
9092
} else {
91-
value -= Math.random();
93+
value -= secureRandom();
9294
}
9395
point1 = { x: new Date(1950, i + 2, i), y: value.toFixed(1) };
9496
series1.push(point1);

components/charts/ej2-angular-samples/Chart/zooming/assets/chart-data.service.ts

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { secureRandom } from "../../../../spec/chart/base/data.spec";
2+
13
/**
24
* chart data source
35
*/
@@ -12,12 +14,12 @@ export class ChartDataService {
1214
let i: number;
1315
for (i = 1; i < 250; i++) {
1416

15-
if (Math.random() > .5) {
16-
value += Math.random();
17-
value1 += Math.random();
17+
if (secureRandom() > .5) {
18+
value += secureRandom();
19+
value1 += secureRandom();
1820
} else {
19-
value -= Math.random();
20-
value1 -= Math.random();
21+
value -= secureRandom();
22+
value1 -= secureRandom();
2123
}
2224
point1 = { x: new Date(2000, i, 1), y: value };
2325
point2 = { x: new Date(2000, i, 1), y: value1 };
@@ -34,20 +36,20 @@ export class ChartDataService {
3436
let value1: number = 70;
3537
let i: number;
3638
for (i = 1; i < 120; i++) {
37-
if (Math.random() > 0.5) {
38-
value += Math.random();
39+
if (secureRandom() > 0.5) {
40+
value += secureRandom();
3941
} else {
40-
value -= Math.random();
42+
value -= secureRandom();
4143
}
4244
value = value < 60 ? 60 : value > 90 ? 90 : value;
4345
point1 = { x: (145 + (i / 3)).toFixed(1), y: value.toFixed(1) };
4446
series1.push(point1);
4547
}
4648
for (i = 1; i < 120; i++) {
47-
if (Math.random() > 0.5) {
48-
value1 += Math.random();
49+
if (secureRandom() > 0.5) {
50+
value1 += secureRandom();
4951
} else {
50-
value1 -= Math.random();
52+
value1 -= secureRandom();
5153
}
5254
value1 = value1 < 60 ? 60 : value1 > 90 ? 90 : value1;
5355
point1 = { x: (145 + (i / 3)).toFixed(1), y: value1.toFixed(1) };
@@ -65,12 +67,12 @@ export class ChartDataService {
6567
let i: number;
6668
for (i = 1; i < 500; i++) {
6769

68-
if (Math.random() > .5) {
69-
value += Math.random();
70-
value1 += Math.random();
70+
if (secureRandom() > .5) {
71+
value += secureRandom();
72+
value1 += secureRandom();
7173
} else {
72-
value -= Math.random();
73-
value1 -= Math.random();
74+
value -= secureRandom();
75+
value1 -= secureRandom();
7476
}
7577
point1 = { x: new Date(1960, (i + 1), i), y: Math.round(value) };
7678
point2 = { x: new Date(1960, (i + 1), i), y: Math.round(value1) };
@@ -85,10 +87,10 @@ export class ChartDataService {
8587
let value: number = 80;
8688
let i: number;
8789
for (i = 1; i < 500; i++) {
88-
if (Math.random() > .5) {
89-
value += Math.random();
90+
if (secureRandom() > .5) {
91+
value += secureRandom();
9092
} else {
91-
value -= Math.random();
93+
value -= secureRandom();
9294
}
9395
point1 = { x: new Date(1950, i + 2, i), y: value.toFixed(1) };
9496
series1.push(point1);

components/circulargauge/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## [Unreleased]
66

7-
## 31.1.21 (2025-09-23)
7+
## 31.1.22 (2025-10-01)
88

99
### Circular Gauge
1010

components/diagrams/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
## [Unreleased]
44

5+
## 31.1.22 (2025-10-01)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `#I765689` - Events associated with `UserHandle` will no longer be triggered for disabled user handles.
12+
- `#I761841` - Exceptions will no longer be thrown when creating connectors from a port.
13+
- `#I765993` - Exceptions will no longer be thrown while rendering large datasets in the layout.
14+
515
## 31.1.20 (2025-09-10)
616

717
### Diagram

components/documenteditor/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
## [Unreleased]
44

5+
## 31.1.22 (2025-10-01)
6+
7+
### DocumentEditor
8+
9+
#### Bug Fixes
10+
11+
- `#I755362` - Fixed layout issues occurring when accepting revision in Track Changes mode.
12+
- `#I768429` - Resolved issue where alphabetic numbering lists were not functioning correctly in toolbar mode.
13+
- `#I757437` - Addressed layout problems with table header rows when tables split across pages.
14+
- `#I744840` - Fixed table layout inconsistencies caused by drag-and-drop operations across columns.
15+
- `#I754153` - Ensured mention comment changes are now preserved correctly during collaborative editing.
16+
517
## 31.1.21 (2025-09-23)
618

719
### DocumentEditor

components/documenteditor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-angular-documenteditor",
3-
"version": "31.1.20",
3+
"version": "31.1.21",
44
"description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs. for Angular",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

0 commit comments

Comments
 (0)