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: 10.0.2
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: master
Choose a head ref

Commits on Aug 27, 2020

  1. Copy the full SHA
    8bedc2d View commit details
  2. chore(release): 10.0.3

    NathanWalker committed Aug 27, 2020
    Copy the full SHA
    737a5df View commit details

Commits on Sep 4, 2020

  1. Copy the full SHA
    548e074 View commit details
  2. Copy the full SHA
    302afb3 View commit details
  3. chore(release): 10.1.0

    NathanWalker committed Sep 4, 2020
    Copy the full SHA
    fa761ae View commit details

Commits on Sep 21, 2020

  1. Copy the full SHA
    623d2f7 View commit details
  2. Copy the full SHA
    c2eaef5 View commit details
  3. Copy the full SHA
    04e5dfc View commit details
  4. Copy the full SHA
    4b74490 View commit details
  5. chore(release): 10.1.3

    NathanWalker committed Sep 21, 2020
    Copy the full SHA
    bcde284 View commit details
  6. Copy the full SHA
    1dca81b View commit details
  7. Copy the full SHA
    07abb9e View commit details
  8. chore(release): 10.1.4

    NathanWalker committed Sep 21, 2020
    Copy the full SHA
    a868c3a View commit details
  9. Copy the full SHA
    5735a01 View commit details
  10. chore(release): 10.1.5

    NathanWalker committed Sep 21, 2020
    Copy the full SHA
    f6d73bb View commit details

Commits on Oct 10, 2020

  1. chore: Update License

    Nathanael Anderson authored Oct 10, 2020
    Copy the full SHA
    861a706 View commit details

