Prepare for 2.7.0 release

This commit is contained in:
Patrick Steele-Idem 2015-06-05 15:02:02 -06:00
parent 3e456c76db
commit 70c3e0bc2a
2 changed files with 26 additions and 2 deletions

View File

@ -3,7 +3,29 @@ Changelog
# 2.x
## 2.5.x
## 2.7.x
### 2.7.0
- Fixes [#27](https://github.com/raptorjs/marko/issues/27) - IE conditional comments (e.g., `<!--[if lt IE 9]><div><![endif]-->`) are automatically preserved. Previously, all HTML comments were stripped out when loading a template. For example:
- Added support for `<compiler-options comments="preserve"/>` to enable comments to preserved in a template. For example:
```xml
<compiler-options comments="preserve"/>
Hello
<!--This comment should be preserved-->
World
```
Output:
```xml
Hello
<!--This comment should be preserved-->
World
```
## 2.6.x
### 2.6.0
@ -15,6 +37,8 @@ Changelog
- Bad: `fs.readFile(path, 'utf8')`
- Good: `fs.readFile(path, {encoding: 'utf8'})`
## 2.5.x
### 2.5.0
- Fixes #78 - Custom Node.js require extension for Marko template files. Example usage:

View File

@ -63,5 +63,5 @@
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"version": "2.6.0"
"version": "2.7.0"
}