Skip to content
This repository was archived by the owner on Nov 24, 2018. It is now read-only.

Commit 9f0d5b5

Browse files
author
Philipp Denzler
committed
chore(release): prepare release 1.1.0
1 parent 58fbe95 commit 9f0d5b5

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11
# Changelog
2+
## 1.1.0 - 2014-12-09
3+
- added new valdrFormGroup directive which sets validity state for a group of form items and is responsible for adding and removing validation messages if valdr-message is loaded, see [#11](https://github.com/netceteragroup/valdr/issues/11), fixes [#44](https://github.com/netceteragroup/valdr/issues/44), fixes [#48](https://github.com/netceteragroup/valdr/issues/48)
4+
- support multiple aliases for constraint names, see [#30](https://github.com/netceteragroup/valdr/issues/30)
5+
- use the latest regular expression to validate e-mail addresses used in AngularJS, see [#33](https://github.com/netceteragroup/valdr/issues/33)
6+
- use new $validators pipeline from AngularJS 1.3 instead of $parsers and $formatters for validation, see [#35](https://github.com/netceteragroup/valdr/issues/35)
7+
- renamed no-valdr-message to valdr-no-message, see [#42](https://github.com/netceteragroup/valdr/issues/42)
8+
- use ng-show in the default message template instead of ng-if, fixes [#49](https://github.com/netceteragroup/valdr/issues/49)
9+
10+
**BREAKING CHANGES**
11+
- valdr now requires AngularJS 1.3.x.
12+
- Before 1.1.0 a class named ```form-group``` was used to group multiple form items and add overall validity state. In 1.1.0
13+
the new directive ```valdr-form-group``` was introduced for this purpose. All valdr validated form fields register with
14+
the next parent element with the ```valdr-form-group```directive (if present). The directive sets the form groups validity
15+
(```ng-valid```, ```ng-invalid```) and the class ```valdr-invalid-dirty-touched-group``` if one of the form items is
16+
invalid, has been changed and the user blurred out of the form item. Besides that, if ```valdr-messages```
17+
is used to add validation messages, the ```valdr-form-group``` directive is the element in the DOM which adds and
18+
removes validation messages for all form items in the group.
19+
- the attribute ```no-valdr-message``` was renamed to ```no-valdr-message``` to disable message adding for individual
20+
form items
221

322
## 1.0.2 - 2014-11-18
423
- added new option ```valdr-no-validate``` to disable valdr validation on specific form elements, see [#41](https://github.com/netceteragroup/valdr/pull/41)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "valdr",
3-
"version": "1.1.0-SNAPSHOT",
3+
"version": "1.1.0",
44
"description": "A model centric approach to AngularJS form validation",
55
"homepage": "https://github.com/netceteragroup/valdr",
66
"repository": {

0 commit comments

Comments
 (0)