Skip to content

Releases: kaj/ructe

Release 0.4.0

05 Jul 20:46
@kaj kaj
Compare
Choose a tag to compare

Changes since v0.3.16 includes:

  • Template syntax:

    • Allow local ranges (i.e. 2..7) in loop expressions.
    • Allow underscore rust names. There is use for unused variables in
      templates, so allow names starting with underscore.
    • Issue #24 / PR #28: Allow logic operators in @if ... expressions.
    • Issue #25 / PR #27: Allow much more in parentehsis expressions.
  • Improved examples:

    • A new design for the framework examples web page, using svg graphics.
    • Improve code and inline documentation of iron and nickel examples.
    • Add a similar example with the Gotham framework.
  • Recognize .svg static files.

  • Allocate much fewer strings when parsing expressions in templates.

  • PR #26: use write_all rather than the write! macro in generated
    code, contributed by @kornelski

  • Fix application/octet-stream MIME type. Contributed by @kornelski.

  • Use write_str/write_all when generating output. Contributed by
    @kornelski.

Tested with rustc 1.23.0 (766bd11c8 2018-01-01), 1.24.1 (d3ae9a9e0 2018-02-27), 1.25.0 (84203cac6 2018-03-25), 1.26.2 (594fb253c 2018-06-01), 1.27.0 (3eda71b00 2018-06-19), 1.28.0-beta.6 (915ac6602 2018-06-30), and 1.28.0-nightly (e3bf634e0 2018-06-28).

Release 0.3.16

08 Apr 00:20
@kaj kaj
Compare
Choose a tag to compare

Changes since 0.3.14 is mainly some internal cleanup, a link fix in README and the option rsass dependency is updated to 0.8.0.

Tested with rustc 1.23.0 (766bd11c8 2018-01-01), 1.24.1 (d3ae9a9e0 2018-02-27), 1.25.0 (84203cac6 2018-03-25), 1.26.0-beta.2 (0e350672e 2018-04-05), and 1.27.0-nightly (eeea94c11 2018-04-06).

Release 0.3.14

11 Mar 22:25
@kaj kaj
Compare
Choose a tag to compare

Changes since v0.3.12 includes:

  • Make the space after a comma in list expressions optional.
  • Allow enum variants (and module names) in expressions.
  • Some cleanup in parser code.

Tested with rustc version 1.18.0 (03fc9d622 2017-06-06), 1.19.0 (0ade33941 2017-07-17), 1.20.0 (f3d6973f4 2017-08-27), 1.21.0 (3b72af97e 2017-10-09), 1.22.1 (05e2e1c41 2017-11-22), 1.23.0 (766bd11c8 2018-01-01), 1.24.1 (d3ae9a9e0 2018-02-27), 1.25.0-beta.9 (16262bb5e 2018-03-09), 1.26.0-nightly (2789b067d 2018-03-06).

Release version 0.3.12

10 Feb 22:01
@kaj kaj
Compare
Choose a tag to compare

Changes since 0.3.10 includes:

  • Add a way to add static files without hashnames. A static file can be added and mapped as an arbitrary name, or a directory can be recursively added with an arbitrary prefix.

Tested with rustc 1.18.0 (03fc9d622 2017-06-06), 1.19.0 (0ade33941 2017-07-17), 1.20.0 (f3d6973f4 2017-08-27), 1.21.0 (3b72af97e 2017-10-09), 1.22.1 (05e2e1c41 2017-11-22), 1.23.0 (766bd11c8 2018-01-01), 1.24.0-beta.11 (03f456d3c 2018-02-03), and 1.25.0-nightly (3bcda48a3 2018-02-09).

Release version 0.3.10

30 Dec 19:31
@kaj kaj
Compare
Choose a tag to compare

Changes since version 0.3.8 includes:

  • Allow * at start of expressions (and subexpressions).
  • Updated (optional) rsass to ^0.7.0.
  • Updated base64 to ^0.9.0.

