From ac422b3aa23612c220b14e938fbae79d01b40b86 Mon Sep 17 00:00:00 2001 From: Luke Morris Date: Tue, 12 Dec 2017 14:26:57 -0800 Subject: [PATCH] Bump versions and add release notes --- docs/versions.html | 104 +++++++++++++++++++++++++++++++++++++++++++++++------ releases.json | 8 +++++ src/dygraph.js | 2 +- 3 files changed, 103 insertions(+), 11 deletions(-) diff --git a/docs/versions.html b/docs/versions.html index a5974b5..ef0491d 100644 --- a/docs/versions.html +++ b/docs/versions.html @@ -28,6 +28,89 @@ + + + + + + + + - + +
2.1.0

2017-12-08

+ New features: +
    +
  • Double click event can be captured and cancelled by plugins
  • +
  • setAnnotations's second parameter is now an optional boolean
  • +
  • Add `pixelRatio` option, which may allow improved performance on smaller screens by controlling the canvas' pixel ratio
  • +
  • X-axis label and tick logic can now operate at millisecond-level granularity
  • +
+ + Bug fixes: +
    +
  • Repair a bug in "Custom interaction modals" demo
  • +
+ + Internal refactors/fixes: +
    +
  • Fix various spelling mistakes
  • +
  • Fix a couple of type signatures in dygraph-externs.js
  • +
+
2.0.0

2017-01-11

+ Breaking changes: +
    +
  • JS files were renamed to dygraph.js and dygraph.min.js.
  • +
  • There's now a dygraph.css file that you must include.
  • +
  • Dropped support for OldIE and other non-standard browsers. dygraphs works in IE11. I'm not sure about IE9 and IE10.
  • +
  • Double-click to unzoom zooms all the way out (and ignores valueRange).
  • +
  • Dropped old-style per-axis/per-series options.
  • +
+ + New features: +
    +
  • Add a legendFormatter option
  • +
  • `this` is the Dygraph object in all callbacks
  • +
  • pass through (row, col) to valueFormatter
  • +
  • Option to not sync range in extras/synchronizer.js
  • +
  • Additional options for styling the range selector
  • +
  • getRowForX method
  • +
  • setVisibility can set the visibility of multiple series at once.
  • +
  • crosshair plugin extra
  • +
  • rebase/straw broom plugin
  • +
  • highlightSeriesBackgroundColor option
  • +
  • yAxisExtremes() method.
  • +
  • Passing strings in native format now throws. (Previously it kinda sorta worked.)
  • +
+ + Bug fixes: +
    +
  • Selections are always cleared with animations
  • +
  • synchronizer calls previously-set callbacks
  • +
  • synchronizer only syncs when graphs are ready
  • +
  • Reset on synchronized graphs failed
  • +
  • fix to improve synchronizer performance
  • +
  • binary search bug fix in synchronizer
  • +
  • Fix range selection when chart is located inside fullscreen element
  • +
  • fillAlpha can be set per-series when fillGraph is set.
  • +
  • xRangePad was ignored on unzoom
  • +
  • Allow selected points where canvas-y coordinate is 0
  • +
  • Using valueRange with Logscale and yRangePad has unexpected results
  • +
  • With "drawGapEdgePoints", unwanted point often drawn at beginning of chart
  • +
+ + Other user-visible changes: +
    +
  • “legend: follow” positioning changes
  • +
+ + Internal refactors: +
    +
  • Code moved into a “src/“ directory
  • +
  • Tests use Mocha instead of jstd
  • +
  • dygraphs is split into ES6 modules and uses some ES6 features (e.g. arrows and destructuring).
  • +
  • dygraphs is built using babel & browserify
  • +
  • Code coverage is tracked continuously
  • +
  • Bundle size is now tracked continuously
  • +
+
1.1.1

2015-06-01

    @@ -35,20 +118,21 @@
  • Minor bug fixes.
1.1.0

2014-12-03

Highlights include:
    -
  • dygraphs is now "retina" compatible. -
  • Dramatically improved performance for filled charts (i.e. fillGraph) -
  • More sensible date ticks: "Jan 08"→"Jan 2008", "29Jan"→"29 Jan" -
  • Using a non-existent option now throws (w/ dygraph-combined-dev.js) -
  • x-axis log scales -
  • The labelsUTC option forces UTC formatting for all labels. -
  • The new DataHandler system allows for more flexibility in data loading. -
  • "this" is set to the dygraph in all callbacks. -
  • dygraphs has shrunk, because we moved some stuff into "extras" (133kb→122kb) +
  • dygraphs is now "retina" compatible.
  • +
  • Dramatically improved performance for filled charts (i.e. fillGraph)
  • +
  • More sensible date ticks: "Jan 08"→"Jan 2008", "29Jan"→"29 Jan"
  • +
  • Using a non-existent option now throws (w/ dygraph-combined-dev.js)
  • +
  • x-axis log scales
  • +
  • The labelsUTC option forces UTC formatting for all labels.
  • +
  • The new DataHandler system allows for more flexibility in data loading.
  • +
  • "this" is set to the dygraph in all callbacks.
  • +
  • dygraphs has shrunk, because we moved some stuff into "extras" (133kb→122kb)
This will be the last major release to support browsers without a native <canvas> implementation. See blog post for more details. diff --git a/releases.json b/releases.json index 24496bf..4f567e6 100644 --- a/releases.json +++ b/releases.json @@ -1,5 +1,13 @@ [ { + "version": "2.1.0", + "files": [ + "dygraph.min.js", + "dygraph.js", + "dygraph.css" + ] + }, + { "version": "2.0.0", "files": [ "dygraph.min.js", diff --git a/src/dygraph.js b/src/dygraph.js index 531191f..1de4485 100644 --- a/src/dygraph.js +++ b/src/dygraph.js @@ -89,7 +89,7 @@ var Dygraph = function(div, data, opts) { }; Dygraph.NAME = "Dygraph"; -Dygraph.VERSION = "2.0.0"; +Dygraph.VERSION = "2.1.0"; // Various default values Dygraph.DEFAULT_ROLL_PERIOD = 1; -- 2.7.4