|
1 | 1 | # JSROOT changelog |
2 | 2 |
|
3 | | -## Changes in v6 |
4 | | - |
5 | | -0. Rename JSRootCore.js -> JSRoot.core.js, eliminate all URL parameters. |
6 | | - Loading of extra functionality should be done with JSROOT methods like |
7 | | - JSROOT.require, JSROOT.loadScript, ... |
8 | | -0. Generic naming convention for classes and methods, class name always starts from |
9 | | - capital letter like "ObjectPainter", function names starts from normal |
10 | | - letter like "obj.getMainPainter()" |
11 | | -1. Skip IE support |
12 | | -2. Upgrade d3.js to v6.1.1, due to significant changes in API skip support of older versions |
13 | | -3. Make heavy use of Promise class |
14 | | -4. Provide JSROOT.httpRequest() function, which returns Promise instance |
15 | | -5. JSROOT.draw/JSROOT.redraw also returns Promise, skip callback parameter |
16 | | -6. JSROOT.openFile() returns Promise, if callback specified, old API will be working |
17 | | -7. Upgrade three.js to r121: |
18 | | - - SoftwareRenderer was deprecated |
19 | | - - WebGL used both for browser and node.js (via headless-gl) |
20 | | - - Keep support of SVGRendered as backup solution |
21 | | - - support r3d_gl, r3d_img, r3d_svg rendering options for TGeo and histos |
22 | | -8. Deprecate bower package manager |
23 | | -9. Upgrade MathJax.js to version 3.1.1, reliably works in browser and node.js! |
24 | | -10. Provide new code loader via JSROOT.require. It uses require.js when available or emulate behaviour |
25 | | - either with plain scripts loading or via node.js require(). Introducing clean dependencies in JSROOT code. |
26 | | - Deprecates old JSROOT.AssertPrerequisites function |
27 | | -11. All latex/mathjax related methods moved to special JSRoot.latex.js script, only loaded when required |
28 | | -12. Do not use classes - performance is not good enough compared to Object.prototype |
29 | | -13. Improve TH2 col drawings for large number of bins - up to factor 5 faster |
30 | | -14. Rename JSROOT scripts to follow common naming convention |
31 | | -15. Support openui5 sap.ui.require loader if openui5 loaded before JSRootCore.js script |
32 | | -16. Update jquery to 3.5.1, openui5 to 1.82.2 |
33 | | -17. Add support of log2 scale for axes drawing, v7 can have arbitrary log base |
| 3 | +## Changes in 6.0.0 |
| 4 | + |
| 5 | +1. Major release with: |
| 6 | + - incompatible changes in API |
| 7 | + - heavy use of Promise class |
| 8 | + - upgrade all used packages |
| 9 | +2. Use generic naming convention - all class names always starts from |
| 10 | + capital letter like "ObjectPainter", all function names starts from small |
| 11 | + letter like "painter.getObjectHint()" |
| 12 | +3. Rename JSRootCore.js -> JSRoot.core.js, eliminate all URL parameters. |
| 13 | + Loading of extra JSROOT functionality should be done via JSROOT.require() method |
| 14 | + All other scripts uses similar naming convention. |
| 15 | +4. JSROOT.draw()/JSROOT.redraw() functions returns Promise, deprecate callback parameter |
| 16 | +5. Introduce JSROOT.httpRequest() function which returns Promise instance, deprecate |
| 17 | + JSROOT.NewHttpRequest() function |
| 18 | +6. JSROOT.openFile() returns Promise with file instance, deprecate callback parameter |
| 19 | +7. Provide new code loader via JSROOT.require() |
| 20 | + - introduces clean dependencies in JSROOT code |
| 21 | + - by default uses plain script loading emulating require.js behavior |
| 22 | + - can use require.js when available |
| 23 | + - uses require() method when running inside node.js |
| 24 | + - supports openui5 sap.ui.require loader if available before JSRoor.core.js |
| 25 | + - deprecates old JSROOT.AssertPrerequisites() function |
| 26 | +8. Upgrade d3.js to v6.1.1, skip support of older versions |
| 27 | +9. Upgrade three.js to r121: |
| 28 | + - SoftwareRenderer deprecated and removed |
| 29 | + - let use WebGL for browser, batch and node.js (via headless-gl) |
| 30 | + - support r3d_gl, r3d_img, r3d_svg rendering options for TGeo and histograms |
| 31 | + - keep support of SVGRendered as backup solution |
| 32 | +10. Upgrade MathJax.js to version 3.1.1 |
| 33 | + - reliably works in browser and node.js! |
| 34 | + - all latex/mathjax related methods moved to special JSRoot.latex.js script, loaded on demand |
| 35 | +11. Update jquery to 3.5.1, openui5 to 1.82.2 |
| 36 | +12. Use JS classes only in few places - performance is not good enough compared to Object.prototype |
| 37 | +13. Deprecate IE support |
| 38 | +14. Deprecate bower package manager |
| 39 | +15. Add support of ZSTD compression - works only on https://root.cern/js/ website |
| 40 | +16. Add support of log2 scale for axes drawing, v7 can have arbitrary log base |
| 41 | +17. Improve TH2 col drawings for large number of bins - up to factor 5 faster |
34 | 42 | 18. Allow to move axis title to opposite position |
35 | 43 | 19. Fix zooming in color palette |
36 | | -20. Add support of ZSTD compression |
37 | | -21. Implement monitoring of object inspector |
| 44 | +20. Implement monitoring of object inspector |
| 45 | + |
| 46 | + |
| 47 | +## Changes in 5.9.1 |
| 48 | + |
| 49 | +1. Fix zooming in color palette |
| 50 | +2. Fix interactive update of TGraph painting on time scale |
| 51 | +3. Fix I/O error in reading std::map (#204) |
| 52 | +4. Fix functionality of "open all" / "close all" GUI buttons |
38 | 53 |
|
39 | 54 |
|
40 | 55 | ## Changes in 5.9.0 |
|
0 commit comments