Tested with rustc 1.18.0 (03fc9d622 2017-06-06), 1.19.0 (0ade33941 2017-07-17), 1.20.0 (f3d6973f4 2017-08-27), 1.21.0 (3b72af97e 2017-10-09), 1.22.1 (05e2e1c41 2017-11-22), 1.23.0-beta.2 (c9107ee93 2017-12-08), 1.24.0-nightly (2dad872a2 2017-12-29).

Release version 0.3.8

07 Dec 05:56
@kaj kaj
Compare
Choose a tag to compare

Changes since 0.3.6 includes:

  • Make clippy happy with the code genarated for templates.
  • Updated lazy_static to 1.0.
  • Updated base64 to 0.8.
  • Updated (optional) rsass to 0.6.

Tested with rustc 1.18.0 (03fc9d622 2017-06-06), 1.19.0 (0ade33941 2017-07-17), 1.20.0 (f3d6973f4 2017-08-27), 1.21.0 (3b72af97e 2017-10-09), 1.22.1 (05e2e1c41 2017-11-22), 1.23.0-beta.1 (082b0ff02 2017-11-21), and 1.24.0-nightly (5a2465e2b 2017-12-06)-

Relese 0.3.6

05 Nov 15:33
@kaj kaj
Compare
Choose a tag to compare

Changes since release 0.3.4 includes:

  • Update nom dependency to version 3.2.
  • Update optional rsass dependency to version 0.5.0.
  • Update base64 dependency to 0.7.0.
  • A documentation typo fixed, by @jo-so.
  • Minor internal cleanup.

Tested with rust version 1.18.0 (03fc9d622 2017-06-06), 1.19.0 (0ade33941 2017-07-17), 1.20.0 (f3d6973f4 2017-08-27), 1.21.0 (3b72af97e 2017-10-09), 1.22.0-beta.2 (a0a837c45 2017-10-20), and 1.23.0-nightly (d762b1d6c 2017-11-04).

Release 0.3.4

10 Jul 15:04
@kaj kaj
Compare
Choose a tag to compare

Changes since release 0.3.2 includes:

  • PR #15 Allow destructure in loops.
  • PR #16 Allow complex argument types to templates
  • PR #17 Write a doc chapter about static content.

Tested with rust 1.15.1 (021bd294c 2017-02-08), 1.16.0 (30cf806ef 2017-03-10), 1.17.0 (56124baa9 2017-04-24), 1.18.0 (03fc9d622 2017-06-06), 1.19.0-beta.3 (4b6f4f353 2017-07-07), and 1.20.0-nightly (d84693b93 2017-07-09).

Release 0.3.2

23 Jun 15:03
@kaj kaj
Compare
Choose a tag to compare

Changes since release 0.3.0 includes:

  • Fix a bug in ordering (and therfore findability) of static files.
  • Improved documentation.
  • PR #13: Provide mime type for static file data.
  • Fix file paths for @import in scss (using sass feature).
  • Code cleanup (use ? operator rather than try! macro).
  • Use include_bytes! for static files to improve compile times.

This release is tested with rust versions 1.15.1 (021bd294c 2017-02-08), 1.16.0 (30cf806ef 2017-03-10), 1.17.0 (56124baa9 2017-04-24), 1.18.0 (03fc9d622 2017-06-06), 1.19.0-beta.2 (a175ee509 2017-06-15), and 1.20.0-nightly (ab5bec255 2017-06-22).

Release 0.3.0

07 May 21:58
@kaj kaj
Compare
Choose a tag to compare

Changes since release 0.2.6 includes:

  • Issue #10: Watch template directories for changes, to build new templates when they are created.
  • PR #12: Integrate sass, including a function to reference static files from a scss document.
  • Some documentation improvements and internal code cleanup.

This release is tested with rust versions 1.15.1, 1.16.0, 1.17.0 (stable), 1.18.0-beta.1 (4dce67253 2017-04-25), and 1.19.0-nightly (f4209651e 2017-05-05).