# 1.1.5 triangle-squarification (2013-05-22) _Note: 1.1.x releases are [considered unstable](http://blog.angularjs.org/2012/07/angularjs-10-12-roadmap.html). They pass all tests but we reserve the right to change new features/apis in between minor releases. Check them out and please give us feedback._ _Note: This release also contains all bug fixes available in [1.0.7](#1.0.7)._ ## Features - **$animator:** - provide support for custom animation events ([c53d4c94](https://github.com/angular/angular.js/commit/c53d4c94300c97dd005f9a0cbdbfa387294b9026)) - allow to globally disable and enable animations ([5476cb6e](https://github.com/angular/angular.js/commit/5476cb6e9b6d7a16e3a86585bc2db5e63b16cd4d)) - **$http:** - add support for aborting via timeout promises ([9f4f5937](https://github.com/angular/angular.js/commit/9f4f5937112655a9881d3281da8e72035bc8b180), [#1159](https://github.com/angular/angular.js/issues/1159)) - add a default content type header for PATCH requests ([f9b897de](https://github.com/angular/angular.js/commit/f9b897de4b5cc438515cbb54519fbdf6242f5858)) - add timeout support for JSONP requests ([cda7b711](https://github.com/angular/angular.js/commit/cda7b71146f6748116ad5bbc9050ee7e79a9ce2b)) - **$parse:** add support for ternary operators to parser ([6798fec4](https://github.com/angular/angular.js/commit/6798fec4390a72b7943a49505f8a245b6016c84b)) - **$q:** add $q.always() method ([6605adf6](https://github.com/angular/angular.js/commit/6605adf6d96cee2ef53dfad24e99d325df732cab)) - **$controller:** support "Controller as" syntax ([cd38cbf9](https://github.com/angular/angular.js/commit/cd38cbf975b501d846e6149d1d993972a1af0053), [400f9360](https://github.com/angular/angular.js/commit/400f9360bb2f7553c5bd3b1f256a5f3db175b7bc)) - **$injector:** add `has` method for querying ([80341cb9](https://github.com/angular/angular.js/commit/80341cb9badd952fdc80094df4123629313b4cc4), [#2556](https://github.com/angular/angular.js/issues/2556)) - **Directives:** - **ngAnimate:** - add support for CSS3 Animations with working delays and multiple durations ([14757874](https://github.com/angular/angular.js/commit/14757874a7cea7961f31211b245c417bd4b20512)) - cancel previous incomplete animations when new animations take place ([4acc28a3](https://github.com/angular/angular.js/commit/4acc28a310d006c62afe0de8ec82fed21c98c2d6)) - **ngSrcset:** add new ngSrcset directive ([d551d729](https://github.com/angular/angular.js/commit/d551d72924f7c43a043e4760ff05d7389e310f99), [#2601](https://github.com/angular/angular.js/issues/2601)) - **ngIf:** add directive to remove and recreate DOM elements ([2f96fbd1](https://github.com/angular/angular.js/commit/2f96fbd17577685bc013a4f7ced06664af253944)) - **select:** match options by expression other than object identity ([c32a859b](https://github.com/angular/angular.js/commit/c32a859bdb93699cc080f9affed4bcff63005a64)) - **ngInclude:** $includeContentRequested event ([af0eaa30](https://github.com/angular/angular.js/commit/af0eaa304748f330739a4b0aadb13201126c5407)) - **Mobile:** - **ngClick:** Add a CSS class while the element is held down via a tap ([52a55ec6](https://github.com/angular/angular.js/commit/52a55ec61895951999cb0d74e706725b965e9c9f)) - **ngSwipe:** Add ngSwipeRight/Left directives to ngMobile ([5e0f876c](https://github.com/angular/angular.js/commit/5e0f876c39099adb6a0300c429b8df1f6b544846)) - **docs:** - Add FullText search to replace Google search in docs ([3a49b7ee](https://github.com/angular/angular.js/commit/3a49b7eec4836ec9dc1588e6cedda942755dc7bf)) - external links to github, plunkr and jsfiddle available for code examples ([c8197b44](https://github.com/angular/angular.js/commit/c8197b44eb0b4d49acda142f4179876732e1c751)) - add variable type hinting with colors ([404c9a65](https://github.com/angular/angular.js/commit/404c9a653a1e28de1c6dda996875d6616812313a)) - support for HTML table generation from docs code ([b3a62b2e](https://github.com/angular/angular.js/commit/b3a62b2e19b1743df52034d4d7a0405e6a65f925)) - **scenario runner:** adds mousedown and mouseup event triggers to scenario ([629fb373](https://github.com/angular/angular.js/commit/629fb37351ce5778a40a8bc8cd7c1385b382ce75)) ## Bug Fixes - **$animator:** remove dependency on window.setTimeout ([021bdf39](https://github.com/angular/angular.js/commit/021bdf3922b6525bd117e59fb4945b30a5a55341)) - **$controller:** allow dots in a controller name ([de2cdb06](https://github.com/angular/angular.js/commit/de2cdb0658b8b8cff5a59e26c5ec1c9b470efb9b)) - **$location:** - prevent navigation when event isDefaultPrevented ([2c69a673](https://github.com/angular/angular.js/commit/2c69a6735e8af5d1b9b73fd221274d374e8efdea)) - compare against actual instead of current URL ([a348e90a](https://github.com/angular/angular.js/commit/a348e90aa141921b914f87ec930cd6ebf481a446)) - prevent navigation if already on the URL ([4bd7bedf](https://github.com/angular/angular.js/commit/4bd7bedf48c0c1ebb62f6bd8c85e8ea00f94502b)) - fix URL interception in hash-bang mode ([58ef3230](https://github.com/angular/angular.js/commit/58ef32308f45141c8f7f7cc32a6156cd328ba692), [#1051](https://github.com/angular/angular.js/issues/1051)) - correctly rewrite Html5 urls ([77ff1085](https://github.com/angular/angular.js/commit/77ff1085554675f1a8375642996e5b1e51f9ed2d)) - **$resource:** - null default param results in TypeError ([cefbcd47](https://github.com/angular/angular.js/commit/cefbcd470d4c9020cc3487b2326d45058ef831e2)) - collapse empty suffix parameters correctly ([53061363](https://github.com/angular/angular.js/commit/53061363c7aa1ab9085273d269c6f04ac2162336)) - **$rootScope:** ensure $watchCollection correctly handles arrayLike objects ([6452707d](https://github.com/angular/angular.js/commit/6452707d4098235bdbde34e790aee05a1b091218)) - **date filter:** correctly format dates with more than 3 sub-second digits ([4f2e3606](https://github.com/angular/angular.js/commit/4f2e36068502f18814fee0abd26951124881f951)) - **jqLite:** pass a dummy event into triggerHandler ([0401a7f5](https://github.com/angular/angular.js/commit/0401a7f598ef9a36ffe1f217e1a98961046fa551)) - **Directives:** - **ngAnimate:** - eval ng-animate expression on each animation ([fd21c750](https://github.com/angular/angular.js/commit/fd21c7502f0a25364a810c26ebeecb678e5783c5)) - prevent animation on initial page load ([570463a4](https://github.com/angular/angular.js/commit/570463a465fae02efc33e5a1fa963437cdc275dd)) - skip animation on first render ([1351ba26](https://github.com/angular/angular.js/commit/1351ba2632b5011ad6eaddf004a7f0411bea8453)) - **ngPattern:** allow modifiers on inline ng-pattern ([12b6deb1](https://github.com/angular/angular.js/commit/12b6deb1ce99df64e2fc91a06bf05cd7f4a3a475), [#1437](https://github.com/angular/angular.js/issues/1437)) - **ngRepeat:** - correctly iterate over array-like objects ([1d8e11dd](https://github.com/angular/angular.js/commit/1d8e11ddfbd6b08ff02df4331f6df125f49da3dc), [#2546](https://github.com/angular/angular.js/issues/2546)) - prevent initial duplicates ([a0bc71e2](https://github.com/angular/angular.js/commit/a0bc71e27107c58282e71415c4e8d89e916ae99c)) - **ngView:** accidentally compiling leaving content ([9956baed](https://github.com/angular/angular.js/commit/9956baedd73d5e8d0edd04c9eed368bd3988444b)) - **scenario runner:** correct bootstrap issue on IE ([ab755a25](https://github.com/angular/angular.js/commit/ab755a25f9ca3f3f000623071d8de3ddc4b1d78e)) ## Breaking Changes - **$animator/ngAnimate:** due to [11f712bc](https://github.com/angular/angular.js/commit/11f712bc3e310302eb2e8691cf6d110bdcde1810), css transition classes changed from `foo-setup`/`foo-start` to `foo`/`foo-active` The CSS transition classes have changed suffixes. To migrate rename .foo-setup {...} to .foo {...} .foo-start {...} to .foo-active {...} or for type: enter, leave, move, show, hide .foo-type-setup {...} to .foo-type {...} .foo-type-start {...} to .foo-type-active {...} - **$resource:** due to [53061363](https://github.com/angular/angular.js/commit/53061363c7aa1ab9085273d269c6f04ac2162336), a `/` followed by a `.`, in the last segment of the URL template is now collapsed into a single `.` delimiter. For example: `users/.json` will become `users.json`. If your server relied upon this sequence then it will no longer work. In this case you can now escape the `/.` sequence with `/\.` # 1.0.7 monochromatic-rainbow (2013-05-22) ## Bug Fixes - **$browser:** should use first value for a cookie. ([3952d35a](https://github.com/angular/angular.js/commit/3952d35abe334a0e6afd1f6e34a74d984d1e9d24), [#2635](https://github.com/angular/angular.js/issues/2635)) - **$cookieStore:** $cookieStore.get now parses blank string as blank string ([cf4729fa](https://github.com/angular/angular.js/commit/cf4729faa3e6e0a5178e2064a6f3cfd345686554)) - **$location:** back-button should fire $locationChangeStart ([dc9a5806](https://github.com/angular/angular.js/commit/dc9a580617a838b63cbf5feae362b6f9cf5ed986), [#2109](https://github.com/angular/angular.js/issues/2109)) - **$parse:** Fix context access and double function call ([7812ae75](https://github.com/angular/angular.js/commit/7812ae75d578314c1a285e9644fc75812940eb1d), [#2496](https://github.com/angular/angular.js/issues/2496)) - **dateFilter:** correctly format ISODates on Android<=2.1 ([f046f6f7](https://github.com/angular/angular.js/commit/f046f6f73c910998a94f30a4cb4ed087b6325485), [#2277](https://github.com/angular/angular.js/issues/2277)) - **jqLite:** correct implementation of mouseenter/mouseleave event ([06f2b2a8](https://github.com/angular/angular.js/commit/06f2b2a8cf7e8216ad9ef05f73426271c2d97faa), [#2131](https://github.com/angular/angular.js/issues/2131)) - **angular.copy/angular.extend:** do not copy $$hashKey in copy/extend functions. ([6d0b325f](https://github.com/angular/angular.js/commit/6d0b325f7f5b9c1f3cfac9b73c6cd5fc3d1e2af0), [#1875](https://github.com/angular/angular.js/issues/1875)) - **i18n:** escape all chars above \u007f in locale files ([695c54c1](https://github.com/angular/angular.js/commit/695c54c17b3299cd6170c45878b41cb46a577cd2), [#2417](https://github.com/angular/angular.js/issues/2417)) - **Directives:** - **ngPluralize:** handle the empty string as a valid override ([67a4a25b](https://github.com/angular/angular.js/commit/67a4a25b890fada0043c1ff98e5437d793f44d0c), [#2575](https://github.com/angular/angular.js/issues/2575)) - **select:** ensure empty option is not lost in IE9 ([4622af3f](https://github.com/angular/angular.js/commit/4622af3f075204e2d5ab33d5bd002074f2d940c9), [#2150](https://github.com/angular/angular.js/issues/2150)) - **ngModel:** use paste/cut events in IE to support context menu ([363e4cbf](https://github.com/angular/angular.js/commit/363e4cbf649de4c5206f1904ee76f89301ceaab0), [#1462](https://github.com/angular/angular.js/issues/1462)) - **ngClass:** should remove classes when object is the same but property has changed ([0ac969a5](https://github.com/angular/angular.js/commit/0ac969a5ee1687cfd4517821943f34fe948bb3fc)) - **PhoneCat Tutorial:** renamed Testacular to Karma ([angular-phonecat](https://github.com/angular/angular-phonecat)) # 1.1.4 quantum-manipulation (2013-04-03) _Note: 1.1.x releases are [considered unstable](http://blog.angularjs.org/2012/07/angularjs-10-12-roadmap.html). They pass all tests but we reserve the right to change new features/apis in between minor releases. Check them out and please give us feedback._ _Note: This release also contains all bug fixes available in [1.0.6](#1.0.6)._ ## Features - **$compile:** - allow directives to modify interpolated attributes ([fe8d893b](https://github.com/angular/angular.js/commit/fe8d893b839e9b14e3e55a3a0523cc1e6355bdd5)) - support for dynamic template generation ([eb53423a](https://github.com/angular/angular.js/commit/eb53423a41136fcda0c5e711f2d104952080354b)) - add attribute binding support via ngAttr* ([cf17c6af](https://github.com/angular/angular.js/commit/cf17c6af475eace31cf52944afd8e10d3afcf6c0), [#1050](https://github.com/angular/angular.js/issues/1050), [#1925](https://github.com/angular/angular.js/issues/1925)) - `'=?'` makes `'='` binding optional ([ac899d0d](https://github.com/angular/angular.js/commit/ac899d0da59157fa1c6429510791b6c3103d9401), [#909](https://github.com/angular/angular.js/issues/909), [#1435](https://github.com/angular/angular.js/issues/1435)) - **$q:** `$q.all()` now accepts hash ([e27bb6eb](https://github.com/angular/angular.js/commit/e27bb6eb132a68665c8fca3f5a216b19b1129ba6)) - **$resource:** ability to override url in resource actions ([60f1f099](https://github.com/angular/angular.js/commit/60f1f099fc7e5197808cd6acb7407cdc40f50a3f)) - **$route:** add `caseInsensitiveMatch` option for url matching ([5e18a15f](https://github.com/angular/angular.js/commit/5e18a15fb01d2e81adda68503754289fa9655082)) - **http:** - support request/response promise chaining ([4ae46814](https://github.com/angular/angular.js/commit/4ae46814ff4e7c0bbcdbbefc0a97277283a84065)) - set custom default cache in $http.defaults.cache ([99f3b70b](https://github.com/angular/angular.js/commit/99f3b70b2d316f5bb39e21249e752c29f49c90ab)) - **JQLite:** `ready()` now supports `document.readyState=='complete'` ([753fc9e5](https://github.com/angular/angular.js/commit/753fc9e58d5e554d4930548558efecc283557eeb)) - **Scenario:** autodisable animations when running e2e tests ([fec4ef38](https://github.com/angular/angular.js/commit/fec4ef38815340e8e5a6b65fd6c08f5c74e701d8)) - **Scope:** add `$watchCollection` method for observing collections ([5eb96855](https://github.com/angular/angular.js/commit/5eb968553a1130461ab8704535691e00eb154ac2)) - **angular.bootstrap:** support deferred bootstrap (mainly useful for tools like test runners and Batarang) ([603fe0d1](https://github.com/angular/angular.js/commit/603fe0d19608ffe1915d8bc23bf412912e7ee1ac)) - **ngMobile:** add ngMobile module with mobile-specific ngClick ([707c65d5](https://github.com/angular/angular.js/commit/707c65d5a228b44ab3aea2fad95516fe6c57169a)) - **Directives:** - **ngKeypress:** add ngKeypress directive for handling keypress event ([f20646bc](https://github.com/angular/angular.js/commit/f20646bce5f0c914992a78fc2556bda136c27ac9)) - **ngSwitch:** Preserve the order of the elements not in the ng-switch ([e88d6179](https://github.com/angular/angular.js/commit/e88d6179c3a6a137e75fa09de906fc83c6515db2), [#1074](https://github.com/angular/angular.js/issues/1074)) - **ngAnimate:** add support for animation ([0b6f1ce5](https://github.com/angular/angular.js/commit/0b6f1ce5f89f47f9302ff1e8cd8f4b92f837c413)) - **ngRepeat:** add support for custom tracking of items ([61f2767c](https://github.com/angular/angular.js/commit/61f2767ce65562257599649d9eaf9da08f321655)) ## Breaking Changes - **$route:** due to [6f71e809](https://github.com/angular/angular.js/commit/6f71e809141bf89501e55c378921d6e7ec9512bc), in $routeChangeStart event, nextRoute.$route property is gone. Use the nextRoute object itself instead of nextRoute.$route. - **ngRepeat:** due to [61f2767c](https://github.com/angular/angular.js/commit/61f2767ce65562257599649d9eaf9da08f321655), it is now considered an error to have two identical items (identified by the new "track by" expression) in a collection that is fed into the repeater. This behavior was previously tolerated. - **ngSwitch:** due to [e88d6179](https://github.com/angular/angular.js/commit/e88d6179c3a6a137e75fa09de906fc83c6515db2), elements not in the ng-switch were rendered after the ng-switch elements. Now they are rendered in-place. Templates with ngSwitch directives and nested non-ngSwitchWhen elements should be updated to preserve render order. For example: The following was previously rendered with `
  • 1
  • ` after `
  • 2
  • `: To keep the old behaviour, use: # 1.0.6 universal-irreversibility (2013-04-04) ## Bug Fixes - **$compile:** - compile replace directives in external template ([398691be](https://github.com/angular/angular.js/commit/398691beb3fc40a481afa258d181de06ec0d153c), [#1859](https://github.com/angular/angular.js/issues/1859)) - whitelist file:// in url sanitization ([7b236b29](https://github.com/angular/angular.js/commit/7b236b29aa3a6f6dfe722815e0a2667d9b7f0899)) - handle elements with no childNodes property ([bec614fd](https://github.com/angular/angular.js/commit/bec614fd90c48c3921a4b659912008574e553b40)) - **$http:** don't encode URL query substring "null" to "+" ([86d191ed](https://github.com/angular/angular.js/commit/86d191ed4aea9015adc71b852223475c5c762c34)) - **$httpBackend:** prevent DOM err due to dereferencing .responseText ([509ec745](https://github.com/angular/angular.js/commit/509ec745fdbb54b54672fbf8595a4958c16f2b53), [#1922](https://github.com/angular/angular.js/issues/1922)) - **$location:** - parse FirefoxOS packaged app urls ([3a81dd8b](https://github.com/angular/angular.js/commit/3a81dd8bddbade81c4c9f734813458d0d969a4bf), [#2112](https://github.com/angular/angular.js/issues/2112)) - correctly rewrite html5 url to hashbang url ([9befe370](https://github.com/angular/angular.js/commit/9befe37014141fbfdf0cded318d28322fc058c13)) - **$route:** make nextRoute.$route private ([6f71e809](https://github.com/angular/angular.js/commit/6f71e809141bf89501e55c378921d6e7ec9512bc), [#1907](https://github.com/angular/angular.js/issues/1907)) - **mocks:** prevent NPE when module definition outside of it. ([5c735eb4](https://github.com/angular/angular.js/commit/5c735eb4ab07144a62949472ed388cb185099201)) - **dateFilter:** correct timezone date filter for 1/2 hour offsets ([1c1cd4fd](https://github.com/angular/angular.js/commit/1c1cd4fdf6b6d7511c7b8dc61b8042011dc54830)) # 1.1.3 radioactive-gargle (2013-02-20) _Note: 1.1.x releases are [considered unstable](http://blog.angularjs.org/2012/07/angularjs-10-12-roadmap.html). They pass all tests but we reserve the right to change new features/apis in between minor releases. Check them out and please give us feedback._ _Note: This release also contains all bug fixes available in [1.0.5](#1.0.5)._ ## Bug Fixes - **$compile:** - initialize interpolated attributes before directive linking ([bb8448c0](https://github.com/angular/angular.js/commit/bb8448c011127306df08c7479b66e5afe7a0fa94)) - interpolate @ locals before the link function runs ([2ed53087](https://github.com/angular/angular.js/commit/2ed53087d7dd06d728e333a449265f7685275548)) - **$http:** - do not encode special characters `@$:,` in params ([288b69a3](https://github.com/angular/angular.js/commit/288b69a314e9bd14458b6647532eb62aad5c5cdf)) - **$resource:** - params should expand array values properly ([2a212344](https://github.com/angular/angular.js/commit/2a2123441c2b749b8f316a24c3ca3f77a9132a01)) ## Features - **$http:** allow overriding the XSRF header and cookie name ([8155c3a2](https://github.com/angular/angular.js/commit/8155c3a29ea0eb14806913b8ac08ba7727e1969c)) - **$parse:** added `constant` and `literal` properties ([1ed63858](https://github.com/angular/angular.js/commit/1ed638582d2f2c7f89384d9712f4cfac52cc5b70)) - **$resource:** expose promise based api via $then and $resolved ([dba6bc73](https://github.com/angular/angular.js/commit/dba6bc73e802fdae685a9f351d3e23c7efa8568a)) - **$routeProvider:** add support to catch-all parameters in routes ([7eafbb98](https://github.com/angular/angular.js/commit/7eafbb98c64c0dc079d7d3ec589f1270b7f6fea5)) - **Scope:** - expose transcluded and isolate scope info for batarang ([649b8922](https://github.com/angular/angular.js/commit/649b892205615a144dafff9984c0e6ab10ed341d)) - only evaluate constant $watch expressions once ([1d7a95df](https://github.com/angular/angular.js/commit/1d7a95df565192fc02a18b0b297b39dd615eaeb5)) - **angular.noConflict:** added api to restore previous angular namespace reference ([12ba6cec](https://github.com/angular/angular.js/commit/12ba6cec4fb79521101744e02a7e09f9fbb591c4)) - **Directives:** - **ngSwitch:** support multiple matches on ngSwitchWhen and ngSwitchDefault ([0af17204](https://github.com/angular/angular.js/commit/0af172040e03811c59d01682968241e3df226774), [#1074](https://github.com/angular/angular.js/issues/1074)) - **Filters:** - **date:** add `[.,]sss` formatter for milliseconds ([df744f3a](https://github.com/angular/angular.js/commit/df744f3af46fc227a934f16cb63c7a6038e7133b)) - **filter:** add comparison function to filter ([ace54ff0](https://github.com/angular/angular.js/commit/ace54ff08c4593195b49eadb04d258e6409d969e)) ## Breaking Changes - **$http:** due to [288b69a3](https://github.com/angular/angular.js/commit/288b69a314e9bd14458b6647532eb62aad5c5cdf), $http now follows RFC3986 and does not encode special characters like `$@,:` in params. If your application needs to encode these characters, encode them manually, before sending the request. - **$resource:** due to [2a212344](https://github.com/angular/angular.js/commit/2a2123441c2b749b8f316a24c3ca3f77a9132a01), if the server relied on the buggy behavior of serializing arrays as http query arguments then either the backend should be fixed or a simple serialization of the array should be done on the client before calling the resource service. # 1.0.5 flatulent-propulsion (2013-02-20) ## Bug Fixes - **$compile:** - sanitize values bound to `a[href]` ([9532234b](https://github.com/angular/angular.js/commit/9532234bf1c408af9a6fd2c4743fdb585b920531)) - rename $compileNote to compileNode ([92ca7efa](https://github.com/angular/angular.js/commit/92ca7efaa4bc4f37da3008b234e19343a1fa4207), [#1941](https://github.com/angular/angular.js/issues/1941)) - should not leak memory when there are top level empty text nodes ([791804bd](https://github.com/angular/angular.js/commit/791804bdbfa6da7a39283623bd05628a01cd8720)) - allow startingTag method to handle text / comment nodes ([755beb2b](https://github.com/angular/angular.js/commit/755beb2b66ce9f9f9a218f2355bbaf96d94fbc15)) - **$cookies:** set cookies on Safari&IE when `base[href]` is undefined ([70909245](https://github.com/angular/angular.js/commit/7090924515214752b919b0c5630b3ea5e7c77223), [#1190](https://github.com/angular/angular.js/issues/1190)) - **$http:** - patch for Firefox bug w/ CORS and response headers ([e19b04c9](https://github.com/angular/angular.js/commit/e19b04c9ec985821edf1269c628cfa261f81d631), [#1468](https://github.com/angular/angular.js/issues/1468)) - **$resource:** - update RegExp to allow urlParams with out leading slash ([b7e1fb05](https://github.com/angular/angular.js/commit/b7e1fb0515798e1b4f3f2426f6b050951bee2617)) - **Directives:** - **a:** workaround IE bug affecting mailto urls ([37e8b122](https://github.com/angular/angular.js/commit/37e8b12265291918396bfee65d444a8f63697b73), [#1949](https://github.com/angular/angular.js/issues/1949)) - **ngClass:** keep track of old ngClass value manually ([5f5d4fea](https://github.com/angular/angular.js/commit/5f5d4feadbfa9d8ecc8150041dfd2bca2b2e9fea), [#1637](https://github.com/angular/angular.js/issues/1637)) - **ngSwitch:** make ngSwitch compatible with controller backwards-compatiblity module ([9b7c1d0f](https://github.com/angular/angular.js/commit/9b7c1d0f7ce442d4ad2ec587e66d2d335e64fa4e)) - **Filters:** - **date:** invert timezone sign and always display sign ([b001c8ec](https://github.com/angular/angular.js/commit/b001c8ece5472626bf49cf82753e8ac1aafd2513), [#1261](https://github.com/angular/angular.js/issues/1261)) - **number:** fix formatting when "0" passed as fractionSize ([f5835963](https://github.com/angular/angular.js/commit/f5835963d5982003a713dd354eefd376ed39ac02)) - **scenario runner:** include error messages in XML output ([d46fe3c2](https://github.com/angular/angular.js/commit/d46fe3c23fa269dcc10249148f2af14f3db6b066)) - **Misc:** - don't use instanceof to detect arrays ([3c2aee01](https://github.com/angular/angular.js/commit/3c2aee01b0b299995eb92f4255159585b0f53c10), [#1966](https://github.com/angular/angular.js/issues/1966)) - angular.forEach should correctly iterate over objects with length prop ([ec54712f](https://github.com/angular/angular.js/commit/ec54712ff3dab1ade44f94fa82d67edeffa79a1d), [#1840](https://github.com/angular/angular.js/issues/1840)) # 1.1.2 tofu-animation (2013-01-22) _Note: 1.1.x releases are [considered unstable](http://blog.angularjs.org/2012/07/angularjs-10-12-roadmap.html). They pass all tests but we reserve the right to change new features/apis in between minor releases. Check them out and please give us feedback._ _Note: This release also contains all bug fixes available in [1.0.4](#1.0.4)._ ## Features - **$compile:** support modifying the DOM structure in postlink fn ([cdf6fb19](https://github.com/angular/angular.js/commit/cdf6fb19c85560b30607e71dc2b19fde54760faa)) - **$log:** add $log.debug() ([9e991ddb](https://github.com/angular/angular.js/commit/9e991ddb1de13adf520eda459950be5b90b5b6d9), [#1592](https://github.com/angular/angular.js/issues/1592)) - **$parse:** allow strict equality in angular expressions ([a179a9a9](https://github.com/angular/angular.js/commit/a179a9a96eda5c566bda8a70ac8a75822c936a68), [#908](https://github.com/angular/angular.js/issues/908)) - **$resource:** - allow dynamic default parameters ([cc42c99b](https://github.com/angular/angular.js/commit/cc42c99bec6a03d6c41b8e1d29ba2b1f5c16b87d)) - support all $http.config actions ([af89daf4](https://github.com/angular/angular.js/commit/af89daf4641f57b92be6c1f3635f5a3237f20c71)) - **$route:** allow using functions as template params in 'when' ([faf02f0c](https://github.com/angular/angular.js/commit/faf02f0c4db7962f863b0da2a82c8cafab2c706f)) - **$timeout-mock:** add verifyNoPendingTasks method ([f0c6ebc0](https://github.com/angular/angular.js/commit/f0c6ebc07653f6267acec898ccef5677884e3081), [#1245](https://github.com/angular/angular.js/issues/1245)) - **directive:** - added ngOpen boolean directive ([b8bd4d54](https://github.com/angular/angular.js/commit/b8bd4d5460d9952e9a3bb14992636b17859bd457)) - ngKeydown, ngKeyup ([e03182f0](https://github.com/angular/angular.js/commit/e03182f018f5069acd5e883ce2e9349b83f2d03f), [#1035](https://github.com/angular/angular.js/issues/1035)) - **limitTo filter:** limitTo filter accepts strings ([9e96d983](https://github.com/angular/angular.js/commit/9e96d983451899ef0cef3e68395c8f6c1ef83bbe), [#653](https://github.com/angular/angular.js/issues/653)) - **scenario:** - add mouseover method to the ngScenario dsl ([2f437e89](https://github.com/angular/angular.js/commit/2f437e89781cb2b449abb685e36b26ca1cf0fff5)) - fail when an option to select does not exist ([15183f3e](https://github.com/angular/angular.js/commit/15183f3e1fbee031c9595206163962788f98b298)) ## Breaking Changes - **date:** due to [cc821502](https://github.com/angular/angular.js/commit/cc821502bca64d15e1c576bf20a62b28b3d9a88a), string input without timezone info is now parsed as local time/date # 1.0.4 bewildering-hair (2013-01-22) ## Bug Fixes - **$compile:** - do not wrap empty root text nodes in spans ([49f9e4ce](https://github.com/angular/angular.js/commit/49f9e4cef13e68ff85b3c160cf8fac6e7cd042a3), [#1059](https://github.com/angular/angular.js/issues/1059)) - safely create transclude comment nodes ([74dd2f79](https://github.com/angular/angular.js/commit/74dd2f7980ea8ec434a6e0565d857c910653ed9b), [#1740](https://github.com/angular/angular.js/issues/1740)) - **$injector:** - remove bogus fn arg ([b6b7c5a1](https://github.com/angular/angular.js/commit/b6b7c5a1d66073937709158da8c2d688cb45c9f6), [#1711](https://github.com/angular/angular.js/issues/1711)) - provider can now be defined in the array format ([2c405f41](https://github.com/angular/angular.js/commit/2c405f417125c80c387a51baece8bf6e1e0c0a81), [#1452](https://github.com/angular/angular.js/issues/1452)) - **$resource:** - HTTP method should be case-insensitive ([8991680d](https://github.com/angular/angular.js/commit/8991680d8ab632dda60cd70c780868c803c74509), [#1403](https://github.com/angular/angular.js/issues/1403)) - correct leading slash removal in resource URLs ([b2f46251](https://github.com/angular/angular.js/commit/b2f46251aca76c8568ee7d4bab54edbc9d7a186a)) - **$route:** - support route params not separated with slashes. ([c6392616](https://github.com/angular/angular.js/commit/c6392616ea5245bd0d2f77dded0b948d9e2637c8)) - correctly extract $routeParams from urls ([30a9da5d](https://github.com/angular/angular.js/commit/30a9da5dc159dd1e19b677914356925c7ebdf632)) - **Scope:** ensure that a scope is destroyed only once ([d6da505f](https://github.com/angular/angular.js/commit/d6da505f4e044f8a487ac27a3ec707c11853ee0a), [#1627](https://github.com/angular/angular.js/issues/1627)) - **angular.equals:** - consistently compare undefined object props ([5ae63fd3](https://github.com/angular/angular.js/commit/5ae63fd385295d5a7bbdc79466f59727dcab1c85), [3c2e1c5e](https://github.com/angular/angular.js/commit/3c2e1c5e4d12529b1d69a6173c38097527dccc4f), [#1648](https://github.com/angular/angular.js/issues/1648)) - **date filter:** parse string input as local time unless TZ is specified ([cc821502](https://github.com/angular/angular.js/commit/cc821502bca64d15e1c576bf20a62b28b3d9a88a), [#847](https://github.com/angular/angular.js/issues/847)) - **jqLite:** - children() should only return elements ([febb4c1c](https://github.com/angular/angular.js/commit/febb4c1c35cf767ae31fc9fef1f4b4f026ac9de0)) - make next() ignore non-element nodes ([76a6047a](https://github.com/angular/angular.js/commit/76a6047af690781b8238ba7924279470ba76d081)) - **scenario:** don't trigger input events on IE9 ([8b9e6c35](https://github.com/angular/angular.js/commit/8b9e6c3501746edb2c9e2d585e8e0eaeb8ba8327)) - **Directives:** - **ngRepeat:** correctly apply $last if repeating over object ([7e746015](https://github.com/angular/angular.js/commit/7e746015ea7dec3e9eb81bc4678fa9b6a83bc47c), [#1789](https://github.com/angular/angular.js/issues/1789)) - **ngSwitch:** don't leak when destroyed while not attached ([a26234f7](https://github.com/angular/angular.js/commit/a26234f7183013e2fcc9b35377e181ad96dc9917), [#1621](https://github.com/angular/angular.js/issues/1621)) - **select:** support optgroup + select[multiple] combo ([26adeb11](https://github.com/angular/angular.js/commit/26adeb119bc4fafa6286de484626b8de4170abc9), [#1553](https://github.com/angular/angular.js/issues/1553)) ## Features - **$compile:** support modifying the DOM structure in postlink fn ([cdf6fb19](https://github.com/angular/angular.js/commit/cdf6fb19c85560b30607e71dc2b19fde54760faa)) # 1.1.1 pathological-kerning (2012-11-26) _Note: 1.1.x releases are [considered unstable](http://blog.angularjs.org/2012/07/angularjs-10-12-roadmap.html). They pass all tests but we reserve the right to change new features/apis in between minor releases. Check them out and please give us feedback._ _Note: This release also contains all bug fixes available in [1.0.3](#1.0.3)._ ## Features - **$cacheFactory:** cache.put now returns the added value ([168db339](https://github.com/angular/angular.js/commit/168db33985aa025eb48bc21087717ab70da0bd72)) - **$http:** Allow setting withCredentials on defaults ([209b67df](https://github.com/angular/angular.js/commit/209b67df6a49fe1646ce63c5e7d11ed26e8abbc1), [#1095](https://github.com/angular/angular.js/issues/1095)) - **$resource:** support custom headers per action ([fbdab513](https://github.com/angular/angular.js/commit/fbdab513dd48f667ad857030cf4b3481ecdd9097), [#736](https://github.com/angular/angular.js/issues/736)) - **$sanitize:** support telephone links ([04450c48](https://github.com/angular/angular.js/commit/04450c48dfea065e1c9e4ab8adad94993ed1b037)) - **FormController:** add ability to reset a form to pristine state ([733a97ad](https://github.com/angular/angular.js/commit/733a97adf87bf8f7ec6be22b37c4676cf7b5fc2b), [#856](https://github.com/angular/angular.js/issues/856)) - **jqLite:** add triggerHandler() ([650fd933](https://github.com/angular/angular.js/commit/650fd933df614ac733cd43fe31d81d622a2ce2bc)) - **linky filter:** allow optional 'target' argument ([610927d7](https://github.com/angular/angular.js/commit/610927d77b77700c5c61accd503a2af0fa51cfe6), [#1443](https://github.com/angular/angular.js/issues/1443)) - **angular-mocks:** support mocha in angular mocks ([92558fe4](https://github.com/angular/angular.js/commit/92558fe4119fb1ee793d781de1888abef181c7f6)) - **ngModel:** support ngTrim attribute on input ([d519953a](https://github.com/angular/angular.js/commit/d519953a4b219035587e3fcb2e9cc52e02b408ca)) - **scenario:** add dblclick method to the ngScenario dsl ([8cb9c99e](https://github.com/angular/angular.js/commit/8cb9c99ec064fd95567118d29bfa4a19b8613ab3)) - **CSP:** update to the latest CSP api ([af7e0bd0](https://github.com/angular/angular.js/commit/af7e0bd0a7c286667c526cb7e0c733d3ee5f17fd), [#1577](https://github.com/angular/angular.js/issues/1577)) ## Bug Fixes - **$http:** - config.param should expand array values properly (see breaking change notes below) ([79af2bad](https://github.com/angular/angular.js/commit/79af2badcb087881e3fd600f6ae5bf3f86a2daf8), [#1363](https://github.com/angular/angular.js/issues/1363)) - prevent CORS preflight checks by removing `X-Requested-With` from header defaults (see breaking change notes below) ([3a75b112](https://github.com/angular/angular.js/commit/3a75b1124d062f64093a90b26630938558909e8d), [#1004](https://github.com/angular/angular.js/issues/1004)) - prevent CORS preflight checks by not setting `X-XSFR-TOKEN` header for cross domain requests (see breaking change notes below) ([fce100a4](https://github.com/angular/angular.js/commit/fce100a46c5681562253c3a856d67bbd35fbc2f2), [#1096](https://github.com/angular/angular.js/issues/1096)) ## Refactorings - **$evalAsync:** have only one global async queue ([331cd5a8](https://github.com/angular/angular.js/commit/331cd5a8cb5efdafe8ad7eb386aed4033cfc1bb3)) ## Breaking Changes - Due to fix for [#1363](https://github.com/angular/angular.js/issues/1363) it's possible but unlikely that $http will start generating different URLs for requests. This affects only cases when a request is made with a parameter, value of which is an array. If the server relied on the buggy behavior then either the backend should be fixed or a simple serialization of the array should be done on the client before calling the $http service. - Due to fix for [#1004](https://github.com/angular/angular.js/issues/1004) the `X-Requested-With` header is not set by $http service any more. If anyone actually uses this header it's quite easy to add it back via: ``` myAppModule.config(['$httpProvider', function($httpProvider) { $httpProvider.defaults.headers.common["X-Requested-With"] = 'XMLHttpRequest'; }]); ``` - Due to fix for [#1096](https://github.com/angular/angular.js/issues/1096) `X-XSFR-TOKEN` header is no longer send for cross domain requests. This shouldn't affect any known production service. If we are wrong, please let us know ;-) # 1.0.3 bouncy-thunder (2012-11-26) ## Bug Fixes - **$cacheFactory:** return undefined when removing non-existent entry ([55d15806](https://github.com/angular/angular.js/commit/55d15806fb14b1d98b5ca2770bbbb59e11548c62), [#1497](https://github.com/angular/angular.js/issues/1497)) - **$compile:** - prevent double attr interpolation w/ templateUrl ([fc115bfd](https://github.com/angular/angular.js/commit/fc115bfd0d18017f4bcef1e39fb22d97a98f8ab1), [#1166](https://github.com/angular/angular.js/issues/1166)) - reference local in isolate scope ([8db47ca7](https://github.com/angular/angular.js/commit/8db47ca7d4303e3e45a838219a1f6e9be8770ed4), [#1272](https://github.com/angular/angular.js/issues/1272)) - don't look for class directives in empty string ([54b3875b](https://github.com/angular/angular.js/commit/54b3875ba5cb6ce8ddac61ace33c1b2f600875ff)) - compilation should not recurse into empty nodes ([008a782b](https://github.com/angular/angular.js/commit/008a782bc8ed8a7ebcb63d563d1420fd1b312452)) - **$injector:** more conservative annotation parsing - **$location:** reset $location.$$replace with every watch call ([a32bc40f](https://github.com/angular/angular.js/commit/a32bc40fd75ca46e3581ad7a6e3a24a31df6e266), [#1111](https://github.com/angular/angular.js/issues/1111)) ([d9eff86e](https://github.com/angular/angular.js/commit/d9eff86ef77dd76208cef21e882239d4db0eac1e)) - **$parser:** string concatination with undefined model ([42c38b29](https://github.com/angular/angular.js/commit/42c38b29f7dcb3327fe58e630b8e2973676989e0), [#988](https://github.com/angular/angular.js/issues/988)) - **$resource:** - prevent default params to be shared between actions ([94e1c039](https://github.com/angular/angular.js/commit/94e1c0391c351b6f691fad8abed2828fa20548b2)) - allow falsy values in URL parameters ([4909d1d3](https://github.com/angular/angular.js/commit/4909d1d39d61d6945a0820a5a7276c1e657ba262)) - ignore undefined parameters ([10e1c759](https://github.com/angular/angular.js/commit/10e1c759f4602d993a76b0eacf6a2d04c8880017), [#875](https://github.com/angular/angular.js/issues/875), [#782](https://github.com/angular/angular.js/issues/782)) - **Scope:** - workaround for Chrome's memleak ([bd524fc4](https://github.com/angular/angular.js/commit/bd524fc4e5fc0feffe85632a7a6560da6bd9b762), [#1313](https://github.com/angular/angular.js/issues/1313)) - allow removing a listener during event ([e6966e05](https://github.com/angular/angular.js/commit/e6966e05f508d1d2633b9ff327fea912b12555ac)) - **$route:** support inline annotation on .resolve ([b0a05a75](https://github.com/angular/angular.js/commit/b0a05a7531ed7235aa6d2c4e3ea11373e1fc73f1)) - **FormController:** propagate dirty state to parent forms ([04329151](https://github.com/angular/angular.js/commit/04329151d2df833f803629cefa781aa6409fe6a5)) - **a:** prevent Opera from incorrectly navigating on link click ([c81d8176](https://github.com/angular/angular.js/commit/c81d8176cc55cd15acae05259ead73f90a01f0b7)) - **jqLite:** - support append on document fragment ([96ed9ff5](https://github.com/angular/angular.js/commit/96ed9ff59a454486c88bdf92ad9d28ab8864b85e)) - fire $destroy event via triggerHandler (this makes AngularJS compatible with **jQuery 1.8.x**) ([b9a9f91f](https://github.com/angular/angular.js/commit/b9a9f91fbf99b71cfde434b6277f4c7d2533556f), [#1512](https://github.com/angular/angular.js/issues/1512)) - **Filters** - **currency:** Handle not-quite-zero values ([bca1604c](https://github.com/angular/angular.js/commit/bca1604c12262b66ce3b8004994fb4841fb8b87d), [#1469](https://github.com/angular/angular.js/issues/1469)) - **date:** - make timezone optional ([9473780e](https://github.com/angular/angular.js/commit/9473780e77a960ba27644ca76c2413924cc8972e)) - support sub-second precision on dateFilter ([f299fd51](https://github.com/angular/angular.js/commit/f299fd512248321b426a5ab924a329aa1b691280)) - **Directives** - **ngClass:** works with class interpolation ([cebd015f](https://github.com/angular/angular.js/commit/cebd015f78c5e21bd37d4bc055dbcdc21dac2ef2), [#1016](https://github.com/angular/angular.js/issues/1016)) - **ngClassOdd/ngClassEven:** support shrinking/reordering in repeaters ([d859dcec](https://github.com/angular/angular.js/commit/d859dcecea654d1d858cd756c6efb8435a453197), [6c67719d](https://github.com/angular/angular.js/commit/6c67719dfa6ff3f2a15a8e1e7660cf2e6e9155b0), [#1076](https://github.com/angular/angular.js/issues/1076)) - **ngModel:** sync ngModel state with scope state ([e6d9bea4](https://github.com/angular/angular.js/commit/e6d9bea4f3b2eb28851298d3dc3a30d46062d58a), [#933](https://github.com/angular/angular.js/issues/933)) - **ngRepeat:** now works better with primitive types ([e6d9bea4](https://github.com/angular/angular.js/commit/e6d9bea4f3b2eb28851298d3dc3a30d46062d58a), [#933](https://github.com/angular/angular.js/issues/933)) - **ngSrc:** don't set src if value is empty string ([b6e4a711](https://github.com/angular/angular.js/commit/b6e4a71166c7f00f4140fd7ea8f0cd81b4487a3f)) - **select:** select option with a label of 0 is not shown ([b3cae4f4](https://github.com/angular/angular.js/commit/b3cae4f457f1688346bbd0b08cccc9c504f83406), [#1401](https://github.com/angular/angular.js/issues/1401)) - **scenario:** - emit RunnerBegin event ([95276a7e](https://github.com/angular/angular.js/commit/95276a7e1047c7a3ac6613d8612c62f544388fc9)) - NPE when no angular loaded in test page ([84c13d96](https://github.com/angular/angular.js/commit/84c13d96ff6e993b2ee9ff6bf49614fc1d514b04)) - support data-ng and x-ng based attributes ([249a1d84](https://github.com/angular/angular.js/commit/249a1d84e7ac3b8528d317b8b0a80acb5dd9a271), [#1020](https://github.com/angular/angular.js/issues/1020)) ## Docs - add plunkr support ([7c67b2fb](https://github.com/angular/angular.js/commit/7c67b2fb6afbc18f3593c64a5f339f04f9003f3c)) - various small documentation fixes and improvements ## Refactorings - name all anonymous watch functions in Angular ([ca30fce2](https://github.com/angular/angular.js/commit/ca30fce28ca13284bfa1c926e810ed75cdcde499), [#1119](https://github.com/angular/angular.js/issues/1119)) # 1.1.0 increase-gravatas (2012-08-31) _Note: 1.1.x releases unlike 1.0.x are considered unstable. [More info](http://blog.angularjs.org/2012/07/angularjs-10-12-roadmap.html)_ This release also contains all bug fixes available in [1.0.2](#1.0.2). ## Features - **$http:** support custom reponseType ([e0a54f6b](https://github.com/angular/angular.js/commit/e0a54f6b206dc2b6595f2bc3a17c5932e7477545), [#1013](https://github.com/angular/angular.js/issues/1013)) - **$interpolate:** - provide contextual error messages ([d804bbcd](https://github.com/angular/angular.js/commit/d804bbcd51ec83bee1f4a3ccd42c3bd7eb38a988)) - expose start/end symbols in run phase ([58f121a5](https://github.com/angular/angular.js/commit/58f121a5c293ed57043e22ed526fdf99642fca81)) - **$sniffer:** auto detect CSP mode (currently requires Chrome on dev channel) ([167aa0c2](https://github.com/angular/angular.js/commit/167aa0c29c998be33c49d33302e099b36d1ce0be)) # 1.0.2 debilitating-awesomeness (2012-08-31) ## Bug Fixes - **$compile:** denormalize directive templates ([dfe99836](https://github.com/angular/angular.js/commit/dfe99836cd98c2a1b0f9bde6216bd44088de275a)) - **$interpolate:** $interpolateProvider.endSymbol() returns startSymbol ([20348717](https://github.com/angular/angular.js/commit/20348717640c0ef405c9fdcc8fec5b566efc48b3)) - **jqLite:** better support for xhtml ([d3fa7a2e](https://github.com/angular/angular.js/commit/d3fa7a2e9e93c9dae13d852b28c878f7d6b7c420), [#1301](https://github.com/angular/angular.js/issues/1301)) - **mocks:** free up memory after every spec ([1a8642aa](https://github.com/angular/angular.js/commit/1a8642aac2de40dccdab464e58dc164006c300bb)) - **e2e test runner:** Adding meta tag to avoid cache issues ([5318588d](https://github.com/angular/angular.js/commit/5318588d6e8ee9a31f4002affd6858d25305aabf)) - Directives: - **form:** prevent page reload when form destroyed ([054d40f3](https://github.com/angular/angular.js/commit/054d40f338f9000cddcf7f0513af37328b88ef41), [#1238](https://github.com/angular/angular.js/issues/1238)) - **ngList:** remove data bound flicker ([fa62ea81](https://github.com/angular/angular.js/commit/fa62ea810f6c701e898dd07c6c9228f13d5b5e02)) - **ngPluralize:** fixes ng-pluralize when using non-standard start/end symbols ([e85774f7](https://github.com/angular/angular.js/commit/e85774f709b9f681b0ff8d829b07568b0f844a62), [#1134](https://github.com/angular/angular.js/issues/1134)) - **option:** support option elements in datalist ([9767f7bd](https://github.com/angular/angular.js/commit/9767f7bdd3e1ce6f65bdea992d67369ead13d813), [#1165](https://github.com/angular/angular.js/issues/1165)) ## Docs - Conceptual Overview of AngularJS (high level overview of how things work): ([7a5f25f6](https://github.com/angular/angular.js/commit/7a5f25f6671eb5f51b06615d74a05855ab79f31e)) - Lots of spelling, grammar and other fixes: [9a710c78](https://github.com/angular/angular.js/commit/9a710c788d880785d2b02a9c5411eb15e9c278bf), [847d2da0](https://github.com/angular/angular.js/commit/847d2da0f8d1e265eda7b4dd3e7eb52ac86d784e), [dbefd671](https://github.com/angular/angular.js/commit/dbefd671e41c3bda481850bb7e566349e275d759), [cab5e1d9](https://github.com/angular/angular.js/commit/cab5e1d9b363eac6fd31b15c5b86f30993e2f147), [f00b6cca](https://github.com/angular/angular.js/commit/f00b6cca024a9418f353651f29c984f934575bd9), [2e365168](https://github.com/angular/angular.js/commit/2e3651686c2bd84cf464ecc236c8ad77e61179df), [536de148](https://github.com/angular/angular.js/commit/536de148214290f0b4a0595fa16c00da5e527e79), [a1107e81](https://github.com/angular/angular.js/commit/a1107e81ebf2254caf75718de2e3ec773cce0c56), [5ef9ed87](https://github.com/angular/angular.js/commit/5ef9ed87d82b109715a87e9aa1b1d5b63f515d3a), [8c81a0f3](https://github.com/angular/angular.js/commit/8c81a0f3728b9308854ceb9bf392ec467b95d8eb), [bde931af](https://github.com/angular/angular.js/commit/bde931afd5cf2483df236e06992666a0a4182794), [6553fe68](https://github.com/angular/angular.js/commit/6553fe68d17d42ec25e0c592ceaa1077cc0ec4f6), [13b5fd1b](https://github.com/angular/angular.js/commit/13b5fd1b9d60f1a9187da8a89db9272284ccdac4), [17209d5b](https://github.com/angular/angular.js/commit/17209d5b4a579edf8425715b5cdf25bc5cd96711), [31c82560](https://github.com/angular/angular.js/commit/31c825607dd524241c811ca3e401b119c810e977), [ab6937e2](https://github.com/angular/angular.js/commit/ab6937e2518bfd77d9fe42e3d2e11fe4a7a16814), [fbfda241](https://github.com/angular/angular.js/commit/fbfda241f616bcfe8273f501dd49120a3cb35fab), [206371b7](https://github.com/angular/angular.js/commit/206371b7372c242db234ca8da12d1c7a8a322d54), [b6b92bd8](https://github.com/angular/angular.js/commit/b6b92bd866e1d6d066f1c9bf1937496cd3e28664), [79f2d843](https://github.com/angular/angular.js/commit/79f2d843a8458bfdc23fe9f179a1416fe21f7533), [64a9cd8f](https://github.com/angular/angular.js/commit/64a9cd8f4fac1c518869a1c955fe60bd6ef76439), [7f6e1326](https://github.com/angular/angular.js/commit/7f6e1326f3a7a6a2ba2dbd48dd6571ebe929a7c1), [1fd2b3d4](https://github.com/angular/angular.js/commit/1fd2b3d402f36e395a1fe9ea7e3f91a1b2833426), [d56d69cc](https://github.com/angular/angular.js/commit/d56d69cc8319f69135a17a9bb5ae394123b33c51), [01e726b2](https://github.com/angular/angular.js/commit/01e726b2fa3fb0d2584c9bb8df116ff3a9f05879), [16136216](https://github.com/angular/angular.js/commit/161362164532af3578c9e3e8b52cd80b15345add), [92a3d282](https://github.com/angular/angular.js/commit/92a3d2821856c75eb95f8ec6ccf26d6a9b37fdd9), [4c585019](https://github.com/angular/angular.js/commit/4c5850195699b1d982963f25399d24bf8b815f81), [c076fe08](https://github.com/angular/angular.js/commit/c076fe08cf47e8af4b5e8845aed917ebb7dbd593), [2473412b](https://github.com/angular/angular.js/commit/2473412ba55f7c47f2ca24311312ce95ee11949e), [1f2d5000](https://github.com/angular/angular.js/commit/1f2d50000e82630bfce6eb9cf0a8da752fd1e826), [5026315d](https://github.com/angular/angular.js/commit/5026315d6f4495d636d86ae2a022fb55cc0ca211), [f0a090dd](https://github.com/angular/angular.js/commit/f0a090ddf256d0c144e705c0cdf4216d824140f9), [6d9313a6](https://github.com/angular/angular.js/commit/6d9313a68d82654d389c0b2c3e4af148382f14be)) and more! # 1.0.1 thorium-shielding (2012-06-25) ## Bug Fixes - **$location:** don't throw exception while url rewriting if element was removed ([3da4194f](https://github.com/angular/angular.js/commit/3da4194f98fa0c1ad1e5ab159719e4b25799e6d4), [#1058](https://github.com/angular/angular.js/issues/1058)) - **$location:** prevent ie from getting into redirect loop ([ffb27013](https://github.com/angular/angular.js/commit/ffb270130a4aaf3ddc2eb9d6211b46e1da136184), [#1075](https://github.com/angular/angular.js/issues/1075), [#1079](https://github.com/angular/angular.js/issues/1079), [#1085](https://github.com/angular/angular.js/issues/1085)) # 1.0.0 temporal-domination (2012-06-13) ## Bug Fixes - **$location:** - correctly parse link urls in hashbang mode with a prefix ([0f44964e](https://github.com/angular/angular.js/commit/0f44964e5e0f7e37d7fa3216bb10fd61fbf52ae2), [#1037](https://github.com/angular/angular.js/issues/1037)) - fix link click interception in hash-bang mode ([6593a3e0](https://github.com/angular/angular.js/commit/6593a3e0823f3c08079f05010f9628fc4503cd43), [#1051](https://github.com/angular/angular.js/issues/1051)) # 1.0.0rc12 regression-extermination (2012-06-12) ## Bug Fixes - **$location:** correctly parse link urls in hashbang mode ([74fa65ec](https://github.com/angular/angular.js/commit/74fa65ecb7c4e2df966a179952b35700912e065f), [#1037](https://github.com/angular/angular.js/issues/1037)) ## Cleanup - **$defer:** remove deprecated `$defer` service ([9af7a919](https://github.com/angular/angular.js/commit/9af7a9198e2d30608ea6c40eedde03e44a6ef569)) - **docs:** simplify api urls ([f16150d5](https://github.com/angular/angular.js/commit/f16150d5f1b20b3d633b4402095ea89baa4be042)) # 1.0.0rc11 promise-resolution (2012-06-10) ## Features - **$route:** - allow defining route async dependencies as promises and defer route change until all promises are resolved ([885fb0dd](https://github.com/angular/angular.js/commit/885fb0dd0743859a8985c23e4d0c1855a2be711e)) - rename template -> tempalteUrl and add support for inline templates ([0a6e464a](https://github.com/angular/angular.js/commit/0a6e464a93d9a1e76a624b356054ce9ca4015f55)) - **$compile:** simplify isolate scope bindings and introduce true two-way data-binding between parent scope and isolate scope ([c3a41ff9](https://github.com/angular/angular.js/commit/c3a41ff9fefe894663c4d4f40a83794521deb14f)) - **$injector:** provide API for retrieving function annotations ([4361efb0](https://github.com/angular/angular.js/commit/4361efb03b79e71bf0cea92b94ff377ed718bad4)) - **$location:** add $locatonChange[start|success] event - since events are cancelable, it's now possible to cancel route and location changes. ([92a2e180](https://github.com/angular/angular.js/commit/92a2e1807657c69e1372106b0727675a30f4cbd7)) - **$rootElement:** expose application root element as $rootElement service ([85632cb4](https://github.com/angular/angular.js/commit/85632cb44c95617d73c369f3a03fb476a4d5c8a2)) ## Bug Fixes - **$compile:** correctly merge class attr for replace directives (contributed by Max Martinsson, [fb99b539](https://github.com/angular/angular.js/commit/fb99b539b4d851773b43f1564f7032adb157c0db), [#1006](https://github.com/angular/angular.js/issues/1006)) - **$http:** add utf-8 to default Content-Type header (post/put) ([10f80d7d](https://github.com/angular/angular.js/commit/10f80d7d2918f98262090b425ecc294d9518aa7e)) - **$timeout:** allow calling $timeout.cancel() with undefined (contributed by Ali Mills, [1904596e](https://github.com/angular/angular.js/commit/1904596e0c2330299e92f092bd7a6ceca8e97c30)) - **jqLite:** don't eat event exceptions ([416a7830](https://github.com/angular/angular.js/commit/416a7830403a579cc57cf3a0198193790dcd0bc6)) ## Breaking Changes - **$beforeRouteChange and $afterRouteChange events were renamed to $routeChangeStart and $routeChangeSuccess** This was done to make the naming consistent with $location events and also get events to categorize and order nicely just by alphabetical sorting. ([7c242821](https://github.com/angular/angular.js/commit/7c2428218893f59c6a4499667488009ca67f3385)) - **`template` option in $route definition was renamed to `templateUrl`** The `template` options in $route definition now represents the actual template string. To provide the template url use `templateUrl` option instead. This was done to unify the directive and $route definitions. To migrate just rename `template` to `templateUrl`. ([0a6e464a](https://github.com/angular/angular.js/commit/0a6e464a93d9a1e76a624b356054ce9ca4015f55)) - **isolate scope bindings definition has changed** To migrate the code follow the example below: Before: scope: { myAttr: 'attribute', myBind: 'bind', myExpression: 'expression', myEval: 'evaluate', myAccessor: 'accessor' } After: scope: { myAttr: '@', myBind: '@', myExpression: '&', // myEval - usually not useful, but in cases where the expression is assignable, you can use '=' myAccessor: '=' // in directive's template change myAccessor() to myAccessor } - **the inject option for the directive controller injection was removed** The removed `inject` wasn't generally useful for directives so there should be no code using it. ([c3a41ff9](https://github.com/angular/angular.js/commit/c3a41ff9fefe894663c4d4f40a83794521deb14f)) # 1.0.0rc10 tesseract-giftwrapping (2012-05-23) ## Features - **$timeout:** add `$timeout` service that supersedes `$defer` ([4511d39c](https://github.com/angular/angular.js/commit/4511d39cc748288df70bdc258f98a8f36652e683), [#704](https://github.com/angular/angular.js/issues/704), [#532](https://github.com/angular/angular.js/issues/532)) - **scope:** add `event.preventDefault()` and `event.defaultPrevented` ([84542d24](https://github.com/angular/angular.js/commit/84542d2431d20de42d6ec27c9d3435dd72dbe2ee)) ## Bug Fixes - **ngRepeat:** expose `$first`, `$middle` and `$last` instead of `$position` ([1d388676](https://github.com/angular/angular.js/commit/1d388676e3b97b6171fc498e82545bd437ee6fd1), [#912](https://github.com/angular/angular.js/issues/912)) - **jqLite:** use the same expando store structure as jQuery ([acf095d1](https://github.com/angular/angular.js/commit/acf095d1783e30e750d046ef24e81b5a0a31fbd4)) - **$rootScope:** infinite digest exception does not clear $$phase ([5989a1ed](https://github.com/angular/angular.js/commit/5989a1eda2b9e289b467ef9741fb1476549c8fd9), [#979](https://github.com/angular/angular.js/issues/979)) ## Breaking Changes - **ngRepeat - `$position` is not exposed in repeater scopes any more** To update, search for `/\$position/` and replace it with one of `$first`, `$middle` or `$last`. ([1d388676](https://github.com/angular/angular.js/commit/1d388676e3b97b6171fc498e82545bd437ee6fd1)) - **scope event's `cancel` method was renamed to `stopPropagation`** The name was corrected in order to align better with DOM terminology. To update, search for `/\.\s*cancel\s*(/` and replace it with `.stopPropagation(` or `.preventDefault(` (or both) depending on what you actually need. ([91db9920](https://github.com/angular/angular.js/commit/91db99208e197a73584a88a8d835eeb55c466335)) ## Deprecation Warnings - **`$defer` service has been deprecated in favor of `$timeout` service** The `$defer` service will be removed before 1.0 final, so please migrate your code. ([4511d39c](https://github.com/angular/angular.js/commit/4511d39cc748288df70bdc258f98a8f36652e683)) # 1.0.0rc9 eggplant-teleportation (2012-05-14) ## Bug Fixes - **$location:** - single quote in url causes infinite digest in FF ([679cb8a7](https://github.com/angular/angular.js/commit/679cb8a74a684454fe38fa9e1ddad396bb598c52), [#920](https://github.com/angular/angular.js/issues/920)) - support urls with any protocol ([c1533ef5](https://github.com/angular/angular.js/commit/c1533ef5762199bea18d3bf3bcba7fcf89272931)) - don't use buggy history.pushState api on Android < 4 ([7b739c97](https://github.com/angular/angular.js/commit/7b739c97028be2a5d5aef679ef1f8064cd10d386), [#904](https://github.com/angular/angular.js/issues/904)) - work around Opera's base href issue ([b99f65f6](https://github.com/angular/angular.js/commit/b99f65f64d1e54315b3210d78a9a9adbcf34c96c), [#938](https://github.com/angular/angular.js/issues/938)) - **docs app:** get docs app to work on IE8 ([aa025348](https://github.com/angular/angular.js/commit/aa02534865c8e43dcef9e218b12c8c717c837205)) # 1.0.0rc8 blooming-touch (2012-05-06) ## Features - **jqLite:** support data() getter and data(obj) setter ([ee579a07](https://github.com/angular/angular.js/commit/ee579a071a91cbade729d3cb97e097568e71f8fc)) ## Bug Fixes - **$compile:** - have $observe return registration function ([7f0eb151](https://github.com/angular/angular.js/commit/7f0eb1516165fcb73f1c9953018b7c9b70acfae1)) - ignore ws when checking if template has single root ([9c0418cf](https://github.com/angular/angular.js/commit/9c0418cf1abd609bf0ffbe71fbdfa75905cf8e0f), [#910](https://github.com/angular/angular.js/issues/910)) - fix replaceWith ([b431ee38](https://github.com/angular/angular.js/commit/b431ee38509724ba9098a7be7a8d6c5dcded4fe9)) - attach scope to the directive element when templateUrl and replace=true ([705f4bbf](https://github.com/angular/angular.js/commit/705f4bbf115d2408e33b25f56edbf1f383aabb82)) - prevent duplicate directive controller instantiation ([843f762c](https://github.com/angular/angular.js/commit/843f762c573e38a044f920c5575c6feb46bc7226), [#876](https://github.com/angular/angular.js/issues/876)) - **$parse:** support methods on falsy primitive types ([499a76a0](https://github.com/angular/angular.js/commit/499a76a08cc7a7604dab5e1dd9cca675b8e29333)) - **ngModel:** use keydown/change events on IE9 instead of input ([49dfdf8f](https://github.com/angular/angular.js/commit/49dfdf8f0238ef8c473fcb44694f6b5696ecde70), [#879](https://github.com/angular/angular.js/issues/879)) - **ngSrc,ngHref:** binding should set element prop as well as attr ([b24cc63b](https://github.com/angular/angular.js/commit/b24cc63bcbd45741d21757653f05d54db09e0f20), [#935](https://github.com/angular/angular.js/issues/935)) - **scenario:** make browser().location() working if ng-app on other than ([5bcb749a](https://github.com/angular/angular.js/commit/5bcb749abb91dba0847cb9bc900777a67fd55aa8)) - **select:** don't interfere with selection if not databound ([3bd3cc57](https://github.com/angular/angular.js/commit/3bd3cc571dcd721f9d71f971aefee23115a5e458), [#926](https://github.com/angular/angular.js/issues/926)) ## Docs - Brand new bootstrap-based skin for api docs: # 1.0.0rc7 rc-generation (2012-04-30) ## Features - **$parse:** CSP compatibility ([2b87c814](https://github.com/angular/angular.js/commit/2b87c814ab70eaaff6359ce1a118f348c8bd2197), [#893](https://github.com/angular/angular.js/issues/893)) ## Bug Fixes - **jqlite:** - correctly reset event properties in IE8 ([a18926f9](https://github.com/angular/angular.js/commit/a18926f986166048a21097636f03ab29f107b154)) - mouseenter on FF no longer throws exceptions ([43d15f83](https://github.com/angular/angular.js/commit/43d15f830f9d419c41c41f0682e47e86839e3917)) ## Docs - Tutorial has been finally updated to AngularJS v1.0! Check it out and provide feedback to make it even better: - now redirects to # v1.0.0rc6 runny-nose (2012-04-20) ## Bug Fixes - **select:** properly handle empty & unknown options without ngOptions ([904b69c7](https://github.com/angular/angular.js/commit/904b69c745ea4afc1d6ecd2a5f3138c6f947b157)) - **compiler:** reading comment throws error in ie ([46bb08a9](https://github.com/angular/angular.js/commit/46bb08a9d0780fafef6dc5c1140c71912462887a)) - **document:** accidental clobbering of document.getAttribute ([eafe15f5](https://github.com/angular/angular.js/commit/eafe15f54c686d5c83f777fd319f4c568e209432), [#877](https://github.com/angular/angular.js/issues/877)) - **script:** Incorrectly reading script text on ie ([94dd6857](https://github.com/angular/angular.js/commit/94dd68570952f6f31abfa351b1159afcd3588a57)) ## Features - **$resource:** support HTTP PATCH method ([e61fd1b4](https://github.com/angular/angular.js/commit/e61fd1b43a55496c11c63da7ca2fc05b88d44043), [#887](https://github.com/angular/angular.js/issues/887)) - **jquery:** jquery 1.7.2 support ([8ebe5ccd](https://github.com/angular/angular.js/commit/8ebe5ccd9ace7807bedc7317d605370fe82b773d)) # 1.0.0rc5 reality-distortion (2012-04-12) ## Bug Fixes - **$location:** properly rewrite urls in html5 mode with base url set + don't rewrite links to different base paths ([6d7e7fde](https://github.com/angular/angular.js/commit/6d7e7fdea6c3d6551ff40c150aa42e1375d2cb5f), [0a5050eb](https://github.com/angular/angular.js/commit/0a5050eb3c1f1ed84134f23a44b97a7261114060)) - **e2eRunner:** $browser.location should delegate to apps $location ([df72852f](https://github.com/angular/angular.js/commit/df72852f3496d7640bb4f70837338e464b7ed69f)) - **input.radio:** support 2-way binding in a repeater ([93d62860](https://github.com/angular/angular.js/commit/93d62860e988a09fb64e594f50f6cd55a1fc5748), [#869](https://github.com/angular/angular.js/issues/869)) - **ngBindHtml:** clear contents when model is falsy ([10daefc6](https://github.com/angular/angular.js/commit/10daefc6f466a21d9418437666461c80cf24fcfe), [#864](https://github.com/angular/angular.js/issues/864)) - lots of doc fixes ## Features - **$http:** expose the defaults config as $http.defaults ([dceafd32](https://github.com/angular/angular.js/commit/dceafd32ee140c8af5c7a0ca6cb808395fffeed3)) - **docs:** steps 0-4 of the Tutorial have been updated and improved ## Breaking Changes - `ng-ext-link` directive was removed because it's unnecessary ([6d7e7fde](https://github.com/angular/angular.js/commit/6d7e7fdea6c3d6551ff40c150aa42e1375d2cb5f)) apps that relied on ng-ext-link should simply replace it with `target="_self"` - `$browser.addCss` was removed - it was never meant to be a public api ([13d5528a](https://github.com/angular/angular.js/commit/13d5528a5f5a2f0feee5c742788a914d2371841e)) apps the depend on this functionality should write a simple utility function specific to the app (see this diff for hints). - `$browser.addJs` method was removed - it was never meant to be a public api ([fbaa1968](https://github.com/angular/angular.js/commit/fbaa1968b7c596ccb63ea8b4be1d3bd92eda50d8)) apps that depended on this functionality should either use many of the existing script loaders or create a simple helper method specific to the app. - `$sanitize` service, `ngBindHtml` directive and `linky` filter were moved to the `ngSanitize` module ([5bcd7198](https://github.com/angular/angular.js/commit/5bcd7198664dca2bf85ddf8b3a89f417cd4e4796)) apps that depend on any of these will need to load `angular-sanitize.js` and include `ngSanitize` in their dependency list: `var myApp = angular.module('myApp', ['ngSanitize']);` # 1.0.0rc4 insomnia-induction (2012-04-05) ## Bug Fixes - **$compile:** relax the restriction that directives can not add siblings ([7e86eacf](https://github.com/angular/angular.js/commit/7e86eacf301934335c22908ec6dbd1a083d88fab)) - **$location:** search setter should not double-encode the value ([59fa40ec](https://github.com/angular/angular.js/commit/59fa40ec0e851759d35fb0ea5fd01019d1403049), [#751](https://github.com/angular/angular.js/issues/751)) - **$q:** $q.reject should forward callbacks if missing ([c0b78478](https://github.com/angular/angular.js/commit/c0b78478a0e64942a69aba7c1bfa4eb01c0e9a5e), [#845](https://github.com/angular/angular.js/issues/845)) - **build:** move `'use strict';` flag into the angular closure ([637817e3](https://github.com/angular/angular.js/commit/637817e3ba48d149e7a9628533d21e81c650d988)) - **Directives**: - **ngModel:** update model on each key stroke (revert ngModelInstant) ([06d09550](https://github.com/angular/angular.js/commit/06d0955074f79de553cc34fbf945045dc458e064)) - **booleanAttrs:** always convert the model to boolean before setting the element property ([dcb8e076](https://github.com/angular/angular.js/commit/dcb8e0767fbf0a7a55f3b0045fd01b2532ea5441)) - **form:** preperly clean up when invalid widget is removed ([21b77ad5](https://github.com/angular/angular.js/commit/21b77ad5c231ab0e05eb89f22005f7ed8d40a6c1)) - **ngHref:** copy even if no binding ([2f5dba48](https://github.com/angular/angular.js/commit/2f5dba488e855bcdbb9304aa809efcb9de7b43e9)) - **ngInclude:** fire $includeContentLoaded on proper (child) scope ([199ac269](https://github.com/angular/angular.js/commit/199ac269869a57bb63d60c9b3f510d546bf0c9b2)) ## Features - **$http:** add `withCredentials` config option ([86182a94](https://github.com/angular/angular.js/commit/86182a9415b9209662b16c25c180b958ba7e6cf9)) - **$route:** allow chaining of whens and otherwise ([15ecc6f3](https://github.com/angular/angular.js/commit/15ecc6f3668885ebc5c7130dd34e00059ddf79ae)) - **ngInclude:** allow ngInclude as css class ([428f2b56](https://github.com/angular/angular.js/commit/428f2b563663315df4f235ca19cef4bdcf82e2ab)) ## Docs - reintroduced the tutorial docs - currently only steps 0-3 are up to date and the code is not split up into step specific commits yet. See [this branch](https://github.com/angular/angular-phonecat/tree/v1.0-update) instead. - various other doc fixes ## Breaking Changes We removed two useless features: - $routeProvider.when used to return the route definition object but now it returns self ([15ecc6f3](https://github.com/angular/angular.js/commit/15ecc6f3668885ebc5c7130dd34e00059ddf79ae)) - ngInclude does not have scope attribute anymore ([5f70d615](https://github.com/angular/angular.js/commit/5f70d615a5f7e102424c6adc15d7a6f697870b6e)) - ngModelInstant directive is no more and ngModel behaves just as ngModelInstant used to. This doesn't really break anything, just remember to remove all ngModelInstant references from your template as they serve no purpose now. ([06d09550](https://github.com/angular/angular.js/commit/06d0955074f79de553cc34fbf945045dc458e064)) # 1.0.0rc3 barefoot-telepathy (2012-03-29) ## Bug Fixes - **$compile:** - properly clone attr.$observers in ng-repeat ([f2106692](https://github.com/angular/angular.js/commit/f2106692b1ebf00aa5f8b2accd75f014b6cd4faa)) - create new (isolate) scopes for directives on root elements ([5390fb37](https://github.com/angular/angular.js/commit/5390fb37d2c01937922613fc57df4986af521787), [#817](https://github.com/angular/angular.js/issues/817)) - **angular.forEach:** should ignore prototypically inherited properties ([8d7e6948](https://github.com/angular/angular.js/commit/8d7e6948496ff26ef1da8854ba02fcb8eebfed61), [#813](https://github.com/angular/angular.js/issues/813)) - **initialization:** use jQuery#ready for initialization if available ([cb2ad9ab](https://github.com/angular/angular.js/commit/cb2ad9abf24e6f855cc749efe3155bd7987ece9d), [#818](https://github.com/angular/angular.js/issues/818)) - **$q:** resolve all of nothing to nothing ([ac75079e](https://github.com/angular/angular.js/commit/ac75079e2113949d5d64adbcf23d56f3cf295d41)) ## Features - **$compile:** do not interpolate boolean attribute directives, rather evaluate them ([a08cbc02](https://github.com/angular/angular.js/commit/a08cbc02e78e789a66e9af771c410e8ad1646e25)) - **$controller:** support controller registration via $controllerProvider ([d54dfecb](https://github.com/angular/angular.js/commit/d54dfecb00fba41455536c5ddd55310592fdaf84)) - **$http:** - make the `transformRequest` and `transformResponse` default to an array ([a8a750ab](https://github.com/angular/angular.js/commit/a8a750ab05bdff73ba3af0b98f3f284ff8d1e743)) - added `params` parameter ([73c85930](https://github.com/angular/angular.js/commit/73c8593077155a9f2e8ef42efd4c497eba0bef4f)) - **TzDate:** add support for toISOString method ([da9f4dfc](https://github.com/angular/angular.js/commit/da9f4dfcf4f3d0c21821d8474ac0bb19a3c51415)) - **jqLite:** make injector() and scope() work with the document object ([5fdab52d](https://github.com/angular/angular.js/commit/5fdab52dd7c269f99839f4fa6b5854d9548269fa)) - **ngValue:** directive that allows radio inputs to have non string values ([09e175f0](https://github.com/angular/angular.js/commit/09e175f02cca0f4a295fd0c9b980cd8f432e722b), [#816](https://github.com/angular/angular.js/issues/816)) ## Breaking Changes - `$resource`, `$cookies` and `$cookieStore` services are now distributed as separate modules, see `angular-resource.js` and `angular-cookies.js`. ([798bca62](https://github.com/angular/angular.js/commit/798bca62c6f64775b85deda3713e7b6bcc7a4b4d), [7b22d59b](https://github.com/angular/angular.js/commit/7b22d59b4a16d5c50c2eee054178ba17f8038880)) - angular.fromJson doesn't deserialize date strings into date objects. ([ac4318a2](https://github.com/angular/angular.js/commit/ac4318a2fa5c6d306dbc19466246292a81767fca)) - angular.toJson always use native JSON.parse and JSON.stringify - this might break code that consumes the output in whitespace-sensitive way ([35125d25](https://github.com/angular/angular.js/commit/35125d25137ac2da13ed1ca3e652ec8f2c945053)) - IE7 and older have are now required to polyfill the JSON global object ([87f5c6e5](https://github.com/angular/angular.js/commit/87f5c6e5b716100e203ec59c5874c3e927f83fa0)) - boolean attr directives (ng-disabled, ng-required, etc) are evaluated rather than interpolated ([a08cbc02](https://github.com/angular/angular.js/commit/a08cbc02e78e789a66e9af771c410e8ad1646e25)) - `ng-bind-attr` directive removed ([55027132](https://github.com/angular/angular.js/commit/55027132f3d57e5dcf94683e6e6bd7b0aae0087d)) - any app that depends on $sniffer service should use Modernizr instead ([aaedefb9](https://github.com/angular/angular.js/commit/aaedefb92e6bec6626e173e5155072c91471596a)) # 1.0.0rc2 silence-absorption (2012-03-20) ## Features - **$route:** when matching consider trailing slash as optional ([a4fe51da](https://github.com/angular/angular.js/commit/a4fe51da3ba0dc297ecd389e230d6664f250c9a6)) - **jqLite:** add .controller() method ([6c5a05ad](https://github.com/angular/angular.js/commit/6c5a05ad49a1e083570c3dfe331403398f899dbe)) - **scope.$eval:** allow passing locals to the expression ([192ff61f](https://github.com/angular/angular.js/commit/192ff61f5d61899e667c6dbce4d3e6e399429d8b)) - **input[type=radio]:** allow the value attribute to be interpolated ([ade6c452](https://github.com/angular/angular.js/commit/ade6c452753145c84884d17027a7865bf4b34b0c)) ## Bug Fixes - **$http:** don't send Content-Type header when no data ([1a5bebd9](https://github.com/angular/angular.js/commit/1a5bebd927ecd22f9c34617642fdf58fe3f62efb), [#749](https://github.com/angular/angular.js/issues/749)) - **$resource:** support escaping of ':' in resource url ([6d6f8753](https://github.com/angular/angular.js/commit/6d6f875345e01f2c6c63ef95164f6f39e923da15)) - **$compile:** - don't touch static element attributes ([9cb2195e](https://github.com/angular/angular.js/commit/9cb2195e61a78e99020ec19d687a221ca88b5900)) - merge interpolated css class when replacing an element ([f49eaf8b](https://github.com/angular/angular.js/commit/f49eaf8bf2df5f4e0e82d6c89e849a4f82c8d414)) - allow transclusion of root elements ([9918b748](https://github.com/angular/angular.js/commit/9918b748be01266eb10db39d51b4d3098d54ab66)) - **$log:** avoid console.log.apply calls in IE ([15213ec2](https://github.com/angular/angular.js/commit/15213ec212769837cb2b7e781ffc5bfd598d27ca), [#805](https://github.com/angular/angular.js/issues/805)) - **json:** added support for iso8061 timezone ([5ac14f63](https://github.com/angular/angular.js/commit/5ac14f633a69f49973b5512780c6ec7752405967)) - **e2e runner:** fix typo that caused errors on IE8 ([ee5a5352](https://github.com/angular/angular.js/commit/ee5a5352fd4b94cedee6ef20d4bf2d43ce77e00b), [#806](https://github.com/angular/angular.js/issues/806)) - **directives:** - **select:** multiselect failes to update view on selection insert ([6ecac8e7](https://github.com/angular/angular.js/commit/6ecac8e71a84792a434d21db2c245b3648c55f18)) - **ngForm:** alias name||ngForm ([823adb23](https://github.com/angular/angular.js/commit/823adb231995e917bc060bfa49453e2a96bac2b6)) - **ngView:** publish the controller ([21e74c2d](https://github.com/angular/angular.js/commit/21e74c2d2e8e985b23711785287feb59965cbd90)) - **ngRepeat:** correct variable reference in error message ([935c1018](https://github.com/angular/angular.js/commit/935c1018da05dbf3124b2dd33619c4a3c82d7a2a)) - various doc fixes (some contributed by Daniel Zen) # 1.0.0rc1 moiré-vision (2012-03-13) ## $compile rewrite The compiler was completely rewritten from scratch using ideas from this [design document](https://docs.google.com/document/d/1PNh4lxlYpSRK2RhEwD4paJLMwdcnddcYJn3rsDsdayc/edit). Please check out the [$compile] and [$compileProvider.directive](http://docs-next.angularjs.org/api/angular.module.ng.$compileProvider.directive) docs. The biggest improvements and changes are listed below. - the compiler now transparently supports several directive syntaxes. For example while before there was just one way to use `ng:include` directive: ``. The new compiler treats all of the following as equivalent: - `` - `` - `` - `
    ` - `
    ` - `
    ` - `
    ` - `
    ` - `
    ` - `
    ` This will give template creators great flexibility to consider the tradeoffs between html code validity and code conciseness and pick the syntax that works the best for them. - we are switching all of our code/docs/examples to use `ng-foo` directive name style instead of `ng:foo`. The new compiler doesn't distinguish between these and other name styles (all of them are [equally supported](http://docs-next.angularjs.org/api/angular.module.ng.$compileProvider.directive)), the main difference is that `ng-foo` is easier to select with css selectors. Check out the [Internet Explorer Compatibility](http://docs-next.angularjs.org/guide/ie) doc to learn about various IE-related requirements for different directive naming styles. - `angular.directive`, `angular.widget`, `angular.attrWidget` were merged into a single concept: a `directive` which is registered via [myModule.directive](http://docs-next.angularjs.org/api/angular.Module#directive) or [$compileProvider.directive](http://docs-next.angularjs.org/api/angular.module.ng.$compileProvider.directive). You can control execution priority of multiple directives on the same element (previously the main difference between a attribute widget and a directive) via a directive priority setting. - previously the linking functions of directives were called top to bottom following the DOM tree, to enable a linking fn to work child DOM nodes that were already processed by child linking fns the order was changed as follows: compile functions run top to bottom following the DOM tree, but linking functions run bottom-up following the DOM tree. In some rare cases it is desirable for linking fns to be called top to bottom and for these it is possible to register "prelinking" functions (check out [the docs](http://docs-next.angularjs.org/api/angular.module.ng.$compileProvider.directive) for the return value of the compile function). - `angular.markup` and `angular.attrMarkup` were replaced with interpolation via `$interpolate` service. - In the past `{{foo}}` markup was getting translated to `` during the early stage of template compilation. Addition of this extra node was in some cases undesirable and caused problems. The new compiler with the help of the $interpolate service removes the need for these artificial nodes. - As a side-effect of not using artificial nodes available for all bindings, the `html` filter which used to innerHTML (sanitized) html into the artificial node was converted into a directive. So instead of `{{ someRawHtml | html }}` use `
    ` and instead of `{{ someRawHtml | html:"unsafe" }}` use `
    `. Please check out the [ng-bind-html](http://docs-next.angularjs.org/api/angular.module.ng.$compileProvider.directive.ngBindHtml) and [ng-bind-html-unsafe](http://docs-next.angularjs.org/api/angular.module.ng.$compileProvider.directive.ngBindHtmlUnsafe) directive docs. - Custom markup has been used by developers only to switch from `{{ }}` markup to `(( ))` or something similar in order to avoid conflicts with server-side templating libraries. We made it easier to do this kind of customization by making the start and end symbol of the interpolation configurable via [$interpolateProvider](http://docs-next.angularjs.org/api/angular.module.ng.$interpolateProvider). - [template loader](http://docs-next.angularjs.org/api/angular.module.ng.$compileProvider.directive.script) loads template fragments from script elements and populates the $templateCache with them. Templates loaded in this way can be then used with `ng-include`, `ng-view` as well as directive templates (see the `templateUrl` property of the [directive config object](http://docs-next.angularjs.org/api/angular.module.ng.$compileProvider.directive)). ## Forms / input controls / two-way data binding The implementation of forms and input bindings was modified to address issues around composability, ease of adding custom validation and formatting. Please check out the [forms dev guide article](http://docs-next.angularjs.org/guide/dev_guide.forms) to learn about forms, form control bindings and input validation. The biggest changes are listed below. - any directive can add formatter/parser (validators, convertors) to an input type. This allows better composability of input types with custom validators and formatters. So instead of creating new custom input type for everything, it's now possible to take existing input type and add an additional formatter and/or validator to it via a custom directive. - inputs propagates changes only on the blur event by default (use new `ng-model-instant` directive if you want to propagate changes on each keystroke). - no more custom input types, use directives to customize existing types. - removed $formFactory. - removed parallel scope hierarchy (forms, widgets). - removed `list` input type (use `ng-list` directive instead). - removed integer input type. ## Controller-scope separation Controllers are now standalone objects, created using the "new" operator, and not mixed with scope object anymore. This addresses many issues including: [#321](https://github.com/angular/angular.js/issues/321) and [#425](https://github.com/angular/angular.js/issues/425). The [design doc](https://docs.google.com/document/pub?id=1SsgVj17ec6tnZEX3ugsvg0rVVR11wTso5Md-RdEmC0k) explains the reasoning for this major change and how it solves many issues. ### Before:
    function MyCtrl() {
      var self = this;
    
      this.model = 'some model of any type';
    
      this.fnUsedFromTemplate = function() {
        someApiThatTakesCallback(function callbackFn() {
          self.model = 'updatedModel';
        });
      };
    }
    
    ### After:
    function MyCtrl($scope) {
      $scope.model = 'some model of any type';
    
      $scope.fnUsedFromTemplate = function() {
        someApiThatTakesCallback(function() {
          $scope.model = 'updatedModel';
        });
      }
    }
    
    Temporary backwards compatibility: Load the following module in your app to recreate the previous behavior and migrate your controllers one at a time: ## $route service changes - As advertised in the past we moved the $route configuration from the run phase of the application to the config phase. This means that instead of defining routes via `$route.when`/`$route.otherwise` you should use `$routeProvider.when`/`$routeProvider.otherwise` instead. - route scope is now being created by the `ng-view` rather than by `$route`, this resolved many issues we've previously faced. For more info, read the [commit message](https://github.com/angular/angular.js/commit/60743fc52aea9eabee58258a31f4ba465013cb4e). - removed `$route.parent()` - it's unnecessary because the scope is properly created in the scope hierarchy by `ng-view`. - new `$viewContentLoaded` and `$includeContentLoaded` events which directives can use to be notified when a template content is (re)loaded. - `ng-view` now has `onload` attribute which behaves similarly to the one on `ng-include`. ## Directives - `ng-model` binding on select[multiple] element should support binding to an array ([commit](https://github.com/angular/angular.js/commit/85b2084f578652cc0dcba46c689683fc550554fe)) - event object is now accessible as `$event` in `ng-click` and other directives ([commit](https://github.com/angular/angular.js/commit/1752c8c44a7058e974ef208e583683eac8817789), issue [#259](https://github.com/angular/angular.js/issues/259) - `ng-class` directive now support map of classnames and conditions e.g. `
    # 0.10.6 bubblewrap-cape (2012-01-17) # ## Features: - [Dependency injection subsystem][guide2.di] rewrite. This is a huge change to the Angular core that was necessary for many reasons. Please read the full [design doc](https://docs.google.com/document/d/1hJnIqWhSt7wCacmWBB01Bmc6faZ8XdXJAEeiJwjZmqs/edit?hl=en_US) to understand the changes and reasoning behind them. - Added [angular.bootstrap] for manual bootstrapping of the app. Also see [Initializing Angular App][bootstrapping] doc. - Helper functions [inject] and [module] that make testing with DI and jasmine a lot easier. - [jqLite][jqLite2] and jQuery were extended with helper method `injector()` that simplifies the access to the application injector during debugging. - Rewrite of $xhr service and its dependencies, which was replaced with [$http] service. The $browser.xhr and its mock were replaced by [$httpBackend] and its [unit testing][unit-testing $httpBackend] and [end-to-end testing][e2e-testing $httpBackend] mocks. The $resource service api and functionality was preserved, with the exception of caching, which is not happening automatically as it used it in the past (verifyCache has no effect). - [$q] - Q-like deferred/promise implementation ([commit](https://github.com/angular/angular.js/commit/1cdfa3b9601c199ec0b45096b38e26350eca744f)) - Transparent data-binding to promises in templates. [Example](http://jsfiddle.net/IgorMinar/aNSWu/) ([commit](https://github.com/angular/angular.js/commit/78b6e8a446c0e38075c14b724f3cdf345c01fa06)) - New [$anchorScroll] service that watches url hash and navigates to the html anchor even if the content was loaded via [ng:view] (for [ng:include] you have to opt into this behavior using autoscroll attribute) - New LRU cache factory - [$cacheFactory] service - jQuery 1.7 compatibility ## Bug Fixes: - Directive names are now case insensitive ([commit](https://github.com/angular/angular.js/commit/1e00db8daa5c09e7f8f9134f5c94b9a18c7dc425)) - $location#url setter fix (Issue [#648](https://github.com/angular/angular.js/issues/648)) - [ng:include] - prevent race conditions by ignoring stale http callbacks ([commit](https://github.com/angular/angular.js/commit/1d14760c6d3eefb676f5670bc323b2a7cadcdbfa)) - [ng:repeat] - support repeating over array with null ([commit](https://github.com/angular/angular.js/commit/cd9a7b9608707c34bec2316ee8c789a617d22a7b)) - [angular.copy] - throw Error if source and destination are identical ([commit](https://github.com/angular/angular.js/commit/08029c7b72a857ffe52f302ed79ae12db9efcc08)) - Forms should not prevent POST submission if the action attribute is present ([commit](https://github.com/angular/angular.js/commit/c9f2b1eec5e8a9eaf10faae8a8accf0b771096e0)) ## Breaking Changes: - App bootstrapping works differently (see [angular.bootstrap] and [ng:app] and [bootstrapping]) - scope.$service is no more (because injector creates scope and not the other way around), if you really can't get services injected and need to fetch them manually then, get hold of [$injector] service and call $injector.get('serviceId') - angular.service style service registration was replaced with module system, please see [angular.module] api and [DI documentation][guide2.di] for more info. - the $xhr service was replaced with [$http] with promise based apis. - [unit-testing $httpBackend]'s expect method (the replacement for $browser.xhr.expect) is stricter - the order of requests matters and a single request expectation can handle only a single request. - compiler - compiler is a service, so use [$compile] instead of angular.compile to compile templates - $compile (nee angular.compile) returns the linking function which takes one mandatory argument - the scope. previously this argument was optional and if missing, the compiler would create a new root scope, this was a source of bugs and was removed - filters - filters need to be registered either via [moduleName.filter][angular.Module] or [$filterProvider.filter][$filterProvider] - filters don't have access to the dom element - currency filter doesn't make negative values red - json filter doesn't print out stuff in monospace - type augmentation via angular.Array, and angular.Object is gone. As a replacement use filters ([filter], [limitTo], [orderBy]), ES5 apis (e.g. Array#indexOf), or create custom filters (e.g. as a replacement for $count and $sum). - [$browser.defer.flush] now throws an exception when queue is empty ([commit](https://github.com/angular/angular.js/commit/63cca9afbcf7a772086eb4582d2f409c39e0ed12)) - scope.$apply and scope.$digest throws an exception if called while $apply or $digest is already in progress (this is a programming error, you should never need to do this) ([commit](https://github.com/angular/angular.js/commit/0bf611087b2773fd36cf95c938d1cda8e65ffb2b)) # 0.10.5 steel-fist (11-11-08) # ## Features: - [ng:autobind]: drop angular.js file name restrictions ([commit](https://github.com/angular/angular.js/commit/d7ba5bc83ba9a8937384ea677331c5156ed6772d)) - [Scope]: better logging of infinite digest error ([commit](https://github.com/angular/angular.js/commit/ef875ad0cf4349144cb4674e050dd160564f6dd9), issue [#621](https://github.com/angular/angular.js/issues/621)) - enable [widget] styling in IE8 and below using [html5shiv](http://code.google.com/p/html5shiv/)-like approach ([commit](https://github.com/angular/angular.js/commit/163c799effd5cfadc57990f4d4127651bae3fbdb), issue [#584](https://github.com/angular/angular.js/issues/584)) - [ng:style]: compatibility + perf improvements ([commit](https://github.com/angular/angular.js/commit/e2663f62b0fbb8b9ce2e706b821a135e0bc7e885)) ## Bug Fixes: - [ng:view]: ignore stale xhr callbacks - fixes issues caused by race-conditions which occured when user navigated to a new route before the current route finished loading (issue [#619](https://github.com/angular/angular.js/issues/619)) - [ng:form] should always be a block level (css) element ([commit](https://github.com/angular/angular.js/commit/02dc81bae0011b7ae4190363be5fdd5db420aca9)) - Fixes for [e2e test runner]'s `$location` dsl ([commit](https://github.com/angular/angular.js/commit/dc8ffa51b7ebe5fb9bc1c89087c8b3c9e65d1006)) - [ng:repeat] when iterating over arrays ignore non-array properties + when iterating over objects sort keys alphabetically ([commit](https://github.com/angular/angular.js/commit/3945f884c5777e629b57c9ab0e93b9d02b9840d0)) ## Docs: - experimental [disqus.com](http://disqus.com/) integration for all docs-next.angularjs.org pages ([commit](https://github.com/angular/angular.js/commit/28ed5ba46595a371bd734b92a6e4bb40d1013741), contributed by Dan Doyon) - [e2e test runner] docs were moved to the dev guide # 0.10.4 human-torch (2011-10-22) # ## Features: - New validation options for [input widgets](http://docs-next.angularjs.org/api/angular.widget.input): `ng:minlength` and `ng:maxlength` ([commit](https://github.com/angular/angular.js/commit/78f394fd17be581c84ecd526bb786ed1681d35cb)) (contributed by Konstantin Stepanov) - HTML sanitizer was updated to recognize all safe HTML5 elements (Issue [#89](https://github.com/angular/angular.js/issues/89)) - [ng:options]' blank option is now compiled and data-bound as any other template (Issue [#562](https://github.com/angular/angular.js/issues/562)) (contributed by tehek) - [$defer](http://docs-next.angularjs.org/api/angular.service.$defer) service now exposes `cancel` method for task cancellation ([commit](https://github.com/angular/angular.js/commit/ad90c3574f8365ee4a1a973d5e43c64fe9fcda2c)) ## Bug Fixes: - [ng:options] should select correct element when '?'-option (invalid value) was previously selected (Issue [#599](https://github.com/angular/angular.js/issues/599)) (contributed by Tehek) - Fix data-binding of radio button's value property (Issue [#316](https://github.com/angular/angular.js/issues/316)) - Input with type `password` should no be turned into a readable text field ([commit](https://github.com/angular/angular.js/commit/e82e64d57b65d9f3c4f2e8831f30b615a069b7f6)) (contributed by Konstantin Stepanov) - [ng:repeat] should ignore object properties starting with `$` ([commit](https://github.com/angular/angular.js/commit/833eb3c84445110dc1dad238120573f08ed8d102)) - Correctly parse out inlined regexp from the input field's `ng:pattern` attribute. ([commit](https://github.com/angular/angular.js/commit/5d43439dbe764a4c7227f51b34a81b044f13901b)) - $location service in html5 mode should correctly rewrite links that contain nested elements ([commit](https://github.com/angular/angular.js/commit/9b85757102fbd44e88d0a3909fdf8b90f191b593)) ## Breaking Changes: - the [date] filter now uses 'mediumDate' format if none is specified. This was done to deal with browser inconsistencies (each browser used to use different format) (Issue [#605](https://github.com/angular/angular.js/issues/605), [commit](https://github.com/angular/angular.js/commit/c6c3949b14f4003ecab291243edfca61262f2c3d), [commit](https://github.com/angular/angular.js/commit/e175db37c6f52bba4080efeec22a7120a896099e)) - calling the linker function returned by [angular.compile][compile] doesn't automatically run `$digest` on the linked scope any more. This behavior was briefly introduced in 0.10.3 but was causing issues and inefficiencies in production apps so we reverted it. See: [commit](https://github.com/angular/angular.js/commit/f38010d3a2f457a53798212ef72418637dabe189) # 0.10.3 shattering-heartbeat (2011-10-13) # ## Features: - New forms, validation, support for HTML5 input widgets. Please check out: - [Forms overview](http://docs-next.angularjs.org/guide/dev_guide.forms) - [form widget](http://docs-next.angularjs.org/api/angular.widget.form) - [input widget](http://docs-next.angularjs.org/api/angular.widget.input) - [$formFactory service](http://docs-next.angularjs.org/api/angular.service.$formFactory) - [angular.inputType](http://docs-next.angularjs.org/api/angular.inputType) - [commit](https://github.com/angular/angular.js/commit/4f78fd692c0ec51241476e6be9a4df06cd62fdd6) - [ng:repeat] now has element-model affinity, which makes it more friendly to third-party code that is not aware of angular's DOM manipulation. This is also the pre-requisite for supporting animations. ([commit](https://github.com/angular/angular.js/commit/75f11f1fc46c35a28c0905f7316ea6779145e2fb)) ## Bug Fixes: - The select widget with [ng:options] directive now correctly displays selected option (regression from 0.10.2). - Fix for jqLite's removeClass, which under certain circumstances could clobber class names. ([commit](https://github.com/angular/angular.js/commit/b96e978178a6acbf048aa6db466ed845e1395445)) - Other small fixes and documentation improvements. ## Breaking Changes: - Due to changes in how forms and validation works the following were replaced with new apis: - `angular.formatter` - use `angular.inputType` or form's `$createWidget` - `angular.validator` - use `angular.inputType` or form's `$createWidget` - changes to `` and `` element and `selected` attribute of the ``) (Issue [#450](https://github.com/angular/angular.js/issues/450)) - [$xhr] and [$resource] support for per-request error callbacks (Issue [#408](https://github.com/angular/angular.js/issues/408)) (contributed by Karl Seamon) ### Bug Fixes - make injector compatible with Rhino (HtmlUnit) (contributed by Mårten Dolk) [commit](https://github.com/angular/angular.js/commit/77ba539f630c57b17d71dbf1e9c5667a7eb603b7) - `ie-compat.js` fixes and improvements related to fetching this file on the fly on legacy browsers - [jqLite] - fix `bind()` when binding to more events separated by space [commit](https://github.com/angular/angular.js/commit/9ee9ca13da3883d06733637f9048a83d94e6f1f8) - non-existing attributes should return undefined just like in jQuery [commit](https://github.com/angular/angular.js/commit/10da625ed93511dbf5d4e61ca4e42f6f2d478959) - set event.target for IE<8 [commit](https://github.com/angular/angular.js/commit/ce80576e0b8ac9ed5a5b1f1a4dbc2446434a0002) - improved implementation of [ng:show] and [ng:hide] directives by using jqLite/jQuery hide and show methods - [ng:options] - fix incorrect re-growing of options on datasource change (Issue [#464](https://github.com/angular/angular.js/issues/464)) ### Docs - added full offline support for docs (click on the link in the footer of docs.angularjs.org) - many content improvements and corrections across all docs (reference api, tutorial, dev guide) - many small design improvements ### Other - doubled our e2e test suite by running all angular e2e tests with jqLite in addition to jQuery ### Breaking changes - [commit](https://github.com/angular/angular.js/commit/3af1e7ca2ee8c2acd69e5bcbb3ffc1bf51239285) removed support for the `MMMMM` (long month name), use `MMMM` instead. This was done to align Angular with [Unicode Technical Standard #35](http://unicode.org/reports/tr35/#Date_Format_Patterns) used by Closure, as well as, future DOM apis currently being proposed to w3c. - `$xhr.error`'s `request` argument has no `callback` property anymore, use `success` instead # 0.9.17 vegetable-reanimation (2011-06-30) # ### New Features - New [ng:options] directive to better bind a model to ` (one/multiple) could not chose from a list of objects (commit 347be5ae) - null and other falsy values should not be rendered in the view (issue #242) ### Docs - rewrite of several major portions of angular.service.*, angular.Array.*, angular.Object.* docs - added support for [sitemap]((http://docs.angularjs.org/sitemap.xml) to make the docs indexable by search crawlers - transition of Developer Guide docs from the wiki into docs.angularjs.org - lots of improvements related to formatting of the content of docs.anguarjs.org # 0.9.9 time-shift (2011-01-13) # ### Security - Added a just in case security check for JSON parsing. (commit 5f080193) - Completed security review with the Google Security Team. ### Performance - $location and $cookies services are now lazily initialized to avoid the polling overhead when not needed. - $location service now listens for `onhashchange` events (if supported by browser) instead of constant polling. (commit 16086aa3) - input widgets known listens on keydown events instead of keyup which improves perceived performance (commit 47c454a3) - angular boots significantly sooner by listening for DOMContentLoaded event instead of window.load when supported by browser (commit c79aba92) - new service $updateView which may be used in favor of $root.$eval() to run a complete eval on the entire document. This service bulks and throttles DOM updates to improve performance. (commit 47c454a3) ### Docs - Major improvements to the doc parser (commit 4f22d686) - Docs now offline enabled (all dependencies are bundled in the tarball) (commit 4f5d5029) - Added support for navigating the docs app with keyboard shortcuts (tab and ctrl+alt+s) ### Bugfixes - `angular.Object.equals` now properly handless comparing an object with a null (commit b0be87f6) - Several issues were addressed in the `$location` service (commit 23875cb3) - angular.filter.date now properly handles some corner-cases (issue #159 - fix contributed by Vojta) ### Breaking changes - API for accessing registered services — `scope.$inject` — was renamed to [`scope.$service`](http://docs.angularjs.org/#!/api/angular.scope.$service). (commit b2631f61) - Support for `eager-published` services was removed. This change was done to make explicit dependency declaration always required in order to allow making relatively expensive services lazily initialized (e.g. $cookie, $location), as well as remove 'magic' and reduce unnecessary scope namespace pollution. (commit 3ea5941f) Complete list of affected services: - $location - $route - $cookies - $window - $document - $exceptionHandler - $invalidWidgets To temporarily preserve the 'eager-published' status for these services, you may use `ng:init` (e.g. `ng:init="$location = $service('$location'), ...`) in the view or more correctly create a service like this: angular.service('published-svc-shim', function($location, $route, $cookies, $window, $document, $exceptionHandler, $invalidWidgets) { this.$location = $location; this.$route = $route; this.$cookies = $cookies; this.$window = $window; this.$document = $document; this.$exceptionHandler = $exceptionHandler; this.$invalidWidgets = $invalidWidgets; }, {$inject: ['$location', '$route', '$cookies', '$window', '$document', '$exceptionHandler', '$invalidWidgets'], $eager: true}); - In the light of the `eager-published` change, to complete the cleanup we renamed `$creation` property of services to `$eager` with its value being a boolean. To transition, please rename all `$creation: 'eager'` declarations to `$eager: true`. (commit 1430c6d6) - `angular.foreach` was renamed to `angular.forEach` to make the api consistent. (commit 0a6cf70d) - The `toString` method of the `angular.service.$location` service was removed. (commit 23875cb3) # 0.9.8 astral-projection (2010-12-23) # ### Docs/Getting started - angular-seed project to get you hacking on an angular apps quickly https://github.com/angular/angular-seed ### Performance - Delegate JSON parsing to native parser (JSON.parse) if available ### Bug Fixes - Ignore input widgets which have no name (issue #153) # 0.9.7 sonic-scream (2010-12-10) # ### Bug Fixes - $defer service should always call $eval on the root scope after a callback runs (issue #189) - fix for failed assignments of form obj[0].name=value (issue #169) - significant parser improvements that resulted in lower memory usage (commit 23fc73081feb640164615930b36ef185c23a3526) ### Docs - small docs improvements (mainly docs for the $resource service) ### Breaking changes - Angular expressions in the view used to support regular expressions. This feature was rarely used and added unnecessary complexity. It not a good idea to have regexps in the view anyway, so we removed this support. If you had any regexp in your views, you will have to move them to your controllers. (commit e5e69d9b90850eb653883f52c76e28dd870ee067) # 0.9.6 night-vision (2010-12-06) # ### Security - several improvements in the HTML sanitizer code to prevent code execution via `href`s and other attributes. Commits: - 41d5938883a3d06ffe8a88a51efd8d1896f7d747 - 2bbced212e2ee93948c45360fee00b2e3f960392 ### Docs - set up http://docs.angularjs.org domain, the docs for the latest release will from now on be deployed here. - docs app UI polishing with dual scrolling and other improvements ### Bug Fixes - `select` widget now behaves correctly when it's `option` items are created via `ng:repeat` (issue #170) - fix for async xhr cache issue #152 by adding `$browser.defer` and `$defer` service ### Breaking Changes - Fix for issue #152 might break some tests that were relying on the incorrect behavior. The breakage will usually affect code that tests resources, xhr or services/widgets build on top of these. All that is typically needed to resolve the issue is adding a call to `$browser.defer.flush()` in your test just before the point where you expect all cached resource/xhr requests to return any results. Please see 011fa39c2a0b5da843395b538fc4e52e5ade8287 for more info. - The HTML sanitizer is slightly more strinct now. Please see info in the "Security" section above. # 0.9.5 turkey-blast (2010-11-25) # ### Docs - 99% of the content from the angular wiki is now in the docs ### Api - added `angular.Array.limitTo` to make it easy to select first or last few items of an array # 0.9.4 total-recall (2010-11-18) # ### Docs - searchable docs - UI improvements - we now have ~85% of the wiki docs migrated to ng docs - some but not all docs were updated along the way ### Api - ng:include now supports `onload` attribute (commit cc749760) ### Misc - Better error handling - compilation exception now contain stack trace (commit b2d63ac4) # 0.9.3 cold-resistance (2010-11-10) # ### Docs - prettier docs app with syntax highlighting for examples, etc - added documentation, examples and scenario tests for many more apis including: - all directives - all formatters - all validators - some widgets ### Api - date filter now accepts strings that angular.String.toDate can convert to Date objects - angular.String.toDate supports ISO8061 formated strings with all time fractions being optional - ng:repeat now exposes $position with values set to 'first', 'middle' or 'last' - ng:switch now supports ng:switch-default as fallback switch option ### Breaking changes - we now support ISO 8601 extended format datetime strings (YYYY-MM-DDTHH:mm:ss.SSSZ) as defined in EcmaScript 5 throughout angular. This means that the following apis switched from YYYY-MM-DDTHH:mm:ssZ to YYYY-MM-DDTHH:mm:ss.SSSZ (note the added millis) when representing dates: - angular.Date.toString - angular.String.fromDate - JSON serialization and deserialization (used by json filter, $xhr and $resource) - removed SSN validator. It's unlikely that most people will need it and if they do, it can be added simple RegExp validator. # 0.9.2 faunal-mimicry (2010-11-03) # ### Docs - created documentation framework based on jsdoc syntax (commit 659af29a) - jsdoc parser - template generator - json generator - angular doc viewer app - scenario runner for all example code - documentation for all angular filters (commits 1fe7e3a1 & 1ba8c2a33) - docs - example code - scenario tests for example code ### Testability #### Scenario Runner - binding DSL in Scenario can now match bindings without specifying filters - dsl statements now accept a label argument to make test output more readable (issue #94) - dsl element() statement now implements most of the jQuery API (issue #106) - new browser() dsl statement for getting info about the emulated browser running the app (issue #109) - scenario runner is now compatible with IE8 (issue #93) - scenarior runner checks if URL would return a non-success status code (issue #100) - binding() DSL now accepts regular expressions - new textarea() scenario runner DSL for entering text into textareas ### Misc - lots of small bugfixes ### Breaking changes #### Scenario Runner - navigating to about:blank is no longer supported. It results in a sandbox error - navigateTo() is now browser().navigateTo(). Old code must be updated - file:// URLs are no longer supported for running a scenario. You must use a web server that implements HEAD # 0.9.1 repulsion-field (2010-10-26) # ### Security - added html sanitizer to fix the last few known security issues (issues #33 and #34) ### API - new ng:submit directive for creating onSubmit handlers on forms (issue #76) - the date filter now accepts milliseconds as well as date strings (issue #78) - the html filter now supports 'unsafe' option to bypass html sanitization ### Testability - lots of improvements related to the scenario runner (commit 40d7e66f) ### Demo - added a new demo application: Personal Log (src example/personalLog) ### Chores - lots of fixes to get all tests pass on IE - added TzDate type to allow us to create timezone idependent tests (issue #88) ### Breaking changes - $cookieStore service is not globally published any more, if you use it, you must request it via $inject as any other non-global service - html filter now sanitizes html content for XSS attacks which may result in different behavior # 0.9.0 dragon-breath (2010-10-20) # ### Security - angular.fromJson not safer (issue #57) - readString consumes invalid escapes (issue #56) - use new Function instead of eval (issue #52) ### Speed - css cleanup + inline all css and images in the main js (issue #64) ### Testability - initial version of the built-in end-to-end scenario runner (issues #50, #67, #70) ### API - allow ng:controller nesting (issue #39) - new built-in date format filter (issue #45) - $location needs method you call on updates (issue #32) ### Chores - release versioning + file renaming (issue #69) ### Breaking changes - $location.parse was replaced with $location.update - all css and img files were inlined into the main js file, to support IE7 and older app must host angular-ie-compat.js file ### Big Thanks to Our Community Contributors - Vojta Jina [lowercase]: http://docs.angularjs.org/#!/api/angular.lowercase [uppercase]: http://docs.angularjs.org/#!/api/angular.uppercase [isDate]: http://docs.angularjs.org/#!/api/angular.isDate [scope]: http://docs.angularjs.org/#!/api/angular.scope [compile]: http://docs.angularjs.org/#!/api/angular.compile [element]: http://docs.angularjs.org/#!/api/angular.element [widget]: http://docs.angularjs.org/#!/api/angular.widget [ng:repeat]: http://docs.angularjs.org/#!/api/angular.widget.@ng:repeat [ng:view]: http://docs.angularjs.org/#!/api/angular.widget.ng-view [ng:include]: http://docs.angularjs.org/#!/api/angular.widget.ng-include [ng:options]: http://docs.angularjs.org/#!/api/angular.directive.ng-options [ng:disabled]: http://docs.angularjs.org/#!/api/angular.directive.ng-disabled [ng:selected]: http://docs.angularjs.org/#!/api/angular.directive.ng-selected [ng:checked]: http://docs.angularjs.org/#!/api/angular.directive.ng-checked [ng:multiple]: http://docs.angularjs.org/#!/api/angular.directive.ng-multiple [ng:readonly]: http://docs.angularjs.org/#!/api/angular.directive.ng-readonly [ng:show]: http://docs.angularjs.org/#!/api/angular.directive.ng-show [ng:hide]: http://docs.angularjs.org/#!/api/angular.directive.ng-hide [ng:class]: http://docs.angularjs.org/#!/api/angular.directive.ng-class [ng:src]: http://docs.angularjs.org/#!/api/angular.directive.ng-src [ng:href]: http://docs.angularjs.org/#!/api/angular.directive.ng-href [ng:style]: http://docs.angularjs.org/#!/api/angular.directive.ng-style [$defer]: http://docs.angularjs.org/#!/api/angular.module.ng.$defer [$cookies]: http://docs.angularjs.org/#!/api/angular.module.ng.$cookies [$xhr]: http://docs.angularjs.org/#!/api/angular.module.ng.$xhr [$xhr.cache]: http://docs.angularjs.org/#!/api/angular.module.ng.$xhr.cache [$resource]: http://docs.angularjs.org/#!/api/angular.module.ng.$resource [$route]: http://docs.angularjs.org/#!/api/angular.module.ng.$route [$orderBy]: http://docs.angularjs.org/#!/api/angular.Array.orderBy [date]: http://docs.angularjs.org/#!/api/angular.filter.date [number]: http://docs.angularjs.org/#!/api/angular.filter.number [currency]: http://docs.angularjs.org/#!/api/angular.filter.currency [directive]: http://docs.angularjs.org/#!/api/angular.directive [ng:autobind]: http://docs.angularjs.org/#!/api/angular.directive.ng-autobind [guide.di]: http://docs.angularjs.org/#!/guide/dev_guide.di [downloading]: http://docs.angularjs.org/#!/misc/downloading [contribute]: http://docs.angularjs.org/#!/misc/contribute [jqLite]: http://docs.angularjs.org/#!/api/angular.element [angular.version]: http://docs.angularjs.org/#!/api/angular.version [Jstd Scenario Adapter]: https://github.com/angular/angular.js/blob/master/src/jstd-scenario-adapter/Adapter.js [i18n]: http://docs-next.angularjs.org/#!/guide/dev_guide.i18n [ng:pluralize]: http://docs-next.angularjs.org/#!/api/angular.widget.ng-pluralize [ng:form]: http://docs-next.angularjs.org/api/angular.widget.form [ng:cloak]: http://docs-next.angularjs.org/#!/api/angular.directive.ng-cloak [$on]: http://docs-next.angularjs.org/#!/api/angular.scope.$on [$emit]: http://docs-next.angularjs.org/#!/api/angular.scope.$emit [$broadcast]: http://docs-next.angularjs.org/#!/api/angular.scope.$broadcast [$limitTo]: http://docs-next.angularjs.org/api/angular.Array.limitTo [$location]: http://docs-next.angularjs.org/api/angular.service.$location [e2e test runner]: http://docs-next.angularjs.org/guide/dev_guide.e2e-testing [$injector]: http://docs-next.angularjs.org/api/angular.module.AUTO.$injector [$http]: http://docs-next.angularjs.org/api/angular.module.ng.$http [$httpBackend]: http://docs-next.angularjs.org/api/angular.module.ng.$httpBackend [unit-testing $httpBackend]: http://docs-next.angularjs.org/api/angular.module.ngMock.$httpBackend [e2e-testing $httpBackend]: http://docs-next.angularjs.org/api/angular.module.ngMockE2E.$httpBackend [$q]: http://docs-next.angularjs.org/api/angular.module.ng.$q [angular.bootstrap]: http://docs-next.angularjs.org/api/angular.bootstrap [$anchorScroll]: http://docs-next.angularjs.org/api/angular.module.ng.$anchorScroll [$cacheFactory]: http://docs-next.angularjs.org/api/angular.module.ng.$cacheFactory [bootstrapping]: http://docs-next.angularjs.org/guide/bootstrap [angular.copy]: http://docs-next.angularjs.org/api/angular.copy [ng:app]: http://docs-next.angularjs.org/api/angular.directive.ng-app [$compile]: http://docs-next.angularjs.org/api/angular.module.ng.$compile [$filterProvider]: http://docs-next.angularjs.org/api/angular.module.ng.$filterProvider [angular.Module]: http://docs-next.angularjs.org/api/angular.Module [angular.module]: http://docs-next.angularjs.org/api/angular.module [filter]: http://docs-next.angularjs.org/api/angular.module.ng.$filter.filter [limitTo]: http://docs-next.angularjs.org/api/angular.module.ng.$filter.limitTo [orderBy]: http://docs-next.angularjs.org/api/angular.module.ng.$filter.orderBy [$browser.defer.flush]: http://docs-next.angularjs.org/api/angular.module.ngMock.$browser#defer.flush [inject]: http://docs-next.angularjs.org/api/angular.mock.inject [module]: http://docs-next.angularjs.org/api/angular.mock.module [guide2.di]: http://docs-next.angularjs.org/guide/dev_guide.di [jqLite2]: http://docs.angularjs.org/#!/api/angular.element