Skip to content

Releases: riot/riot

v9.0.1

30 Jul 21:41
Compare
Choose a tag to compare
  • Fix removal of falsy boolean attributes

Evergreen

30 Jul 20:33
Compare
Choose a tag to compare

V9 is almost fully backward compatible with previous versions of Riot.js. However, a few breaking changes have been made, which are listed below:

  • Fix #2975
  • Use Module Syntax Exports
  • Reduce library size to 5.8kb
  • Use Prettier to format the codebase
  • Discontinued support for node versions older than v18
  • Breaking Change: Babel Code transpilation has been removed
    • To target older browsers, you will need to transpile your Riot.js import within your app
  • Breaking Change: Non boolean falsy attributes will no longer be removed; instead, use null or undefined (see also #2975). For example:
    • <p is-active={false}> - is-active will no longer be removed. Use <p is-active={null}> instead
    • Note that Riot.js will still automatically detect boolean attributes like checked or selected and in that case remove them with falsy values

Several ecosystem packages have received major updates and the rest will be updated soon. Future versions of Riot.js ecosystem packages will be synchronized to avoid confusion. To use Riot.js v9, ensure that you install only v9 @riotjs packages.

v7.1.0

07 Nov 20:51
Compare
Choose a tag to compare
  • Fix #2972
  • Fix #2967 (enhance the previous patch)
  • Fix #2969
  • Update Riot.js has now 0 dependencies. All the needed dependencies will be bundled before the publishing on npm
  • Update dev dependencies

v7.0.7

01 Nov 21:33
Compare
Choose a tag to compare
  • Fix #2971
  • Fix #2967 adding support for css complex pseudo selectors
  • Fix riot.version wrong value in the esm export
  • Fix circular dependencies
  • Update improve rendering performance preferring loops over recursion for DOM manipulations

v7.0.6

09 Sep 19:35
Compare
Choose a tag to compare
  • Update improve the deno compatibility adding the file extension to the esm files imports

v7.0.5

02 Sep 19:57
Compare
Choose a tag to compare
  • Improve rendering performance
  • Update development dependencies

v7.0.4

23 Aug 21:16
Compare
Choose a tag to compare

v7.0.3

14 Aug 18:45
Compare
Choose a tag to compare
  • Fix #2962
  • Improve memory and rendering performance of the dom-bindings

v7.0.2

04 Aug 20:36
Compare
Choose a tag to compare

v7.0.1

03 Aug 18:52
Compare
Choose a tag to compare
  • Fix small bug computing text expressions in runtime slots