Skip to content

Commit a670f78

Browse files
committed
update changelog and readme for v2.1.0
1 parent ccfb9c0 commit a670f78

File tree

2 files changed

+23
-5
lines changed

2 files changed

+23
-5
lines changed

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,24 @@ To see all merged commits on the master branch that will be part of the next plo
99

1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

12+
## [2.1.0] -- 2021-06-18
13+
14+
### Added
15+
- Add `icicle` trace type [[#5546](https://github.com/plotly/plotly.js/pull/5546)]
16+
with thanks to @Kully and @mtwichan of [Zyphr](https://www.zyphr.ca/) for their contribution!
17+
- Implement `legendrank` attribute in traces [[#5591](https://github.com/plotly/plotly.js/pull/5591)]
18+
- Implement `fgopacity`, `fgcolor` & "overlay" `fillmode` for bars and
19+
handle bar `pattern` and `legend` when `marker.colorscale` is present [[#5733](https://github.com/plotly/plotly.js/pull/5733)]
20+
21+
### Changed
22+
- Replace deprecated [node-sass](https://www.npmjs.com/package/node-sass) modules with [Sass](https://www.npmjs.com/package/sass) and update plot CSS [[#5729](https://github.com/plotly/plotly.js/pull/5729)]
23+
- Bump `probe-image-size` to v7.2.1 [[#5739](https://github.com/plotly/plotly.js/pull/5739)]
24+
- More maintenance work listed under [the v2.1.0 milestone](https://github.com/plotly/plotly.js/milestone/61)
25+
26+
### Fixed
27+
- Fix setting the width of categorical bars & boxes to unit [[#5732](https://github.com/plotly/plotly.js/pull/5732)]
28+
29+
1230
## [2.0.0] -- 2021-06-07
1331

1432
### Added
@@ -72,7 +90,7 @@ where X.Y.Z is the semver of most recent plotly.js release.
7290
dist files at build time [[#5436](https://github.com/plotly/plotly.js/pull/5436), [#5446](https://github.com/plotly/plotly.js/pull/5446)]
7391
- Guard against unexpected characters at build time [[#5424](https://github.com/plotly/plotly.js/pull/5424)]
7492
- Minimize indentation in plot-schema [[#5663](https://github.com/plotly/plotly.js/pull/5663)]
75-
- More maintenance work listed under the [the 60th milestone](https://github.com/plotly/plotly.js/milestone/60)!
93+
- More maintenance work listed under [the 60th milestone](https://github.com/plotly/plotly.js/milestone/60)!
7694

7795
### Fixed
7896
- Fix "toself" `fill` for `scattergl` traces to handle multiple polygons [[#5355](https://github.com/plotly/plotly.js/pull/5355)],

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
5555
5656
```html
5757
<head>
58-
<script src="https://cdn.plot.ly/plotly-2.0.0.min.js"></script>
58+
<script src="https://cdn.plot.ly/plotly-2.1.0min.js"></script>
5959
</head>
6060
<body>
6161
<div id="gd"></div>
@@ -72,8 +72,8 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
7272
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
7373
```html
7474
<script>
75-
import "https://cdn.plot.ly/plotly-2.0.0.min.js"
76-
Plotly.newPlot("gd", [{ y: [1, 2, 3] }]);
75+
import "https://cdn.plot.ly/plotly-2.1.0min.js"
76+
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
7777
</script>
7878
```
7979

@@ -82,7 +82,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
8282
### Un-minified versions are also available on CDN
8383
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
8484
```html
85-
<script src="https://cdn.plot.ly/plotly-2.0.0.js" charset="utf-8"></script>
85+
<script src="https://cdn.plot.ly/plotly-2.1.0js" charset="utf-8"></script>
8686
```
8787

8888
> Please note that as of v2 the "plotly-latest" outputs (e.g. https://cdn.plot.ly/plotly-latest.min.js) will no longer be updated on the CDN, and will stay at the last v1 patch v1.58.4. Therefore, to use the CDN with plotly.js v2 and higher, you must specify an exact plotly.js version.

0 commit comments

Comments
 (0)