Skip to content

Releases: rs-tml/rstml

Release of v0.12.0

28 Jul 13:12
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.11.2...v0.12.0

Or generated from commit: https://github.com/rs-tml/rstml/blob/main/CHANGELOG.md

Release rstml v0.11.0

22 Jul 14:24
Compare
Choose a tag to compare

Chore

  • Clippy ci
  • Apply fmt fixes
  • Add tests for fn binding syntax.

Documentation

  • Doc test formatting

Features

  • Add generics support to node element.
  • FnBinding pattern
  • Feat: add number support in NodeName attribute
    Make NodeName compatible with SGML basic types specification (by adding support of more than one punctuation in series).

Fix

  • Allow wildcard in any element.

Other

  • Update README.md

  • Allow wildcard close tag for block elements

  • Make block element close wildcard more general

New Contributors

Release rstml v0.10.6

19 May 12:40
Compare
Choose a tag to compare
  • Restructure modules, refactor docs on docs.rs

First valid release of fork repo

13 May 16:30
Compare
Choose a tag to compare

Chore

  • Refactor node module, split types into submodules
  • Update to syn 2.0
  • Implement config passing, and allow to emit more than one error from macro expansion.
  • Make Node types clonable.
  • Fix recoverable parser. Now try to recover if any sequence is incorrect.
  • Bump syn_derive to 0.1.6 to avoid nightly
  • Start a new version history

Documentation

  • Add comparsion with syn-rsx

Features

  • Remove attributes from node list, and make type guaranties that attribute will be stored only in Element
  • Improve tag close handling.
  • Allow parsing of invalid rust code blocks
  • Add support of unqoted text.

Fix

  • Refactor ToTokens implementation and node structure to contain all source tokens.
  • Re-implement tree flattening.
  • Reimplement transform_block and fix tests
  • Attribute value parsing span
  • Updated example, bench, made fragment parsing recoverable.
  • Make public keyed attribute fields.
  • RawText to_source implementation on stable

Refactor

  • Move node.rs to separate module.

  • Remove Display implementation for most of node types.

  • Simlify Parse and ToToken impl, by using syn_derive.

  • Refactor: remove NodeValueExpr type
    NodeValueExpr was replaced by syn::Expr in all places where expr is needed.
    For places where {code} is expected NodeBlock was used.

  • Cleanup of parsing code.

  • Refactor recoverable parser.

  • Refactor: Remove tls context at all.
    Use RecoverableContext instead.