github brunosabot/streamline-card v0.1.0

4 months ago

Streamline Card v0.1.0

Hello there!

Caution

This release includes a breaking change with the usage of the _javascript suffix

This release aimed to fix several bugs with the version 0.0.23, with one breaking change, for the best.

Now, you must add the return keyword to actually return the value... which makes way more sense if you know JavaScript: it does now look like an actual function content.
Before:

name_javascript: "`javascript string`"

After:

name_javascript: "return `javascript string`"

Before:

name_javascript: |
  const rand = Math.random();
  `random ${rand}`

After:

name_javascript: |
  const rand = Math.random();
  return `random ${rand}`

Here is the bugs fixed with this new version:

  • Batching updates was a bit too intense for some cards. Fixes #58
  • The _javascript method was broken. Fixes #60
  • The variables cache was a bit too aggressive. Fixes #63
  • Few documentation updates. Fixes #57

Full Changelog: v0.0.23...v0.1.0

Let me know if you encounter any issue!

-- Bruno

Don't miss a new streamline-card release

NewReleases is sending notifications on new releases.