- The Latest Stable Release: 0.9.19 canine-psychokinesis - The Latest Unstable Release: 0.10.1 chicken-hands # 0.10.2 sneaky-seagull (in-progress) # # 0.10.1 inexorable-juggernaut (2011-09-09) # ## Features - complete rewrite of the $location service with HTML5 support, many API and semantic changes. Please see: - [$location service API docs](http://docs-next.angularjs.org/#!/api/angular.service.$location) - [$location service dev guide article](http://docs-next.angularjs.org/#!/guide/dev_guide.services.$location) - [location.js source file](https://github.com/angular/angular.js/blob/master/src/service/location.js) - breaking changes section of this changelog ## Bug Fixes - $xhr should not covert HTTP status 0 to 200 ([commit](https://github.com/angular/angular.js/commit/b0eb831bce7d0ea066fd0758124793ed3db6d692)) - fixed several doc examples that were broken on IE - ng:change should be called after the new val is set (Issue [#547](https://github.com/angular/angular.js/issues/547)) - currency filter should return an empty string for non-numbers ## Breaking Changes - $location related changes - for complete list of api changes see: [Migrating from earlier AngularJS releases](http://docs-next.angularjs.org/#!/guide/dev_guide.services.$location) - $location api changes: - $location.href -> $location.absUrl() - $location.hash -> $location.url() - $location.hashPath -> $location.path() - $location.hashSearch -> $location.search() - $location.search -> no equivalent, use $window.location.search (this is so that we can work in hashBang and html5 mode at the same time, check out the docs) - $location.update() / $location.updateHash() -> use $location.url() - n/a -> $location.replace() - new api for replacing history record instead of creating a new one - $location semantic changes: - all url pieces are always in sync ($location.path(), $location.url(), $location.search(), ...) - this was previously true only if you used update* methods instead of direct assignment ($location.hashPath = 'foo') - we now use (window.history.pushState || onHashChange event || polling) for detecting url changes in the browser (we use the best one available). # 0.10.0 chicken-hands (2011-09-02) # ## Features - complete rewrite of the Scope implementation with several API and semantic changes. Please see: - [angular.scope API docs](http://docs-next.angularjs.org/#!/api/angular.scope) - [scopes dev guide article](http://docs-next.angularjs.org/#!/guide/dev_guide.scopes) - [scope.js source file](https://github.com/angular/angular.js/blob/master/src/Scope.js) - breaking changes section of this changelog - added event system to scopes (see [$on], [$emit] and [$broadcast]) - added i18n and l10n support for date, currency and number filters see [i18n] docs for more info - added localizable [ng:pluralize] widget - added [ng:cloak] directive for hiding uncompiled templates ## Bug Fixes - make [ng:class] friendly towards other code adding/removing classes ([commit](https://github.com/angular/angular.js/commit/2a8fe56997fddbad673748ce02abf649a709c4ca)) - several [jqLite] bugfixes and improvements - [ng:href], [ng:src] and friends now work properly when no expression is present in the attribute value. (Issue [#534](https://github.com/angular/angular.js/issues/534)) - expose missing [lowercase], [uppercase] and [isDate] APIs. ## Docs - many (but not all just yet) api docs were proof-read and improved ## Breaking Changes: - many scope related changes: - $onEval is no more (use $watch with a fn as the only param if you really miss it) - $eval without params doesn't trigger model mutation observations (use $apply/$digest instead) - $digest propagates through the scope tree automatically (this is the desired behavior anyway) - $watch various API changes - scope is now the first argument passed into the $watch listener - `this` in the $watch listener is undefined instead of current scope - objects and arrays are watched and compared by equality and not just identity - the initial execution of the $watch listener now executes asynchronously with respect to the code registering it via $watch - exceptionHandler argument is no more - initRun argument is no more - angular.scope does not create child scopes by taking parent as the first argument - use $new instead - scope.$set and scope.$get were removed, use direct property assignment instead or $eval - $route.onChange was removed and replaced with $beforeRouteChange, $afterRouteChange and $routeUpdate events that can be used together with the new $routeParams service - `angular.equals()` now uses `===` instead of `==` when comparing primitives # 0.9.19 canine-psychokinesis (2011-08-20) # ## Features - added error handling support for JSONP requests (see error callback param of the [$xhr] service) ([commit](https://github.com/angular/angular.js/commit/05e2c3196c857402a9aa93837b565e0a2736af23)) - exposed http response headers in the [$xhr] and [$resource] callbacks ([commit](https://github.com/angular/angular.js/commit/4ec1d8ee86e3138fb91543ca0dca28463895c090) contributed by Karl Seamon) - added `reloadOnSearch` [$route] param support to prevent unnecessary controller reloads and resulting flicker ([commit](https://github.com/angular/angular.js/commit/e004378d100ce767a1107180102790a9a360644e)) ## Bug Fixes - fixed memory leak found in [ng:options] directive ([commit](https://github.com/angular/angular.js/commit/6aa04b1db48853340d720e0a1a3e325ac523a06f)) - make ng:class-even/odd compatible with ng:class (Issue [#508](https://github.com/angular/angular.js/issues/508)) - fixed error handling for resources that didn't work in certain situations ([commit](https://github.com/angular/angular.js/commit/c37bfde9eb31556ee1eb146795b0c1f1504a4a26) contributed by Karl Seamon) ## Docs - [jsFiddle](http://jsfiddle.net/) integration for all docs.angularjs.org examples (contributed by Dan Doyon). ## Breaking Changes - removed [jqLite] show/hide support. See the [commit](https://github.com/angular/angular.js/commit/4c8eaa1eb05ba98d30ff83f4420d6fcd69045d99) message for details. Developers should use jquery or jqLite's `css('display', 'none')` and `css('display', 'block'/'inline'/..)` instead # 0.9.18 jiggling-armfat (2011-07-29) # ### Features - [ECMAScript 5 Strict Mode](https://developer.mozilla.org/en/JavaScript/Strict_mode) compliance - [jqLite] - added `show()`, `hide()` and `eq()` methods to jqlite ([commit](https://github.com/angular/angular.js/commit/7a3fdda9650a06792d9278a8cef06d544d49300f)) - added $defer.cancel to support cancelation of tasks defered via the [$defer] service - [date] filter - added support for `full`, `long`, `medium` and `short` date-time format flags ([commit](https://github.com/angular/angular.js/commit/3af1e7ca2ee8c2acd69e5bcbb3ffc1bf51239285)) - added support for `z` flag, which stands for short string timezone identifier, e.g. PST - internal improvements to enable localization of date filter output - [number] filter - internal improvements to enable localization of number filter output - [currency] filter - support for custom currency symbols via an optional param - internal improvements to enable localization of number filter output - added [angular.version] for exposing the version of the loaded angular.js file - updated angular.js and angular.min.js file headers with angular version and shorter & updated license info - [ng:options] - support binding to expression (Issue [#449](https://github.com/angular/angular.js/issues/449)) - support iterating over objects (Issue [#448](https://github.com/angular/angular.js/issues/448)) - support ng:change (Issue [#463](https://github.com/angular/angular.js/issues/463)) - support option groups (``) (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 [$defer]: http://docs.angularjs.org/#!/api/angular.service.$defer [$cookies]: http://docs.angularjs.org/#!/api/angular.service.$cookies [$xhr]: http://docs.angularjs.org/#!/api/angular.service.$xhr [$xhr.cache]: http://docs.angularjs.org/#!/api/angular.service.$xhr.cache [$resource]: http://docs.angularjs.org/#!/api/angular.service.$resource [$route]: http://docs.angularjs.org/#!/api/angular.service.$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: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