Skip to content

Latest commit

 

History

History
238 lines (147 loc) · 6.6 KB

File metadata and controls

238 lines (147 loc) · 6.6 KB

angular-input-modified changelog

Version 2.4.0

(10 Apr 2017)

  • State of the form is now properly updated when child form is removed from the DOM

Version 2.3.2

(15 Feb 2016)

  • Added CommonJS support

Version 2.3.1

(10 Feb 2016)

  • Refactored reset() functionality, it is much more reliable now

Version 2.3.0

(26 Dec 2015)

  • Added form change event

Version 2.2.5

(30 Jul 2015)

  • Added mechanism for model's value stabilization. This is required for some directives like Angular UI TinyMCE. Also, see this issue

Version 2.2.0

(02 May 2015)

  • Addition of the modifiable behavior now can be fully controlled via bsModifiable directive

Version 2.1.0

(27 April 2015)

  • Nested forms are now fully-supported
  • Improved internal design and performance of the library

Version 2.0.5

(27 April 2015)

  • Fixed an issue where elements were used without a parent form

Version 2.0.4

(24 April 2015)

  • Fixed Angular annotations (all files in dist directory is now properly annotated)

Version 2.0.3

(19 April 2015)

  • Module split into several smaller files for ease of development

Version 2.0.2

(23 January 2015)

Version 2.0.1

(04 January 2015)

  • #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)

  • #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)

  • #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)

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

Version 1.1.4

(25 October 2014)

  • 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)

  • 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)

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

Version 1.1.1

(08 October 2014)

  • Updated versioning (no code changes)

Version 1.1.0

(30 May 2014)

  • 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)

  • Public API stabilized