1 | # v2.2.1 (2023-02-16)
|
2 |
|
3 | ## Future incompatibilities
|
4 | - `window.smoothPlotter` will not be set by `extras/smooth-plotter.js` any more RSN
|
5 |
|
6 | ## New features
|
7 | - Permit initialising with `[]` as “no data yet” indicator (#597)
|
8 | - The modularisation of the test setup also allows stable access to exported functions (e.g. `Dygraph._require('dygraphs/src/dygraph-utils.js').numberValueFormatter`) which makes writing one’s own value formatters easier (as usual, proceed with care, exports with an underscore are internal); see <https://dygraphs.com/tests/exported-symbols.html> for the exposed surface
|
9 | - Provide Dygraph.onDOMready(cb) as lightweight jQuery(cb)/… alternative, to keep the demos/tests self-contained
|
10 |
|
11 | ## Bugfixes
|
12 | - Fix synchroniser not calling user’s `drawCallback` when blocked (#953) plus do not redraw unnecessarily
|
13 | - Documentation fixes and improvements including self-checks where possible
|
14 | - Fix missing legend for `x == -1` (#1002)
|
15 | - Allow ES6-importing the extras (#848) (#989) (#1009)
|
16 | - Fix broken zoom also in the drawing test (same as #611/#953)
|
17 | - Resetting `panEdgeFraction` now works
|
18 | - Fix tests/unboxed-spark regression caused by PR #936
|
19 | - Synchroniser doesn’t force x axis range if unzoomed (#956)
|
20 |
|
21 | ## Other user-visible changes
|
22 | - Fix issue #611 in the drawing demo gallery (#953)
|
23 | - `jq` is now also required to build
|
24 | - Fix typos, wordings, apostrophes, etc.
|
25 | - Export `pickDateTickGranularity` so overriding `dateTicker` is easier
|
26 | - Error bars are now properly called high/low bands (#1004), but the options stay the same for compatibility
|
27 | - Document annotations xval for Date better (#970)
|
28 | - Document more strongly that series labels must be unique (#960)
|
29 | - Remove references to nōn-existing `yAxisLabelWidth` option
|
30 | - Fix jsFiddle links from gallery
|
31 |
|
32 | ## Internal refactors/fixes
|
33 | - Shrink `tests.js` source map and make its build reproducible on Debian
|
34 | - `tests/resizable.html` exposes the graph object, for quick F12 in-browser use
|
35 | - Generate `versions.html` and release notes from new top-level [`CHANGES.md`](https://github.com/danvk/dygraphs/blob/master/CHANGES.md)
|
36 | - Modularise dygraphs/tests setup so we can now also test the minified prod css/js (#1028)
|
37 | - Generate stable orig tarballs for releases ourselves (we still use the NPM ones for binary tarballs)
|
38 | - Less fragility with arrow function `this` rebinding check
|
39 |
|
40 | # v2.2.0 (2023-01-25)
|
41 |
|
42 | This is the first “full” release after v2.1.0 with the following news:
|
43 |
|
44 | ## Breaking changes
|
45 | - Stop parsing the deprecated 8-digit ‘YYYYMMDD’ date format (#984) (#985) (#1023)
|
46 | - GWT “support” is no longer pertinent as we cannot recompile the binary JAR; the latter is still available from the website for now
|
47 |
|
48 | ## New features
|
49 | - Add option to colour the range selector’s veil (#856)
|
50 | - Add `strokeStyle` option to crosshair plugin (#955)
|
51 | - Support `DocumentFragment` as a result from a `legendFormatter` function (#958) (#959)
|
52 | - Add data index to `legendFormatter` data (#965)
|
53 | - Implement `#RRGGBB`/`#RRGGBBAA` hex colour parsing
|
54 | - Make `animateBackgroundFade` into an option
|
55 | - Add new `resizable` option using `ResizeObserver` on maindiv + CSS
|
56 | - Add offset config for legend div in follow mode (#946)
|
57 |
|
58 | ## Bugfixes
|
59 | - Fix duplicate annotation when having duplicate points (#826)
|
60 | - Make sure that `canvasx` and `canvasy` properties are initialised from the start (#896)
|
61 | - Fix issue #781 when the y range is zero (#909)
|
62 | - Synchroniser now calls `highlightCallback` (#935)
|
63 | - Fix `drawAxes` to allow one of two y axes to be drawn (#936)
|
64 | - LEGEND: Don’t show y if value is undefined (#853) (#947)
|
65 | - Fixed “Cannot read property 'length' of undefined” issue (#962) (#963)
|
66 | - Two fixes in the calculations of pinch-zoom (#990)
|
67 | - Fix for double paint of grid of x-axis (#1007)
|
68 | - Fix number of days in a year (#1012)
|
69 | - Fix `labelsKMB` and `labelsKMG2` (#571) (#994) (#1022)
|
70 | - Fix label position in `onmouseover` legend mode was never updated
|
71 | - Fix several cases of mispositioning/missizing by enabling elements before using `offsetWidth` etc.
|
72 | - Make it possible to use `logscale` (and `sigma`, `wilsonInterval`) per-axis (#986)
|
73 |
|
74 | ## Other user-visible changes
|
75 | - Documentation is now shipped (mostly self-contained) in the release
|
76 | - Tests that use Google JSAPI are now marked ⚠ and no other external content is loaded anywhere
|
77 | - Calculate legend positioning relative to closest data point (#1013)
|
78 | - Add missing documentation about annotations `xval` option (#992)
|
79 | - source mapping URLs are now correct (#1027)
|
80 | - Ship ES5 versions of extras (#952), use them in examples
|
81 | - Fix documentation/website HTML/CSS/JS bugs (#979) (#1008)
|
82 | - On the website, external links are now clearly labelled
|
83 | - The documentation and website now have browsable subdirectories by manually generated directory index files
|
84 | - Link to UNPKG as CDN as well (to keep neutral; use of CDNs in websites violates the EU-GDPR)
|
85 | - Most issues with right-to-left languages should now be fixed (#1019)
|
86 | - Document that Dygraph will misbehave if the main div has padding
|
87 |
|
88 | ## Internal refactors/fixes
|
89 | - Use link href, not link src (#904)
|
90 | - Add missing semicolon in externs (#964)
|
91 | - Large build system improvements relying in large parts on Debian and GHA
|
92 | - Full licence review as part of uploading to Debian (#1024) (#1025) (#1029); drop embedded code copies
|
93 | - Fix some JSDoc warnings
|
94 | - Update to contemporary versions of Python 3, jQuery, Babel, etc.
|
95 | - Add copies of design documents that were previously only available on Google Docs or part of GitHub issues to offline documentation
|
96 | - Nuke useless semicola after function declaration bodies
|
97 | - Fix closure type annotation in `hairlines.js`
|
98 | - Remove already commented-out obsolete, or redundant, code
|
99 |
|
100 | # v2.1.0 (2017-12-08)
|
101 |
|
102 | ## New features
|
103 | - Double click event can be captured and cancelled by plugins (#840)
|
104 | - `setAnnotations`’ second parameter is now an optional boolean (#851)
|
105 | - Add `pixelRatio` option, which may allow improved performance on smaller screens by controlling the canvas’ pixel ratio (#877)
|
106 | - x axis label and tick logic can now operate at millisecond-level granularity (#893)
|
107 |
|
108 | ## Bug fixes
|
109 | - Repair a bug in “Custom interaction models” demo (#825)
|
110 |
|
111 | ## Internal refactors/fixes
|
112 | - Fix various spelling mistakes (#844)
|
113 | - Fix a couple of type signatures in `dygraph-externs.js` (#859)
|
114 |
|
115 | # v2.0.0 (2017-01-11)
|
116 |
|
117 | ## Breaking changes
|
118 | - JS files were renamed to `dygraph.js` and `dygraph.min.js`.
|
119 | - There’s now a `dygraph.css` file that you must include.
|
120 | - Dropped support for old IE and other non-standard browsers. dygraphs works in IE11. I’m not sure about IE9 and IE10.
|
121 | - Double-click to unzoom zooms all the way out (and ignores `valueRange`).
|
122 | - Dropped old-style per-axis/per-series options.
|
123 |
|
124 | ## New features
|
125 | - Add a `legendFormatter` option (#683)
|
126 | - `this` is the Dygraph object in all callbacks
|
127 | - pass through (row, col) to `valueFormatter`
|
128 | - Option to not sync range in `extras/synchronizer.js`
|
129 | - Additional options for styling the range selector
|
130 | - `getRowForX` method
|
131 | - `setVisibility` can set the visibility of multiple series at once.
|
132 | - crosshair plugin extra
|
133 | - rebase/straw broom plugin (#590)
|
134 | - `highlightSeriesBackgroundColor` option
|
135 | - `yAxisExtremes()` method.
|
136 | - Passing strings in native format now throws. (Previously it kinda sorta worked.)
|
137 |
|
138 | ## Bug fixes
|
139 | - Selections are always cleared with animations
|
140 | - synchronizer calls previously-set callbacks
|
141 | - synchronizer only syncs when graphs are ready
|
142 | - Reset on synchronized graphs failed (#524)
|
143 | - fix to improve synchronizer performance (#658)
|
144 | - binary search bug fix in synchronizer
|
145 | - Fix range selection when chart is located inside fullscreen element (#576)
|
146 | - `fillAlpha` can be set per-series when `fillGraph` is set.
|
147 | - `xRangePad` was ignored on unzoom (#657)
|
148 | - Allow selected points where canvas-y coordinate is 0 (#692)
|
149 | - Using `valueRange` with `logscale` and `yRangePad` has unexpected results (#661)
|
150 | - With `drawGapEdgePoints`, unwanted point often drawn at beginning of chart (#745)
|
151 |
|
152 | ## Other user-visible changes
|
153 | - `legend: follow` positioning changes
|
154 |
|
155 | ## Internal refactors
|
156 | - Code moved into a `src/` directory
|
157 | - Tests use Mocha instead of jstd
|
158 | - dygraphs is split into ES6 modules and uses some ES6 features (e.g. arrows and destructuring).
|
159 | - dygraphs is built using Babel and browserify
|
160 | - Code coverage is tracked continuously
|
161 | - Bundle size is now tracked continuously
|
162 |
|
163 | # v1.1.1 (2015-06-01)
|
164 |
|
165 | - Set `this` to the dygraph in all callbacks.
|
166 | - Minor bug fixes.
|
167 |
|
168 | # v1.1.0 (2014-12-03)
|
169 |
|
170 | ## Highlights
|
171 | - dygraphs is now “retina” compatible.
|
172 | - Dramatically improved performance for filled charts (i.e. `fillGraph`)
|
173 | - More sensible date ticks: “Jan 08” → “Jan 2008”, “29Jan” → “29 Jan”
|
174 | - Using a non-existent option now throws (with `dygraph-combined-dev.js`)
|
175 | - x-axis log scales
|
176 | - The `labelsUTC` option forces UTC formatting for all labels.
|
177 | - The new DataHandler system allows for more flexibility in data loading.
|
178 | - dygraphs has shrunk, because we moved some stuff into “extras” (133 KiB → 122 KiB)
|
179 |
|
180 | This will be the last major release to support browsers without a native <canvas> implementation. See [blog post](http://blog.dygraphs.com/2014/12/dygraphs-110.html) for more details.
|
181 |
|
182 | # v1.0.1 (2013-08-29)
|
183 |
|
184 | Minor bug fixes and updates to web site.
|
185 |
|
186 | # v1.0.0 (2013-08-14)
|
187 |
|
188 | Initial Release. See [blog post](http://blog.dygraphs.com/2013/08/announcing-dygraphs-100.html).
|