v2.0.0 🌞 1/4 the size!
The only breaking changes with version 2.0.0 are related to subLabels!!
If you don't use markdown in subLabels, you can update to 2.0.0 without changing anything.
I didn't expect to have another major version bump so soon!
However, because of the markdown library I used for devs to be able to use markdown in sub-labels, it made the library very big. In fact, I use a different 1kb markdown library (snarkdown) now, and the package size was reduced by 75%!!
Breaking changes (only related to sub-labels):
- cannot use markdown tables in sub-labels anymore
- no code highlighting in markdown in sub-labels anymore
- you're able to use html OR markdown in the sub-labels by default now
A word of caution:
The current markdown library takes markdown, converts it to HTML, then the sub-label uses v-html to bind that html! This means you cannot allow to have users-made sub-labels, because this would pose a security thread! I will look into improving this in the future, but please research the dangers of using v-html for yourselves.