Changelog
1.2.2 consciousness-inertia (2013-11-22)
script.onload
for JSONP
(a3172a28,
#4523,
#4527,
#4922)$$minErr
to modules such asngResource
(9e89a31b,
#5050)<a name="1.2.1"></a>
Changelog
1.2.1 underscore-empathy (2013-11-14)
<a name="1.2.0"></a>
Changelog
since 1.2.0 and 1.3.0-beta.1
Angular now requires a <base>
tag when html5 mode of $location
is enabled. Reasoning:
Using html5 mode without a <base href="...">
tag makes relative links for images, links, ...
relative to the current url if the browser supports
the history API. However, if the browser does not support the history API Angular falls back to using the #
,
and then all those relative links would be broken.
The <base>
tag is also needed when a deep url is loaded from the server, e.g. http://server/some/page/url
.
In that case, Angular needs to decide which part of the url is the base of the application, and which part
is path inside of the application.
To summarize: Now all relative links are always relative to the <base>
tag.
Exception (also a breaking change):
Link tags whose href
attribute starts with a #
will only change the hash of the url, but nothing else
(e.g. <a href="#someAnchor">
). This is to make it easy to scroll to anchors inside a document.
Related to #6162 Closes #8492
Changelog
1.1.5 triangle-squarification (2013-05-22)
Note: 1.1.x releases are considered unstable. 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.
$animator:
$http:
$parse: add support for ternary operators to parser (6798fec4)
$q: add $q.always() method (6605adf6)
$controller: support "Controller as" syntax (cd38cbf9, 400f9360)
Directives:
Mobile:
docs:
scenario runner: adds mousedown and mouseup event triggers to scenario (629fb373)
$animator: remove dependency on window.setTimeout (021bdf39)
$controller: allow dots in a controller name (de2cdb06)
$location:
$resource:
$rootScope: ensure $watchCollection correctly handles arrayLike objects (6452707d)
date filter: correctly format dates with more than 3 sub-second digits (4f2e3606)
jqLite: pass a dummy event into triggerHandler (0401a7f5)
Directives:
scenario runner: correct bootstrap issue on IE (ab755a25)
$animator/ngAnimate: due to 11f712bc,
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,
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 /\.
<a name="1.0.7"></a>
Changelog
1.1.4 quantum-manipulation (2013-04-03)
Note: 1.1.x releases are considered unstable. 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.
$compile:
$q: $q.all()
now accepts hash
(e27bb6eb)
$resource: ability to override url in resource actions (60f1f099)
$route: add caseInsensitiveMatch
option for url matching
(5e18a15f)
http:
JQLite: ready()
now supports document.readyState=='complete'
(753fc9e5)
Scenario: autodisable animations when running e2e tests (fec4ef38)
Scope: add $watchCollection
method for observing collections
(5eb96855)
angular.bootstrap: support deferred bootstrap (mainly useful for tools like test runners and Batarang) (603fe0d1)
ngMobile: add ngMobile module with mobile-specific ngClick (707c65d5)
Directives:
$route: due to 6f71e809, in $routeChangeStart event, nextRoute.$route property is gone. Use the nextRoute object itself instead of nextRoute.$route.
ngRepeat: due to 61f2767c, 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, 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 <li>1</li>
after <li>2</li>
:
<ul ng-switch="select">
<li>1</li>
<li ng-switch-when="option">2</li>
</ul>
To keep the old behavior, use:
<ul ng-switch="select">
<li ng-switch-when="1">2</li>
<li>1</li>
</ul>
<a name="1.0.6"></a>
Changelog
1.1.3 radioactive-gargle (2013-02-20)
Note: 1.1.x releases are considered unstable. 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.
@$:,
in params
(288b69a3)constant
and literal
properties
(1ed63858)$@,:
in params.
If your application needs to encode these characters, encode them manually, before sending the request.<a name="1.0.5"></a>
Changelog
1.1.2 tofu-animation (2013-01-22)
Note: 1.1.x releases are considered unstable. 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.
<a name="1.0.4"></a>
Changelog
1.1.1 pathological-kerning (2012-11-26)
Note: 1.1.x releases are considered unstable. 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.
X-Requested-With
from header defaults (see breaking
change notes below)
(3a75b112,
#1004)X-XSFR-TOKEN
header for cross domain requests (see
breaking change notes below)
(fce100a4,
#1096)Due to fix for #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 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 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 ;-)
<a name="1.0.3"></a>
Changelog
1.1.0 increase-gravatas (2012-08-31)
Note: 1.1.x releases unlike 1.0.x are considered unstable. More info
This release also contains all bug fixes available in 1.0.2.
<a name="1.0.2"></a>
Changelog
1.0.8 bubble-burst (2013-08-22)
Contains only these fixes cherry-picked from v1.2.0rc1.
$compile:
$http: ensure case-insensitive header overriding (25d9f5a8)
$location:
$parse: move global getter out of parse.js (099138fb)
$q: call reject()
even if $exceptionHandler
rethrows
(d59027c4)
$timeout: clean deferreds immediately after callback exec/cancel (ac69392c)
$sanitize: match URI schemes case-insensitively (fcd761b9, #3210)
Scope: watches can be safely unregistered inside watch handlers (a4ec2979, #2915)
ngMock
jqLite:
Directives:
Filters:
i18n: Do not transform arrays into objects (751c77f8)
jqLite:
Misc:
<a name="1.2.0rc1"></a>