Fixed another return in parse().
[artemus.git] / RELEASE_NOTES
blobf60a7cdba7c37be145b7d74c2e4a640b710d09a2
1 Artemus Release Notes
2 =====================
4 5.0.1
5 -----
7  * The %% keyword returns the full extended hash.
8  * Fixed processing of file templates returning 0.
9  * A new function template `dump', to dump an expression
10    using Data::Dumper.
11  * Fixed a bug in processing ARTEMUS_STR.
13 5.0.0
14 -----
16  * New milestone release. The Artemus language has been
17    completely rewritten to be a LISP-like, compiled
18    machine. No backward compatibility is provided (other
19    than including the old 4.x module in the distribution).
20    The new 5.x language is faster, more flexible, less
21    cumbersome (for example, there's no need for escaping
22    inner blocks that should execute only conditionally)
23    and include support for translateable strings.
25 4.1.3
26 -----
28  * The `foreach' constructor now includes an optional
29    4th argument, the _header_, that will be appended
30    to the output in case it's different from the
31    previous iteration. This code block is expected to
32    contain dollar-prefixed arguments.
33  * New template function `item', to return an item
34    from a colon-separated list given its subscript.
35  * Fix `case' comparisons when the variable contains
36    carriage returns.
37  * Fix loader_func() to correctly process empty
38    templates.
39  * Unless a very grave bug or vulnerabity is found,
40    this will be the last 4.x release; next release
41    will jump to the 5.x branch. Please take note that
42    this new branch is intentionally incompatible
43    with current one. Anyway, the Artemus4.pm module
44    and associated tools are planned to be distributed
45    with the 5.x series for a very long time.
47 4.1.2
48 -----
50  * New template function `sort'.
51  * New template function `reverse'.
52  * Templates can be loaded from external sources by
53    using the new `loader_func' argument to new().
54  * The Perl module Artemus is now an alias for the
55    Artemus4 module, as a way to smooth the future
56    transition to version 5. No changes need to be
57    done.
59 4.1.1
60 -----
62  * New template function `case'.
63  * New template function `env', to get values from the
64    environment.
65  * New template function `size', to return the number
66    of elements in a colon-separated list.
67  * New template function `seq', to generate a sequence
68    between two numbers as a colon-separated list.
69  * Improved debugging information.
71 4.1.0
72 -----
74  * New template function `foreach', to implement loops.
75  * New template function `set', for assigning a value to
76    a variable.
77  * New template arithmethic functions `add' and `sub'.
78  * New template comparison functions `gt', `lt' and `eq'.
79  * New template logical functions `and', `or' and `not'.
80  * New template function `random'.
81  * Comments can now be included with the {% } markup (they
82    are deleted from the final output).
83  * Old cruft has been deleted from the script (ftp, makefile
84    and sitemap generation).
85  * Template parameters are always expanded (instead of short-
86    circuiting when one is not found).
87  * Artemus markup can be escaped to allow templates being used
88    from another ones with being executed first.