Updated TODO.
[artemus.git] / RELEASE_NOTES
blob6363f330e3bc6dbcb49dfc9d04e1a856f694880b
1 Artemus Release Notes
2 =====================
4 4.1.3
5 -----
7  * The `foreach' constructor now includes an optional
8    4th argument, the _header_, that will be appended
9    to the output in case it's different from the
10    previous iteration. This code block is expected to
11    contain dollar-prefixed arguments.
12  * New template function `item', to return an item
13    from a colon-separated list given its subscript.
14  * Fix `case' comparisons when the variable contains
15    carriage returns.
16  * Fix loader_func() to correctly process empty
17    templates.
18  * Unless a very grave bug or vulnerabity is found,
19    this will be the last 4.x release; next release
20    will jump to the 5.x branch. Please take note that
21    this new branch is intentionally incompatible
22    with current one. Anyway, the Artemus4.pm module
23    and associated tools are planned to be distributed
24    with the 5.x series for a very long time.
26 4.1.2
27 -----
29  * New template function `sort'.
30  * New template function `reverse'.
31  * Templates can be loaded from external sources by
32    using the new `loader_func' argument to new().
33  * The Perl module Artemus is now an alias for the
34    Artemus4 module, as a way to smooth the future
35    transition to version 5. No changes need to be
36    done.
38 4.1.1
39 -----
41  * New template function `case'.
42  * New template function `env', to get values from the
43    environment.
44  * New template function `size', to return the number
45    of elements in a colon-separated list.
46  * New template function `seq', to generate a sequence
47    between two numbers as a colon-separated list.
48  * Improved debugging information.
50 4.1.0
51 -----
53  * New template function `foreach', to implement loops.
54  * New template function `set', for assigning a value to
55    a variable.
56  * New template arithmethic functions `add' and `sub'.
57  * New template comparison functions `gt', `lt' and `eq'.
58  * New template logical functions `and', `or' and `not'.
59  * New template function `random'.
60  * Comments can now be included with the {% } markup (they
61    are deleted from the final output).
62  * Old cruft has been deleted from the script (ftp, makefile
63    and sitemap generation).
64  * Template parameters are always expanded (instead of short-
65    circuiting when one is not found).
66  * Artemus markup can be escaped to allow templates being used
67    from another ones with being executed first.