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: gund/ngx-element-boundary
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.2
Choose a base ref
...
head repository: gund/ngx-element-boundary
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jul 9, 2020

  1. Copy the full SHA
    ed3d8d5 View commit details
  2. chore(release): release 1.0.3 [skip ci]

    ## [1.0.3](v1.0.2...v1.0.3) (2020-07-09)
    
    ### Bug Fixes
    
    * **lib:** simulate late initialization of events stream on element strategies ([ed3d8d5](ed3d8d5))
    semantic-release-bot committed Jul 9, 2020
    Copy the full SHA
    c7b67b9 View commit details

Commits on Jul 14, 2020

  1. fix(lib): fix SingleAppBoundarySharingStrategy for late components

    Use ReplaySubject with buffer set to Infinity for boundaries so they are stored and replayed for
    every new subscriber of component
    gund committed Jul 14, 2020
    Copy the full SHA
    fbf48c1 View commit details
  2. chore(release): release 1.0.4 [skip ci]

    ## [1.0.4](v1.0.3...v1.0.4) (2020-07-14)
    
    ### Bug Fixes
    
    * **lib:** fix SingleAppBoundarySharingStrategy for late components ([fbf48c1](fbf48c1))
    semantic-release-bot committed Jul 14, 2020
    Copy the full SHA
    62ff5bf View commit details

Commits on Jul 15, 2020

  1. fix(lib): add component ref getter to default element boundary strategy

    That forwards original component ref from the default strategy
    gund committed Jul 15, 2020
    Copy the full SHA
    24e28c6 View commit details
  2. chore(release): release 1.0.5 [skip ci]

    ## [1.0.5](v1.0.4...v1.0.5) (2020-07-15)
    
    ### Bug Fixes
    
    * **lib:** add component ref getter to default element boundary strategy ([24e28c6](24e28c6))
    semantic-release-bot committed Jul 15, 2020
    Copy the full SHA
    0057163 View commit details
  3. fix(lib): expose component ref from cross boundary element strategy

    In the same way that default element strategy exposes it via protected API.
    Remove component ref getter from default boundary strategy wrapper.
    gund committed Jul 15, 2020
    Copy the full SHA
    858ec14 View commit details
  4. chore(release): release 1.0.6 [skip ci]

    ## [1.0.6](v1.0.5...v1.0.6) (2020-07-15)
    
    ### Bug Fixes
    
    * **lib:** expose component ref from cross boundary element strategy ([858ec14](858ec14))
    semantic-release-bot committed Jul 15, 2020
    Copy the full SHA
    c035792 View commit details

Commits on Jul 17, 2020

  1. Copy the full SHA
    5336adf View commit details
  2. fix(service): improve performance of components initialization

    By setting a debounce time (0s) on all boundaties stream
    gund committed Jul 17, 2020
    Copy the full SHA
    c68426f View commit details
  3. chore(release): release 1.0.7 [skip ci]

    ## [1.0.7](v1.0.6...v1.0.7) (2020-07-17)
    
    ### Bug Fixes
    
    * **service:** improve performance of components initialization ([c68426f](c68426f))
    semantic-release-bot committed Jul 17, 2020
    Copy the full SHA
    649a0ec View commit details

Commits on Jul 18, 2020

  1. Copy the full SHA
    2383bba View commit details
  2. chore(release): release 1.0.8 [skip ci]

    ## [1.0.8](v1.0.7...v1.0.8) (2020-07-18)
    
    ### Bug Fixes
    
    * **lib:** add Angular v9 to version range of v1 ([2383bba](2383bba))
    semantic-release-bot committed Jul 18, 2020
    Copy the full SHA
    7ad57ba View commit details

Commits on Jul 29, 2020

  1. Copy the full SHA
    3f4264a View commit details
  2. chore(release): release 1.0.9 [skip ci]

    ## [1.0.9](v1.0.8...v1.0.9) (2020-07-29)
    
    ### Bug Fixes
    
    * **lib:** refcount streams in ElementBoundaryService ([3f4264a](3f4264a))
    semantic-release-bot committed Jul 29, 2020
    Copy the full SHA
    025f785 View commit details

