Updated Dashboard to 3.2.0 from 3.1.6 and Graphs stopped working

I updated dashboard to 3.2.0 from 3.1.6 and the so far working graphs stopped working. the error i am getting is "series not array"

the debug output of the graph input shows like this

image

what is wrong ?

i just added square brackets and curly braces around "series" and it started working, again.

image

but if my question is still valid, i want to know how was it working earlier and was the update a breaking change ?

I believe the spec has always been that it should be an array. Apparently the old version had a bug that allowed your code to work, so strictly speaking it is not a breaking change, it is a bug fix that happens to break your code, that should not have worked in the first place. :slight_smile:

1 Like

may be this change in the release. it was earlier accepting my bad data (series not being an array)
image

2 Likes