Releases: rs-tml/rstml
Releases · rs-tml/rstml
Release of v0.12.0
What's Changed
- coresponding -> corresponding by @dezren39 in #30
- chore: fix ci by @ModProg in #36
- fix: readme example by @mrchantey in #33
- feat: support for custom node by @ModProg in #34
- Fix minor by @vldm in #40
- Fix spelling mistake "witespace" to "whitespace" by @PizzasBear in #41
- Allow multiple puncts in a row in NodeName by @PizzasBear in #42
- Refactor custom node implementation, add visitor API and stable unqoted text. by @vldm in #44
- Update README.md by @vldm in #50
- default impl for Parser (#51) by @zahash in #52
- feat: initial implementation of key value block attributes by @tachibanayui in #49
- Refactor workspace move rstml to separate folder. by @vldm in #55
New Contributors
- @dezren39 made their first contribution in #30
- @ModProg made their first contribution in #36
- @mrchantey made their first contribution in #33
- @PizzasBear made their first contribution in #41
- @zahash made their first contribution in #52
- @tachibanayui made their first contribution in #49
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
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
- @pyrossh made their first contribution in #18
- @LLBlumire made their first contribution in #20
Release rstml v0.10.6
- Restructure modules, refactor docs on docs.rs
First valid release of fork repo
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.