mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Prepare for 2.7.0 release
This commit is contained in:
parent
3e456c76db
commit
70c3e0bc2a
26
CHANGELOG.md
26
CHANGELOG.md
@ -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:
|
||||
|
||||
@ -63,5 +63,5 @@
|
||||
"publishConfig": {
|
||||
"registry": "https://registry.npmjs.org/"
|
||||
},
|
||||
"version": "2.6.0"
|
||||
"version": "2.7.0"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user