Skip to content

Commit

Permalink
Prepared changes for 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
raducotescu committed Mar 30, 2016
1 parent 5028e9f commit 39014ce
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Sightly HTML Templating Language Specification [1.2](https://github.com/Adobe-Marketing-Cloud/sightly-spec/tree/1.2) - March 30th, 2016
====

New Features:
* allow Java enums to be used in [comparisons](https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/1.2/SPECIFICATION.md#1142-comparison-operators)

Enhancements:
* documented the `data-sly-include` `file` option, which was present in the [TCK](https://github.com/Adobe-Marketing-Cloud/sightly-tck/blob/io.sightly.tck-1.0.0/src/main/resources/testfiles/scripts/blockstatements/include/include.html#L27) + reference implementation since 1.0

Sightly HTML Templating Language Specification [1.1](https://github.com/Adobe-Marketing-Cloud/sightly-spec/tree/1.1) - February 16th, 2015
====

New Features:
* [`styleComment`](https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/1.1/SPECIFICATION.md#121-display-context) display context
* [URI manipulation](https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/1.1/SPECIFICATION.md#125-uri-manipulation) options
* [`data-sly-repeat`](https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/1.1/SPECIFICATION.md#227-repeat) block element
* special HTML tags - [`<sly>`](https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/1.1/SPECIFICATION.md#31-sly)

Enhancements:
* the [`join`](https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/1.1/SPECIFICATION.md#124-array-join) option can also be used with a simple string, outputting just the string in this case
* for [`data-sly-list`](https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/1.1/SPECIFICATION.md#226-list) (and also for [`data-sly-repeat`](https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/1.1/SPECIFICATION.md#227-repeat)) the element will be shown only if the attribute's value provides a non-empty collection,
a string or a number
* no need to strictly define [reserved options](https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/1.0/SPECIFICATION.md#13-reserved-options) like in 1.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ A Java-based reference implementation was [donated to the Apache Sling project](

The [Technology Compatibility Kit](https://github.com/Adobe-Marketing-Cloud/sightly-tck) can be run on implementations to check their compliance with the specification.

An implementation of [version 1.1](https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/1.1/SPECIFICATION.md) of the language specification was made available in AEM 6.1.
An implementation of [version 1.2](https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/1.2/SPECIFICATION.md) of the language specification will be made available in AEM 6.2.
4 changes: 2 additions & 2 deletions SPECIFICATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Sightly HTML Templating Language Specification
**Version:** 1.2
**Authors:** Radu Cotescu, Marius Dănilă, Peeter Piegaze, Senol Tas, Gabriel Walt, Honwai Wong
**License:** [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)
**Status:** Draft
**Release:** TBD
**Status:** Final release
**Release:** 30 March 2016

#### Contents
1. [Expression language, syntax and semantics](#1-expression-language-syntax-and-semantics)
Expand Down

0 comments on commit 39014ce

Please sign in to comment.