Skip to content

Commit

Permalink
24.2.7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgraph committed Apr 19, 2024
1 parent 9201e58 commit d3b22b0
Show file tree
Hide file tree
Showing 219 changed files with 4,322 additions and 4,137 deletions.
15 changes: 15 additions & 0 deletions ChangeLog
@@ -1,3 +1,18 @@
19-APR-2024: 24.2.7

- Simplifies print dialog
- Adds linecap and linejoin style [drawio-4200]
- Removes test.draw.io domain for development
- Adds Open Library option in Edit dropdown [drawio-3499,1357]
- Adds support for stencils in Open Library option
- Fixes dynamic loading of stencils in Firefox [DID-11328]
- Fixes possible scrollbars, all pages label in print dialog
- Changes font size unit label to px [drawio-3615,drawio-desktop-1448]

18-APR-2024: 24.2.6

- Build failure

12-APR-2024: 24.2.5

- [conf cloud] Improves embedding from URL and CSV via proxy and confluence attachments [DID-11234]
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
24.2.5
24.2.7
2 changes: 0 additions & 2 deletions src/main/webapp/export3.html
Expand Up @@ -6,8 +6,6 @@
<!-- CSS for print output is needed for using current window -->
<style type="text/css">
.MathJax svg { shape-rendering: crispEdges; }
table.mxPageSelector { display: none; }
hr.mxPageBreak { display: none; }
</style>
<link rel="stylesheet" href="mxgraph/css/common.css" charset="UTF-8" type="text/css">
<link rel="stylesheet" href="export-fonts.css" charset="UTF-8" type="text/css">
Expand Down
14 changes: 7 additions & 7 deletions src/main/webapp/images/manifest.json
Expand Up @@ -3,14 +3,14 @@
"short_name": "draw.io",
"description": "draw.io is a completely free diagram editor",
"icons": [
{ "src": "/favicon.ico", "type": "image/x-icon", "sizes": "16x16 32x32" },
{ "src": "/images/icon-192.png", "type": "image/png", "sizes": "192x192" },
{ "src": "/images/icon-512.png", "type": "image/png", "sizes": "512x512" },
{ "src": "/images/icon-192-maskable.png", "type": "image/png", "sizes": "192x192", "purpose": "maskable" },
{ "src": "/images/icon-512-maskable.png", "type": "image/png", "sizes": "512x512", "purpose": "maskable" }
{ "src": "../favicon.ico", "type": "image/x-icon", "sizes": "16x16 32x32" },
{ "src": "icon-192.png", "type": "image/png", "sizes": "192x192" },
{ "src": "icon-512.png", "type": "image/png", "sizes": "512x512" },
{ "src": "icon-192-maskable.png", "type": "image/png", "sizes": "192x192", "purpose": "maskable" },
{ "src": "icon-512-maskable.png", "type": "image/png", "sizes": "512x512", "purpose": "maskable" }
],
"theme_color": "#DF6C0C",
"background_color": "#DF6C0C",
"display": "fullscreen",
"start_url": "/index.html"
}
"start_url": "index.html"
}
14 changes: 7 additions & 7 deletions src/main/webapp/index.html
Expand Up @@ -254,18 +254,18 @@
if (urlParams['dev'] == '1')
{
// Used to request grapheditor/mxgraph sources in dev mode
var mxDevUrl = document.location.protocol + '//test.draw.io/drawio/src/main';
var mxDevUrl = '';

// Used to request draw.io sources in dev mode
var drawDevUrl = document.location.protocol + '//test.draw.io/drawio/src/main/webapp/';
var geBasePath = drawDevUrl + '/js/grapheditor';
var mxBasePath = mxDevUrl + '/mxgraph';
var drawDevUrl = '';
var geBasePath = 'js/grapheditor';
var mxBasePath = 'mxgraph/src';

if (document.location.protocol == 'file:')
{
geBasePath = './js/grapheditor';
mxBasePath = './mxgraph';
drawDevUrl = './';
geBasePath = 'js/grapheditor';
mxBasePath = 'mxgraph';
drawDevUrl = '';

// Forces includes for dev environment in node.js
mxForceIncludes = true;
Expand Down
1,663 changes: 835 additions & 828 deletions src/main/webapp/js/app.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/webapp/js/diagramly/App.js
Expand Up @@ -720,7 +720,7 @@ App.main = function(callback, createUi)
{
var content = mxUtils.getTextContent(bootstrap);

if (CryptoJS.MD5(content).toString() != '97d48990b1ef6de28697d2cc7083ca53')
if (CryptoJS.MD5(content).toString() != '9c693e05e3598c1b18eae12d147a29aa')
{
console.log('Change bootstrap script MD5 in the previous line:', CryptoJS.MD5(content).toString());
alert('[Dev] Bootstrap script change requires update of CSP');
Expand Down
4 changes: 3 additions & 1 deletion src/main/webapp/js/diagramly/Devel.js
Expand Up @@ -6,7 +6,7 @@
* is used for development mode where the JS is in separate
* files and the mxClient.js loads other files.
*/
if (!mxIsElectron && location.protocol !== 'http:')
if (!mxIsElectron)
{
(function()
{
Expand All @@ -18,6 +18,8 @@ if (!mxIsElectron && location.protocol !== 'http:')
//----------------------------------------------------------//
//------------- Bootstrap script in index.html -------------//
//----------------------------------------------------------//
// Version 24.2.6
'\'sha256-CuxCZzdV/xHExthsNvH0rD+sU8zQAaYT5XLu6LHfH78=\' ' +
// Version 21.7.0
'\'sha256-dLMFD7ijAw6AVaqecS7kbPcFFzkxQ+yeZSsKpOdLxps=\' ' +
// Version 21.6.7
Expand Down

0 comments on commit d3b22b0

Please sign in to comment.