|
| 1 | +<a name="1.5.0-rc.1"></a> |
| 2 | +# 1.5.0-rc.1 quantum-fermentation (2016-01-15) |
| 3 | + |
| 4 | + |
| 5 | +## Bug Fixes |
| 6 | + |
| 7 | +- **$animate:** |
| 8 | + - allow enabled children to animate on disabled parents |
| 9 | + ([8b636033](https://github.com/angular/angular.js/commit/8b6360338dca4bb7d8656d556bd7fb209e5aae73), |
| 10 | + [#13179](https://github.com/angular/angular.js/issues/13179), [#13695](https://github.com/angular/angular.js/issues/13695)) |
| 11 | + - allow animations when pinned element is parent element |
| 12 | + ([8f0b4825](https://github.com/angular/angular.js/commit/8f0b48259666c1496970d6ca90decb36d6fa3295), |
| 13 | + [#13466](https://github.com/angular/angular.js/issues/13466)) |
| 14 | + - correctly access minErr |
| 15 | + ([bc41ad8a](https://github.com/angular/angular.js/commit/bc41ad8aa8fc41ff30e9f68220a7c7c5fe194478)) |
| 16 | +- **$animateCss:** |
| 17 | + - only (de)register listeners when events have been added |
| 18 | + ([959f2bbb](https://github.com/angular/angular.js/commit/959f2bbb2d12c23a74902433c6247290d8f2fb89), |
| 19 | + [#13514](https://github.com/angular/angular.js/issues/13514)) |
| 20 | + - remove animation end event listeners on close |
| 21 | + ([20604e7f](https://github.com/angular/angular.js/commit/20604e7fc4f69ecfafbd8d0c1fdc70d478075c3a), |
| 22 | + [#10387](https://github.com/angular/angular.js/issues/10387)) |
| 23 | + - respect transition styles already on the element |
| 24 | + ([de9777d8](https://github.com/angular/angular.js/commit/de9777d8193531472df4b57fdeb6650d7f7c1846), |
| 25 | + [#12656](https://github.com/angular/angular.js/issues/12656), [#13333](https://github.com/angular/angular.js/issues/13333)) |
| 26 | +- **$compile:** |
| 27 | + - Add missing variable declaration |
| 28 | + ([6cdbda7c](https://github.com/angular/angular.js/commit/6cdbda7cf1cfc1d49eb98d42d8e823e65bebb90d)) |
| 29 | + - Fix namespace detection for achor elements |
| 30 | + ([c9e6cf9b](https://github.com/angular/angular.js/commit/c9e6cf9be0d549fba234956f7e263f40d1bb1e76)) |
| 31 | +- **$compileProvider:** remove the ability to set the `restrict` option on `component()` helper |
| 32 | + ([25bc5318](https://github.com/angular/angular.js/commit/25bc53180248bf5e8a6467c55d913cfa38fc7a3b), |
| 33 | + [#13741](https://github.com/angular/angular.js/issues/13741)) |
| 34 | +- **$controller:** allow identifiers containing `$` |
| 35 | + ([4e1b36c2](https://github.com/angular/angular.js/commit/4e1b36c21686ad0ca4930d1d81f77a7d9cc35851), |
| 36 | + [#13736](https://github.com/angular/angular.js/issues/13736)) |
| 37 | +- **$injector:** workaround for MS Edge class detection |
| 38 | + ([fabc6ab5](https://github.com/angular/angular.js/commit/fabc6ab5b01dc687aa8385da067752ba34da6524)) |
| 39 | +- **$q:** make instanceof work for $q promises |
| 40 | + ([b3ef5e08](https://github.com/angular/angular.js/commit/b3ef5e08528f5f1916876032700a016448fb196a)) |
| 41 | +- **Module:** allow passing template/templateUrl in array notation |
| 42 | + ([99d601a0](https://github.com/angular/angular.js/commit/99d601a048ac2b82e2f74ae88c96773e5d1a7258)) |
| 43 | +- **copy:** |
| 44 | + - add support for ArrayBuffer, handle multiple references to ArrayBuffer |
| 45 | + ([986647a9](https://github.com/angular/angular.js/commit/986647a968858121c1de472fc4913221dc8d339a)) |
| 46 | + - add support for String/Boolean/Number object types |
| 47 | + ([7b51243b](https://github.com/angular/angular.js/commit/7b51243be597900b1f765495dadfea5fccd2228e)) |
| 48 | +- **input:** fix URL validation being too strict |
| 49 | + ([e3be5d6e](https://github.com/angular/angular.js/commit/e3be5d6efaec6537ab530640c64f452aa1006fcb), |
| 50 | + [#13528](https://github.com/angular/angular.js/issues/13528), [#13544](https://github.com/angular/angular.js/issues/13544)) |
| 51 | +- **isArrayLike:** recognize empty instances of an Array subclass |
| 52 | + ([93c7251f](https://github.com/angular/angular.js/commit/93c7251f5f40bdbe050c74130d90331613d968a2), |
| 53 | + [#13560](https://github.com/angular/angular.js/issues/13560), [#13708](https://github.com/angular/angular.js/issues/13708)) |
| 54 | +- **linky:** throw error if input is not a string |
| 55 | + ([98c2db7f](https://github.com/angular/angular.js/commit/98c2db7f9c2d078a408576e722407d518c7ee10a), |
| 56 | + [#13547](https://github.com/angular/angular.js/issues/13547), [#13693](https://github.com/angular/angular.js/issues/13693)) |
| 57 | +- **loader:** use `false` as default value for `transclude` in component helper |
| 58 | + ([6a47c0d7](https://github.com/angular/angular.js/commit/6a47c0d75d0c6f0bfb3b5492d1f05ec900387744), |
| 59 | + [#13566](https://github.com/angular/angular.js/issues/13566), [#13581](https://github.com/angular/angular.js/issues/13581)) |
| 60 | +- **ngAnimate:** |
| 61 | + - only copy over the animation options once |
| 62 | + ([d4fa3313](https://github.com/angular/angular.js/commit/d4fa3313088a03d15ccbf266583d6ecaa0d22241), |
| 63 | + [#13722](https://github.com/angular/angular.js/issues/13722), [#13578](https://github.com/angular/angular.js/issues/13578)) |
| 64 | + - allow event listeners on document in IE |
| 65 | + ([e5cab951](https://github.com/angular/angular.js/commit/e5cab951f4e4969b092295b7f3ca7ec1d17eb9a6), |
| 66 | + [#13548](https://github.com/angular/angular.js/issues/13548), [#13696](https://github.com/angular/angular.js/issues/13696)) |
| 67 | + - allow removing classes that are added by a running animation |
| 68 | + ([776972ed](https://github.com/angular/angular.js/commit/776972ed9c49a62f5ad7c6f207209bf0f0c900bb), |
| 69 | + [#13339](https://github.com/angular/angular.js/issues/13339), [#13380](https://github.com/angular/angular.js/issues/13380), [#13414](https://github.com/angular/angular.js/issues/13414), [#13472](https://github.com/angular/angular.js/issues/13472), [#13678](https://github.com/angular/angular.js/issues/13678)) |
| 70 | + - do not use event.timeStamp anymore for time tracking |
| 71 | + ([e020b899](https://github.com/angular/angular.js/commit/e020b8993ec7b8e004c136ca40ea9bab02207dbf), |
| 72 | + [#13494](https://github.com/angular/angular.js/issues/13494), [#13495](https://github.com/angular/angular.js/issues/13495)) |
| 73 | +- **ngInclude:** do not compile template if original scope is destroyed |
| 74 | + ([98776487](https://github.com/angular/angular.js/commit/98776487a04667aa36cb24088ead198bd03b607c)) |
| 75 | +- **ngMock:** ignore empty javascript animations in $animate.closeAndFlush() |
| 76 | + ([a801df71](https://github.com/angular/angular.js/commit/a801df719ea8b5996676d4e7a88a26a5ece471e7)) |
| 77 | +- **ngOptions:** don't skip optgroup elements with value === '' |
| 78 | + ([6858caf2](https://github.com/angular/angular.js/commit/6858caf251b16a52e73d62f65c7e9e26e1f199ae), |
| 79 | + [#13487](https://github.com/angular/angular.js/issues/13487), [#13489](https://github.com/angular/angular.js/issues/13489)) |
| 80 | +- **select:** re-define ngModelCtrl.$render in the select postLink fn |
| 81 | + ([f7eab8d8](https://github.com/angular/angular.js/commit/f7eab8d8fe8cadecaee425f0db0c74e48619310c), |
| 82 | + [#13583](https://github.com/angular/angular.js/issues/13583), [#13583](https://github.com/angular/angular.js/issues/13583), [#13663](https://github.com/angular/angular.js/issues/13663)) |
| 83 | + |
| 84 | + |
| 85 | +## Features |
| 86 | + |
| 87 | +- **$compile:** |
| 88 | + - Allow ES6 classes as controllers with `bindToController: true` |
| 89 | + ([8955cfb6](https://github.com/angular/angular.js/commit/8955cfb6462f79a32caa641ffc002f1522f08220)) |
| 90 | + - Allow ES6 classes as controllers with `bindToController: true` |
| 91 | + ([b0248b78](https://github.com/angular/angular.js/commit/b0248b7894649aa1e083698c66d01679fa66d1c1)) |
| 92 | +- **$compileProvider:** allow `component()` helper to copy over custom annotations |
| 93 | + ([90975db5](https://github.com/angular/angular.js/commit/90975db5f91dfe44fa5dc4542e92c68e0d425929), |
| 94 | + [#13741](https://github.com/angular/angular.js/issues/13741)) |
| 95 | +- **$injector:** support instantiating classes. |
| 96 | + ([8b6b4282](https://github.com/angular/angular.js/commit/8b6b42827186e5e4eb7a56f6b824c560a5058bd2)) |
| 97 | +- **component:** |
| 98 | + - default controllerAs to be $ctrl |
| 99 | + ([d91cf167](https://github.com/angular/angular.js/commit/d91cf167960d47ce38fec0d33cab6119268623f0), |
| 100 | + [#13664](https://github.com/angular/angular.js/issues/13664), [#13710](https://github.com/angular/angular.js/issues/13710)) |
| 101 | + - disallow non-isolate scopes |
| 102 | + ([f31c5a39](https://github.com/angular/angular.js/commit/f31c5a3924629795cd9169e69b9e20efd4a9d927), |
| 103 | + [#13710](https://github.com/angular/angular.js/issues/13710)) |
| 104 | +- **ngMock:** add support for `$animate.closeAndFlush()` |
| 105 | + ([e1def1b8](https://github.com/angular/angular.js/commit/e1def1b8fe543fde09abda076d66606027f7dbeb), |
| 106 | + [#13005](https://github.com/angular/angular.js/issues/13005), [#13576](https://github.com/angular/angular.js/issues/13576), [#13707](https://github.com/angular/angular.js/issues/13707)) |
| 107 | +- **ngMock.$componentController:** add helper to instantiate controllers for components |
| 108 | + ([dd14e0c4](https://github.com/angular/angular.js/commit/dd14e0c44d2963d217cd4eb28f1ad6e6a643d63f), |
| 109 | + [#13683](https://github.com/angular/angular.js/issues/13683), [#13711](https://github.com/angular/angular.js/issues/13711)) |
| 110 | + |
| 111 | + |
| 112 | +## Breaking Changes |
| 113 | + |
| 114 | +- **linky:** due to [98c2db7f](https://github.com/angular/angular.js/commit/98c2db7f9c2d078a408576e722407d518c7ee10a), |
| 115 | + |
| 116 | + |
| 117 | +Before this change, the filter assumed that the input (if not undefined/null) was of type 'string' |
| 118 | +and that certain methods (such as `.match()`) would be available on it. Passing a non-string value |
| 119 | +would most likely result in a not-very-useful error being thrown (trying to call a method that does |
| 120 | +not exist) or in unexpected behavior (if the input happened to have the assumed methods). |
| 121 | + |
| 122 | +After this change, a proper (informative) error will be thrown. If you want to pass non-string |
| 123 | +values through `linky`, you need to explicitly convert them to strings first. |
| 124 | +Since input values could be initialized asynchronously, `undefined` or `null` will still be |
| 125 | +returned unchanged (without throwing an error). |
| 126 | + |
| 127 | +Closes #13547 |
| 128 | + |
| 129 | +Closes #13693 |
| 130 | + |
| 131 | +- **loader:** due to [6a47c0d7](https://github.com/angular/angular.js/commit/6a47c0d75d0c6f0bfb3b5492d1f05ec900387744), |
| 132 | + |
| 133 | +Angular 1.5.0.beta.2 introduced the `module.component` helper where `transclude` was true by default. |
| 134 | +This changes the default for `transclude` to `false`. If you created components that expected |
| 135 | +transclusion then you must change your code to specify `transclude: true`. |
| 136 | + |
| 137 | + |
1 | 138 | <a name="1.5.0-rc.0"></a>
|
2 | 139 | # 1.5.0-rc.0 oblong-panoptikum (2015-12-09)
|
3 | 140 |
|
|
0 commit comments