Skip to content
This repository was archived by the owner on May 26, 2023. It is now read-only.

Commit 589c09e

Browse files
chore(*): update changelog for 0.4.0
1 parent d0f4937 commit 589c09e

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
<a name="0.4.0"></a>
2+
## 0.4.0 (2017-01-17)
3+
4+
5+
#### Bug Fixes
6+
7+
* **$state:** Fix "Possibly unhandled rejection" by catch()ing the transition promise ([f2910e9b](https://github.com/angular-ui/ui-router/commit/f2910e9b00ebcf652abab2af8a405b5b5fbca054), closes [#3246](https://github.com/angular-ui/ui-router/issues/3246), [#2889](https://github.com/angular-ui/ui-router/issues/2889))
8+
* **ui-sref-active-eq:** Compare parameter values using typed parameters ([67e4997e](https://github.com/angular-ui/ui-router/commit/67e4997eadfc1f7f5af8efd7cb676218cc69129e))
9+
* **uiView:** do not leave initial view scope undestroyed (fix unhandled rejection) ([5be98e04](https://github.com/angular-ui/ui-router/commit/5be98e047a096012762096922a2756a0a0a0ea60), closes [#3164](https://github.com/angular-ui/ui-router/issues/3164))
10+
* **urlMatcherFactory:** Check for null in int.is() Fixes message: Cannot read property 'toString' of nul ([61728d71](https://github.com/angular-ui/ui-router/commit/61728d717ab4f7b03a017c4666ab1a5a1ffe4620), closes [#3197](https://github.com/angular-ui/ui-router/issues/3197))
11+
12+
#### Features
13+
14+
* **$templateFactory:** use $templateRequest from AngularJS ([9a1af98](https://github.com/angular-ui/ui-router/commit/9a1af98)), closes [#]
15+
* **$templateFactory:** refactor to a Provider to have a $http/$templateRequest switch ([7f1dec00](https://github.com/angular-ui/ui-router/commit/7f1dec008e98ae206c53d67268c330846c4d227d))
16+
17+
# BREAKING CHANGE: Use angular 1.3+ `$templateRequest` service to fetch templates
18+
19+
We now fetch templates using `$templateRequest` when it is available (angular 1.3+).
20+
You can revert to previous template fetching behavior using `$http` by configuring the ui-router `$templateFactoryProvider`.
21+
22+
```js
23+
.config(function($templateFactoryProvider) {
24+
$templateFactoryProvider.shouldUnsafelyUseHttp(true);
25+
});
26+
```
27+
28+
There are security ramifications to using `$http` to fetch templates.
29+
Read
30+
[Impact on loading templates](https://docs.angularjs.org/api/ng/service/$sce#impact-on-loading-templates)
31+
for more details.
32+
33+
134
<a name="0.3.2"></a>
235
## [0.3.2](https://github.com/angular-ui/ui-router/compare/0.3.1...0.3.2) (2016-11-03)
336

0 commit comments

Comments
 (0)