Skip to content
This repository was archived by the owner on Jan 8, 2021. It is now read-only.

v2.0.0 🌞 1/4 the size!

Choose a tag to compare

@mesqueeb mesqueeb released this 18 Jan 11:30
· 26 commits to master since this release

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):

  1. cannot use markdown tables in sub-labels anymore
  2. no code highlighting in markdown in sub-labels anymore
  3. 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.