This repository was archived by the owner on Jul 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
CHANGELOG
Ghislain B edited this page Apr 15, 2019
·
92 revisions
-
1.5.27
2019-04-14Merged PR #182 to fix Radio button required field validation not working, closes #181 -
1.5.26
2018-11-13Merged PR #178 to fix #177 revalidateAndAttachOnBlur method to handle zeroes appropriately -
1.5.25
2018-10-29add Chinese locale translation "cn.json" -
1.5.24
2017-09-01Fix #160, validate on empty not working in angular-service -
1.5.23
2017-08-17Merged PR #162 and #163 -
1.5.22
2017-06-07Merged PR #157 to add Simplified Chinese locale. -
1.5.21
2017-05-14Fix #151 validation rule "different" disables rule "required". -
1.5.20
2017-04-20Add an unminified version and Fix #153 bug in validation service. -
1.5.19
2017-04-17Fix #150 angularValidation.revalidate problems -
1.5.18
2017-03-31Fix disabled="false" as attribute to run validation, merged pull #152. -
1.5.17
2017-03-10Add silent mode to checkFormValidity function -
1.5.16
2017-01-24Fix issue where empty Form Controller was throwing an error -
1.5.15
2017-01-19Rename theerrorMessageVisibleflag toisErrorMessageVisibleand updated the Wiki - isErrorMessageVisible -
1.5.14
2017-01-18Merged #144 to adderrorMessageVisibleto help knowing when the error message is displayed or not. -
1.5.13
2016-12-29Make sure element exist before looking forisValidationCancelled, issue #139 -
1.5.12
2016-12-15Fix a small issue introduced by last commit (Angular Form overwritten with simple object in some rare occasions). -
1.5.11
2016-12-15Fix checkFormValidity with formName argument, issues #135, #139, #140, #141. -
1.5.10
2016-12-13Fix UI Router issue by adding a UI Router watch on $stateChangeStart, issue #137 -
1.5.9
2016-10-14Updated main entry at package.json to work with WebPack, issue #128 -
1.5.7
2016-10-03Add Dutch and Romanian #134 -
1.5.6
2016-09-24Dates validator now checks for leap year & full date calendar, fix issue #130 -
1.5.5
2016-09-01If translation isn't loading & working correctly, it should throw an error. -
1.5.4
2016-07-29Fixed an issue with 3rd party validation not triggering a $scope.$watch. Also added new international phone validation (issue #125). -
1.5.3
2016-07-20Add C# validation annotation, (for example: maxLen => maxLength) -
1.5.2
2016-06-14Fixed #121 Alternate text containing the character ":" was causing unexpected displayed message. -
1.5.1
2016-03-10Fixed #111 Add US phone number & tweaked credit card rules. -
1.5.0
2016-02-23BREAKING CHANGE when fixing casing issue #107, ValidationService should start with uppercase. Changed to branch 1.5.x to announce major change. -
1.4.22
2016-02-02Merged pull request #106 to add Catalan translation locale and some fixes in the Spanish locale as well. Thanks @Naimikan -
1.4.21
2016-01-21Merged pull request #103 (extend Directive for revalidating) to fix request #102... thanks @tpeter1985. -
1.4.20
2016-01-17Enhancement #100 - Add Global Option (errorMessageSeparator) for a Separator between error messages. Enhancement #101 - Add Global Option (preValidateValidationSummary) to disable pre-validation in Validation Summary if need be. Also found and fixed a problem with a try-catch throw javascript error in Custom Validation. -
1.4.19
2016-01-04Fixed issue #99 support backslash insidealt(alternate message). IBAN should now be validated through custom validation with help of external library like Github arhs/iban.js as it was mentioned in issue #93 (thanks @pabx06 for providing support) -
1.4.18
2015-12-20Fixed issue #91 interpolation problem with remove validation doesn't work twice. Enhancement #98 possibility to use one validation or another (tell how many Validators are required for field to become valid). Enhancement #97 possibility to validate even on empty text field (useful oncustomandremotevalidation). Refined some Validators (IPV6 now include compressed/uncompressed addresses, added more Polish characters to other Validators). -
1.4.17
2015-12-15Fixed issue #92 input name with '.', enhancement #94 Polish characters, issue #96 in_list wasn't accepting special characters. -
1.4.16
2015-12-11Fixed issue #90 blinking error messages. -
1.4.15
2015-12-02Fixed issue #86 implicit global variable on regex. -
1.4.14
2015-11-15Added validation-callback (#79), added #81, #82. Added new validation-callback attribute, runs after the debounce/blur and validation are completed. -
1.4.13 Fixed issue #78 - 'strValue is not defined' error when using
maxauto-detect validator. -
1.4.12
2015-11-01Fixed a small issue with pulling the form name when trying to find the parent form of an input element. -
1.4.11
2015-10-29Enhancement #75 - Added custom rules validation through custom functions. Fixed issue #76 - problem with ui-mask in directive. -
1.4.10
2015-10-12Sanitized error messages. Fixed issue #69 - Stop when invalid characters typed on input[number]. -
1.4.9
2015-10-05Enhancement #57, #66, #67 - Added 3rd party addon validation (like ngTagsInput, Angular Multiselect, Dropdown multi-select, etc...) -
1.4.8
2015-09-12Fixed issue #68 - Matching validation issue (password confirmation). -
1.4.7
2015-09-08Fixed issue #65 - invalid return value on function String.format() -
1.4.6
2015-09-04Accepted pull #64 - Update Spanishes.jsontranslation file. -
1.4.5
2015-09-03Fixed issue #63 - Custom Regex pattern should be greedy (instead of non-greedy), this was causing a problem when user add a/in his pattern and was stopping on first occurence. -
1.4.4
2015-08-21Enhancement #59 - Added few Validators that are like Laravel for reusability. Theinandnot_inValidators are the most interesting. -
1.4.3
2015-08-18Fixed issue #58 - multiple ControllerAs with Route change giving error of 'undefined' on $validationSummary. -
1.4.2
2015-08-09Fixed Bootstrap UI (or any other tool) interference with Angular-Validation, in relation to issue #55. -
1.4.1
2015-08-09Fixed issue #56 - TextArea validation problem with ENTER key (newline). - [1.4.0] (https://github.com/ghiscoding/angular-validation/commit/113eb95cb8c97bb0845031c30ac3a40e5800f8df)
2015-08-06Tested with AngularJS 1.4.x branch. Also fixed issue #55 - ui bootsrap datepicker and angular-validation. -
1.3.39
2015-07-28Fixed issue #54 - display alt text as HTML instead of escaped text, changed from.text()to.html() -
1.3.38
2015-07-28Fixed issue #52 - Changed default behavior ofngDisabledwhich was displaying error message right after an element became enabled, it will still pre-validate but not directly show the error message unlesspreValidateFormElementsis set to True. Fixed issue #53 - To supportngIf(add a trigger on element$destroy). -
1.3.37
2015-07-21Fixed a small IE8 problem with "catch" being a reserved word -
1.3.36
2015-07-20Enhancement #47 - New option to use the ControllerAs syntax. Also fixed issue #48. -
1.3.35
2015-07-15Deprecated old implentation ofregex:...:regex(though it still works) by a new and much better implementation ofpattern=validator. Converted all the rules from string pattern to regex pattern (when possible) defined inangular-validation.js. Also fixed issue #45 on email check. -
1.3.34
2015-07-08Merge pull request #44 - Adding support to brazilian portuguese language. -
1.3.33
2015-07-02Reset isolatedScope on route change -
1.3.32
2015-06-24Merged pull request #41 and fixed errors inside it, updated Protractor test as well. -
1.3.31
2015-06-20Enhancement #39 - How to Reset a Form, added Protractor tests to cover this new functionality. -
1.3.30
2015-06-15Merged pull request #40 - Polish translations -
1.3.29
2015-06-10Added RemoveValidator() for Directive, added Protractor tests on RemoveValidator() for both the Directive and Service. Fixed ngDisabled not working correctly in Service, added Protractor tests for ngDisabled On/Off in both Directive and Service -
1.3.28
2015-06-04Fixed a bug with ngDisabled not being interpreted before observing it (ng-disabled="vm.type == 1" would give false result because it was not being interpreted), added Protractor Test for this behavior in 2Forms page. AddeddisplayOnlyLastErrorMsgin the list of Global Options. Cleaned up a lot of code. -
1.3.27
2015-06-02Added possibility to use own isolated scope (issue #37 and #26). Fixed an implementation issue found from last revision (issue #35). Fixed email validation (issue #38). Fixed a performance issue found with onBlur which would run as much validations as there was characters inside the input when onBlur was called (abcdef => would make 6 validations) and this was extremely costly with a Remote validation call. Update the code of Remote validation to also accept the "As" alias "remote:vm.customRemoteValidation". Finally added and updated a few Protractor tests to cover all of the above and more. -
1.3.26
2015-05-30Added enhancement #35 - PreValidate the Form, display all errors on page load. -
1.3.25
2015-05-19Enhancement #34 to add Remote Validation and updated Protractor to cover this new feature. -
1.3.24
2015-05-17Replaced all:paraminside each locale translations with a better standard of {0}, {1}, etc.. like C#String.Format(). Added a full Protractor End-to-End test suite (1000+ asserts). Fixed a few minor bugs found with Protractor test cases. Fixed issue #36, bower.json scripts in wrong order. -
1.3.23
2015-05-05Added option to display only last error message instead of all messages at once. Fixed a bug where changing route on View/Controller would make the ValidationSummary fail when coming back to original View/Controller, this bug was associated to the fact that the ValidationSummary kept growing from Controller to Controller, now this ValidationSummary is wipe out as soon as we detect a route change. -
1.3.22
2015-05-03Added new element attribute offriendly-namewhich is used ONLY in the ValidationSummary, this friendly name is to give a better element name display, which also support translation, inside the ValidationSummary instead of just "input1" (see ValidationSummary for more details). -
1.3.21
2015-04-29Moved the Alternate Text inside the $translate promise as well which removes possible delay of non-translated text appearing as alternate text (this will not affect regular text, or already translated text). Also cleanup code and made my Gulp task even more automated. -
1.3.20
2015-04-21Fixed issue #26 - validation of forms inside ng-repeat (added sampledynamicFormViewinmore-examplesfolder). And again issue #28 - unbind all 'blur' in cancelValidation() might affect other modules. -
1.3.19
2015-04-20Fixed issue #28 - unbind all 'blur' in cancelValidation() might affect other modules -
1.3.18
2015-04-19Fixed issue #20 - Error messages shown on submit are non-understandable, this was fixed using $translate promises instead of $translate.instant(). Fixed a few error display on the validationSummary() and checkFormValidity(). Also merged #27 to add Russian -
1.3.17
2015-04-11Added global$scope.$validationOptionsGlobal Options object, for now only has thedebounceproperty that be used by both the Directive and Service. -
1.3.16
2015-04-09Accept Merge #3 Fixed removeFromValidationSummary to also remove from 'local' array -
1.3.15
2015-04-08Fixed #23 If multiple forms exist in the app the errors in 1 form affect validation in the other -
1.3.14
2015-04-07Merge pull request #19 Added norwegian translation and changes to allow user to remove invalid validators -
1.3.13
2015-04-06Fixed $translate delay issue when using external JSON files -
1.3.12
2015-04-04Fix issue #16 and added Validators Alternate Text option on all type of validators. Also fixed removeValidator and clean a lot of code. -
1.3.11
2015-03-30Accepted pull request #15 to fix form without name attribute. Also accepted pull request #18 to add Spanish locales. -
1.3.10
2015-03-29Added new function ofcheckFormValidity()before submitting the form. Now use only 1 minified script instead of multiples. -
1.3.9
2015-03-21Added validation summary through 2 new and equivalent properties$scope.$validationSummaryand$scope.formName.$validationSummary. Also addedbowerandgulpsupport, the Gulp script gives minified files. -
1.3.8
2015-03-15Added between/min/max conditional validators on all Date types (iso, euro_long, euro_short, us_long, us_short) -
1.3.7
2015-03-08Complete rewrite (but same functionality) so that I could add an Angular-Validation Service which is similar implementation as the Directive. Also addeddebounceattribute which is an alias totypingLimit, validation rules are now defined as an external service for better maintainability and also created a common file for shared functions by both Validation Directive and Service. -
1.3.6
2015-02-09Addedng-strict-difor minification, renamed some files and folder lib to/vendors, moved directive into new/srcfolder for better separation. -
1.3.5
2015-01-26Throw an error message when user did not provide aname=""property inside the element to validate. -
1.3.4
2015-01-06Removed the necessity of creating a<span>for displaying the error message, the directive now handles it by itself. -
1.3.3
2015-01-04Added changelog & updated Bootstrap(3.3.1), AngularJS(1.3.7) to latest versions -
1.3.2
2015-01-03Float number validator to also permit dot (.) as first character. Also removed keyboard blocking of invalid character on input type="number" now displays error message. -
1.3.1
2015-01-02Added Input Match/Confirmation Validator, ex: password confirmation. -
1.3.0
2014-12-01Added support to AngularJS 1.3
Contents
- Angular-Validation Wiki
- Installation
- Demo
- Code Samples
- Functionalities
- Custom Validations
- Properties & Options
- Validators
- Tests
- Misc