-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved to next dev revision, added when examples to the playground
- Loading branch information
1 parent
f1b52e7
commit 645d7d6
Showing
6 changed files
with
12 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1 @@ | ||
## v0.4.5 | ||
|
||
This release has not visible changes in its functionality (aside for some subtle bug fixes). | ||
Which is good, it means the language itself is getting stable. | ||
The main objectives for this release were: | ||
|
||
- Reducing complexity and verbosity for most of the code | ||
- Removing obsolete or unused features from earlier revisions | ||
- Better documentation of its public interface. | ||
- Improved tests (so that I can validate the implementation so far) | ||
|
||
So, a boring one! But it means that a "final" v1 is getting close. | ||
Basically all that is left are better tests to see if all commands are working as expected, better documentation and some code optimization. | ||
|
||
## Fixes | ||
|
||
- Fixed behaviour of filters in cycles. Now they always used meta-expressions only (no prefix `:` in that case). | ||
- Fixed behaviour of `for-range` with negative increments to match specs. | ||
- Fixed behaviour of `~!txt` to return the concatenation of all _cdata_ and _pcdata_ children, not just the first one. | ||
|
||
## Breaking changes | ||
|
||
The interface to build the preprocessor is now a configuration object. | ||
This is done to avoid verbosity, and to allow for the definition of more fields if so needed. | ||
In most cases, using the new interface is just as simple as placing braces between the original args. | ||
|
||
## Internal changes | ||
|
||
- Code cleanup. | ||
- Speed up `O(nm)` children detection in cycles avoiding multiple passes. | ||
- Rework the mechanisms used in `order-by` | ||
## v0.4.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!-- | ||
`./build/vs.templ ./examples/basics/value/templ.xml ./examples/basics/value/data.xml` | ||
--> | ||
<data></data> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<doc xmlns:s="vs.templ"> | ||
<h1 s:when=": false">This will fail, not being shown</h1> | ||
<h2 s:when=": true">This will be!</h2> | ||
<h1 s:when=": true" s:when.attr1=": true" s:when.attr2=": false">Hello!</h1> | ||
</doc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters