v0.6.0
This version has a few improvements
- Adds tools to generate schema for multiple versions. This allows to decouple the plotly versions from this library
- Get rid of Type field. Now it is determined based on the struct type. 🎉
- Add ArrayOK compatibility. Now fileds that can either have arrays or single values will have this type so you can provide any of them. Also packed some utility tools to reduce boilerplat
- Add Color types, To increase compatibility with fields that accept multiple values, similar to ArrayOK
- Move types and offilne package outside generation. This allows to use the same packages for all plotly versions plus helping to keep things organised
Also fixes
- offline Serve now serves figues over http, so problems with encoding are avoided
- offline Show encodes the plot as base64 transparently to avoid encoding issues.
I hope you enjoy it! The migration to this version should be matter of picking the right version using the right import path. Depending on you needs.Then just go over the compile errors to replace with the right types. Check examples if you want any references of how to do it