1.5.1 (2017-03-30)
- action bar: attach #comment nodes with _addView (#729) (be93db6), closes #725
- ns-router-link: navigate with urlTree (#728) (71058f8), closes #724
1.5.0 (2017-03-22)
- action-bar: Don't remove action items twice. (677d7e0)
- animations: add onDestroy method to NativeScriptAnimationPlayer (2e24010)
- dom_adapter: add missing
contains
method signature (bae45f6) - dom_adapter: update setTitle and getGlobalEventTarget to be compliant with Angular API (25c134d)
- gitignore: Add editor files into gitignore (819a960)
- init: Bootstrap Angular on page "navigatingTo" event. (ab04aba)
- list-view-comp: IterableDiffer is now parameterized on <KeyedTemplate> (780967d)
- ns-http: make defaultOptions of type RequestOptions (db730e2)
- page-router-outlet: activateWith instead of activate method (8d832bc)
- page-router-outlet: manually run detect changes when navigating to new page (07caa74)
- platform: import InjectionToken and ViewEncapsulation instead of OpaqueToken (c4dc8d4)
- platform: import MissingTranslationStrategy (d2328a5)
- renderer: implement createComment and createText methods using Placeholders (c0ec870)
- renderer: use _eachChildView for nextSibling (150c1ce)
- renderer: use flags in
setStyle
andremoveStyle
instead of booleans (a6d9247) - ts: ship package with reference to iterable interface (7edfa6b)
- animations: introduce NativeScriptAnimationsModule (b5874ba)
- renderer: implement simple nextSibling method using parent's _eachChildView (98d9d20)
- renderer: upgrade to be compliant with Angular 4's Renderer2 and RendererFactory2 (a3adcca)
- renderer: use EmulatedRenderer to scope component styles (25f5111)
- NativeScriptModule: User applications cannot import NativeScriptModule from "nativescript-angular/platform" anymore. Migration: Before:
import { NativeScriptModule } from "nativescript-angular/platform";
After
import { NativeScriptModule } from
"nativescript-angular/nativescript.module";
-
animations: To use animations, you need to import the NativeScriptAnimationsModule from "nativescript-angular/animations" in your root NgModule. Also you need a dependency to "@angular/animations".
-
typescript: The required version of TypeScript is ~2.1. Support for ~2.2 requires changes in
tns-core-modules
and will be provided with NativeScript 3.0.
- Angular 2.1.2 compatibility release
- Angular 2.1.1 compatibility release
- [Experimental] Support for ahead-of-time(AOT) compilation.
- Angular 2.1.0 compatibility release
- Angular 2.0.2 compatibility release
- Modal dialogs no longer require that you create a ModalDialogService provider in your component.
- Migrate to Angular 2 RC5.
- Bootstrapping apps using NgModule's. The old
nativescriptBootstrap
method is gone, and apps should switch to theplatformNativeScriptDynamic().bootstrapModule(MyAppModule)
API - The library entrypoint is now the
nativescript-angular/platform
module. ImportNativeScriptRouterModule
fromnativescript-angular/router
andNativeScriptFormsModule
fromnativescript-angular/forms
respectively if you want to use routing and form value accessor directives.
-
Migrate to Migrate to Angular RC3 and Angular Router 3.0.0-alpha.7:
-
Build no more requires globally installed typings
-
(#273) ModalDialogService.showModal() doesn't show modal
-
(#257) iOS navigation bug
-
(#252) Using text-decoration in a template causes iOS app to crash
-
(#262) Critical - Memory and cpu usage.
-
(#242) Use the ComponentFactory API instead of deprecated DynamicComponentLoader
-
(#229) Implement ngStyle directive
-
The Beta Angular Router moved to
nativescript-angular/router-deprecated
to continue using it change imports:nativescript-angular/router
->nativescript-angular/router-deprecated
nativescript-angular/router/ns-router
->nativescript-angular/router-deprecated/ns-router-deprecated
-
Build requires globally installed typings (
npm install -g typings
)