Skip to content

Latest commit

 

History

History
184 lines (125 loc) · 5.6 KB

changelog.md

File metadata and controls

184 lines (125 loc) · 5.6 KB

angular-input-modified changelog

Version 2.0.2

(23 January 2015)

Changes

Version 2.0.1

(04 January 2015)

Changes

  • #7: "Array and object models are not compared using deep comparison" (thanks to Vaibhav). angular.equals() method is now used to deeply compare objects

  • Added demo for select field with multiple option

Version 2.0.0

(04 January 2015)

Backward-incompatible changes

The following public-properties of the form controller are no longer considered public, you should not relay on them, cause their behavior can change in the future:

  • ngForm.modifiedCount - can show a bigger number now, cause it indicates all modified input elements (including all radio buttons)
  • ngForm.modifiedModels - now contains list of references to the modified models instead of just model names

If you still need this functionality - please create an issue to discuss this.

Also, form initialization strategy has changed - please see the Form initialization section of the README.

Changes

  • #8: "Doesn't work when bound object member isn't set" (thanks to Chris Yates). We are now using a more robust way to initialize master value (initialization flag)

  • #5: "Issues with ng-repeat" (thanks to @prudd). We are now storing a list of references to the modified model controllers instead of their names

  • Updated all demos

  • All dependencies for demos are now included with Bower

  • Added ngRepeat example to the repository

  • Updated README

Version 1.2.0

(12 November 2014)

Changes

  • #4: "Doesn't work with Ui-Bootstrap's Timepicker" (thanks to @prudd)

  • #2: "Fixed ngModel existence check". Issue revisited. Implemented general solution for both 1.2.x and 1.3.x branches of AngularJS

  • Added configuration provider

  • Introduced ability to disable directive globally

  • Introduced ability to enable directive only for specific elements or forms

  • CSS classes are now configurable

  • Added demos to the repository

  • Added Gulp task to deploy demos to GitHub Pages

  • Updated README

Version 1.1.6

(10 November 2014)

Changes

  • #2: "Fixed ngModel existence check" (thanks to @atte-backman)

  • #3: "Crashes if model property does not exists when eval() in reset function" (thanks to @kornalius). Fixed a problem when ngModel pointing to a missing variable will cause exception when input is reset

  • Done some minor refactoring

  • Updated Demo Plunk

Version 1.1.5

(29 October 2014)

Changes

  • AngularJS 1.3 is now tested and supported
  • Updated Demo plunk

Version 1.1.4

(25 October 2014)

Changes

  • Removed unused gulp-clean dependency
  • Fixed an issue where form modification state will not be properly updated after a call to form's $setPristine() method

Version 1.1.3

(13 October 2014)

Changes

  • Done some serious refactoring. Low-level details moved to a separate functions, so the main logic became more abstract and readable. Performance and memory footprint should also improve

  • Fixed bug when empty element would not recover it's master value when reset is invoked on the parent form

  • Introduced distribution files (normal and minified versions) and a proper build process using Gulp

  • Improved README

Version 1.1.2

(13 October 2014)

Changes

  • Updated README (no code changes)
  • Added new Demo via Plunker

Version 1.1.1

(08 October 2014)

Changes

  • Updated versioning (no code changes)

Version 1.1.0

(30 May 2014)

Changes

  • Improved initialization code
  • Updated comparison function to allow more weak comparison like "1" (string) and 1 (integer)
  • Fixed bug with $setPristine method, now it should work correctly in all cases
  • Improved modification tracking
  • Added property ngForm.modifiedModels (list of names for modified models)
  • Demo updated

Version 1.0.0

(18 May 2014)

Changes

  • Public API stabilized