Skip to content

Commit

Permalink
26.0.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgraph committed Jan 15, 2025
1 parent ab8f923 commit 2808a4a
Show file tree
Hide file tree
Showing 12 changed files with 9,299 additions and 9,168 deletions.
16 changes: 14 additions & 2 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
06-JAN-2024: 26.0.4
15-JAN-2025: 26.0.6

- Various dark mode improvements

10-JAN-2025: 26.0.5

- Fixes Ctrl+Shift+G to enable grid [jgraph/drawio#4825]
- Replaces three dots with layers icon [jgraph/drawio-desktop#1953]
- Mermaid2drawio: Added support for new flowchart shapes and fixed [jgraph/drawio-#4832]
- Adds editableCssRules=.* for imported SVG images [jgraph/drawio#4721]
- Adds default and font keyword for stencil colors [jgraph/drawio#4723]

06-JAN-2025: 26.0.4

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

03-JAN-2024: 26.0.3
03-JAN-2025: 26.0.3

- Fixes slope angle property for parallelogram and hexagon [jgraph/drawio#3672]
- Adds arcSize property for chevron [jgraph/drawio#4813]
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
26.0.4
26.0.6
66 changes: 63 additions & 3 deletions src/main/webapp/clear.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,70 @@
<head>
<title>Clear diagrams.net Cache</title>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Clear diagrams.net Cache</title>
<style type="text/css">
@media only screen {
body {
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans",
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
background: light-dark(rgb(255, 255, 255), rgb(18, 18, 18));
color: light-dark(rgb(18, 18, 18), white);
margin: 10px 5% 10px 5%;
color-scheme: dark;
font-size: 16px;
}
textarea {
box-sizing: border-box;
font-family: monospace;
color: lightgray;
resize: vertical;
font-size: inherit;
border-radius: 4px;
padding: 4px;
}
button {
background: #1a4cad;
border-radius: 4px;
padding: 10px;
border: none;
}
button {
cursor: default;
opacity: 0.9;
}
button:hover:not(:disabled) {
opacity: 1;
}
button:active:not(:disabled) {
filter:invert(1);
}
input {
padding: 2px 6px;
margin: 0 0 0 4px;
font-size: inherit;
}
}
</style>
</head>
<body style="font-size: large;">
<body>
<div style="display:flex;opacity:0.9;align-items:center;padding:20px 0 10px 0;">
<svg viewBox="24 26 68 68" style="width:28px;display:inline-block;">
<line y2="72.394" x2="41.061" y1="43.384" x1="58.069" stroke-miterlimit="10" stroke-width="3.5528"
stroke="currentColor" fill="none" />
<line y2="72.394" x2="75.076" y1="43.384" x1="58.068" stroke-miterlimit="10" stroke-width="3.5008"
stroke="currentColor" fill="none" />
<path
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"
fill="currentColor" />
<path
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"
fill="currentColor" />
<path
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"
fill="currentColor" />
</svg>
<span style="font-family:Helvetica;font-weight:700;font-size:20px;margin-left:4px;">draw.io</span>
</div>
<script src="js/app.min.js"></script>
<script src="js/clear.js"></script>
</body>
Expand Down
5,806 changes: 2,916 additions & 2,890 deletions src/main/webapp/js/app.min.js

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions src/main/webapp/js/clear.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ try
document.body.appendChild(document.createElement('br'));
};

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

navigator.serviceWorker.getRegistrations().then(function(registrations)
Expand All @@ -29,18 +30,19 @@ try
writeln('OK');
}

var link = document.createElement('a');
link.style.marginRight = '6px';
link.setAttribute('href', 'javascript:window.location.reload();');
link.appendChild(document.createTextNode('Reload'));
writeln('');
var link = document.createElement('button');
link.style.margin = '4px';
link.setAttribute('onclick', 'window.location.reload();');
link.appendChild(document.createTextNode('Update'));
document.body.appendChild(link);

if ((/test\.draw\.io$/.test(window.location.hostname)) ||
(/preprod\.diagrams\.net$/.test(window.location.hostname)) ||
(/app\.diagrams\.net$/.test(window.location.hostname)))
{
link = link.cloneNode(false);
link.setAttribute('href', './');
link.setAttribute('onclick', 'window.location.href = "/.";');
link.appendChild(document.createTextNode('Start App'));
document.body.appendChild(link);
}
Expand Down
Loading

0 comments on commit 2808a4a

Please sign in to comment.