131
131
132
132
133
133
## Bug Fixes
134
- - **Angular :**
134
+ - **AngularJS :**
135
135
- do not auto-bootstrap if the `src` exists but is empty
136
136
([3536e8](https://github.com/angular/angular.js/commit/3536e83d8a085b02bd6dcec8324800b7e6c734e4))
137
137
- do not auto bootstrap if the currentScript has been clobbered
@@ -700,10 +700,10 @@ consolidating all the changes shown in the previous 1.6.0 release candidates.**
700
700
- **feat($compile): set preAssignBindingsEnabled to false by default
701
701
([bcd0d4](https://github.com/angular/angular.js/commit/bcd0d4d896d0dfdd988ff4f849c1d40366125858))**:
702
702
703
- Previously, `$compileProvider.preAssignBindingsEnabled` was
704
- set to true by default. This means bindings were pre-assigned in component
705
- constructors. In Angular 1.5+ the place to put the initialization logic
706
- relying on bindings being present is the controller `$onInit` method.
703
+ Previously, `$compileProvider.preAssignBindingsEnabled` was set to true by default. This means
704
+ bindings were pre-assigned on component/directive controller instances (which made them available
705
+ inside the constructors) . In AngularJS 1.5+ the place to put the initialization logic relying on
706
+ bindings being present is the controller's `$onInit` method.
707
707
708
708
To migrate follow the example below:
709
709
@@ -1902,7 +1902,7 @@ validation), you can overwrite the built-in `step` validator with a custom direc
1902
1902
# 1.5.9 timeturning-lockdown (2016-11-24)
1903
1903
1904
1904
This is an interim release primarily to publish some security fixes, in particular a modification to
1905
- ensure that Angular 1 can pass the linter checks for Mozilla add-ons.
1905
+ ensure that AngularJS can pass the linter checks for Mozilla add-ons.
1906
1906
1907
1907
## Security Fixes
1908
1908
- **bootstrap:**
@@ -1990,7 +1990,7 @@ ensure that Angular 1 can pass the linter checks for Mozilla add-ons.
1990
1990
1991
1991
Previously, `$compileProvider.preAssignBindingsEnabled` was
1992
1992
set to true by default. This means bindings were pre-assigned in component
1993
- constructors. In Angular 1.5+ the place to put the initialization logic
1993
+ constructors. In AngularJS 1.5+ the place to put the initialization logic
1994
1994
relying on bindings being present is the controller `$onInit` method.
1995
1995
1996
1996
To migrate follow the example below:
@@ -5116,12 +5116,12 @@ before the $parsers are applied. Previously, the modelValue
5116
5116
5117
5117
This fixes issues where `input[date]` and `input[number]` cannot
5118
5118
be validated because the viewValue string is parsed into
5119
- `Date` and `Number` respectively (starting with Angular 1.3).
5119
+ `Date` and `Number` respectively (starting with AngularJS 1.3).
5120
5120
It also brings the directives in line with HTML5 constraint
5121
5121
validation, which validates against the input value.
5122
5122
5123
5123
This change is unlikely to cause applications to fail, because even
5124
- in Angular 1.2, the value that was validated by pattern could have
5124
+ in AngularJS 1.2, the value that was validated by pattern could have
5125
5125
been manipulated by the $parsers, as all validation was done
5126
5126
inside this pipeline.
5127
5127
@@ -5232,12 +5232,12 @@ before the $parsers are applied. Previously, the modelValue
5232
5232
5233
5233
This fixes issues where `input[date]` and `input[number]` cannot
5234
5234
be validated because the viewValue string is parsed into
5235
- `Date` and `Number` respectively (starting with Angular 1.3).
5235
+ `Date` and `Number` respectively (starting with AngularJS 1.3).
5236
5236
It also brings the directives in line with HTML5 constraint
5237
5237
validation, which validates against the input value.
5238
5238
5239
5239
This change is unlikely to cause applications to fail, because even
5240
- in Angular 1.2, the value that was validated by pattern could have
5240
+ in AngularJS 1.2, the value that was validated by pattern could have
5241
5241
been manipulated by the $parsers, as all validation was done
5242
5242
inside this pipeline.
5243
5243
@@ -5451,7 +5451,7 @@ describe('$q.when', function() {
5451
5451
it('should not need a call to $timeout.flush() to resolve already resolved promises',
5452
5452
inject(function($q, $timeout) {
5453
5453
$q.when('foo');
5454
- // In Angular 1.4.3 a call to `$timeout.flush();` was needed
5454
+ // In AngularJS 1.4.3 a call to `$timeout.flush();` was needed
5455
5455
$timeout.verifyNoPendingTasks();
5456
5456
}));
5457
5457
@@ -6927,7 +6927,7 @@ it is now implemented in the ngOptions directive itself.
6927
6927
the `select` directive will now use strict comparison of the `ngModel` scope value against `option`
6928
6928
values to determine which option is selected. This means `Number` scope values will not be matched
6929
6929
against numeric option strings.
6930
- In Angular 1.3.x, setting `scope.x = 200` would select the `option` with the value 200 in the following `select`:
6930
+ In AngularJS 1.3.x, setting `scope.x = 200` would select the `option` with the value 200 in the following `select`:
6931
6931
6932
6932
```
6933
6933
<select ng-model="x">
@@ -6936,7 +6936,7 @@ In Angular 1.3.x, setting `scope.x = 200` would select the `option` with the val
6936
6936
</select>
6937
6937
```
6938
6938
6939
- In Angular 1.4.x, the 'unknown option' will be selected.
6939
+ In AngularJS 1.4.x, the 'unknown option' will be selected.
6940
6940
To remedy this, you can simply initialize the model as a string: `scope.x = '200'`, or if you want to
6941
6941
keep the model as a `Number`, you can do the conversion via `$formatters` and `$parsers` on `ngModel`:
6942
6942
@@ -15510,7 +15510,7 @@ with the `$route` service
15510
15510
15511
15511
### Breaking changes
15512
15512
- we now support ISO 8601 extended format datetime strings (YYYY-MM-DDTHH:mm:ss.SSSZ) as defined
15513
- in EcmaScript 5 throughout angular . This means that the following apis switched from
15513
+ in EcmaScript 5 throughout AngularJS . This means that the following apis switched from
15514
15514
YYYY-MM-DDTHH:mm:ssZ to YYYY-MM-DDTHH:mm:ss.SSSZ (note the added millis) when representing dates:
15515
15515
- angular.Date.toString
15516
15516
- angular.String.fromDate
0 commit comments