|
| 1 | +block includes |
| 2 | + include ../_util-fns |
| 3 | + |
| 4 | +:marked |
| 5 | + # Documentation Change Log |
| 6 | + |
| 7 | + The Angular documentation is a living document with continuous improvements. |
| 8 | + This log calls attention to recent significant changes. |
| 9 | + |
| 10 | + ## "Routing and Navigation" guide with the _Router Module_ (2016-10-5) |
| 11 | + The [Routing and Navigation](router.html) guide now locates route configuration |
| 12 | + in a _Routing Module_. |
| 13 | + The _Routing Module_ replaces the previous _routing object_ involving the `ModuleWithProviders`. |
| 14 | + |
| 15 | + All guided samples with routing use the _Routing Module_ and prose content has been updated, |
| 16 | + most conspicuously in the |
| 17 | + [NgModule](ngmodule.html) guide and [NgModule FAQ](../cookbook/ngmodule-faq.html) cookbook. |
| 18 | + |
| 19 | + ## New "Internationalization" Cookbook (2016-09-30) |
| 20 | + |
| 21 | + Added a new [Internationalization (i18n)](../cookbook/i18n.html) cookbook that shows how |
| 22 | + to use Angular "i18n" facilities to translate template text into multiple languages. |
| 23 | + |
| 24 | + ## "angular-in-memory-web-api" package rename (2016-09-27) |
| 25 | + |
| 26 | + Many samples use the `angular-in-memory-web-api` to simulate a remote server. |
| 27 | + This library is also useful to you during early development before you have a server to talk to. |
| 28 | + |
| 29 | + The package name was changed from "angular2-in-memory-web-api" which is still frozen-in-time on npm. |
| 30 | + The new "angular-in-memory-web-api" has new features. |
| 31 | + <a href="https://github.com/angular/in-memory-web-api/blob/master/README.md" target="_blank">Read about them on github</a>. |
| 32 | + |
| 33 | + ## "Style Guide" with _NgModules_ (2016-09-27) |
| 34 | + |
| 35 | + [StyleGuide](style-guide.html) explains our recommended conventions for Angular modules (NgModule). |
| 36 | + Barrels now are far less useful and have been removed from the style guide; |
| 37 | + they remain valuable but are not a matter of Angular style. |
| 38 | + We also relaxed the rule that discouraged use of the `@Component.host` property. |
| 39 | + |
| 40 | + ## _moduleId: module.id_ everywhere (2016-09-25) |
| 41 | + |
| 42 | + Sample components that get their templates or styles with `templateUrl` or `styleUrls` |
| 43 | + have been converted to _module-relative_ URLs. |
| 44 | + We added the `moduleId: module.id` property-and-value to their `@Component` metadata. |
| 45 | + |
| 46 | + This change is a requirement for compilation with AoT compiler when the app loads |
| 47 | + modules with SystemJS as the samples currently do. |
| 48 | + |
| 49 | + ## "Lifecycle Hooks" guide simplified (2016-09-24) |
| 50 | + |
| 51 | + The [Lifecycle Hooks](lifecycle-hooks.html) guide is shorter, simpler, and |
| 52 | + draws more attention to the order in which Angular calls the hooks. |
0 commit comments