Skip to content

Commit 4d0c54d

Browse files
committed
Release ready.
1 parent 179d732 commit 4d0c54d

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

RELEASE.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22

33
Introduced tree-rewrite capabilities with `s:for` via the additional attributes `src-children` and `dst-children`.
44
Basically the same for cycle is applied recursively inside the relative path described by `src-children` and applied inside `dst-children`.
5+
The actual behaviour of `dst-children` has not been fully implemented yet, as it requires access to children in reverse order, making it incompatible with the rest of the codebase.
6+
As such, some custom implementation is needed. For now one can only specify the direct name of the tag embedding children, without nesting as it should be in its final form.
7+
The nested behaviour of `s:for` is going to change a bit in `v0.4.9` once `dst-children` is fully fixed.
58

69
We also added support for more VM functions:
710
- `timestamp` as the name implies
811
- `rid` to generate a 256bit random ID serialized as hex string.
912
- `sid` to generate an `int`-sized sequential ID, autoincrementing and with an optional family ID to have independent sequences.
1013

11-
Finally, logs now have a proper context which provided the path of the several locations which are affected, as well as the offset which can be used to locate the issue.
12-
For more details check changes to `log_t::ctx`.
14+
Finally, logs have now a proper context which provides paths and offsets to the template, data and destination locations which triggered the message.
15+
For more details, check changes to `log_t::ctx`.

TODO.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## `v0.4.9`
44

5-
- [ ] Properly show ctx information while logging
5+
- [ ] Complete handling of `dst-children` in `for` which is quite incomplete for now.
66
- [ ] In the UI for the demo, add a loader as the first boot is quite slow
77
- [ ] Fill in the docs at least of the public interface
88
- [ ] `string_view` version of `strnatcmp` to optimize the dot comparisons
@@ -14,7 +14,7 @@
1414
- [ ] Optimization for lower-end systems by reducing explicit memory allocations if possible and adopting string views.
1515
- [ ] Expose a mechanism to allow externally defined expressions? Not sure about this one, but it might be good when embedding this library.
1616

17-
## `v1.0.0`
17+
## `v1.0.x`
1818

1919
- [ ] Some good testing coverage is highly desirable.
2020
- [ ] Add a proper xml schema for this language (rng in place of xsd as they are more flexible for unordered files that I want to support)

docs/releases/v0.4.7.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Introduced tree-rewrite capabilities with `s:for` via the additional attributes `src-children` and `dst-children`.
2+
Basically the same for cycle is applied recursively inside the relative path described by `src-children` and applied inside `dst-children`.
3+
The actual behaviour of `dst-children` has not been fully implemented yet, as it requires access to children in reverse order, making it incompatible with the rest of the codebase.
4+
As such, some custom implementation is needed. For now one can only specify the direct name of the tag embedding children, without nesting as it should be in its final form.
5+
The nested behaviour of `s:for` is going to change a bit in `v0.4.9` once `dst-children` is fully fixed.
6+
7+
We also added support for more VM functions:
8+
- `timestamp` as the name implies
9+
- `rid` to generate a 256bit random ID serialized as hex string.
10+
- `sid` to generate an `int`-sized sequential ID, autoincrementing and with an optional family ID to have independent sequences.
11+
12+
Finally, logs have now a proper context which provides paths and offsets to the template, data and destination locations which triggered the message.
13+
For more details, check changes to `log_t::ctx`.

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project(
22
'vs-templ',
33
['cpp'],
4-
version: '0.4.6',
4+
version: '0.4.7',
55
meson_version: '>= 1.1',
66
default_options: ['cpp_std=c++20'],
77
)

0 commit comments

Comments
 (0)