From 5ddd9b627decbc0e50f01a31b0ad74f3b8013d4e Mon Sep 17 00:00:00 2001 From: why520crazy Date: Wed, 13 Mar 2024 15:07:25 +0800 Subject: [PATCH 1/2] build: release 17.0.0-next.1 --- CHANGELOG.md | 14 ++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- packages/planet/package.json | 2 +- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f53b452..0327966 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +# [17.0.0-next.1](https://github.com/worktile/ngx-planet/compare/17.0.0-next.0...17.0.0-next.1) (2024-03-13) + + +### Bug Fixes + +* sync portal router navigate in ngZone ([20259f9](https://github.com/worktile/ngx-planet/commit/20259f9945313aee7904d42274d7dd94a5a2afa0)) + + +### Features + +* support index.html as assets manifest and add entry instead of manifest, scripts, styles and resourcePathPrefix ([#308](https://github.com/worktile/ngx-planet/issues/308)) ([0670411](https://github.com/worktile/ngx-planet/commit/067041162ff7908f6cd950338e197847fa562308)) + + + # [17.0.0-next.0](https://github.com/worktile/ngx-planet/compare/16.0.0...17.0.0-next.0) (2024-03-08) diff --git a/package-lock.json b/package-lock.json index a957b8b..6a07af9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@worktile/planet", - "version": "17.0.0-next.0", + "version": "17.0.0-next.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@worktile/planet", - "version": "17.0.0-next.0", + "version": "17.0.0-next.1", "dependencies": { "@angular/animations": "^17.2.3", "@angular/cdk": "^17.2.1", diff --git a/package.json b/package.json index 032be90..cb765a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@worktile/planet", - "version": "17.0.0-next.0", + "version": "17.0.0-next.1", "description": "A powerful, reliable, fully-featured and production ready Micro Frontend library for Angular.", "keywords": [ "micro front-end", diff --git a/packages/planet/package.json b/packages/planet/package.json index 60c24ef..df7761a 100644 --- a/packages/planet/package.json +++ b/packages/planet/package.json @@ -1,6 +1,6 @@ { "name": "@worktile/planet", - "version": "17.0.0-next.0", + "version": "17.0.0-next.1", "private": false, "peerDependencies": { "@angular/common": "^17.0.0", From cefb49ad66fff46fdb8b7013b511630fb8fcf196 Mon Sep 17 00:00:00 2001 From: why520crazy Date: Wed, 13 Mar 2024 15:12:55 +0800 Subject: [PATCH 2/2] test: add ngZone for fix test error --- packages/planet/src/application/planet-application-ref.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/planet/src/application/planet-application-ref.spec.ts b/packages/planet/src/application/planet-application-ref.spec.ts index 533173a..79dce7d 100644 --- a/packages/planet/src/application/planet-application-ref.spec.ts +++ b/packages/planet/src/application/planet-application-ref.spec.ts @@ -294,6 +294,7 @@ describe('PlanetApplicationRef', () => { it(`should sync portal route change when sub app(app1) route navigate`, fakeAsync(() => { const portalApplication = new PlanetPortalApplication(); + portalApplication.ngZone = TestBed.inject(NgZone); portalApplication.router = { navigateByUrl: () => {} } as any; const navigateByUrlSpy = spyOn(portalApplication.router, 'navigateByUrl'); const ngModuleFactory = compiler.compileModuleSync(AppModule);