ui5-lib-guard-router 1.6.2 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/.ui5 → .ui5}/build-manifest.json +56 -8
- package/CHANGELOG.md +190 -0
- package/README.md +695 -327
- package/dist/index.d.ts +9 -5
- package/dist/resources/ui5/guard/router/.library +1 -1
- package/dist/resources/ui5/guard/router/GuardConfig-dbg.js +222 -0
- package/dist/resources/ui5/guard/router/GuardConfig-dbg.js.map +1 -0
- package/dist/resources/ui5/guard/router/GuardConfig.d.ts +89 -0
- package/dist/resources/ui5/guard/router/GuardConfig.d.ts.map +1 -0
- package/dist/resources/ui5/guard/router/GuardConfig.js +2 -0
- package/dist/resources/ui5/guard/router/GuardConfig.js.map +1 -0
- package/dist/resources/ui5/guard/router/GuardModules-dbg.js +253 -0
- package/dist/resources/ui5/guard/router/GuardModules-dbg.js.map +1 -0
- package/dist/resources/ui5/guard/router/GuardModules.d.ts +72 -0
- package/dist/resources/ui5/guard/router/GuardModules.d.ts.map +1 -0
- package/dist/resources/ui5/guard/router/GuardModules.js +2 -0
- package/dist/resources/ui5/guard/router/GuardModules.js.map +1 -0
- package/dist/resources/ui5/guard/router/GuardPipeline-dbg.js +122 -121
- package/dist/resources/ui5/guard/router/GuardPipeline-dbg.js.map +1 -1
- package/dist/resources/ui5/guard/router/GuardPipeline.d.ts +45 -26
- package/dist/resources/ui5/guard/router/GuardPipeline.d.ts.map +1 -1
- package/dist/resources/ui5/guard/router/GuardPipeline.js +1 -1
- package/dist/resources/ui5/guard/router/GuardPipeline.js.map +1 -1
- package/dist/resources/ui5/guard/router/NavigationOutcome-dbg.js +3 -3
- package/dist/resources/ui5/guard/router/NavigationOutcome-dbg.js.map +1 -1
- package/dist/resources/ui5/guard/router/NavigationOutcome.d.ts +3 -3
- package/dist/resources/ui5/guard/router/NavigationOutcome.d.ts.map +1 -1
- package/dist/resources/ui5/guard/router/NavigationOutcome.js.map +1 -1
- package/dist/resources/ui5/guard/router/PatternTree-dbg.js +156 -0
- package/dist/resources/ui5/guard/router/PatternTree-dbg.js.map +1 -0
- package/dist/resources/ui5/guard/router/PatternTree.d.ts +71 -0
- package/dist/resources/ui5/guard/router/PatternTree.d.ts.map +1 -0
- package/dist/resources/ui5/guard/router/PatternTree.js +2 -0
- package/dist/resources/ui5/guard/router/PatternTree.js.map +1 -0
- package/dist/resources/ui5/guard/router/RouteMeta-dbg.js +84 -0
- package/dist/resources/ui5/guard/router/RouteMeta-dbg.js.map +1 -0
- package/dist/resources/ui5/guard/router/RouteMeta.d.ts +33 -0
- package/dist/resources/ui5/guard/router/RouteMeta.d.ts.map +1 -0
- package/dist/resources/ui5/guard/router/RouteMeta.js +2 -0
- package/dist/resources/ui5/guard/router/RouteMeta.js.map +1 -0
- package/dist/resources/ui5/guard/router/Router-dbg.js +882 -1020
- package/dist/resources/ui5/guard/router/Router-dbg.js.map +1 -1
- package/dist/resources/ui5/guard/router/Router.d.ts +360 -211
- package/dist/resources/ui5/guard/router/Router.d.ts.map +1 -1
- package/dist/resources/ui5/guard/router/Router.js +1 -1
- package/dist/resources/ui5/guard/router/Router.js.map +1 -1
- package/dist/resources/ui5/guard/router/library-dbg.js +1 -1
- package/dist/resources/ui5/guard/router/library-dbg.js.map +1 -1
- package/dist/resources/ui5/guard/router/library-preload.js +8 -4
- package/dist/resources/ui5/guard/router/library-preload.js.map +1 -1
- package/dist/resources/ui5/guard/router/library.js +1 -1
- package/dist/resources/ui5/guard/router/library.js.map +1 -1
- package/dist/resources/ui5/guard/router/manifest.json +5 -2
- package/dist/resources/ui5/guard/router/types-dbg.js.map +1 -1
- package/dist/resources/ui5/guard/router/types.d.ts +94 -39
- package/dist/resources/ui5/guard/router/types.d.ts.map +1 -1
- package/package.json +10 -6
- package/src/GuardConfig.ts +272 -0
- package/src/GuardModules.ts +249 -0
- package/src/GuardPipeline.ts +155 -128
- package/src/NavigationOutcome.ts +3 -3
- package/src/PatternTree.ts +145 -0
- package/src/RouteMeta.ts +82 -0
- package/src/Router.ts +1089 -1130
- package/src/manifest.json +5 -2
- package/src/types.ts +79 -22
- package/tsconfig.json +0 -11
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
"resources": {
|
|
9
9
|
"configuration": {
|
|
10
10
|
"paths": {
|
|
11
|
-
"src": "resources",
|
|
12
|
-
"test": "test-resources"
|
|
11
|
+
"src": "dist/resources",
|
|
12
|
+
"test": "dist/test-resources"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"buildManifest": {
|
|
18
18
|
"manifestVersion": "0.2",
|
|
19
|
-
"timestamp": "2026-
|
|
19
|
+
"timestamp": "2026-11-22T14:42:36.415Z",
|
|
20
20
|
"versions": {
|
|
21
|
-
"builderVersion": "4.
|
|
22
|
-
"projectVersion": "4.0.
|
|
23
|
-
"fsVersion": "4.0.
|
|
21
|
+
"builderVersion": "4.3.8",
|
|
22
|
+
"projectVersion": "4.0.19",
|
|
23
|
+
"fsVersion": "4.0.7"
|
|
24
24
|
},
|
|
25
25
|
"buildConfig": {
|
|
26
26
|
"selfContained": false,
|
|
@@ -31,9 +31,33 @@
|
|
|
31
31
|
"includedTasks": [],
|
|
32
32
|
"excludedTasks": []
|
|
33
33
|
},
|
|
34
|
-
"version": "1.
|
|
34
|
+
"version": "1.7.0",
|
|
35
35
|
"namespace": "ui5/guard/router",
|
|
36
36
|
"tags": {
|
|
37
|
+
"/resources/ui5/guard/router/GuardConfig-dbg.js": {
|
|
38
|
+
"ui5:IsDebugVariant": true
|
|
39
|
+
},
|
|
40
|
+
"/resources/ui5/guard/router/GuardConfig-dbg.js.map": {
|
|
41
|
+
"ui5:IsDebugVariant": true
|
|
42
|
+
},
|
|
43
|
+
"/resources/ui5/guard/router/GuardConfig.js": {
|
|
44
|
+
"ui5:HasDebugVariant": true
|
|
45
|
+
},
|
|
46
|
+
"/resources/ui5/guard/router/GuardConfig.js.map": {
|
|
47
|
+
"ui5:HasDebugVariant": true
|
|
48
|
+
},
|
|
49
|
+
"/resources/ui5/guard/router/GuardModules-dbg.js": {
|
|
50
|
+
"ui5:IsDebugVariant": true
|
|
51
|
+
},
|
|
52
|
+
"/resources/ui5/guard/router/GuardModules-dbg.js.map": {
|
|
53
|
+
"ui5:IsDebugVariant": true
|
|
54
|
+
},
|
|
55
|
+
"/resources/ui5/guard/router/GuardModules.js": {
|
|
56
|
+
"ui5:HasDebugVariant": true
|
|
57
|
+
},
|
|
58
|
+
"/resources/ui5/guard/router/GuardModules.js.map": {
|
|
59
|
+
"ui5:HasDebugVariant": true
|
|
60
|
+
},
|
|
37
61
|
"/resources/ui5/guard/router/GuardPipeline-dbg.js": {
|
|
38
62
|
"ui5:IsDebugVariant": true
|
|
39
63
|
},
|
|
@@ -70,6 +94,30 @@
|
|
|
70
94
|
"/resources/ui5/guard/router/NavigationOutcome.js.map": {
|
|
71
95
|
"ui5:HasDebugVariant": true
|
|
72
96
|
},
|
|
97
|
+
"/resources/ui5/guard/router/PatternTree-dbg.js": {
|
|
98
|
+
"ui5:IsDebugVariant": true
|
|
99
|
+
},
|
|
100
|
+
"/resources/ui5/guard/router/PatternTree-dbg.js.map": {
|
|
101
|
+
"ui5:IsDebugVariant": true
|
|
102
|
+
},
|
|
103
|
+
"/resources/ui5/guard/router/PatternTree.js": {
|
|
104
|
+
"ui5:HasDebugVariant": true
|
|
105
|
+
},
|
|
106
|
+
"/resources/ui5/guard/router/PatternTree.js.map": {
|
|
107
|
+
"ui5:HasDebugVariant": true
|
|
108
|
+
},
|
|
109
|
+
"/resources/ui5/guard/router/RouteMeta-dbg.js": {
|
|
110
|
+
"ui5:IsDebugVariant": true
|
|
111
|
+
},
|
|
112
|
+
"/resources/ui5/guard/router/RouteMeta-dbg.js.map": {
|
|
113
|
+
"ui5:IsDebugVariant": true
|
|
114
|
+
},
|
|
115
|
+
"/resources/ui5/guard/router/RouteMeta.js": {
|
|
116
|
+
"ui5:HasDebugVariant": true
|
|
117
|
+
},
|
|
118
|
+
"/resources/ui5/guard/router/RouteMeta.js.map": {
|
|
119
|
+
"ui5:HasDebugVariant": true
|
|
120
|
+
},
|
|
73
121
|
"/resources/ui5/guard/router/Router-dbg.js": {
|
|
74
122
|
"ui5:IsDebugVariant": true
|
|
75
123
|
},
|
|
@@ -96,4 +144,4 @@
|
|
|
96
144
|
}
|
|
97
145
|
}
|
|
98
146
|
}
|
|
99
|
-
}
|
|
147
|
+
}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [1.7.0](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.6.2...v1.7.0) (2026-11-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **router:** add a logLevel option for the router's log component ([#74](https://github.com/wridgeu/ui5-lib-guard-router/issues/74)) ([d02615b](https://github.com/wridgeu/ui5-lib-guard-router/commit/d02615b4ce20f8dac369ad11642ea5c4aa2c4030))
|
|
9
|
+
* **router:** owner component for guards; harden navigation and guard loading ([#70](https://github.com/wridgeu/ui5-lib-guard-router/issues/70)) ([4a508eb](https://github.com/wridgeu/ui5-lib-guard-router/commit/4a508eb6efe877c331a28ad36c126b3b1c37fde3))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* audit findings in router, demo app, tooling and docs ([#72](https://github.com/wridgeu/ui5-lib-guard-router/issues/72)) ([71a50cd](https://github.com/wridgeu/ui5-lib-guard-router/commit/71a50cd29aa0be44882a0a8cac6d76326cfc67cc))
|
|
15
|
+
* **router:** log the error object when applying an async decision fails ([#76](https://github.com/wridgeu/ui5-lib-guard-router/issues/76)) ([aecc13a](https://github.com/wridgeu/ui5-lib-guard-router/commit/aecc13a6496b9af86fceef167643a43cf4bbb6fe))
|
|
16
|
+
* ship the build manifest where UI5 Tooling reads it; document building and deploying ([#73](https://github.com/wridgeu/ui5-lib-guard-router/issues/73)) ([dc37c9a](https://github.com/wridgeu/ui5-lib-guard-router/commit/dc37c9a895994f71c609b24ff527c0a48610fe90))
|
|
17
|
+
|
|
18
|
+
## [1.6.2](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.6.1...v1.6.2) (2026-05-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Code Refactoring
|
|
22
|
+
|
|
23
|
+
* **router:** drop dead metadata fallback and unify sort to toSorted ([1fd2e88](https://github.com/wridgeu/ui5-lib-guard-router/commit/1fd2e887be92ade46dee0f69fe0cbcfccc835238))
|
|
24
|
+
|
|
25
|
+
## [1.6.1](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.6.0...v1.6.1) (2026-04-02)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **guard-pipeline:** pass Error objects to Log.error for stack trace preservation ([6da9d91](https://github.com/wridgeu/ui5-lib-guard-router/commit/6da9d913008ff915807d18ea2c1c72a3b35ef0fd))
|
|
31
|
+
|
|
32
|
+
## [1.6.0](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.5.3...v1.6.0) (2026-03-30)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Features
|
|
36
|
+
|
|
37
|
+
* **router:** declarative route metadata and pattern-tree guard/metadata inheritance ([5621740](https://github.com/wridgeu/ui5-lib-guard-router/commit/562174063cdc1af156a3a067ece7fb2419895257))
|
|
38
|
+
|
|
39
|
+
## [1.5.3](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.5.2...v1.5.3) (2026-03-25)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Code Refactoring
|
|
43
|
+
|
|
44
|
+
* **router:** extract _isFn and _resolveNavToArgs helpers ([bc1f7b9](https://github.com/wridgeu/ui5-lib-guard-router/commit/bc1f7b95d4c751dc43678f575d6b45d4b8577fab))
|
|
45
|
+
|
|
46
|
+
## [1.5.2](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.5.1...v1.5.2) (2026-03-24)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Code Refactoring
|
|
50
|
+
|
|
51
|
+
* **router:** de-duplicate isPromiseLike, widen pipeline leave guard types ([b05864c](https://github.com/wridgeu/ui5-lib-guard-router/commit/b05864c2497563d57c85f07cec1d27242dc3f87e))
|
|
52
|
+
|
|
53
|
+
## [1.5.1](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.5.0...v1.5.1) (2026-03-23)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Code Refactoring
|
|
57
|
+
|
|
58
|
+
* **router:** extract guard context and redirect chain helpers, tighten log messages ([e939d4b](https://github.com/wridgeu/ui5-lib-guard-router/commit/e939d4bfe5598cd702102dbd68eb64e82123072d))
|
|
59
|
+
|
|
60
|
+
## [1.5.0](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.4.0...v1.5.0) (2026-03-23)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Features
|
|
64
|
+
|
|
65
|
+
* **router:** declarative manifest-based guard configuration ([#49](https://github.com/wridgeu/ui5-lib-guard-router/issues/49)) ([1930456](https://github.com/wridgeu/ui5-lib-guard-router/commit/1930456ea1160742e48b71c207a390c9cf852841))
|
|
66
|
+
|
|
67
|
+
## [1.4.0](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.3.2...v1.4.0) (2026-03-22)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Features
|
|
71
|
+
|
|
72
|
+
* **router:** distinguish guard errors from intentional blocks ([#50](https://github.com/wridgeu/ui5-lib-guard-router/issues/50)) ([9c467db](https://github.com/wridgeu/ui5-lib-guard-router/commit/9c467dbd8fd0ec43c208c9c8bc7cbd5d6222786c))
|
|
73
|
+
* **router:** evaluate guards on redirect targets ([#52](https://github.com/wridgeu/ui5-lib-guard-router/issues/52)) ([#54](https://github.com/wridgeu/ui5-lib-guard-router/issues/54)) ([551dbe8](https://github.com/wridgeu/ui5-lib-guard-router/commit/551dbe8ac121a74badab2f9719cbabadd43c2dce))
|
|
74
|
+
|
|
75
|
+
## [1.3.2](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.3.1...v1.3.2) (2026-03-22)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### Code Refactoring
|
|
79
|
+
|
|
80
|
+
* **router:** extract guard pipeline into standalone class ([65f6fc0](https://github.com/wridgeu/ui5-lib-guard-router/commit/65f6fc01c0ef477aac563707c8bbd13627a4aa13))
|
|
81
|
+
* **router:** replace boolean flags with state machine and navigation attempt ([77b8484](https://github.com/wridgeu/ui5-lib-guard-router/commit/77b8484af4319181adc8fb22076c21f667f2a468)), closes [#38](https://github.com/wridgeu/ui5-lib-guard-router/issues/38) [#39](https://github.com/wridgeu/ui5-lib-guard-router/issues/39)
|
|
82
|
+
|
|
83
|
+
## [1.3.1](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.3.0...v1.3.1) (2026-03-21)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Bug Fixes
|
|
87
|
+
|
|
88
|
+
* **router:** prevent guard bypass during redirects and fix event API ([be9de35](https://github.com/wridgeu/ui5-lib-guard-router/commit/be9de3548ef5d35319a184b24ffb0d3be1a5a9c1))
|
|
89
|
+
|
|
90
|
+
## [1.3.0](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.2.0...v1.3.0) (2026-03-20)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
### Features
|
|
94
|
+
|
|
95
|
+
* add navigationSettled event via UI5 EventProvider ([0c80ec2](https://github.com/wridgeu/ui5-lib-guard-router/commit/0c80ec25a973b5c2d663d838766b2d3bd23abe66))
|
|
96
|
+
* add navTo() preflight guard evaluation ([58e0aff](https://github.com/wridgeu/ui5-lib-guard-router/commit/58e0affe5e81c009c99a3fb0b08e7b33706ae637))
|
|
97
|
+
* **router:** add bypassed settlement outcome and harden guard edge cases ([7ce94ae](https://github.com/wridgeu/ui5-lib-guard-router/commit/7ce94ae95c00f2363e4d1ef0343c2e0f70775167))
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
### Bug Fixes
|
|
101
|
+
|
|
102
|
+
* cancel pending navigation on unknown-route navTo, audit fixes ([#35](https://github.com/wridgeu/ui5-lib-guard-router/issues/35)) ([4690269](https://github.com/wridgeu/ui5-lib-guard-router/commit/4690269ac7a61ba0ceba0e640c9f7d107e33507d))
|
|
103
|
+
* **docs:** correct broken links, log table accuracy, and test coverage refs ([84edc10](https://github.com/wridgeu/ui5-lib-guard-router/commit/84edc1068aea3a3fd016582f4a8fbe901b564503))
|
|
104
|
+
* **docs:** correct log-level URL parameter and settlement type usage ([992dc5e](https://github.com/wridgeu/ui5-lib-guard-router/commit/992dc5e023010182e888d2854ce7de4ddeef9acc))
|
|
105
|
+
* **router:** align object-form invalid guard warning ([eb4d409](https://github.com/wridgeu/ui5-lib-guard-router/commit/eb4d4096ca4000575f445a48598be902cbd9cc02))
|
|
106
|
+
* **router:** validate leave guard results and harden test reliability ([01e5350](https://github.com/wridgeu/ui5-lib-guard-router/commit/01e5350ef7f9f353e9e0c7d8fc4c028435332deb))
|
|
107
|
+
|
|
108
|
+
## [1.2.0](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.1.1...v1.2.0) (2026-03-17)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### Features
|
|
112
|
+
|
|
113
|
+
* add navigationSettled() API with NavigationOutcome enum ([41cff49](https://github.com/wridgeu/ui5-lib-guard-router/commit/41cff491da2aebce3e1f0f920497f5718f5bdabf))
|
|
114
|
+
* **demo:** enable enhanced FLP homepage and add dirty-state separation tests ([#25](https://github.com/wridgeu/ui5-lib-guard-router/issues/25)) ([366e03f](https://github.com/wridgeu/ui5-lib-guard-router/commit/366e03fc42d8b701d7ee87e00e25d01861d3b162))
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### Bug Fixes
|
|
118
|
+
|
|
119
|
+
* prevent stranded settlement on redirect to nonexistent route ([e251b1d](https://github.com/wridgeu/ui5-lib-guard-router/commit/e251b1d227f7fae4835efe25859c8cdc31a7f0f6))
|
|
120
|
+
* settle failed redirect as Blocked, not Redirected ([9a9433e](https://github.com/wridgeu/ui5-lib-guard-router/commit/9a9433e22acfce71c77261a17fdb6f7f3453b6eb))
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
### Code Refactoring
|
|
124
|
+
|
|
125
|
+
* remove redundant library side-effect import from Router ([1ab6930](https://github.com/wridgeu/ui5-lib-guard-router/commit/1ab693042087f698576f8064c9209b116eeb3b1a))
|
|
126
|
+
* **test:** remove redundant library import from QUnit suite ([b671893](https://github.com/wridgeu/ui5-lib-guard-router/commit/b671893a9df2f2bf796d8c1a75350222ddeaf171))
|
|
127
|
+
|
|
128
|
+
## [1.1.1](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.1.0...v1.1.1) (2026-03-16)
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
### Bug Fixes
|
|
132
|
+
|
|
133
|
+
* bump version to 1.1.1 to skip burned 1.1.0 on npm ([b711a43](https://github.com/wridgeu/ui5-lib-guard-router/commit/b711a4316b21032aa6a6fbf2fe10953d3ddd1f1d))
|
|
134
|
+
|
|
135
|
+
## [1.1.0](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.0.2...v1.1.0) (2026-03-16)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
### Features
|
|
139
|
+
|
|
140
|
+
* ship UI5 build manifest, document library consumption ([d5efc52](https://github.com/wridgeu/ui5-lib-guard-router/commit/d5efc523fed093e0d57197e41fb09145e7e7973a))
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
### Code Refactoring
|
|
144
|
+
|
|
145
|
+
* typed router class, lifecycle hardening, compat lane ([#20](https://github.com/wridgeu/ui5-lib-guard-router/issues/20)) ([e6f72cb](https://github.com/wridgeu/ui5-lib-guard-router/commit/e6f72cbecfb8c4521a8a86990aae6aa4e3013caa))
|
|
146
|
+
|
|
147
|
+
## [1.0.2](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.0.1...v1.0.2) (2026-03-14)
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
### Bug Fixes
|
|
151
|
+
|
|
152
|
+
* harden guard runtime handling and packaging ([#17](https://github.com/wridgeu/ui5-lib-guard-router/issues/17)) ([1023ee8](https://github.com/wridgeu/ui5-lib-guard-router/commit/1023ee867e6dfd57cd013e281602cf4f42842dfc))
|
|
153
|
+
|
|
154
|
+
## [1.0.1](https://github.com/wridgeu/ui5-lib-guard-router/compare/v1.0.0...v1.0.1) (2026-02-16)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
### Bug Fixes
|
|
158
|
+
|
|
159
|
+
* fix npm trusted publishing for OIDC ([78c5900](https://github.com/wridgeu/ui5-lib-guard-router/commit/78c59007f28a11eead75845e43efdda85e3bdbf6))
|
|
160
|
+
* replace deprecated Component.get() and correct Log API usage ([f5a8af0](https://github.com/wridgeu/ui5-lib-guard-router/commit/f5a8af0bfaade1cdd2fc09cc4ccd3df7a07a2dac))
|
|
161
|
+
|
|
162
|
+
## 1.0.0 (2026-02-15)
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
### Features
|
|
166
|
+
|
|
167
|
+
* add AbortSignal to guard context and early bailout on superseded navigations ([ad79694](https://github.com/wridgeu/ui5-lib-guard-router/commit/ad79694992d2c300b0c868d1a39c1f8c3b70119b))
|
|
168
|
+
* add leave guards ([55d1abc](https://github.com/wridgeu/ui5-lib-guard-router/commit/55d1abc0b2a905ac0fb7dada2d8d3a1824b39325))
|
|
169
|
+
* add leave guards with sync-first async pipeline ([c91b20f](https://github.com/wridgeu/ui5-lib-guard-router/commit/c91b20fd4178c2e3e11f5b14404e85e1f987e322))
|
|
170
|
+
* add removeRouteGuard object form and improve guard internals ([2315e3e](https://github.com/wridgeu/ui5-lib-guard-router/commit/2315e3ed99c885da987fa8f6695fb95d9014f82f))
|
|
171
|
+
* commits produce 0.1.0 instead. ([d056665](https://github.com/wridgeu/ui5-lib-guard-router/commit/d0566650bfc6ae629943c7009742acc7c95ee94c))
|
|
172
|
+
* dedup against in-flight pending navigations to avoid restarting guards ([c7ab8e4](https://github.com/wridgeu/ui5-lib-guard-router/commit/c7ab8e4a89caa89bcb18f3bd8887063cd3b1d9a9))
|
|
173
|
+
* initial implementation of ui5.ext.routing library with async navigation guards ([6b70dcb](https://github.com/wridgeu/ui5-lib-guard-router/commit/6b70dcb75de3d0371b0515aebffe84d527f768fc))
|
|
174
|
+
* namespace rename, CI/CD & npm release readiness ([#4](https://github.com/wridgeu/ui5-lib-guard-router/issues/4)) ([b79e5bf](https://github.com/wridgeu/ui5-lib-guard-router/commit/b79e5bfbb94682ae5341c008502eb172784fd624))
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
### Bug Fixes
|
|
178
|
+
|
|
179
|
+
* add route context to async enter guard error message ([d634a5d](https://github.com/wridgeu/ui5-lib-guard-router/commit/d634a5d7bcc4c3c415e0aedd8a02630d0097cd00))
|
|
180
|
+
* address code review findings across router and tests ([c344440](https://github.com/wridgeu/ui5-lib-guard-router/commit/c34444073e35502527e02838707ed2ca24b1d92a))
|
|
181
|
+
* address review findings from original issues analysis ([f5eb158](https://github.com/wridgeu/ui5-lib-guard-router/commit/f5eb1588a3b95089e7f3927e1386424fdf7d65ef))
|
|
182
|
+
* correct docs, README types, compat test, and async error logs ([0958f38](https://github.com/wridgeu/ui5-lib-guard-router/commit/0958f383df663fc9432c2900875b750504902a76))
|
|
183
|
+
* improve enter guard log prefix, handler cleanup, and test diagnostics ([5427c27](https://github.com/wridgeu/ui5-lib-guard-router/commit/5427c27daec54f8475889a07bc3d95b7a4db2420))
|
|
184
|
+
* improve guard error logs with route context and empty config warning ([b953c72](https://github.com/wridgeu/ui5-lib-guard-router/commit/b953c728529396d961e5dd2478e29ce470256b11))
|
|
185
|
+
* keep UI5 tooling in workspace deps and fix two hanging tests ([79b11c1](https://github.com/wridgeu/ui5-lib-guard-router/commit/79b11c1b12e3ffea7fe341a088c78a4f7464b28b))
|
|
186
|
+
* null-safe type guards, generation counter, and comprehensive test coverage ([3bbbaed](https://github.com/wridgeu/ui5-lib-guard-router/commit/3bbbaedd06f07437d6a1aba113489ec2798a9dbe))
|
|
187
|
+
* split RouterInstance into public/internal types, fix destroy during async guard ([97a1efb](https://github.com/wridgeu/ui5-lib-guard-router/commit/97a1efb3030d9fe9f6fdf84e656976d6ce8b55a3))
|
|
188
|
+
* tighten type guards, deduplicate helpers, and fix mermaid line breaks ([8f2fb51](https://github.com/wridgeu/ui5-lib-guard-router/commit/8f2fb51a3ccec5f49d4d5fa3438be7c0caaa65a9))
|
|
189
|
+
* update repository URLs to match renamed repo ([276a327](https://github.com/wridgeu/ui5-lib-guard-router/commit/276a32767dffa374eac56eeee5f19f1a5da2cbc1))
|
|
190
|
+
* update state before firing events in _commitNavigation ([1c4b0cc](https://github.com/wridgeu/ui5-lib-guard-router/commit/1c4b0ccf23e274abef7dfe46b84c0f002170837b))
|