Skip to content

Releases: HereIsKevin/fluid

0.5.0

07 May 21:14
Compare
Choose a tag to compare

Added

  • Fully keyed arrangements of templates 🎉
    • Templates are now swapped properly
    • Updating arrangements should be faster now

Changed

  • Much smaller NPM package 🔧
    • Benchmark images are now removed
    • Packaged build is over 500 KB smaller now
  • Removed updater binding checks 🔥
    • Significantly reduces build size
    • Faster template instantiation and binding
    • Vaguer error messages for edge cases

0.4.0

06 May 21:38
Compare
Choose a tag to compare

Added

  • Keyed arrangements of templates 😱
    • Allows for efficient and correct updating of sequences
    • Faster for removals and insertion in between sequences
    • Just pass [key, template]s with a string or number key
  • Property updaters for elements 🎉
    • Allows easy access to properties like value on <input>
    • Just add a . before the property name to access it
  • Reference updaters for elements 🚀
    • Allows easy access to actual nodes in the DOM
    • Just pass a (node: Node) => void as the ref attribute
    • Updaters called only when necessary with node as parameter
  • Style updaters for elements 🔥
    • Allows easy and efficient partial updates for styles
    • Just pass an object to the style attribute

Changed

  • Slightly larger bundle at under 2 KB 😢
    • Caused by the addition of keyed arrangements
    • Only slightly larger than before at around 1.75 KB

0.3.0

02 May 22:41
Compare
Choose a tag to compare

Added

  • New updater-based renderer 🎉
    • Much faster template instantiation
    • Much faster startup time
    • Slightly faster updates while rendering
    • Slightly lower memory usage
  • New non-keyed benchmarks 🔥

Changed

  • Templates with same strings must have same value types 👌
    • Caused by improved caching of templates
    • Should not affect most use cases
  • Renderer uses less marker comments 🔧
    • Markers for text interpolation removed
    • Removed redundant separators in sequences

0.2.0

28 Apr 16:25
Compare
Choose a tag to compare

Initial release of Fluid 💧. Install using npm install @hereiskevin/fluid.

0.1.0

28 Apr 16:23
b18490d
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

Initial private release of Fluid 💧. No builds are available.