|
| 1 | +<a name="4.0.0-beta.2"></a> |
| 2 | +# [4.0.0-beta.2](https://github.com/angular/angular/compare/4.0.0-beta.1...4.0.0-beta.2) (2017-01-06) |
| 3 | + |
| 4 | + |
| 5 | +### Features |
| 6 | + |
| 7 | +* **compiler:** generate less code for bindings to DOM elements ([db49d42](https://github.com/angular/angular/commit/db49d42)) |
| 8 | +* **compiler:** generate proper reexports in `.ngfactory.ts` files to not need transitive deps for compiling `.ngfactory.ts` files. ([#13524](https://github.com/angular/angular/issues/13524)) ([9c69703](https://github.com/angular/angular/commit/9c69703)), closes [#12787](https://github.com/angular/angular/issues/12787) |
| 9 | +* **router:** add an extra argument to CanDeactivate interface ([#13560](https://github.com/angular/angular/issues/13560)) ([69fa3bb](https://github.com/angular/angular/commit/69fa3bb)), closes [#9853](https://github.com/angular/angular/issues/9853) |
| 10 | + |
| 11 | + |
| 12 | +### Bug Fixes |
| 13 | + |
| 14 | +* **common:** improve error message by adding a link to trackBy docs ([#13634](https://github.com/angular/angular/issues/13634)) ([6976903](https://github.com/angular/angular/commit/6976903)) |
| 15 | +* **common:** do not override locale provided on bootstrap ([#13654](https://github.com/angular/angular/issues/13654)) ([2dd6280](https://github.com/angular/angular/commit/2dd6280)), closes [#13607](https://github.com/angular/angular/issues/13607) |
| 16 | +* **common:** allow null/undefined values for `NgForTrackBy` ([f88cd2f](https://github.com/angular/angular/commit/f88cd2f)), closes [#13641](https://github.com/angular/angular/issues/13641) |
| 17 | +* **compiler:** don’t throw when using `ANALYZE_FOR_ENTRY_COMPONENTS` with user classes ([#13679](https://github.com/angular/angular/issues/13679)) ([7690d02](https://github.com/angular/angular/commit/7690d02)), closes [#13565](https://github.com/angular/angular/issues/13565) |
| 18 | +* **compiler:** improve error message for undefined providers ([#13546](https://github.com/angular/angular/issues/13546)) ([6b02b80](https://github.com/angular/angular/commit/6b02b80)), closes [#10835](https://github.com/angular/angular/issues/10835) |
| 19 | +* **compiler:** improve the error when template is not a string ([2c0c86e](https://github.com/angular/angular/commit/2c0c86e)), closes [#8708](https://github.com/angular/angular/issues/8708) [#13377](https://github.com/angular/angular/issues/13377) |
| 20 | +* **compiler:** query `<template>` elements before their children. ([#13677](https://github.com/angular/angular/issues/13677)) ([7c21064](https://github.com/angular/angular/commit/7c21064)), closes [#13118](https://github.com/angular/angular/issues/13118) [#13167](https://github.com/angular/angular/issues/13167) |
| 21 | +* **compiler:** throw an error for invalid provider ([#13544](https://github.com/angular/angular/issues/13544)) ([445ed43](https://github.com/angular/angular/commit/445ed43)), closes [#8870](https://github.com/angular/angular/issues/8870) |
| 22 | +* **compiler:** allow "." in attribute selectors ([#13653](https://github.com/angular/angular/issues/13653)) ([881eb89](https://github.com/angular/angular/commit/881eb89)), closes [#13645](https://github.com/angular/angular/issues/13645) |
| 23 | +* **core:** animations no longer silently exits if the element is not apart of the DOM ([#13763](https://github.com/angular/angular/issues/13763)) ([21030e9](https://github.com/angular/angular/commit/21030e9)) |
| 24 | +* **core:** animations should blend in all previously transitioned styles into next animation if interrupted ([#13148](https://github.com/angular/angular/issues/13148)) ([889b48d](https://github.com/angular/angular/commit/889b48d)) |
| 25 | +* **core:** remove reference to "Angular 2" in dev mode warning ([#13751](https://github.com/angular/angular/issues/13751)) ([c5c53f3](https://github.com/angular/angular/commit/c5c53f3)) |
| 26 | +* **forms:** Validators.required properly validate arrays ([#13362](https://github.com/angular/angular/issues/13362)) ([9898d8f](https://github.com/angular/angular/commit/9898d8f)), closes [#12274](https://github.com/angular/angular/issues/12274) |
| 27 | +* **i18n:** parse ICU messages while normalizing templates ([e74d8aa](https://github.com/angular/angular/commit/e74d8aa)) |
| 28 | +* **language-service:** support TypeScript 2.1 ([#13655](https://github.com/angular/angular/issues/13655)) ([8063b0d](https://github.com/angular/angular/commit/8063b0d)) |
| 29 | +* **router:** fix lazy loaded module with wildcard route ([#13649](https://github.com/angular/angular/issues/13649)) ([0eca960](https://github.com/angular/angular/commit/0eca960)), closes [#12955](https://github.com/angular/angular/issues/12955) |
| 30 | +* **router:** routerLink support of null ([#13380](https://github.com/angular/angular/issues/13380)) ([174334d](https://github.com/angular/angular/commit/174334d)), closes [#6971](https://github.com/angular/angular/issues/6971) |
| 31 | +* **router:** update route snapshot before emit new values ([#13558](https://github.com/angular/angular/issues/13558)) ([07e0fce](https://github.com/angular/angular/commit/07e0fce)), closes [#12912](https://github.com/angular/angular/issues/12912) |
| 32 | +* **testing:** improve misleading error message when don't call compileComponents ([#13543](https://github.com/angular/angular/issues/13543)) ([67380d4](https://github.com/angular/angular/commit/67380d4)), closes [#11301](https://github.com/angular/angular/issues/11301) |
| 33 | +* **upgrade:** fix/improve support for lifecycle hooks ([#13020](https://github.com/angular/angular/issues/13020)) ([e5c4e58](https://github.com/angular/angular/commit/e5c4e58)) |
| 34 | + |
| 35 | + |
| 36 | +### BREAKING CHANGES |
| 37 | + |
| 38 | +* **core**: `SimpleChange` now takes an additional argument that defines whether this is the first |
| 39 | +change or not. This is a low profile API and we don't expect anyone to be affected by this change. |
| 40 | +If you are impacted by this change please file an issue. ([465516b](https://github.com/angular/angular/commit/465516b)) |
| 41 | + |
| 42 | + |
| 43 | + |
1 | 44 | <a name="4.0.0-beta.1"></a> |
2 | 45 | # [4.0.0-beta.1](https://github.com/angular/angular/compare/2.4.0-marker...4.0.0-beta.1) (2016-12-22) |
3 | 46 |
|
@@ -104,10 +147,10 @@ Note: 4.0.0-beta.0 release also contains all the changes present in the 2.3.1 re |
104 | 147 |
|
105 | 148 | ### Note ### |
106 | 149 |
|
107 | | -Due to regression in the 2.3.0 release that was fixed by [#13464](https://github.com/angular/angular/pull/13464), |
| 150 | +Due to regression in the 2.3.0 release that was fixed by [#13464](https://github.com/angular/angular/pull/13464), |
108 | 151 | components that have been compiled using 2.3.0 and published to npm will need to be recompiled and republished. |
109 | 152 |
|
110 | | -The >=2.3.1 compiler will issue is the following error if it encounters components compiled with 2.3.0: |
| 153 | +The >=2.3.1 compiler will issue is the following error if it encounters components compiled with 2.3.0: |
111 | 154 | `Unsupported metadata version 2 for module ${module}. This module should be compiled with a newer version of ngc`. |
112 | 155 |
|
113 | 156 | We are adding more tests to our test suite to catch these kinds of problems before we cut a release. |
|
0 commit comments