Commits on Jul 30, 2020

  1. Copy the full SHA
    07b42e0 View commit details
  2. chore(release): release 1.0.10 [skip ci]

    ## [1.0.10](v1.0.9...v1.0.10) (2020-07-30)
    
    ### Bug Fixes
    
    * **lib:** cleanup boundaries on destruction ([07b42e0](07b42e0))
    semantic-release-bot committed Jul 30, 2020
    Copy the full SHA
    7ff857f View commit details

Commits on Jul 7, 2022

  1. Copy the full SHA
    a958324 View commit details
  2. feat(ng): update to Angular v14

    BREAKING CHANGE: Library is built with Angular v14
    gund committed Jul 7, 2022
    Copy the full SHA
    b93d7a9 View commit details
  3. Copy the full SHA
    8a58892 View commit details
  4. Copy the full SHA
    10925bd View commit details
  5. chore(deps): update dev deps

    gund committed Jul 7, 2022
    Copy the full SHA
    0563131 View commit details
  6. Copy the full SHA
    c198504 View commit details
  7. Copy the full SHA
    9dc0eb3 View commit details
  8. Merge pull request #31 from gund/feat-ng-update

    [Feat] Update to Angular v14
    gund authored Jul 7, 2022
    Copy the full SHA
    fb52bba View commit details
  9. chore(release): release 2.0.0 [skip ci]

    # [2.0.0](v1.0.10...v2.0.0) (2022-07-07)
    
    ### Features
    
    * **ng:** update to Angular v14 ([b93d7a9](b93d7a9))
    
    ### BREAKING CHANGES
    
    * **ng:** Library is built with Angular v14
    semantic-release-bot committed Jul 7, 2022
    Copy the full SHA
    3d323ac View commit details
  10. build(lib): remove prod mode

    gund committed Jul 7, 2022
    Copy the full SHA
    7d3448d View commit details
  11. refactor(lint): replace deprecated code

    By using deprecation eslint plugin
    gund committed Jul 7, 2022
    Copy the full SHA
    43ae910 View commit details
  12. Copy the full SHA
    f7c6be5 View commit details
  13. Copy the full SHA
    6c8360e View commit details
Showing with 38,572 additions and 19,563 deletions.
  1. +30 −0 .eslintrc.json
  2. +1 −0 .gitignore
  3. +4 −0 .vscode/settings.json
  4. +68 −0 CHANGELOG.md
  5. +2 −0 README.md
  6. +20 −20 angular.json
  7. +38,113 −19,183 package-lock.json
  8. +57 −49 package.json
  9. +7 −8 projects/demo/src/app/app.module.ts
  10. +1 −1 projects/demo/src/environments/environment.ts
  11. +1 −3 projects/demo/src/index.html
  12. +1 −11 projects/demo/src/polyfills.ts
  13. +1 −1 projects/demo/tsconfig.app.json
  14. +30 −0 projects/ngx-element-boundary/.eslintrc.json
  15. +1 −3 projects/ngx-element-boundary/element-strategy/default/ng-package.json
  16. +6 −4 projects/ngx-element-boundary/element-strategy/default/src/default-ng-element-strategy.ts
  17. +24 −36 projects/ngx-element-boundary/element-strategy/default/src/element-boundary-ng-element-strategy.ts
  18. +1 −3 projects/ngx-element-boundary/ng-package.json
  19. +4 −4 projects/ngx-element-boundary/package.json
  20. +5 −0 projects/ngx-element-boundary/src/lib/boundary-sharing-strategy/boundary-sharing-strategy.ts
  21. +28 −19 projects/ngx-element-boundary/src/lib/boundary-sharing-strategy/global-boundary-sharing-strategy.ts
  22. +24 −11 ...ts/ngx-element-boundary/src/lib/boundary-sharing-strategy/single-app-boundary-sharing-strategy.ts
  23. +2 −1 ...ts/ngx-element-boundary/src/lib/component-selector-strategy/prefix-component-selector-strategy.ts
  24. +2 −1 ...cts/ngx-element-boundary/src/lib/component-selector-strategy/regex-component-selector-strategy.ts
  25. +34 −32 projects/ngx-element-boundary/src/lib/cross-boundary-ng-element-strategy.ts
  26. +14 −6 projects/ngx-element-boundary/src/lib/element-boundary.directive.ts
  27. +29 −5 projects/ngx-element-boundary/src/lib/element-boundary.service.ts
  28. +3 −3 projects/ngx-element-boundary/src/lib/hookable-injector.ts
  29. +31 −0 projects/ngx-element-boundary/src/lib/util.ts
  30. +3 −0 projects/ngx-element-boundary/src/public-api.ts
  31. +5 −3 projects/ngx-element-boundary/tsconfig.lib.json
  32. +0 −7 projects/ngx-element-boundary/tsconfig.lib.prod.json
  33. +1 −1 projects/ngx-element-boundary/tsconfig.spec.json
  34. +0 −7 projects/ngx-element-boundary/tslint.json
  35. +0 −22 tsconfig.base.json
  36. +19 −17 tsconfig.json
  37. +0 −102 tslint.json
