Skip to content

Commit

Permalink
Include 0.9.0 and 0.10.0 changes to changelog and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraq committed Apr 11, 2018
1 parent ea4f9dd commit a156494
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -196,13 +196,15 @@ 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)
- `th:insert` (fragment inclusion)
- `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

Expand All @@ -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
Expand Down

0 comments on commit a156494

Please sign in to comment.