You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12-3
Original file line number
Diff line number
Diff line change
@@ -306,14 +306,24 @@ it('...', function() {
306
306
});
307
307
```
308
308
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
311
311
312
312
Previously the `tpload` error was namespaced to `$compile`. If you have
313
313
code that matches errors of the form `[$compile:tpload]` it will no
314
314
longer run. You should change the code to match
315
315
`[$templateRequest:tpload]`.
316
316
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
+
317
327
### **$animate** due to:
318
328
- **[16b82c](https://github.com/angular/angular.js/commit/16b82c6afe0ab916fef1d6ca78053b00bf5ada83)**: let cancel() reject the runner promise
319
329
@@ -774,7 +784,6 @@ Where now the `oldValue` will always equal the previous `newValue`:
0 commit comments