30 changes: 30 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"root": true,
"ignorePatterns": ["projects/**/*"],
"plugins": ["deprecation"],
"overrides": [
{
"files": ["*.ts"],
"parserOptions": {
"project": ["tsconfig.json", "e2e/tsconfig.json"],
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/ng-cli-compat",
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"prefer-arrow/prefer-arrow-functions": "off"
}
},
{
"files": ["*.html"],
"extends": ["plugin:@angular-eslint/template/recommended"],
"rules": {}
}
],
"rules": {
"deprecation/deprecation": "warn"
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -32,6 +32,7 @@ speed-measure-plugin*.json
.history/*

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"angular.enable-strict-mode-prompt": false,
"typescript.tsdk": "node_modules/typescript/lib"
}
68 changes: 68 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,73 @@
# ngx-element-boundary - Changelog

# [2.0.0](https://github.com/gund/ngx-element-boundary/compare/v1.0.10...v2.0.0) (2022-07-07)


### Features

* **ng:** update to Angular v14 ([b93d7a9](https://github.com/gund/ngx-element-boundary/commit/b93d7a9c48ea57de934911987e9a236cfce60311))


### BREAKING CHANGES

* **ng:** Library is built with Angular v14

## [1.0.10](https://github.com/gund/ngx-element-boundary/compare/v1.0.9...v1.0.10) (2020-07-30)


### Bug Fixes

* **lib:** cleanup boundaries on destruction ([07b42e0](https://github.com/gund/ngx-element-boundary/commit/07b42e0c74ded0ab89c9b7ab9c0983a46803b6d1))

## [1.0.9](https://github.com/gund/ngx-element-boundary/compare/v1.0.8...v1.0.9) (2020-07-29)


### Bug Fixes

* **lib:** refcount streams in ElementBoundaryService ([3f4264a](https://github.com/gund/ngx-element-boundary/commit/3f4264a4bb642e113dea5673c17c8e73e232a25d))

## [1.0.8](https://github.com/gund/ngx-element-boundary/compare/v1.0.7...v1.0.8) (2020-07-18)


### Bug Fixes

* **lib:** add Angular v9 to version range of v1 ([2383bba](https://github.com/gund/ngx-element-boundary/commit/2383bba4192bba188a34f62fbcdc7f32e898bfa7))

## [1.0.7](https://github.com/gund/ngx-element-boundary/compare/v1.0.6...v1.0.7) (2020-07-17)


### Bug Fixes

* **service:** improve performance of components initialization ([c68426f](https://github.com/gund/ngx-element-boundary/commit/c68426f58f3655009315b6f3c368dae664661b62))

## [1.0.6](https://github.com/gund/ngx-element-boundary/compare/v1.0.5...v1.0.6) (2020-07-15)


### Bug Fixes

* **lib:** expose component ref from cross boundary element strategy ([858ec14](https://github.com/gund/ngx-element-boundary/commit/858ec1422e81054b431213f8c432ccaad7dcc84e))

## [1.0.5](https://github.com/gund/ngx-element-boundary/compare/v1.0.4...v1.0.5) (2020-07-15)


### Bug Fixes

* **lib:** add component ref getter to default element boundary strategy ([24e28c6](https://github.com/gund/ngx-element-boundary/commit/24e28c6ba220bcb1bab2cd225cf836c2d9ee501f))

## [1.0.4](https://github.com/gund/ngx-element-boundary/compare/v1.0.3...v1.0.4) (2020-07-14)


### Bug Fixes

* **lib:** fix SingleAppBoundarySharingStrategy for late components ([fbf48c1](https://github.com/gund/ngx-element-boundary/commit/fbf48c1620f36d0200670361016b08b83c509def))

## [1.0.3](https://github.com/gund/ngx-element-boundary/compare/v1.0.2...v1.0.3) (2020-07-09)


### Bug Fixes

* **lib:** simulate late initialization of events stream on element strategies ([ed3d8d5](https://github.com/gund/ngx-element-boundary/commit/ed3d8d566b958adebb7098c974e13abf47f0201b))

## [1.0.2](https://github.com/gund/ngx-element-boundary/compare/v1.0.1...v1.0.2) (2020-07-08)


2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -7,7 +7,9 @@

| Angular | ngx-element-boundary | NPM package |
| ------- | -------------------- | ----------------------------- |
| 14.x.x | 2.x.x | `ngx-element-boundary@^2.0.0` |
| 10.x.x | 1.x.x | `ngx-element-boundary@^1.0.0` |
| 9.x.x | 1.x.x | `ngx-element-boundary@^1.0.0` |

_NOTE:_ For Angular versions below v10 it may work but was not tested.

40 changes: 20 additions & 20 deletions angular.json
Original file line number Diff line number Diff line change
@@ -10,29 +10,23 @@
"prefix": "neb",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/ngx-element-boundary/tsconfig.lib.json",
"project": "projects/ngx-element-boundary/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/ngx-element-boundary/tsconfig.lib.prod.json"
}
}
},
"test": {
"builder": "@angular-builders/jest:run",
"options": {}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"builder": "@angular-eslint/builder:lint",
"options": {
"tsConfig": [
"projects/ngx-element-boundary/tsconfig.lib.json",
"projects/ngx-element-boundary/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
"lintFilePatterns": [
"projects/ngx-element-boundary/**/*.ts",
"projects/ngx-element-boundary/**/*.html"
]
}
}
}
@@ -57,9 +51,7 @@
"@schematics/angular:interceptor": {
"skipTests": true
},
"@schematics/angular:module": {
"skipTests": true
},
"@schematics/angular:module": {},
"@schematics/angular:pipe": {
"skipTests": true
},
@@ -79,13 +71,18 @@
"main": "projects/demo/src/main.ts",
"polyfills": "projects/demo/src/polyfills.ts",
"tsConfig": "projects/demo/tsconfig.app.json",
"aot": true,
"assets": [
"projects/demo/src/favicon.ico",
"projects/demo/src/assets"
],
"styles": ["projects/demo/src/styles.css"],
"scripts": []
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
@@ -98,7 +95,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
@@ -116,7 +112,8 @@
}
]
}
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
@@ -138,5 +135,8 @@
}
}
},
"defaultProject": "ngx-element-boundary"
"cli": {
"analytics": false,
"schematicCollections": ["@angular-eslint/schematics"]
}
}
Loading