Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NativeScript/nativescript-angular
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.1.3
Choose a base ref
...
head repository: NativeScript/nativescript-angular
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.2.0
Choose a head ref
  • 5 commits
  • 32 files changed
  • 2 contributors

Commits on Jul 19, 2017

  1. docs: add changelog for 3.1.3

    sis0k0 committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    d6aab55 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2017

  1. feat: Angular 4.2 support (#842)

    * feat: reimplement NativeScriptAnimationsModule to be compliant with the new NG Animations' API
    * fix(page-router-outlet): don't run change detection every time an outlet is activated
    * refactor: separate NativeScriptCommonModule from NativeScriptModule
    All common providers, such as CommonModule (from @angular/common), Frame, Page, Device and Modals are moved from NativeScriptModule to NativeScriptCommonModule. The NativeScript module now provides only essential parts such as Renderer and ModuleLoader. It also re-exports the NativeScriptCommonModule.
     It can be required from "nativescript-angular/common". The NativeScriptRouterModule also 
    Reason:
    Importing NativeScriptModule more than once causes reinstantiating of
    the NativeScriptRenderer, which breaks animations.
    
    
    BREAKING CHANGES:
    NativeScriptModule should be imported only in the root application
    module (usually named AppModule).
    ApplicationModule.
    All other NgModules in the app (both feature and lazy-loaded ones)
    should import the NativeScriptCommonModule instead.
    The behaviour is alligned with BrowserModule and CommonModule in web
    Angular apps. angular.io/guide/ngmodule-faq#q-browser-vs-common-module
    Migration steps:
    In all NgModules, instead of the root one, replace:
    ```
    import { NativeScriptModule } from "nativescript-angular/nativescript.module";
    …
    @NgModule({
        imports: [
            NativeScriptModule,
        ]
    …
    })
    ```
    with: 
    ```
    import { NativeScriptCommonModule } from "nativescript-angular/common";
    …
    @NgModule({
        imports: [
            NativeScriptCommonModule,
        ]
    …
    })
    sis0k0 authored Jul 31, 2017
    1 Configuration menu
    Copy the full SHA
    eb3fd81 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2017

  1. fix(animations): enable routable animations (#926)

    When querying for `ng-components` (natively represented by
    `ProxyViewContainer`s), the container's children are selected instead of
    the container itself.
    sis0k0 authored and Alexander Vakrilov committed Aug 2, 2017
    Configuration menu
    Copy the full SHA
    e2e4f5a View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2017

  1. release: cut the 4.2.0 release

    vchimev authored and vchimev committed Aug 9, 2017
    Configuration menu
    Copy the full SHA
    372ae01 View commit details
    Browse the repository at this point in the history
  2. docs: add changelog for 4.2.0

    vchimev authored and vchimev committed Aug 9, 2017
    Configuration menu
    Copy the full SHA
    050def9 View commit details
    Browse the repository at this point in the history
Loading