Skip to content

Commit e159fbf

Browse files
committed
29.0.3 release
1 parent 800196f commit e159fbf

17 files changed

Lines changed: 35 additions & 29 deletions

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
15-NOV-2025: 29.0.3
2+
3+
- Math base path and CSP corrections
4+
15
13-NOV-2025: 29.0.2
26

37
- Fixes math PDF export

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
29.0.2
1+
29.0.3

src/main/webapp/js/PreConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ window.PLANT_URL = 'REPLACE_WITH_YOUR_PLANTUML_SERVER';
99
window.DRAWIO_BASE_URL = null; // Replace with path to base of deployment, e.g. https://www.example.com/folder
1010
window.DRAWIO_VIEWER_URL = null; // Replace your path to the viewer js, e.g. https://www.example.com/js/viewer.min.js
1111
window.DRAWIO_LIGHTBOX_URL = null; // Replace with your lightbox URL, eg. https://www.example.com
12-
window.DRAW_MATH_URL = 'math/es5';
12+
window.DRAW_MATH_URL = 'math4/es5';
1313
window.DRAWIO_CONFIG = null; // Replace with your custom draw.io configurations. For more details, https://www.drawio.com/doc/faq/configure-diagram-editor
1414
urlParams['sync'] = 'manual';

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

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/webapp/js/bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function mxinclude(src)
209209
mxmeta(null, 'default-src \'self\'; script-src \'self\' \'sha256-6g514VrT/cZFZltSaKxIVNFF46+MFaTSDTPB8WfYK+c=\' ' +
210210
(urlParams['dev'] != '1' ? '' : ' \'unsafe-eval\'') + '; ' +
211211
'connect-src \'self\' https://*.draw.io https://*.diagrams.net https://fonts.googleapis.com https://fonts.gstatic.com; ' +
212-
'img-src * data:; media-src *; font-src *; frame-src \'none\'; style-src \'self\' \'unsafe-inline\' ' +
212+
'img-src * data:; media-src *; font-src * data:; frame-src \'none\'; style-src \'self\' \'unsafe-inline\' ' +
213213
'https://fonts.googleapis.com; base-uri \'none\';child-src \'self\';object-src \'none\';', 'Content-Security-Policy');
214214
}
215215
})();

src/main/webapp/js/diagramly/Devel.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ if (!mxIsElectron)
4545
'https://graph.microsoft.com https://my.microsoftpersonalcontent.com https://*.sharepoint.com https://*.sharepoint.de ' +
4646
'https://*.1drv.com https://api.onedrive.com https://dl.dropboxusercontent.com https://api.openai.com ' +
4747
'https://*.google.com https://fonts.gstatic.com https://fonts.googleapis.com; ' +
48-
// font-src about: is required for MathJax HTML-CSS output with STIX
49-
'img-src * data: blob:; media-src * data:; font-src * data: about:; ' +
48+
'img-src * data: blob:; media-src * data:; font-src * data:; ' +
5049
// www.draw.io required for browser data migration to app.diagrams.net and
5150
// viewer.diagrams.net required for iframe embed preview
5251
'frame-src %frame-src% \'self\' https://viewer.diagrams.net https://www.draw.io https://*.google.com; ' +
@@ -84,7 +83,7 @@ if (!mxIsElectron)
8483
'connect-src *; ' +
8584
'img-src * data: blob:; ' +
8685
'media-src * data:; ' +
87-
'font-src * data: about:; ' +
86+
'font-src * data:; ' +
8887
'style-src \'self\' https://fonts.googleapis.com \'unsafe-inline\'; ' +
8988
'base-uri \'none\';' +
9089
'object-src \'none\';' +

src/main/webapp/js/diagramly/EditorUi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
message != EditorUi.lastErrorMessage && message.indexOf('extension:') < 0 &&
177177
message.indexOf('ResizeObserver loop completed with undelivered notifications') < 0 &&
178178
err.stack.indexOf('extension:') < 0 && err.stack.indexOf('<anonymous>:') < 0 &&
179-
err.stack.indexOf('/math/es5/') < 0)
179+
err.stack.indexOf('/math4/es5/') < 0)
180180
{
181181
EditorUi.lastErrorMessage = message;
182182

src/main/webapp/js/diagramly/ElectronApp.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
window.PLUGINS_BASE_PATH = '.';
66
window.TEMPLATE_PATH = 'templates';
7-
window.DRAW_MATH_URL = 'math/es5';
7+
window.DRAW_MATH_URL = 'math4/es5';
88
window.DRAWIO_BASE_URL = '.'; //Prevent access to online website since it is not allowed
99
window.DRAWIO_SERVER_URL = '.';
1010
EditorUi.draftSaveDelay = 5000;
@@ -215,7 +215,8 @@ mxStencilRegistry.allowEval = false;
215215
break;
216216
}
217217

218-
mxmeta(null, 'default-src \'self\'; connect-src \'self\' https://fonts.googleapis.com https://fonts.gstatic.com; img-src * data:; media-src *; font-src *; style-src \'self\' \'unsafe-inline\' https://fonts.googleapis.com', 'Content-Security-Policy');
218+
mxmeta(null, 'default-src \'self\'; connect-src \'self\' https://fonts.googleapis.com https://fonts.gstatic.com; img-src * data:; ' +
219+
'media-src *; font-src * data:; style-src \'self\' \'unsafe-inline\' https://fonts.googleapis.com', 'Content-Security-Policy');
219220

220221
//Disable web plugins loading
221222
urlParams['plugins'] = '0';

src/main/webapp/js/diagramly/Embed.js

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

9595
var script = document.createElement('script');
9696
script.type = 'text/javascript';
97-
script.src = 'https://app.diagrams.net/math/es5/startup.js';
97+
script.src = 'https://app.diagrams.net/math4/es5/startup.js';
9898
document.getElementsByTagName('head')[0].appendChild(script);
9999
}
100100
};

src/main/webapp/js/embed.dev.js

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

9595
var script = document.createElement('script');
9696
script.type = 'text/javascript';
97-
script.src = 'https://app.diagrams.net/math/es5/startup.js';
97+
script.src = 'https://app.diagrams.net/math4/es5/startup.js';
9898
document.getElementsByTagName('head')[0].appendChild(script);
9999
}
100100
};

0 commit comments

Comments
 (0)