Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Commit

Permalink
Release v1.5.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
nwronski committed Jun 14, 2016
1 parent 63be128 commit 9017e39
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
23 changes: 22 additions & 1 deletion changeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@ All notable changes to this project will be documented in this file.

## [Unreleased][unreleased]

## [v1.5.0] - 2016-06-14
### Added
- Added `preserveCase` option to allow validation of Angular 2 templates. Here is a combination of settings and configuration that appears to work well for Angular 2.

``` javascript
{
settings: {
preserveCase: true
},
tags: {
normal: [ 'template' ]
},
attributes: {
'_': {
mixed: /^((\*ng)|(^\[[\S]+\]$)|(^\([\S]+\)$))|(^\[\([\S]+\)\]$)/
}
}
}
```

## [v1.4.0] - 2016-03-08
### Changed
- Consolidated rules for text nodes, `doctype` tags, and whitespace to increase the parsing performance.
Expand Down Expand Up @@ -105,7 +125,8 @@ validator("<p></p>", { 'settings': { 'format': 'html' } }, function (err, ast) {
### Added
- Breaking changes from 0.0.x. Check README for changes to core API.

[unreleased]: https://github.com/codeschool/htmlTagValidator/compare/v1.4.0...HEAD
[unreleased]: https://github.com/codeschool/htmlTagValidator/compare/v1.5.0...HEAD
[v1.5.0]: https://github.com/codeschool/htmlTagValidator/compare/v1.4.0...v1.5.0
[v1.4.0]: https://github.com/codeschool/htmlTagValidator/compare/v1.2.0...v1.4.0
[v1.2.0]: https://github.com/codeschool/htmlTagValidator/compare/v1.1.0...v1.2.0
[v1.1.0]: https://github.com/codeschool/htmlTagValidator/compare/v1.0.8...v1.1.0
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function htmlTagValidator(source, callback) {
};

htmlTagValidator.NAME = "html-tag-validator";
htmlTagValidator.VERSION = "1.1.0";
htmlTagValidator.VERSION = "1.5.0";
htmlTagValidator._options = {};

htmlTagValidator.setOptions = function(options) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html-tag-validator",
"version": "1.4.0",
"version": "1.5.0",
"main": "index.js",
"author": "Code School",
"contributors": [
Expand Down

0 comments on commit 9017e39

Please sign in to comment.