diff --git a/CHANGELOG.md b/CHANGELOG.md index 706c71ba..0012f08b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +### 2.0.1 (2014-04-13) + +#### Bug Fixes + +* **autocomplete:** + * Escape regex metachars when highlighting ([e3c695f2](https://github.com/mbenford/ngTagsInput/commit/e3c695f26f96ab642a4a1f1129638e763b84b231), [#124](https://github.com/mbenford/ngTagsInput/issues/124)) + * Fix autocomplete navigation when maxResultsToShow is set ([d95d35e8](https://github.com/mbenford/ngTagsInput/commit/d95d35e814099d74355ed431e85a957d39ec4745), [#109](https://github.com/mbenford/ngTagsInput/issues/109)) + * Fix memory leak ([ba3a1a56](https://github.com/mbenford/ngTagsInput/commit/ba3a1a563d99894f381e4a29f3a1753a540ff453), [#118](https://github.com/mbenford/ngTagsInput/issues/118)) +* **autosize:** Re-size input when placeholder changes ([0eacc964](https://github.com/mbenford/ngTagsInput/commit/0eacc9647ed7b12fac8db23cb711bb6c38a8c31a), [#110](https://github.com/mbenford/ngTagsInput/issues/110)) + ## v2.0.0 (2014-03-26) #### Bug Fixes diff --git a/build/ng-tags-input.js b/build/ng-tags-input.js index dd83cd71..66dbea94 100644 --- a/build/ng-tags-input.js +++ b/build/ng-tags-input.js @@ -5,7 +5,7 @@ * Copyright (c) 2013-2014 Michael Benford * License: MIT * - * Generated at 2014-04-13 21:10:46 -0300 + * Generated at 2014-04-13 21:25:38 -0300 */ (function() { 'use strict'; @@ -75,7 +75,8 @@ var tagsInput = angular.module('ngTagsInput', []); /** * @ngdoc directive - * @name tagsInput.directive:tagsInput + * @name tagsInput + * @module ngTagsInput * * @description * Renders an input box with tag editing support. @@ -96,7 +97,7 @@ var tagsInput = angular.module('ngTagsInput', []); * @param {boolean=} [addOnComma=true] Flag indicating that a new tag will be added on pressing the COMMA key. * @param {boolean=} [addOnBlur=true] Flag indicating that a new tag will be added when the input field loses focus. * @param {boolean=} [replaceSpacesWithDashes=true] Flag indicating that spaces will be replaced with dashes. - * @param {string=} [allowedTagsPattern=^[a-zA-Z0-9\s]+$] Regular expression that determines whether a new tag is valid. + * @param {string=} [allowedTagsPattern=.+] Regular expression that determines whether a new tag is valid. * @param {boolean=} [enableEditingLastTag=false] Flag indicating that the last tag will be moved back into * the new tag input box instead of being removed when the backspace key * is pressed and the input box is empty. @@ -371,7 +372,8 @@ tagsInput.directive('tagsInput', ["$timeout","$document","tagsInputConfig", func /** * @ngdoc directive - * @name tagsInput.directive:autoComplete + * @name autoComplete + * @module ngTagsInput * * @description * Provides autocomplete support for the tagsInput directive. @@ -605,7 +607,8 @@ tagsInput.directive('autoComplete', ["$document","$timeout","$sce","tagsInputCon /** * @ngdoc directive - * @name tagsInput.directive:tiTranscludeAppend + * @name tiTranscludeAppend + * @module ngTagsInput * * @description * Re-creates the old behavior of ng-transclude. Used internally by tagsInput directive. @@ -620,7 +623,8 @@ tagsInput.directive('tiTranscludeAppend', function() { /** * @ngdoc directive - * @name tagsInput.directive:tiAutosize + * @name tiAutosize + * @module ngTagsInput * * @description * Automatically sets the input's width so its content is always visible. Used internally by tagsInput directive. @@ -674,7 +678,8 @@ tagsInput.directive('tiAutosize', function() { /** * @ngdoc service - * @name tagsInput.service:tagsInputConfig + * @name tagsInputConfig + * @module ngTagsInput * * @description * Sets global configuration settings for both tagsInput and autoComplete directives. It's also used internally to parse and @@ -687,7 +692,7 @@ tagsInput.provider('tagsInputConfig', function() { * @ngdoc method * @name setDefaults * @description Sets the default configuration option for a directive. - * @methodOf tagsInput.service:tagsInputConfig + * @methodOf tagsInputConfig * * @param {string} directive Name of the directive to be configured. Must be either 'tagsInput' or 'autoComplete'. * @param {object} defaults Object containing options and their values. @@ -703,7 +708,7 @@ tagsInput.provider('tagsInputConfig', function() { * @ngdoc method * @name setActiveInterpolation * @description Sets active interpolation for a set of options. - * @methodOf tagsInput.service:tagsInputConfig + * @methodOf tagsInputConfig * * @param {string} directive Name of the directive to be configured. Must be either 'tagsInput' or 'autoComplete'. * @param {object} options Object containing which options should have interpolation turned on at all times.