Releases: riot/riot
Releases Β· riot/riot
v9.0.1
- Fix removal of falsy boolean attributes
Evergreen
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
orundefined
(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
orselected
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
v7.0.7
v7.0.6
- Update improve the deno compatibility adding the file extension to the
esm
files imports
v7.0.5
- Improve rendering performance
- Update development dependencies
v7.0.4
v7.0.3
v7.0.2
v7.0.1
- Fix small bug computing text expressions in runtime slots