Commits on Oct 12, 2020

  1. fix: Export injection token used by plugins (#2268)

    Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
    PeterStaev and NathanWalker authored Oct 12, 2020
    Copy the full SHA
    75865f2 View commit details
  2. Copy the full SHA
    9b8435e View commit details
  3. Copy the full SHA
    52a56d7 View commit details
  4. chore(release): 10.1.7

    NathanWalker committed Oct 12, 2020
    Copy the full SHA
    23f89e4 View commit details

Commits on Nov 17, 2020

  1. Copy the full SHA
    e3657c4 View commit details
  2. chore(release): 11.0.0

    NathanWalker committed Nov 17, 2020
    Copy the full SHA
    2dc8e06 View commit details

Commits on Jan 22, 2021

  1. Copy the full SHA
    197d802 View commit details
  2. chore(release): 11.0.1

    NathanWalker committed Jan 22, 2021
    Copy the full SHA
    5632898 View commit details

Commits on Mar 24, 2021

  1. Copy the full SHA
    13a3562 View commit details
  2. chore(release): 11.2.0

    NathanWalker committed Mar 24, 2021
    Copy the full SHA
    3b4dadd View commit details
  3. chore: 11.2.0 changelog

    NathanWalker committed Mar 24, 2021
    Copy the full SHA
    ec8bbe0 View commit details

Commits on Apr 6, 2021

  1. Copy the full SHA
    c4ab491 View commit details
  2. Copy the full SHA
    a95e56e View commit details

Commits on Oct 28, 2024

  1. chore: readme note

    NathanWalker authored Oct 28, 2024
    Copy the full SHA
    352c5a9 View commit details
Showing with 402 additions and 261 deletions.
  1. +94 −0 CHANGELOG.md
  2. +2 −2 LICENSE
  3. +4 −0 README.md
  4. +0 −9 e2e/animation-examples/app/package.json
  5. +11 −0 e2e/animation-examples/nativescript.config.ts
  6. +22 −31 e2e/animation-examples/package.json
  7. +0 −9 e2e/tests-app-ng/app/package.json
  8. +11 −0 e2e/tests-app-ng/nativescript.config.ts
  9. +17 −26 e2e/tests-app-ng/package.json
  10. +1 −1 e2e/tests-app-ng/references.d.ts
  11. +24 −23 e2e/tests-app-ng/tsconfig.json
  12. +16 −16 nativescript-angular-package/package.json
  13. +1 −0 nativescript-angular/app-host-view.ts
  14. +23 −5 nativescript-angular/common/detached-loader.ts
  15. +19 −15 nativescript-angular/directives/dialogs.ts
  16. +2 −2 nativescript-angular/directives/index.ts
  17. +3 −3 nativescript-angular/directives/list-view-comp.ts
  18. +6 −4 nativescript-angular/directives/templated-items-comp.ts
  19. +4 −6 nativescript-angular/element-registry.ts
  20. +1 −1 nativescript-angular/index.ts
  21. +16 −26 nativescript-angular/package.json
  22. +1 −1 nativescript-angular/platform-common.ts
  23. +4 −11 nativescript-angular/renderer.ts
  24. +2 −0 nativescript-angular/router/index.ts
  25. +1 −1 nativescript-angular/router/ns-location-strategy.ts
  26. +49 −25 nativescript-angular/router/ns-router-link-active.ts
  27. +34 −27 nativescript-angular/router/ns-router-link.ts
  28. +3 −3 nativescript-angular/testing/package.json
  29. +4 −0 nativescript-angular/testing/src/polyfills.ts
  30. +1 −0 nativescript-angular/testing/src/public_api.ts
  31. +14 −2 nativescript-angular/view-util.ts
  32. +12 −12 tests/package.json
94 changes: 94 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,97 @@
# [11.2.0](https://github.com/NativeScript/nativescript-angular/compare/11.0.1...11.2.0) (2021-03-24)


### Bug Fixes

* **ivy:** nsRouterLinkActive works on nsRouterLink ([#2322](https://github.com/NativeScript/nativescript-angular/issues/2322)) ([13a3562](https://github.com/NativeScript/nativescript-angular/commit/13a3562146ef8516fea8bb3d988f8e0ddc9617a7))



## [11.0.1](https://github.com/NativeScript/nativescript-angular/compare/11.0.0...11.0.1) (2021-01-22)


### Bug Fixes

* blank screen on hmr ([#2317](https://github.com/NativeScript/nativescript-angular/issues/2317)) ([197d802](https://github.com/NativeScript/nativescript-angular/commit/197d802976ddf4ae3bba45f2d000a687049c8027))



# [11.0.0](https://github.com/NativeScript/nativescript-angular/compare/10.1.7...11.0.0) (2020-11-17)


### Features

* **angular:** v11 ([#2297](https://github.com/NativeScript/nativescript-angular/issues/2297)) ([e3657c4](https://github.com/NativeScript/nativescript-angular/commit/e3657c446db7af23d50f8514d001e5709c2b7788))



## [10.1.7](https://github.com/NativeScript/nativescript-angular/compare/10.1.5...10.1.7) (2020-10-12)


### Bug Fixes

* Export injection token used by plugins ([#2268](https://github.com/NativeScript/nativescript-angular/issues/2268)) ([75865f2](https://github.com/NativeScript/nativescript-angular/commit/75865f214d9e53eb36990c779808d50fb697f1ce))
* expose NSLocationStrategy and NSRouteReuseStrategy ([9b8435e](https://github.com/NativeScript/nativescript-angular/commit/9b8435e13b7f6f42098e79895af5ab3156d1aac3))


### Features

* export injectiontoken for template items ([52a56d7](https://github.com/NativeScript/nativescript-angular/commit/52a56d7201b70b67edb2ca77e9042737f216a07a))



## [10.1.5](https://github.com/NativeScript/nativescript-angular/compare/10.1.4...10.1.5) (2020-09-21)


### Bug Fixes

* **renderer:** dynamic views can't be prepended ([#2262](https://github.com/NativeScript/nativescript-angular/issues/2262)) ([5735a01](https://github.com/NativeScript/nativescript-angular/commit/5735a01695d7967b5a63222dcec760ddac0533e3))



## [10.1.4](https://github.com/NativeScript/nativescript-angular/compare/10.1.3...10.1.4) (2020-09-21)


### Bug Fixes

* **detached-loader:** detach loadWithFactory ([#2260](https://github.com/NativeScript/nativescript-angular/issues/2260)) ([1dca81b](https://github.com/NativeScript/nativescript-angular/commit/1dca81bbc4a1a05a9eefe13988848124885f3178))
* **renderer:** order not preserved ([#2261](https://github.com/NativeScript/nativescript-angular/issues/2261)) ([07abb9e](https://github.com/NativeScript/nativescript-angular/commit/07abb9e62c2408be83e8a694384cd529ba5d3309))



## [10.1.3](https://github.com/NativeScript/nativescript-angular/compare/10.1.0...10.1.3) (2020-09-21)


### Bug Fixes

* **detached-loader:** completely deatch components ([#2257](https://github.com/NativeScript/nativescript-angular/issues/2257)) ([623d2f7](https://github.com/NativeScript/nativescript-angular/commit/623d2f79e014017fd993685051d125b3c5c72ada))
* **ivy:** support view references in insertBefore ([#2258](https://github.com/NativeScript/nativescript-angular/issues/2258)) ([c2eaef5](https://github.com/NativeScript/nativescript-angular/commit/c2eaef52a66dbbee982f73bb968a706cee38f633))



# [10.1.0](https://github.com/NativeScript/nativescript-angular/compare/10.0.3...10.1.0) (2020-09-04)


### Bug Fixes

* **list-view:** fix crash when used with ngFor ([#2121](https://github.com/NativeScript/nativescript-angular/issues/2121)) ([302afb3](https://github.com/NativeScript/nativescript-angular/commit/302afb350dea56ddbf1a0d772f6d9405413890a5))


### Features

* **angular:** ng 10.1 and ns 7 ([#2237](https://github.com/NativeScript/nativescript-angular/issues/2237)) ([548e074](https://github.com/NativeScript/nativescript-angular/commit/548e0743eb092ba3fa371ea4d26879ee5bf03983))



## [10.0.3](https://github.com/NativeScript/nativescript-angular/compare/10.0.2...10.0.3) (2020-08-27)


### Bug Fixes

* **router:** page navigation bug if there's not outlet for frame after clearing history ([#2233](https://github.com/NativeScript/nativescript-angular/issues/2233)) ([8bedc2d](https://github.com/NativeScript/nativescript-angular/commit/8bedc2d14fccc8d6c1ea18151bda7ce7c87fddae))



## [10.0.2](https://github.com/NativeScript/nativescript-angular/compare/10.0.1...10.0.2) (2020-08-19)


4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright (c) 2015-2019 Progress Software Corporation
Copyright (c) 2020 nStudio, LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Note on repo

This repo is for Angular <= 11. If looking for 12+ (including 18+, etc) it's maintained here [NativeScript/angular](https://github.com/NativeScript/angular).

# NativeScript Angular
[![Build Status](https://travis-ci.org/NativeScript/nativescript-angular.svg?branch=master)](https://travis-ci.org/NativeScript/nativescript-angular)

9 changes: 0 additions & 9 deletions e2e/animation-examples/app/package.json

This file was deleted.

11 changes: 11 additions & 0 deletions e2e/animation-examples/nativescript.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { NativeScriptConfig } from '@nativescript/core'

export default {
id: 'org.nativescript.ng4animations',
appResourcesPath: 'app/App_Resources',
android: {
v8Flags: '--expose_gc',
markingMode: 'none',
},
appPath: 'app',
} as NativeScriptConfig
53 changes: 22 additions & 31 deletions e2e/animation-examples/package.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,30 @@
{
"description": "NativeScript Application",
"main": "main.js",
"license": "SEE LICENSE IN <your-license-filename>",
"readme": "NativeScript Application",
"repository": "<fill-your-repository-here>",
"nativescript": {
"id": "org.nativescript.ng4animations",
"tns-ios": {
"version": "6.5.2"
},
"tns-android": {
"version": "latest"
}
},
"dependencies": {
"@angular/animations": "~10.0.0",
"@angular/common": "~10.0.0",
"@angular/compiler": "~10.0.0",
"@angular/core": "~10.0.0",
"@angular/forms": "~10.0.0",
"@angular/platform-browser": "~10.0.0",
"@angular/platform-browser-dynamic": "~10.0.0",
"@angular/router": "~10.0.0",
"@angular/animations": "~11.0.0",
"@angular/common": "~11.0.0",
"@angular/compiler": "~11.0.0",
"@angular/core": "~11.0.0",
"@angular/forms": "~11.0.0",
"@angular/platform-browser": "~11.0.0",
"@angular/platform-browser-dynamic": "~11.0.0",
"@angular/router": "~11.0.0",
"@nativescript/angular": "file:../../dist/nativescript-angular-scoped.tgz",
"nativescript-theme-core": "~1.0.2",
"reflect-metadata": "~0.1.8",
"rxjs": "~6.5.5",
"@nativescript/core": "rc",
"zone.js": "^0.10.3"
"reflect-metadata": "~0.1.13",
"rxjs": "~6.6.0",
"@nativescript/core": "~7.0.0",
"zone.js": "^0.11.1"
},
"devDependencies": {
"@angular/compiler-cli": "~10.0.0",
"@ngtools/webpack": "~10.0.0",
"@angular/compiler-cli": "~11.0.0",
"@nativescript/ios": "7.0.5",
"@nativescript/webpack": "~3.0.0",
"@ngtools/webpack": "~11.0.0",
"@types/chai": "~4.2.0",
"@types/mocha": "~7.0.0",
"@types/node": "~14.0.0",
@@ -41,22 +35,19 @@
"lazy": "~1.0.11",
"mocha": "~8.0.1",
"mochawesome": "~6.1.1",
"node-sass": "~4.14.1",
"nativescript-css-loader": "~0.26.0",
"@nativescript/webpack": "rc",
"typescript": "~3.9.0"
"node-sass": "~4.14.1",
"typescript": "~4.0.0"
},
"scripts": {
"clean": "npx rimraf hooks node_modules platforms package-lock.json",
"clean": "ns clean",
"setup": "cd ../../nativescript-angular && npm run prep.apps && cd ../e2e/animation-examples && npm run clean",
"ngcc": "ngcc --properties es2015 module main --first-only",
"postinstall": "npm run ngcc",
"u": "update-ns-webpack",
"e2e": "tsc -p e2e && mocha --opts ../config/mocha.opts --recursive e2e --appiumCapsLocation ../config/appium.capabilities.json",
"e2e-watch": "tsc -p e2e --watch",
"ns-verify-bundle": "ns-verify-bundle",
"update-ns-webpack": "update-ns-webpack",
"ios": "tns debug ios --emulator --no-hmr",
"android": "tns debug android --emulator --no-hmr"
"ios": "ns debug ios --emulator --no-hmr",
"android": "ns debug android --emulator --no-hmr"
}
}
9 changes: 0 additions & 9 deletions e2e/tests-app-ng/app/package.json

This file was deleted.

11 changes: 11 additions & 0 deletions e2e/tests-app-ng/nativescript.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { NativeScriptConfig } from '@nativescript/core'

export default {
id: 'org.nativescript.testsappng',
appResourcesPath: 'app/App_Resources',
android: {
v8Flags: '--expose_gc',
markingMode: 'none',
},
appPath: 'app',
} as NativeScriptConfig
43 changes: 17 additions & 26 deletions e2e/tests-app-ng/package.json
Original file line number Diff line number Diff line change
@@ -3,54 +3,45 @@
"license": "SEE LICENSE IN <your-license-filename>",
"readme": "NativeScript Application",
"repository": "<fill-your-repository-here>",
"nativescript": {
"id": "org.nativescript.testsappng",
"tns-ios": {
"version": "6.5.2"
},
"tns-android": {
"version": "6.5.3"
}
},
"dependencies": {
"@angular/animations": "~10.0.0",
"@angular/common": "~10.0.0",
"@angular/compiler": "~10.0.0",
"@angular/core": "~10.0.0",
"@angular/forms": "~10.0.0",
"@angular/platform-browser": "~10.0.0",
"@angular/platform-browser-dynamic": "~10.0.0",
"@angular/router": "~10.0.0",
"@angular/animations": "~10.1.0",
"@angular/common": "~10.1.0",
"@angular/compiler": "~10.1.0",
"@angular/core": "~10.1.0",
"@angular/forms": "~10.1.0",
"@angular/platform-browser": "~10.1.0",
"@angular/platform-browser-dynamic": "~10.1.0",
"@angular/router": "~10.1.0",
"@nativescript/angular": "file:../../dist/nativescript-angular-scoped.tgz",
"nativescript-theme-core": "^1.0.4",
"reflect-metadata": "~0.1.8",
"rxjs": "~6.5.5",
"@nativescript/core": "rc",
"zone.js": "^0.10.3"
"rxjs": "~6.6.0",
"@nativescript/core": "~7.0.0",
"zone.js": "^0.11.1"
},
"devDependencies": {
"@angular/compiler-cli": "~10.0.0",
"@ngtools/webpack": "~10.0.0",
"@angular/compiler-cli": "~10.1.0",
"@nativescript/ios": "7.0.0",
"@nativescript/webpack": "~3.0.0",
"@ngtools/webpack": "~10.1.0",
"babel-traverse": "6.24.1",
"babel-types": "6.24.1",
"babylon": "6.17.0",
"codelyzer": "^5.1.0",
"filewalker": "^0.1.3",
"lazy": "1.0.11",
"@nativescript/webpack": "~2.1.1",
"typescript": "~3.9.0"
},
"scripts": {
"clean": "npx rimraf hooks node_modules platforms package-lock.json webpack.config.js && npm i",
"setup": "cd ../../nativescript-angular && npm run prep.apps && cd ../e2e/tests-app-ng && npm run clean",
"ngcc": "ngcc --properties es2015 module main --first-only",
"postinstall": "npm run ngcc",
"u": "update-ns-webpack",
"e2e": "tsc -p e2e && mocha --opts ../config/mocha.opts --recursive e2e --appiumCapsLocation ../config/appium.capabilities.json",
"e2e-watch": "tsc -p e2e --watch",
"ns-verify-bundle": "ns-verify-bundle",
"update-ns-webpack": "update-ns-webpack",
"ios": "tns debug ios --emulator --no-hmr",
"android": "tns debug android --emulator --no-hmr"
}
},
"main": "main.js"
}
2 changes: 1 addition & 1 deletion e2e/tests-app-ng/references.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/// <reference path="./node_modules/tns-core-modules/tns-core-modules.d.ts" /> Needed for autocompletion and compilation.
/// <reference path="./node_modules/@nativescript/core/global-types.d.ts" />
47 changes: 24 additions & 23 deletions e2e/tests-app-ng/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
{
"compilerOptions": {
"module": "ESNext",
"target": "es2015",
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noEmitHelpers": true,
"noEmitOnError": true,
"skipLibCheck": true,
"lib": [
"es2017",
"dom",
"es6"
],
"baseUrl": ".",
"paths": {
"~/*": [
"app/*"
]
}
"module": "esnext",
"target": "es2017",
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noEmitHelpers": true,
"noEmitOnError": true,
"skipLibCheck": true,
"lib": [
"es2017",
"dom",
"es6"
],
"baseUrl": ".",
"paths": {
"~/*": [
"app/*"
]
},
"removeComments": false
},
"files": [
"./references.d.ts",
"./app/main.ts"
],
"exclude": [
"node_modules",
"platforms",
"**/*.aot",
"e2e"
"node_modules",
"platforms",
"**/*.aot",
"e2e"
]
}
Loading