Plotly.js 2.0 compatibility
nicolaskruchten opened this issue · comments
Hi there,
I lead the graphing libraries team at Plotly where we're busy working on version 2.0 of Plotly.js. I'm reaching out to folks who we know are "downstream" of Plotly.js to give you a heads-up about the changes so you can let me know if/how disruptive they're likely to be for you :)
Our approach here is not to make gratuitous breaking changes, but mostly to drop support for un/under-used functionality that slows down development for frequently-used functionality. We expect that the vast majority of users of Plotly.js and downstream systems like Plotly.py, Plotly.R, PlotlyJS.jl, Plotly.NET etc will be unaffected by these changes. The tracking issue we've got going is here plotly/plotly.js#5395
The major changes include, at the Javascript layer:
- dropping IE 9/10 support due to a switch in the
Promise
polyfill we're using, for security reasons - dropping exports of old versions of
d3
modules underPlotly.d3
(so we can upgrade them internally) - dropping some exports of deprecated methods like
Plotly.plot
in favour ofPlotly.newPlot
andPlotly.react
The major changes at the schema layer:
- dropping support for
pointcloud
,area
andcontourgl
traces, as well as the legacy polar attributes fromscatter
likescatter.r
andlayout.angularaxis
- dropping the
role
key from the schema altogether
I'm happy to answer any questions or consider changing our plans if it can avoid some major downstream disruption, so please get in touch or reply to this issue or to plotly/plotly.js#5395 :)
Nicolas
Thanks @nicolaskruchten
I think the only action item needed over here is to remove the helper functions for the deprecated traces