diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a71923..bd295f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,21 @@ Changelog ========= +### 0.10.0 + - Add a `th:value`/`data-th-value` processor + - Add support for if-then expressions (`(condition) ? (true branch)`) + - Add support for a literals (text, number, boolean, and tokens) + - Add a `th:checked`/`data-th-checked` processor + +### 0.9.0 + - Fix `th:attr`/`data-th-attr` where re-using the regex in the processor would + cause subsequent uses to fail. + - First attempt at support for the fragment syntax and `th:insert`/`data-th-insert` + to include other templates/fragments (still a hack that's documented in the + README). + - Include Node 8 in CI builds/tests as it's now entered LTS. + - Testing frameworks simplified: mocha + chai + nyc + jsdom -> jest + ### 0.8.1 - Fix double-escaping of `thjs:text`/`data-thjs-text` and single-escaping of `thjs:utext`/`data-thjs-utext` processors diff --git a/README.md b/README.md index f39f62e..f0da3b9 100644 --- a/README.md +++ b/README.md @@ -196,6 +196,7 @@ is capable, and thus incapable, of doing. ### Processors - `th:attr` (attribute replacement) + - `th:checked` (`checked` boolean attribute inclusion/removal) - `th:each` (iteration) - `th:href` (`href` attribute replacement w/ link expression support) - `th:if` (conditional rendering) @@ -203,6 +204,7 @@ is capable, and thus incapable, of doing. - `th:src` (`src` attribute replacement w/ link expression support) - `th:text` (text replacement) - `th:utext` (text replacement, unescaped) + - `th:value` (set an input field value) ### Expressions @@ -213,6 +215,9 @@ is capable, and thus incapable, of doing. placeholders in the URL, or both) - `~{template::fragment}` (fragment expressions, references an element in another template) + - `localValue : ${iterable}` (basic iteration expressions) + - `(condition) ? (truthy branch)` (if-then expressions) + - Text, number, boolean, and literal tokens ### Caveat on fragment inclusion