Releases: plotly/plotly.js
Releases · plotly/plotly.js
v2.5.0
Added
- Include
surface
,isosurface
,volume
,streamtube
,cone
,mesh3d
,scatter3d
,pointcloud
andheatmapgl
in the "strict" bundle by avoid function generation for these traces at runtime [#5888]
Changed
- Use
node.js v16
andnpm v7
in development and upgrade the version ofpackage-lock.json
[#5922, #5919]
Fixed
- Adjust position of hover in respect to CSS transform [#5916]
v2.4.2
v2.4.1
v2.4.0
Added
- Add
legend.groupclick
options [#5849, #5906],
with thanks to @brussee for the contribution! - Add touch support to
slider
component [#5856],
with thanks to @keul for the contribution! - Provide
bbox
of hover items in event data [#5512]
Changed
- Upgrade
regl
module from version 1.6.1 to version 2.1.0 [#5870]
Fixed
v2.3.1
Fixed
- Fix period positioned hover to work in different time zones as well as on grouped bars [#5864]
- Use ids from axes when making hover data keys [#5852]
- Do not include regl based traces
parcoords
,splom
,scattergl
andscatterpolargl
in the "strict" bundle so that it could be used with CSP without WebGL warning [#5865]
v2.3.0
Added
- Add new number formatting and text alignment options by upgrading
d3.format
method from d3@v3 to version 1.4.5 ofd3-format
module [#5125, #5842] - Add "satellite" and several other projection types to geo subplots [#5801]
- Improve rendering of
scattergl
,splom
andparcoords
by implementingplotGlPixelRatio
for those traces [#5500]
Changed
- Upgrade
d3.geo
method from d3@v3 to version 1.12.1 ofd3-geo
module and version 2.9.0 ofd3-geo-projection
module [#5112] - Upgrade
d3.interpolate
method from d3@v3 to version 1.4.0 ofd3-interpolate
module inicicle
,indicator
,parcats
,sunburst
andtreemap
[#5826] - Upgrade
regl-scatter2d
,regl-line2d
andregl-error2d
modules to use version 1.1.0 ofto-float32
module to improve the performance [#5786], with thanks to @Seranicio for the contribution! - Edit the type of
constraintrange
inparcoords
trace to pass validation [#5673] - Sort object key values in schema [#5813]
- Sort plot-schema and add test to track plot-schema changes [#5776]
- Preview CHANGELOG when building dist on master [#5780, #5808]
- Preview plot-schema changes between releases when building dist on master [#5814]
- Display changes made to package.json between versions and add identical tags to draft bundles created by
publish-dist
job on CircleCI [#5815] - Simplify devtool by relying on
XMLHttpRequest
instead ofd3.json
[#5832] - Update CONTRIBUTING guidelines on how to submit pull requests and generate new baseline [#5791, [#5792]]
Fixed
- Fix unknown filename when exporting charts using new versions of Safari [#5609, 5838], with thanks to @rlreamy for the contribution!
- Improve README for ES6 module import [#5779], with thanks to @AndreAfonso for the contribution!
- Position hover in respect to the average of values in (x|y) unified modes (regression introduced in 2.0.0) [#5845]
- Fix hover with period alignment points and improve positioning of spikes and unified hover label
in order not to obscure referring data points and fit inside plotting area [#5846] - Allow clickable legend group titles when group has no pie-like traces [#5771]
- Fix mapbox line text example [#5804]
- Fix links to time format options so that they point to the d3-time-format v2.2.3 applied not the latest [#5818]
v2.2.1
v1.58.5
v2.2.0
Added
- Legend group titles [#5752],
this feature was anonymously sponsored: thank you to our sponsor! - Add half-year directive (%h) for formatting dates and improve descriptions to include extra date formatting options [#5762],
this feature was anonymously sponsored: thank you to our sponsor!
Changed
- Modernize the process of creating baselines using Kaleido and improve image & other export test systems [#5724]
- Centralize jsdom utility to return Plotly object in node.js test scripts and use it in generating plot-schema [#5755]
- Bump turf bbox dependency to v6.4.0 [#5747]
- Bump turf area dependency to v6.4.0 [#5748]
- More maintenance work listed under the v2.2.0 milestone
Fixed
- Cache values and patterns in set_convert for axes with
rangebreaks
to improve performance [#5659],
with thanks to @spasovski for the contribution! - Fix fetching geojson when ES6 import is used to load the library [#5763]
- Correct readme links [#5746]
v2.1.0
Added
- Add
icicle
trace type [#5546]
with thanks to @Kully and @mtwichan of Zyphr for their contribution! - Implement
legendrank
attribute in traces [#5591] - Implement
fgopacity
,fgcolor
& "overlay"fillmode
for bars and
handle barpattern
andlegend
whenmarker.colorscale
is present [#5733]
Changed
- Replace deprecated node-sass modules with Sass and update plot CSS [#5729]
- Bump
probe-image-size
to v7.2.1 [#5739] - More maintenance work listed under the v2.1.0 milestone
Fixed
- Fix setting the width of categorical bars & boxes to unit [#5732]