16 KiB
16 KiB
<a name"2.0.0-alpha.24">
2.0.0-alpha.24 (2015-05-19)
Bug Fixes
- Compiler: add an error when a directive is null or undefined (25cd6e43, closes #1908)
- benchmark:
- build: npm shrinkwrap to pick up changed SHA1. (04a9eb88)
- directives: fix import path (c20060d2)
- errors: require passing stack traces explicitly in ng2 own code (8ab77353)
- examples: prefix directives with Ng (0e82970a)
- facade: MapWrapper.createFromPairs (af9dcad8, closes #1640)
- ng1 benchmarks: revert *ng-if to ng-if (909233f7)
- router:
- tree-differ: treat symlinks to deleted paths as removals (aad57954, closes #1961)
Features
- allow for forward references in injection (1eea2b25, closes #1891)
- change_detection:
- compiler:
- di:
- element_injector: allow @Optional for ProtoViewRef (bb2eda2d)
- errors: preserve stack traces of user exceptions in Dart (b6f29b44)
- facade: toUpperCase and toLowerCase (557d54b3)
- fakeAsync: allow simulating the passage of time (0f002a5b)
- forms: improved error messages (11e43851, closes #1839)
- pipe: reexported pipes to genereate docs (155b1e2b)
Breaking Changes
AppViewManager.createInPlaceHostView
is replaced byAppViewManager.createRootHostView
(for bootstrap) andAppViewManager.createFreeHostView
(for imperative components).
The later creates new host elements that are not attached anywhere.
To attach them, use DomRenderer.getHostElement(hostviewRef)
to get the host element.
Closes #1920
(421d8916)
-
- renames
DirectiveMetadataReader
intoDirectiveResolver
and removessrc/core/compiler/directive_metadata
.
- renames
Fixes #1712 Fixes #1713 (ecb06801)
<a name"2.0.0-alpha.23">
2.0.0-alpha.23 (2015-05-12)
Bug Fixes
- change_detection: updated dynamic change detector not to mutate when throwing (d717529e, closes #1762)
- dart: Remove unused imports. (4ce0d5e0)
- forms: export directives as const in Dart (5036086f, closes #1283)
- gulpfile: fixed test.unit.dart to format dart code before running test (92d6aa1f)
- location: dartium does not like pushState with null. (c2a42d5d)
- router:
- test_lib: spy funcs should match null arguments (84dc6ae7)
- transformer: remove classDefParser in favor of hardcoded strings to speed up build (01d5c295)
- view: fixed ProtoViewFactory to get all property bindings (7f976381)
Features
- PromisePipe: add pipe for promises (74987585)
- VmTurnZone: Rework the implementation to minimize change detection runs (e8a6c95e)
- change_detection.js: export null pipes (4b62a722, closes #1624)
- compiler:
- di:
- directives: export collection of core directives (a5638a94, closes #1524)
- dom: add getBaseHref method (05219a54)
- facade: add equals method to StringMapWrapper (aff85b50)
- gulpfuile: added watch.js.dev (3256ff1c)
- lang: support const expressions in TS/JS and Dart (4665726f, closes #1796)
- material:
- view: allow to transplant a view into a ViewContainer at another place. (4f3433b5, closes #1492)
Breaking Changes
VmTurnZone has been renamed to NgZone.
- The public API has not chnanged,
- The "outer" zone is now named "mount" zone (private to NgZone).
(e11c2054)
*
A collection of all the form directives is exported
under formDirectives
while those were previously available
under FormDirectives
.
Closes #1804
(229e770a)
<a name"2.0.0-alpha.22">
2.0.0-alpha.22 (2015-05-07)
Bug Fixes
- brocolli: escape special regexp characters when building regexps (a58c9f83, closes #1721, #1752)
- build:
- bundle: update the bundle config to point to rx.js (cf322130)
- change_detector: ensure that locals are only used when implicit receiver (d4925b61, closes #1542)
- compiler:
- decorators:
- decorators.es6: export Directive decorator (93c331d1, closes #1688)
- di: improve error messages for invalid bindings (ee1b574b, closes #1515, #1573)
- docs: fix broken docs test after addition of .ts extension to dgeni regex. (62bf777e)
- exception_handler: log errors via
console.error
(ead21c91) - formatter: point to the newest clang-format (51c47792)
- router:
- view: changed view manager to hydrate change detector after creating directives (c1579222)
Features
- benchmark: added an implementation of the tree benchmark in React (e4342743)
- benchmarks: Add basic dart transformer benchmarks. (1864f60a)
- decorators:
- dom: add location and history as DOM-like APIs. (f356d033)
- material: add prototype dialog component w/ demo. (f88c4b77)
- router:
Breaking Changes
- Previously,
Directive
was the abstract base class of several directives. Now,Directive
is the formerDecorator
, andComponent
inherits from it.
(f75a50c1)
- A dynamic component is just a component that has no @View annotation… (8faf6364)
2.0.0-alpha.21 (2015-04-27)
Features
- dart/transform: Dedup getters, setters, & methods (15376a6d)
- facade: add isType method (e617ca63)
- parser: support === and !== operators (afe0e454, #1496, #1500)
- router: add initial implementation (1b2754da)
- view: reimplemented property setters using change detection (8ccafb05)
Performance Improvements
- benchmarks: