Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 8b0bb3f

Browse files
committed
fixup! docs(CHANGELOG.MD): add changes for 1.7.0-rc.0
1 parent 4795979 commit 8b0bb3f

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

CHANGELOG.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -306,14 +306,24 @@ it('...', function() {
306306
});
307307
```
308308

309-
### **$templateRequest** due to:
310-
- **[c617d6](https://github.com/angular/angular.js/commit/c617d6dceee5b000bfceda44ced22fc16b48b18b)**: give tpload error the correct namespace
309+
### **$templateRequest**:
310+
- due to **[c617d6](https://github.com/angular/angular.js/commit/c617d6dceee5b000bfceda44ced22fc16b48b18b)**: give tpload error the correct namespace
311311

312312
Previously the `tpload` error was namespaced to `$compile`. If you have
313313
code that matches errors of the form `[$compile:tpload]` it will no
314314
longer run. You should change the code to match
315315
`[$templateRequest:tpload]`.
316316

317+
- due to **([fb0099](https://github.com/angular/angular.js/commit/fb00991460cf69ae8bc7f1f826363d09c73c0d5e)**: always return the template that is stored in the cache
318+
319+
The service now returns the result of `$templateCache.put()` when making a server request to the
320+
template. Previously it would return the content of the response directly.
321+
This now means if you are decorating `$templateCache.put()` to manipulate the template, you will
322+
now get this manipulated result also on the first `$templateRequest` rather than only on subsequent
323+
calls (when the template is retrived from the cache).
324+
In practice this should not affect any apps, as it is unlikely that they rely on the template being
325+
different in the first and subsequent calls.
326+
317327
### **$animate** due to:
318328
- **[16b82c](https://github.com/angular/angular.js/commit/16b82c6afe0ab916fef1d6ca78053b00bf5ada83)**: let cancel() reject the runner promise
319329

@@ -774,7 +784,6 @@ Where now the `oldValue` will always equal the previous `newValue`:
774784
| `b=2` | [1, 2] | [1, undefined] |
775785
| `a=b=3` | [3, 2] | [1, 2] |
776786

777-
778787
<a name="1.6.10"></a>
779788
# 1.6.10 (2018-04-11)
780789

0 commit comments

Comments
 (0)