Skip to content

Commit ac422b3

Browse files
committed
Bump versions and add release notes
1 parent cc2bca6 commit ac422b3

File tree

3 files changed

+103
-11
lines changed

3 files changed

+103
-11
lines changed

docs/versions.html

+94-10
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,89 @@ <h2>Version History</h2>
2727
<p>For links to download each release, see the <a href="/download.html">Downloads</a> page.</p>
2828

2929
<table class="versions">
30+
<tr>
31+
<td>2.1.0<p class="date">2017-12-08</p></td>
32+
<td class="notes">
33+
New features:
34+
<ul>
35+
<li>Double click event can be captured and cancelled by plugins</li>
36+
<li>setAnnotations's second parameter is now an optional boolean</li>
37+
<li>Add `pixelRatio` option, which may allow improved performance on smaller screens by controlling the canvas' pixel ratio</li>
38+
<li>X-axis label and tick logic can now operate at millisecond-level granularity</li>
39+
</ul>
40+
41+
Bug fixes:
42+
<ul>
43+
<li>Repair a bug in "Custom interaction modals" demo</li>
44+
</ul>
45+
46+
Internal refactors/fixes:
47+
<ul>
48+
<li>Fix various spelling mistakes</li>
49+
<li>Fix a couple of type signatures in dygraph-externs.js</li>
50+
</ul>
51+
</td>
52+
</tr>
53+
<tr>
54+
<td>2.0.0<p class="date">2017-01-11</p></td>
55+
<td class="notes">
56+
Breaking changes:
57+
<ul>
58+
<li>JS files were renamed to dygraph.js and dygraph.min.js.</li>
59+
<li>There's now a dygraph.css file that you must include.</li>
60+
<li>Dropped support for OldIE and other non-standard browsers. dygraphs works in IE11. I'm not sure about IE9 and IE10.</li>
61+
<li>Double-click to unzoom zooms all the way out (and ignores valueRange).</li>
62+
<li>Dropped old-style per-axis/per-series options.</li>
63+
</ul>
64+
65+
New features:
66+
<ul>
67+
<li>Add a legendFormatter option</li>
68+
<li>`this` is the Dygraph object in all callbacks</li>
69+
<li>pass through (row, col) to valueFormatter</li>
70+
<li>Option to not sync range in extras/synchronizer.js</li>
71+
<li>Additional options for styling the range selector</li>
72+
<li>getRowForX method</li>
73+
<li>setVisibility can set the visibility of multiple series at once.</li>
74+
<li>crosshair plugin extra</li>
75+
<li>rebase/straw broom plugin</li>
76+
<li>highlightSeriesBackgroundColor option</li>
77+
<li>yAxisExtremes() method.</li>
78+
<li>Passing strings in native format now throws. (Previously it kinda sorta worked.)</li>
79+
</ul>
80+
81+
Bug fixes:
82+
<ul>
83+
<li>Selections are always cleared with animations</li>
84+
<li>synchronizer calls previously-set callbacks</li>
85+
<li>synchronizer only syncs when graphs are ready</li>
86+
<li>Reset on synchronized graphs failed </li>
87+
<li>fix to improve synchronizer performance </li>
88+
<li>binary search bug fix in synchronizer</li>
89+
<li>Fix range selection when chart is located inside fullscreen element </li>
90+
<li>fillAlpha can be set per-series when fillGraph is set.</li>
91+
<li>xRangePad was ignored on unzoom </li>
92+
<li>Allow selected points where canvas-y coordinate is 0</li>
93+
<li>Using valueRange with Logscale and yRangePad has unexpected results </li>
94+
<li>With "drawGapEdgePoints", unwanted point often drawn at beginning of chart </li>
95+
</ul>
96+
97+
Other user-visible changes:
98+
<ul>
99+
<li>“legend: follow” positioning changes</li>
100+
</ul>
101+
102+
Internal refactors:
103+
<ul>
104+
<li>Code moved into a “src/“ directory</li>
105+
<li>Tests use Mocha instead of jstd</li>
106+
<li>dygraphs is split into ES6 modules and uses some ES6 features (e.g. arrows and destructuring).</li>
107+
<li>dygraphs is built using babel & browserify</li>
108+
<li>Code coverage is tracked continuously</li>
109+
<li>Bundle size is now tracked continuously</li>
110+
</ul>
111+
</td>
112+
</tr>
30113
<tr>
31114
<td>1.1.1<p class="date">2015-06-01</p></td>
32115
<td class="notes">
@@ -35,20 +118,21 @@ <h2>Version History</h2>
35118
<li>Minor bug fixes.</li>
36119
</ul>
37120
</td>
38-
121+
</tr>
122+
<tr>
39123
<td>1.1.0<p class="date">2014-12-03</p></td>
40124
<td class="notes">
41125
Highlights include:
42126
<ul>
43-
<li>dygraphs is now "retina" compatible.
44-
<li>Dramatically improved performance for filled charts (i.e. fillGraph)
45-
<li>More sensible date ticks: "Jan 08"→"Jan 2008", "29Jan"→"29 Jan"
46-
<li>Using a non-existent option now throws (w/ dygraph-combined-dev.js)
47-
<li>x-axis log scales
48-
<li>The <code>labelsUTC</code> option forces UTC formatting for all labels.
49-
<li>The new DataHandler system allows for more flexibility in data loading.
50-
<li>"this" is set to the dygraph in all callbacks.
51-
<li>dygraphs has shrunk, because we moved some stuff into "extras" (133kb→122kb)
127+
<li>dygraphs is now "retina" compatible.</li>
128+
<li>Dramatically improved performance for filled charts (i.e. fillGraph)</li>
129+
<li>More sensible date ticks: "Jan 08"→"Jan 2008", "29Jan"→"29 Jan"</li>
130+
<li>Using a non-existent option now throws (w/ dygraph-combined-dev.js)</li>
131+
<li>x-axis log scales</li>
132+
<li>The <code>labelsUTC</code> option forces UTC formatting for all labels.</li>
133+
<li>The new DataHandler system allows for more flexibility in data loading.</li>
134+
<li>"this" is set to the dygraph in all callbacks.</li>
135+
<li>dygraphs has shrunk, because we moved some stuff into "extras" (133kb→122kb)</li>
52136
</ul>
53137

54138
This will be the last major release to support browsers without a native &lt;canvas&gt; implementation. See <a href="http://blog.dygraphs.com/2014/12/dygraphs-110.html">blog post</a> for more details.

releases.json

+8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
[
2+
{
3+
"version": "2.1.0",
4+
"files": [
5+
"dygraph.min.js",
6+
"dygraph.js",
7+
"dygraph.css"
8+
]
9+
},
210
{
311
"version": "2.0.0",
412
"files": [

src/dygraph.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ var Dygraph = function(div, data, opts) {
8989
};
9090

9191
Dygraph.NAME = "Dygraph";
92-
Dygraph.VERSION = "2.0.0";
92+
Dygraph.VERSION = "2.1.0";
9393

9494
// Various default values
9595
Dygraph.DEFAULT_ROLL_PERIOD = 1;

0 commit comments

Comments
 (0)