0.0.1-alpha.12 (2016-01-11)
- Component: Inputs should NOT be initialized in the constructor (f8e5b3c)
- Provider: provide(SomeClass, {useClass: SomeOtherClass}) not properly overriding SomeClass (f5f0b77), closes #129
- ts: Make param optional (b72edd3), closes #114
- Component: ngAfterViewInit life cycle hook (ab536e3), closes #119
- Component: ngOnDestroy life cycle hook (f5182d5)
- Component: ngOnInit life cycle hook (4d52063)
- DebugElement: query and queryAll methods for more easily finding child elements by all(), css( (fbb94c4)
- Component: Before:
@Component()
class Child {
@Input() foo;
constructor() {
console.log(this.foo); // bar
}
}
@Component({ template: '<child foo="bar"></child>' })
class Parent {}
After:
Before:
@Component()
class Child {
@Input() foo;
constructor() {
console.log(this.foo); // undefined
}
}
@Component({ template: '<child foo="bar"></child>' })
class Parent {}
0.0.1-alpha.11 (2015-12-09)
- API: added module name to example (be27c11)
- API: added points about using @Inject on static methods (259fa10)
- API: make params bold (9cbd0d0)
- API: make params bold 2 (a0311fa)
- API: move up section (4be0e33)
- API: tweaks, links, typos (782fd75)
- controllerAs: Set default controllerAs value to 'ctrl'. (8c2b1f2)
- Inject: find and inject parent controllers as locals (a4d0f68), closes #98
- controllerAs: Before:
@Component({ selector: 'app', template: '{{app.foo}}' })
After:
@Component({ selector: 'app', template: '{{ctrl.foo}}' })
// or
@Component({ selector: 'app', controllerAs: '$auto', template: '{{app.foo}}' })
0.0.1-alpha.10 (2015-11-28)
- API: fix toc links to be bullets (ca0eb20)
- API: move EventEmitter link to proper group (b683af6)
- npm: Publishing the dist folder (8cc27e9)
0.0.1-alpha.9 (2015-11-26)
- build: Removed sinon-chai from karma frameworks (c899281)
- error: Make error message around invalid providers more helpful. (bb55d69), closes #38
- Input/Output: add Input and Output to index exports (9a26089)
- README: fix typo (e1fed23), closes #76
- README: sync final example with other changes (74ae89b), closes #90
- Component: Component hooks to allow extensions for components; move StateConfig into hooks; (8b33ee6)
- StateConfig: Add @Resolve decorator for resolving state dependecies. (45a096b)
- StateConfig: New StateConfig decorator for configuring ui-router states with components (6daf87b)
- TestComponentBuilder: add createAsync method to match Angular 2 api better. Returns Promise<ComponentF (c95218c)
0.0.1-alpha.8 (2015-11-08)
- typings: Created typings file for entry point of lib (1847628)
- build: export getInjectableName; used to get the ng1 provider name of any injectable; (f83d202), closes #47
- Input/Output: Added property decorators for @Input and @Output (349cd21), closes #48
0.0.1-alpha.7 (2015-11-04)
- decorators: Changing decorators to emit a call signature for TS (d6b8270)
0.0.1-alpha.6 (2015-11-03)
- outputs: Calling unsubscribe method instead of dispose (72812d4)
0.0.1-ts-alpha.2 (2015-11-03)
- inputs-builder: Allow string and oneway to set their local copy of input prop to different than (d5882f1), closes #14
- README: fix errors (0630bfd)
- README: fix link (5a2f6f0)
0.0.1-alpha.4 (2015-10-24)
- travis: Updating npm to npm@3 for travis builds (524be2b)
0.0.1-alpha.3 (2015-10-21)
- Logo: smaller size (2de18c3)
0.0.1-alpha.2 (2015-10-19)
- events-builder: allow data to be passed in events (d8a1b54)
- Inject: better invalid provider error (7b77830)
- properties-builder: cope with 2-way binding initialized to falsy defined values (467534f)
- properties-builder: cope with missing property attributes (2b06bd9)
- Provider: fix support for nested provider dependencies when using useFactory with deps (9044521)
- OpaqueToken: added OpaqueToken for creating const string tokens (0563cb5)
- Providers: rename bindings to providers; add support for Providers; (86bb7b0), closes #18 #9
- README: update README with information about jspm installation (4d3b5e2)
- testing: Add ability to access $injector via .getLocal alias on debugElement (ef489a5)
- testing: add ability to override providers array in tests with tcb.overrideProviders (5ce7124)
- Provider: Non-annotated classes can no longer be injected. You must use the new @Injectable decorator. Before: class Foo {} After: @Injectable() class Foo {}
- Providers: bindings have been renamed to providers Before: @Component({ bindings: [] }) After: @Component({ providers: [] })