Skip to content

Releases: riot/compiler

v3.1.3

04 Feb 16:25
Compare
Choose a tag to compare

v3.1.2

22 Jan 20:28
Compare
Choose a tag to compare
  • Fix riot#2210 : Style tag get stripped from riot tag even if it's in a javascript string.
  • Updated devDependencies.

v2.5.7

16 Nov 07:09
Compare
Choose a tag to compare

v3.0.0-alpha.4

15 Nov 21:23
Compare
Choose a tag to compare

v2.5.6

15 Nov 19:58
Compare
Choose a tag to compare

v2.5.5

06 Sep 08:04
Compare
Choose a tag to compare
  • Fix to erroneous version number in the package.json, v2.5.4 was released before.
  • Removed unuseful files from the npm package.
  • Updated credits in package.json
  • Updated devDependencies, skip ESLint in CI test for node v0.12
  • BuGless-hack for riot#1966 - You can use <-/> to signal the end of the html if your html is ending with an expression.

v2.5.4

30 Aug 06:42
Compare
Choose a tag to compare
  • Fix #68 : SASS inside Pug template gives Invalid CSS.
  • Added parser for bublé as buble. Option modules is false in node and browser versions.
  • Added support for es6 import statements. Thanks to @kuashe! - Related to riot#1715, riot#1784, and riot#1864.

v2.5.3

12 Aug 09:13
Compare
Choose a tag to compare

Fix #73 : resolveModuleSource must be a function - Option removed from the default Babel options.

v2.4.1

05 May 20:59
Compare
Choose a tag to compare
  • Add the pug parser (it will replace completely jade in the next major release)
  • Add the possibility to pass custom parsers options directly via the compiler.compile method through the parserOptions: {js: {}, template: {}, style: {}} key more info
  • Fix un-escape parser options in html more info

v2.3.23

10 Mar 07:53
Compare
Choose a tag to compare
  • The parsers are moved to its own directory in the node version. The load is on first use.
  • Fix riot#1325 : Gulp + Browserify + Babelify + type="es6" error.
  • Fix riot#1342, riot#1636 and request from dwyl/learn-riot#8 : Server-Side Rendered Page Fails W3C Check. The new data-is attribute is used for scoped styles in addition to riot-tag (the later will be removed in compiler v3.x)
  • The keyword defer in <script src=file> avoids that the compiler loads the file, preserving the tag - Requested by riot#1492 : Stop script tags from being evaluated with serverside riot.render. It is removed in client-side compilation because browsers will not load scripts through innerHTML.
  • It has changed the character used to hide expressions during the compilation, maybe this fix riot#1588 : Syntax Error: Invalid character \0129 (riot+compiler.min).
  • The option debug inserts newlines between the riot.tag2 parameters and the call is prefixed with the source filename - Requested by riot#1646 : Split portions of generated html with newline instead of space
  • Removed the unused parameter with the compiled-time brackets from the call to riot.tag2.
  • Removed support for raw expressions. It is unlikely this feature will be implemented in v2.3.x
  • Updated the regex that is used to match tag names, more closer to the HTML5 specs.
  • Update devDependencies.