Skip to content

Commit 2808a4a

Browse files
committed
26.0.6 release
1 parent ab8f923 commit 2808a4a

12 files changed

+9299
-9168
lines changed

ChangeLog

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
1-
06-JAN-2024: 26.0.4
1+
15-JAN-2025: 26.0.6
2+
3+
- Various dark mode improvements
4+
5+
10-JAN-2025: 26.0.5
6+
7+
- Fixes Ctrl+Shift+G to enable grid [jgraph/drawio#4825]
8+
- Replaces three dots with layers icon [jgraph/drawio-desktop#1953]
9+
- Mermaid2drawio: Added support for new flowchart shapes and fixed [jgraph/drawio-#4832]
10+
- Adds editableCssRules=.* for imported SVG images [jgraph/drawio#4721]
11+
- Adds default and font keyword for stencil colors [jgraph/drawio#4723]
12+
13+
06-JAN-2025: 26.0.4
214

315
- Disables dark mode in viewer by default [jgraph/drawio#3701]
416
- Adds dark mode option in embed dialog
517

6-
03-JAN-2024: 26.0.3
18+
03-JAN-2025: 26.0.3
719

820
- Fixes slope angle property for parallelogram and hexagon [jgraph/drawio#3672]
921
- Adds arcSize property for chevron [jgraph/drawio#4813]

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
26.0.4
1+
26.0.6

src/main/webapp/clear.html

+63-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,70 @@
33
<head>
44
<title>Clear diagrams.net Cache</title>
55
<meta charset="utf-8">
6-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7-
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6+
<title>Clear diagrams.net Cache</title>
7+
<style type="text/css">
8+
@media only screen {
9+
body {
10+
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans",
11+
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
12+
background: light-dark(rgb(255, 255, 255), rgb(18, 18, 18));
13+
color: light-dark(rgb(18, 18, 18), white);
14+
margin: 10px 5% 10px 5%;
15+
color-scheme: dark;
16+
font-size: 16px;
17+
}
18+
textarea {
19+
box-sizing: border-box;
20+
font-family: monospace;
21+
color: lightgray;
22+
resize: vertical;
23+
font-size: inherit;
24+
border-radius: 4px;
25+
padding: 4px;
26+
}
27+
button {
28+
background: #1a4cad;
29+
border-radius: 4px;
30+
padding: 10px;
31+
border: none;
32+
}
33+
button {
34+
cursor: default;
35+
opacity: 0.9;
36+
}
37+
button:hover:not(:disabled) {
38+
opacity: 1;
39+
}
40+
button:active:not(:disabled) {
41+
filter:invert(1);
42+
}
43+
input {
44+
padding: 2px 6px;
45+
margin: 0 0 0 4px;
46+
font-size: inherit;
47+
}
48+
}
49+
</style>
850
</head>
9-
<body style="font-size: large;">
51+
<body>
52+
<div style="display:flex;opacity:0.9;align-items:center;padding:20px 0 10px 0;">
53+
<svg viewBox="24 26 68 68" style="width:28px;display:inline-block;">
54+
<line y2="72.394" x2="41.061" y1="43.384" x1="58.069" stroke-miterlimit="10" stroke-width="3.5528"
55+
stroke="currentColor" fill="none" />
56+
<line y2="72.394" x2="75.076" y1="43.384" x1="58.068" stroke-miterlimit="10" stroke-width="3.5008"
57+
stroke="currentColor" fill="none" />
58+
<path
59+
d="M52.773,77.084c0,1.954-1.599,3.553-3.553,3.553H36.999c-1.954,0-3.553-1.599-3.553-3.553v-9.379c0-1.954,1.599-3.553,3.553-3.553h12.222c1.954,0,3.553,1.599,3.553,3.553V77.084z"
60+
fill="currentColor" />
61+
<path
62+
d="M67.762,48.074c0,1.954-1.599,3.553-3.553,3.553H51.988c-1.954,0-3.553-1.599-3.553-3.553v-9.379c0-1.954,1.599-3.553,3.553-3.553H64.21c1.954,0,3.553,1.599,3.553,3.553V48.074z"
63+
fill="currentColor" />
64+
<path
65+
d="M82.752,77.084c0,1.954-1.599,3.553-3.553,3.553H66.977c-1.954,0-3.553-1.599-3.553-3.553v-9.379c0-1.954,1.599-3.553,3.553-3.553h12.222c1.954,0,3.553,1.599,3.553,3.553V77.084z"
66+
fill="currentColor" />
67+
</svg>
68+
<span style="font-family:Helvetica;font-weight:700;font-size:20px;margin-left:4px;">draw.io</span>
69+
</div>
1070
<script src="js/app.min.js"></script>
1171
<script src="js/clear.js"></script>
1272
</body>

src/main/webapp/js/app.min.js

+2,916-2,890
Large diffs are not rendered by default.

src/main/webapp/js/clear.js

+7-5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ try
1111
document.body.appendChild(document.createElement('br'));
1212
};
1313

14+
writeln('');
1415
write('Clearing Cached version ' + EditorUi.VERSION + '...');
1516

1617
navigator.serviceWorker.getRegistrations().then(function(registrations)
@@ -29,18 +30,19 @@ try
2930
writeln('OK');
3031
}
3132

32-
var link = document.createElement('a');
33-
link.style.marginRight = '6px';
34-
link.setAttribute('href', 'javascript:window.location.reload();');
35-
link.appendChild(document.createTextNode('Reload'));
33+
writeln('');
34+
var link = document.createElement('button');
35+
link.style.margin = '4px';
36+
link.setAttribute('onclick', 'window.location.reload();');
37+
link.appendChild(document.createTextNode('Update'));
3638
document.body.appendChild(link);
3739

3840
if ((/test\.draw\.io$/.test(window.location.hostname)) ||
3941
(/preprod\.diagrams\.net$/.test(window.location.hostname)) ||
4042
(/app\.diagrams\.net$/.test(window.location.hostname)))
4143
{
4244
link = link.cloneNode(false);
43-
link.setAttribute('href', './');
45+
link.setAttribute('onclick', 'window.location.href = "/.";');
4446
link.appendChild(document.createTextNode('Start App'));
4547
document.body.appendChild(link);
4648
}

0 commit comments

Comments
 (0)