@equinor/fusion-framework-app 7.1.14 → 8.0.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/CHANGELOG.md CHANGED
@@ -1,207 +1,245 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1747](https://github.com/equinor/fusion-framework/pull/1747) [`8b031c3`](https://github.com/equinor/fusion-framework/commit/8b031c31f314deeffdf395fc847e4279b61aab7e) Thanks [@odinr](https://github.com/odinr)! - Added method to `AppConfigurator` to enabled `Feature Flag Module`
8
+
9
+ ```ts
10
+ export const configure: ModuleInitiator = (appConfigurator, args) => {
11
+ /** provide a list of features that should be available in the application */
12
+ appConfigurator.useFeatureFlags([
13
+ {
14
+ key: MyFeatures.MyFlag,
15
+ title: "this is a flag",
16
+ },
17
+ {
18
+ key: MyFeatures.MyUrlFlag,
19
+ title: "this feature can be toggled by ?my-url-flag=true",
20
+ allowUrl: true,
21
+ },
22
+ ]);
23
+ };
24
+ ```
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [[`8b031c3`](https://github.com/equinor/fusion-framework/commit/8b031c31f314deeffdf395fc847e4279b61aab7e)]:
29
+ - @equinor/fusion-framework-module-feature-flag@1.0.0
30
+
31
+ ## 7.1.15
32
+
33
+ ### Patch Changes
34
+
35
+ - Updated dependencies [[`5eab8af`](https://github.com/equinor/fusion-framework/commit/5eab8afe3c3106cc67ad14ce4cbee6c7e4e8dfb1)]:
36
+ - @equinor/fusion-framework-module-msal@3.0.9
37
+ - @equinor/fusion-framework@7.0.28
38
+ - @equinor/fusion-framework-module-app@5.2.12
39
+ - @equinor/fusion-framework-module-http@5.1.5
40
+
3
41
  ## 7.1.14
4
42
 
5
43
  ### Patch Changes
6
44
 
7
- - Updated dependencies [[`1e4ba77`](https://github.com/equinor/fusion-framework/commit/1e4ba7707d3ce5cfd9c8d6673f760523aa47a45e)]:
8
- - @equinor/fusion-framework-module-http@5.1.4
9
- - @equinor/fusion-framework@7.0.27
10
- - @equinor/fusion-framework-module-app@5.2.12
45
+ - Updated dependencies [[`1e4ba77`](https://github.com/equinor/fusion-framework/commit/1e4ba7707d3ce5cfd9c8d6673f760523aa47a45e)]:
46
+ - @equinor/fusion-framework-module-http@5.1.4
47
+ - @equinor/fusion-framework@7.0.27
48
+ - @equinor/fusion-framework-module-app@5.2.12
11
49
 
12
50
  ## 7.1.13
13
51
 
14
52
  ### Patch Changes
15
53
 
16
- - Updated dependencies [[`0af3540`](https://github.com/equinor/fusion-framework/commit/0af3540340bac85a19ca3a8ec4e0ccd42b3090ee)]:
17
- - @equinor/fusion-framework-module-http@5.1.3
18
- - @equinor/fusion-framework@7.0.26
19
- - @equinor/fusion-framework-module-app@5.2.12
54
+ - Updated dependencies [[`0af3540`](https://github.com/equinor/fusion-framework/commit/0af3540340bac85a19ca3a8ec4e0ccd42b3090ee)]:
55
+ - @equinor/fusion-framework-module-http@5.1.3
56
+ - @equinor/fusion-framework@7.0.26
57
+ - @equinor/fusion-framework-module-app@5.2.12
20
58
 
21
59
  ## 7.1.12
22
60
 
23
61
  ### Patch Changes
24
62
 
25
- - Updated dependencies []:
26
- - @equinor/fusion-framework-module-app@5.2.12
27
- - @equinor/fusion-framework@7.0.25
63
+ - Updated dependencies []:
64
+ - @equinor/fusion-framework-module-app@5.2.12
65
+ - @equinor/fusion-framework@7.0.25
28
66
 
29
67
  ## 7.1.11
30
68
 
31
69
  ### Patch Changes
32
70
 
33
- - Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
34
- - @equinor/fusion-framework-module@4.2.6
35
- - @equinor/fusion-framework-module-http@5.1.2
36
- - @equinor/fusion-framework-module-msal@3.0.8
37
- - @equinor/fusion-framework-module-app@5.2.11
38
- - @equinor/fusion-framework@7.0.24
39
- - @equinor/fusion-framework-module-event@4.0.7
71
+ - Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
72
+ - @equinor/fusion-framework-module@4.2.6
73
+ - @equinor/fusion-framework-module-http@5.1.2
74
+ - @equinor/fusion-framework-module-msal@3.0.8
75
+ - @equinor/fusion-framework-module-app@5.2.11
76
+ - @equinor/fusion-framework@7.0.24
77
+ - @equinor/fusion-framework-module-event@4.0.7
40
78
 
41
79
  ## 7.1.10
42
80
 
43
81
  ### Patch Changes
44
82
 
45
- - Updated dependencies [[`6d303787`](https://github.com/equinor/fusion-framework/commit/6d303787f647bb2fc3c90456eccac751abb264c4)]:
46
- - @equinor/fusion-framework-module-app@5.2.10
83
+ - Updated dependencies [[`6d303787`](https://github.com/equinor/fusion-framework/commit/6d303787f647bb2fc3c90456eccac751abb264c4)]:
84
+ - @equinor/fusion-framework-module-app@5.2.10
47
85
 
48
86
  ## 7.1.9
49
87
 
50
88
  ### Patch Changes
51
89
 
52
- - Updated dependencies [[`8274dca1`](https://github.com/equinor/fusion-framework/commit/8274dca10a773e1d29ffbce82a6f6f2bae818316)]:
53
- - @equinor/fusion-framework-module-app@5.2.9
90
+ - Updated dependencies [[`8274dca1`](https://github.com/equinor/fusion-framework/commit/8274dca10a773e1d29ffbce82a6f6f2bae818316)]:
91
+ - @equinor/fusion-framework-module-app@5.2.9
54
92
 
55
93
  ## 7.1.8
56
94
 
57
95
  ### Patch Changes
58
96
 
59
- - Updated dependencies []:
60
- - @equinor/fusion-framework-module-app@5.2.8
61
- - @equinor/fusion-framework@7.0.23
97
+ - Updated dependencies []:
98
+ - @equinor/fusion-framework-module-app@5.2.8
99
+ - @equinor/fusion-framework@7.0.23
62
100
 
63
101
  ## 7.1.7
64
102
 
65
103
  ### Patch Changes
66
104
 
67
- - Updated dependencies [[`7ad31761`](https://github.com/equinor/fusion-framework/commit/7ad3176102f92da108b67ede6fdf29b76149bed9)]:
68
- - @equinor/fusion-framework-module-app@5.2.7
69
- - @equinor/fusion-framework@7.0.22
105
+ - Updated dependencies [[`7ad31761`](https://github.com/equinor/fusion-framework/commit/7ad3176102f92da108b67ede6fdf29b76149bed9)]:
106
+ - @equinor/fusion-framework-module-app@5.2.7
107
+ - @equinor/fusion-framework@7.0.22
70
108
 
71
109
  ## 7.1.6
72
110
 
73
111
  ### Patch Changes
74
112
 
75
- - [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
113
+ - [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
76
114
 
77
- - Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
78
- - @equinor/fusion-framework@7.0.21
79
- - @equinor/fusion-framework-module-app@5.2.6
80
- - @equinor/fusion-framework-module-event@4.0.6
81
- - @equinor/fusion-framework-module-http@5.1.1
82
- - @equinor/fusion-framework-module@4.2.5
83
- - @equinor/fusion-framework-module-msal@3.0.7
115
+ - Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
116
+ - @equinor/fusion-framework@7.0.21
117
+ - @equinor/fusion-framework-module-app@5.2.6
118
+ - @equinor/fusion-framework-module-event@4.0.6
119
+ - @equinor/fusion-framework-module-http@5.1.1
120
+ - @equinor/fusion-framework-module@4.2.5
121
+ - @equinor/fusion-framework-module-msal@3.0.7
84
122
 
85
123
  ## 7.1.5
86
124
 
87
125
  ### Patch Changes
88
126
 
89
- - Updated dependencies [[`8e9e34a0`](https://github.com/equinor/fusion-framework/commit/8e9e34a06a6905d092ad8ca3f9330a3699da20fa)]:
90
- - @equinor/fusion-framework-module-http@5.1.0
91
- - @equinor/fusion-framework@7.0.20
92
- - @equinor/fusion-framework-module-app@5.2.5
127
+ - Updated dependencies [[`8e9e34a0`](https://github.com/equinor/fusion-framework/commit/8e9e34a06a6905d092ad8ca3f9330a3699da20fa)]:
128
+ - @equinor/fusion-framework-module-http@5.1.0
129
+ - @equinor/fusion-framework@7.0.20
130
+ - @equinor/fusion-framework-module-app@5.2.5
93
131
 
94
132
  ## 7.1.4
95
133
 
96
134
  ### Patch Changes
97
135
 
98
- - Updated dependencies []:
99
- - @equinor/fusion-framework@7.0.19
100
- - @equinor/fusion-framework-module-app@5.2.4
136
+ - Updated dependencies []:
137
+ - @equinor/fusion-framework@7.0.19
138
+ - @equinor/fusion-framework-module-app@5.2.4
101
139
 
102
140
  ## 7.1.3
103
141
 
104
142
  ### Patch Changes
105
143
 
106
- - Updated dependencies [[`9076a498`](https://github.com/equinor/fusion-framework/commit/9076a49876e7a414a27557b7fb9095a67fe3a57f)]:
107
- - @equinor/fusion-framework-module@4.2.4
108
- - @equinor/fusion-framework-module-app@5.2.4
109
- - @equinor/fusion-framework@7.0.18
110
- - @equinor/fusion-framework-module-event@4.0.5
111
- - @equinor/fusion-framework-module-http@5.0.6
112
- - @equinor/fusion-framework-module-msal@3.0.6
144
+ - Updated dependencies [[`9076a498`](https://github.com/equinor/fusion-framework/commit/9076a49876e7a414a27557b7fb9095a67fe3a57f)]:
145
+ - @equinor/fusion-framework-module@4.2.4
146
+ - @equinor/fusion-framework-module-app@5.2.4
147
+ - @equinor/fusion-framework@7.0.18
148
+ - @equinor/fusion-framework-module-event@4.0.5
149
+ - @equinor/fusion-framework-module-http@5.0.6
150
+ - @equinor/fusion-framework-module-msal@3.0.6
113
151
 
114
152
  ## 7.1.2
115
153
 
116
154
  ### Patch Changes
117
155
 
118
- - Updated dependencies []:
119
- - @equinor/fusion-framework-module-app@5.2.3
120
- - @equinor/fusion-framework@7.0.17
156
+ - Updated dependencies []:
157
+ - @equinor/fusion-framework-module-app@5.2.3
158
+ - @equinor/fusion-framework@7.0.17
121
159
 
122
160
  ## 7.1.1
123
161
 
124
162
  ### Patch Changes
125
163
 
126
- - [#1109](https://github.com/equinor/fusion-framework/pull/1109) [`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862) Thanks [@odinr](https://github.com/odinr)! - Change packaged manager from yarn to pnpm
164
+ - [#1109](https://github.com/equinor/fusion-framework/pull/1109) [`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862) Thanks [@odinr](https://github.com/odinr)! - Change packaged manager from yarn to pnpm
127
165
 
128
- conflicts of `@types/react` made random outcomes when using `yarn`
166
+ conflicts of `@types/react` made random outcomes when using `yarn`
129
167
 
130
- this change should not affect consumer of the packages, but might conflict dependent on local package manager.
168
+ this change should not affect consumer of the packages, but might conflict dependent on local package manager.
131
169
 
132
- - Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272), [`52d98701`](https://github.com/equinor/fusion-framework/commit/52d98701627e93c7284c0b9a5bfd8dab1da43bd3)]:
133
- - @equinor/fusion-framework-module@4.2.3
134
- - @equinor/fusion-framework-module-event@4.0.4
135
- - @equinor/fusion-framework-module-http@5.0.5
136
- - @equinor/fusion-framework-module-msal@3.0.5
137
- - @equinor/fusion-framework-module-app@5.2.2
138
- - @equinor/fusion-framework@7.0.16
170
+ - Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272), [`52d98701`](https://github.com/equinor/fusion-framework/commit/52d98701627e93c7284c0b9a5bfd8dab1da43bd3)]:
171
+ - @equinor/fusion-framework-module@4.2.3
172
+ - @equinor/fusion-framework-module-event@4.0.4
173
+ - @equinor/fusion-framework-module-http@5.0.5
174
+ - @equinor/fusion-framework-module-msal@3.0.5
175
+ - @equinor/fusion-framework-module-app@5.2.2
176
+ - @equinor/fusion-framework@7.0.16
139
177
 
140
178
  ## 7.1.0
141
179
 
142
180
  ### Minor Changes
143
181
 
144
- - [#1093](https://github.com/equinor/fusion-framework/pull/1093) [`0a785d5c`](https://github.com/equinor/fusion-framework/commit/0a785d5c339ceec7cbbe2a6ff9e16053c86ce511) Thanks [@odinr](https://github.com/odinr)! - Allow options for `config.useFrameworkServiceClient`
182
+ - [#1093](https://github.com/equinor/fusion-framework/pull/1093) [`0a785d5c`](https://github.com/equinor/fusion-framework/commit/0a785d5c339ceec7cbbe2a6ff9e16053c86ce511) Thanks [@odinr](https://github.com/odinr)! - Allow options for `config.useFrameworkServiceClient`
145
183
 
146
- Add optional configuration when using a predefined client from service discovery
184
+ Add optional configuration when using a predefined client from service discovery
147
185
 
148
- **Changed interface**
186
+ **Changed interface**
149
187
 
150
- ```ts
151
- type useFrameworkServiceClient = (
152
- service_name: string,
153
- /** new, allows customize registration of http client from service discovery */
154
- options?: Omit<HttpClientOptions<any>, 'baseUri' | 'defaultScopes'>,
155
- )
156
- ```
188
+ ```ts
189
+ type useFrameworkServiceClient = (
190
+ service_name: string,
191
+ /** new, allows customize registration of http client from service discovery */
192
+ options?: Omit<HttpClientOptions<any>, 'baseUri' | 'defaultScopes'>,
193
+ )
194
+ ```
157
195
 
158
- **example**
196
+ **example**
159
197
 
160
- ```ts
161
- config.useFrameworkServiceClient('some_fusion_service', {
162
- onCreate(client: IHttpClient) {
163
- /** make creation of http client add default request header */
164
- client.requestHandler.setHeader('api-version', '2.0');
165
- },
166
- });
167
- ```
198
+ ```ts
199
+ config.useFrameworkServiceClient("some_fusion_service", {
200
+ onCreate(client: IHttpClient) {
201
+ /** make creation of http client add default request header */
202
+ client.requestHandler.setHeader("api-version", "2.0");
203
+ },
204
+ });
205
+ ```
168
206
 
169
207
  ### Patch Changes
170
208
 
171
- - Updated dependencies [[`7aee3cf0`](https://github.com/equinor/fusion-framework/commit/7aee3cf01764a272e7b0a09045ff674575b15035), [`1a2880d2`](https://github.com/equinor/fusion-framework/commit/1a2880d2e4c80ac5ce08f63ca3699fe77e4b565c)]:
172
- - @equinor/fusion-framework-module-event@4.0.3
173
- - @equinor/fusion-framework-module@4.2.2
209
+ - Updated dependencies [[`7aee3cf0`](https://github.com/equinor/fusion-framework/commit/7aee3cf01764a272e7b0a09045ff674575b15035), [`1a2880d2`](https://github.com/equinor/fusion-framework/commit/1a2880d2e4c80ac5ce08f63ca3699fe77e4b565c)]:
210
+ - @equinor/fusion-framework-module-event@4.0.3
211
+ - @equinor/fusion-framework-module@4.2.2
174
212
 
175
213
  ## 7.0.16
176
214
 
177
215
  ### Patch Changes
178
216
 
179
- - [#946](https://github.com/equinor/fusion-framework/pull/946) [`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352) Thanks [@odinr](https://github.com/odinr)! - Build/update typescript to 5
217
+ - [#946](https://github.com/equinor/fusion-framework/pull/946) [`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352) Thanks [@odinr](https://github.com/odinr)! - Build/update typescript to 5
180
218
 
181
- - Updated dependencies [[`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352)]:
182
- - @equinor/fusion-framework@7.0.15
183
- - @equinor/fusion-framework-module-app@5.2.1
184
- - @equinor/fusion-framework-module-event@4.0.2
185
- - @equinor/fusion-framework-module-http@5.0.4
186
- - @equinor/fusion-framework-module@4.2.1
187
- - @equinor/fusion-framework-module-msal@3.0.4
219
+ - Updated dependencies [[`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352)]:
220
+ - @equinor/fusion-framework@7.0.15
221
+ - @equinor/fusion-framework-module-app@5.2.1
222
+ - @equinor/fusion-framework-module-event@4.0.2
223
+ - @equinor/fusion-framework-module-http@5.0.4
224
+ - @equinor/fusion-framework-module@4.2.1
225
+ - @equinor/fusion-framework-module-msal@3.0.4
188
226
 
189
227
  ## 7.0.15
190
228
 
191
229
  ### Patch Changes
192
230
 
193
- - [#905](https://github.com/equinor/fusion-framework/pull/905) [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c) Thanks [@odinr](https://github.com/odinr)! - **🚧 Chore: dedupe packages**
231
+ - [#905](https://github.com/equinor/fusion-framework/pull/905) [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c) Thanks [@odinr](https://github.com/odinr)! - **🚧 Chore: dedupe packages**
194
232
 
195
- - align all versions of typescript
196
- - update types to build
197
- - a couple of typecasts did not [satisfies](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#satisfies-support-in-jsdoc) and was recasted as `unknwon`, marked with `TODO`, should be fixed in future
233
+ - align all versions of typescript
234
+ - update types to build
235
+ - a couple of typecasts did not [satisfies](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#satisfies-support-in-jsdoc) and was recasted as `unknwon`, marked with `TODO`, should be fixed in future
198
236
 
199
- - Updated dependencies [[`3efbf0bb`](https://github.com/equinor/fusion-framework/commit/3efbf0bb93fc11aa158872cd6ab98a22bcfb59e5), [`7500ec2c`](https://github.com/equinor/fusion-framework/commit/7500ec2c9ca9b926a19539fc97c61c67f76fc8d9), [`76b30c1e`](https://github.com/equinor/fusion-framework/commit/76b30c1e86db3db18adbe759bb1e39885de1c898), [`83ee5abf`](https://github.com/equinor/fusion-framework/commit/83ee5abf7bcab193c85980e5ae44895cd7f6f08d), [`7500ec2c`](https://github.com/equinor/fusion-framework/commit/7500ec2c9ca9b926a19539fc97c61c67f76fc8d9), [`060818eb`](https://github.com/equinor/fusion-framework/commit/060818eb04ebb9ed6deaed1f0b4530201b1181cf), [`3efbf0bb`](https://github.com/equinor/fusion-framework/commit/3efbf0bb93fc11aa158872cd6ab98a22bcfb59e5), [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c)]:
200
- - @equinor/fusion-framework-module@4.2.0
201
- - @equinor/fusion-framework@7.0.14
202
- - @equinor/fusion-framework-module-app@5.1.3
203
- - @equinor/fusion-framework-module-http@5.0.3
204
- - @equinor/fusion-framework-module-msal@3.0.3
237
+ - Updated dependencies [[`3efbf0bb`](https://github.com/equinor/fusion-framework/commit/3efbf0bb93fc11aa158872cd6ab98a22bcfb59e5), [`7500ec2c`](https://github.com/equinor/fusion-framework/commit/7500ec2c9ca9b926a19539fc97c61c67f76fc8d9), [`76b30c1e`](https://github.com/equinor/fusion-framework/commit/76b30c1e86db3db18adbe759bb1e39885de1c898), [`83ee5abf`](https://github.com/equinor/fusion-framework/commit/83ee5abf7bcab193c85980e5ae44895cd7f6f08d), [`7500ec2c`](https://github.com/equinor/fusion-framework/commit/7500ec2c9ca9b926a19539fc97c61c67f76fc8d9), [`060818eb`](https://github.com/equinor/fusion-framework/commit/060818eb04ebb9ed6deaed1f0b4530201b1181cf), [`3efbf0bb`](https://github.com/equinor/fusion-framework/commit/3efbf0bb93fc11aa158872cd6ab98a22bcfb59e5), [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c)]:
238
+ - @equinor/fusion-framework-module@4.2.0
239
+ - @equinor/fusion-framework@7.0.14
240
+ - @equinor/fusion-framework-module-app@5.1.3
241
+ - @equinor/fusion-framework-module-http@5.0.3
242
+ - @equinor/fusion-framework-module-msal@3.0.3
205
243
 
206
244
  All notable changes to this project will be documented in this file.
207
245
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
@@ -366,29 +404,29 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
366
404
 
367
405
  ### Bug Fixes
368
406
 
369
- - **module-app:** update deps ([3e956c4](https://github.com/equinor/fusion-framework/commit/3e956c4b66b012988e68c2f4633ccdb692dc9bc9))
407
+ - **module-app:** update deps ([3e956c4](https://github.com/equinor/fusion-framework/commit/3e956c4b66b012988e68c2f4633ccdb692dc9bc9))
370
408
 
371
409
  ## 5.0.0 (2023-01-04)
372
410
 
373
411
  ### ⚠ BREAKING CHANGES
374
412
 
375
- - **module-app:** manifest prop rename
413
+ - **module-app:** manifest prop rename
376
414
 
377
415
  ### Bug Fixes
378
416
 
379
- - **module-app:** rename `appKey` to `key` ([9ee97b1](https://github.com/equinor/fusion-framework/commit/9ee97b149b9167a3747da371de76490e287d9514))
417
+ - **module-app:** rename `appKey` to `key` ([9ee97b1](https://github.com/equinor/fusion-framework/commit/9ee97b149b9167a3747da371de76490e287d9514))
380
418
 
381
419
  ## 4.0.20 (2022-12-21)
382
420
 
383
421
  ### Bug Fixes
384
422
 
385
- - import export of app types ([6adeabe](https://github.com/equinor/fusion-framework/commit/6adeabecd1d261f3fda18a1cf93e5be4e374cbb5))
423
+ - import export of app types ([6adeabe](https://github.com/equinor/fusion-framework/commit/6adeabecd1d261f3fda18a1cf93e5be4e374cbb5))
386
424
 
387
425
  ## 4.0.19 (2022-12-19)
388
426
 
389
427
  ### Bug Fixes
390
428
 
391
- - **react-app:** check if manifest is provided in env ([e41b6d1](https://github.com/equinor/fusion-framework/commit/e41b6d1c9006f7d55933a6375861d96126498015))
429
+ - **react-app:** check if manifest is provided in env ([e41b6d1](https://github.com/equinor/fusion-framework/commit/e41b6d1c9006f7d55933a6375861d96126498015))
392
430
 
393
431
  ## 4.0.18 (2022-12-16)
394
432
 
@@ -454,7 +492,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
454
492
 
455
493
  ### Bug Fixes
456
494
 
457
- - **app:** adding type contextModule in event details for app package ([abea386](https://github.com/equinor/fusion-framework/commit/abea386c76c6297934a236d1bba9c71a12425065))
495
+ - **app:** adding type contextModule in event details for app package ([abea386](https://github.com/equinor/fusion-framework/commit/abea386c76c6297934a236d1bba9c71a12425065))
458
496
 
459
497
  ## [4.0.2](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-app@4.0.1...@equinor/fusion-framework-app@4.0.2) (2022-12-05)
460
498
 
@@ -600,7 +638,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
600
638
 
601
639
  ### Features
602
640
 
603
- - **framework:** implement module-app ([dc917f0](https://github.com/equinor/fusion-framework/commit/dc917f019da852fbd93eaf6ed7bc4a3a7e6f0d68))
641
+ - **framework:** implement module-app ([dc917f0](https://github.com/equinor/fusion-framework/commit/dc917f019da852fbd93eaf6ed7bc4a3a7e6f0d68))
604
642
 
605
643
  ## 3.0.10 (2022-11-01)
606
644
 
@@ -614,7 +652,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
614
652
 
615
653
  ### Bug Fixes
616
654
 
617
- - **react-app:** :fire: update render env args with typing ([06bd3c7](https://github.com/equinor/fusion-framework/commit/06bd3c75218981f54216f76d3b7a667110dac3ae))
655
+ - **react-app:** :fire: update render env args with typing ([06bd3c7](https://github.com/equinor/fusion-framework/commit/06bd3c75218981f54216f76d3b7a667110dac3ae))
618
656
 
619
657
  ## [3.0.7](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-app@3.0.6...@equinor/fusion-framework-app@3.0.7) (2022-10-21)
620
658
 
@@ -644,28 +682,28 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
644
682
 
645
683
  ### Bug Fixes
646
684
 
647
- - **app:** update interfaces ([9b833bf](https://github.com/equinor/fusion-framework/commit/9b833bf53ea0cdcb8d4dfec7da1c42440c6ebe2d))
685
+ - **app:** update interfaces ([9b833bf](https://github.com/equinor/fusion-framework/commit/9b833bf53ea0cdcb8d4dfec7da1c42440c6ebe2d))
648
686
 
649
687
  ## [3.0.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-app@2.0.0...@equinor/fusion-framework-app@3.0.0) (2022-09-27)
650
688
 
651
689
  ### ⚠ BREAKING CHANGES
652
690
 
653
- - **module-service-discovery:** order of arguments for configuring client in service discovery
691
+ - **module-service-discovery:** order of arguments for configuring client in service discovery
654
692
 
655
693
  ### Bug Fixes
656
694
 
657
- - **module-service-discovery:** change order of arguments ([a1240c6](https://github.com/equinor/fusion-framework/commit/a1240c6360da5e919623bc31a51ced4c5ce1c2e3))
658
- - update registering of configuration ([20942ce](https://github.com/equinor/fusion-framework/commit/20942ce1c7a853ea3b55c031a242646e378db8c9))
695
+ - **module-service-discovery:** change order of arguments ([a1240c6](https://github.com/equinor/fusion-framework/commit/a1240c6360da5e919623bc31a51ced4c5ce1c2e3))
696
+ - update registering of configuration ([20942ce](https://github.com/equinor/fusion-framework/commit/20942ce1c7a853ea3b55c031a242646e378db8c9))
659
697
 
660
698
  ## 2.0.0 (2022-09-26)
661
699
 
662
700
  ### ⚠ BREAKING CHANGES
663
701
 
664
- - **module-service-discovery:** order of arguments for configuring client in service discovery
702
+ - **module-service-discovery:** order of arguments for configuring client in service discovery
665
703
 
666
704
  ### Bug Fixes
667
705
 
668
- - **module-service-discovery:** change order of arguments ([a1240c6](https://github.com/equinor/fusion-framework/commit/a1240c6360da5e919623bc31a51ced4c5ce1c2e3))
706
+ - **module-service-discovery:** change order of arguments ([a1240c6](https://github.com/equinor/fusion-framework/commit/a1240c6360da5e919623bc31a51ced4c5ce1c2e3))
669
707
 
670
708
  ## 1.0.7 (2022-09-20)
671
709
 
@@ -679,19 +717,19 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
679
717
 
680
718
  ### Bug Fixes
681
719
 
682
- - update typings and linting ([7d2056b](https://github.com/equinor/fusion-framework/commit/7d2056b7866850b7efdfd4567385b5dbbcdf8761))
720
+ - update typings and linting ([7d2056b](https://github.com/equinor/fusion-framework/commit/7d2056b7866850b7efdfd4567385b5dbbcdf8761))
683
721
 
684
722
  ## [1.0.4](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-app@1.0.3...@equinor/fusion-framework-app@1.0.4) (2022-09-13)
685
723
 
686
724
  ### Bug Fixes
687
725
 
688
- - update typings and linting ([7d2056b](https://github.com/equinor/fusion-framework/commit/7d2056b7866850b7efdfd4567385b5dbbcdf8761))
726
+ - update typings and linting ([7d2056b](https://github.com/equinor/fusion-framework/commit/7d2056b7866850b7efdfd4567385b5dbbcdf8761))
689
727
 
690
728
  ## [1.0.3](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-app@1.0.2...@equinor/fusion-framework-app@1.0.3) (2022-09-13)
691
729
 
692
730
  ### Bug Fixes
693
731
 
694
- - update typings and linting ([7d2056b](https://github.com/equinor/fusion-framework/commit/7d2056b7866850b7efdfd4567385b5dbbcdf8761))
732
+ - update typings and linting ([7d2056b](https://github.com/equinor/fusion-framework/commit/7d2056b7866850b7efdfd4567385b5dbbcdf8761))
695
733
 
696
734
  ## [1.0.2](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-app@1.0.1...@equinor/fusion-framework-app@1.0.2) (2022-09-13)
697
735
 
@@ -713,29 +751,29 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
713
751
 
714
752
  ### ⚠ BREAKING CHANGES
715
753
 
716
- - **app:** config is now object
754
+ - **app:** config is now object
717
755
 
718
756
  ### Features
719
757
 
720
- - **app:** update init ([528d77f](https://github.com/equinor/fusion-framework/commit/528d77f30430242d05bf9a7fbed3ea68171df39d))
758
+ - **app:** update init ([528d77f](https://github.com/equinor/fusion-framework/commit/528d77f30430242d05bf9a7fbed3ea68171df39d))
721
759
 
722
760
  ### Bug Fixes
723
761
 
724
- - **app:** expect fusion modules ([301fcab](https://github.com/equinor/fusion-framework/commit/301fcab23e857bf87440b4212513a7eea2641aea))
762
+ - **app:** expect fusion modules ([301fcab](https://github.com/equinor/fusion-framework/commit/301fcab23e857bf87440b4212513a7eea2641aea))
725
763
 
726
764
  ## [1.0.0-alpha.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-app@0.2.3...@equinor/fusion-framework-app@1.0.0-alpha.0) (2022-09-12)
727
765
 
728
766
  ### ⚠ BREAKING CHANGES
729
767
 
730
- - **app:** config is now object
768
+ - **app:** config is now object
731
769
 
732
770
  ### Features
733
771
 
734
- - **app:** update init ([528d77f](https://github.com/equinor/fusion-framework/commit/528d77f30430242d05bf9a7fbed3ea68171df39d))
772
+ - **app:** update init ([528d77f](https://github.com/equinor/fusion-framework/commit/528d77f30430242d05bf9a7fbed3ea68171df39d))
735
773
 
736
774
  ### Bug Fixes
737
775
 
738
- - **app:** expect fusion modules ([301fcab](https://github.com/equinor/fusion-framework/commit/301fcab23e857bf87440b4212513a7eea2641aea))
776
+ - **app:** expect fusion modules ([301fcab](https://github.com/equinor/fusion-framework/commit/301fcab23e857bf87440b4212513a7eea2641aea))
739
777
 
740
778
  ## 0.2.3 (2022-09-05)
741
779
 
@@ -753,23 +791,23 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
753
791
 
754
792
  ### ⚠ BREAKING CHANGES
755
793
 
756
- - rename fetch
794
+ - rename fetch
757
795
 
758
- - fix(module-service-discovery): update http client consumer
796
+ - fix(module-service-discovery): update http client consumer
759
797
 
760
- - build: update allowed branches
798
+ - build: update allowed branches
761
799
 
762
- - build: add conventional commit
800
+ - build: add conventional commit
763
801
 
764
- - build: use conventionalcommits
802
+ - build: use conventionalcommits
765
803
 
766
- - build(module-http): push major
804
+ - build(module-http): push major
767
805
 
768
- - build: update deps
806
+ - build: update deps
769
807
 
770
808
  ### Features
771
809
 
772
- - rename fetch method ([#226](https://github.com/equinor/fusion-framework/issues/226)) ([f02df7c](https://github.com/equinor/fusion-framework/commit/f02df7cdd2b9098b0da49c5ea56ac3b6a17e9e32))
810
+ - rename fetch method ([#226](https://github.com/equinor/fusion-framework/issues/226)) ([f02df7c](https://github.com/equinor/fusion-framework/commit/f02df7cdd2b9098b0da49c5ea56ac3b6a17e9e32))
773
811
 
774
812
  ## [0.1.2](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-app@0.1.1...@equinor/fusion-framework-app@0.1.2) (2022-08-23)
775
813
 
@@ -779,10 +817,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
779
817
 
780
818
  ### Bug Fixes
781
819
 
782
- - **app:** fix typing of configurator ([5b71bea](https://github.com/equinor/fusion-framework/commit/5b71beadb34d3dc26bde23d93409008f2292e42b))
820
+ - **app:** fix typing of configurator ([5b71bea](https://github.com/equinor/fusion-framework/commit/5b71beadb34d3dc26bde23d93409008f2292e42b))
783
821
 
784
822
  # 0.1.0 (2022-08-22)
785
823
 
786
824
  ### Features
787
825
 
788
- - **app:** create base module for fusion apps ([9bd3f2f](https://github.com/equinor/fusion-framework/commit/9bd3f2f1ff51d18f2a8989f2d2a1f5045720b7e0))
826
+ - **app:** create base module for fusion apps ([9bd3f2f](https://github.com/equinor/fusion-framework/commit/9bd3f2f1ff51d18f2a8989f2d2a1f5045720b7e0))
package/README.md CHANGED
@@ -4,3 +4,35 @@
4
4
 
5
5
  ## 📚 read the [Doc](https://equinor.github.io/fusion-framework/)
6
6
 
7
+ ## Feature Flag
8
+
9
+ > [!IMPORTANT]
10
+ > `@equinor/fusion-framework-module-feature-flag` must be installed to make this module available
11
+
12
+ ### Simple
13
+ ```ts
14
+ export const configure: ModuleInitiator = (appConfigurator, args) => {
15
+ /** provide a list of features that should be available in the application */
16
+ appConfigurator.useFeatureFlags([
17
+ {
18
+ key: MyFeatures.MyFlag,
19
+ title: 'this is a flag',
20
+ },
21
+ {
22
+ key: MyFeatures.MyUrlFlag,
23
+ title: 'this feature can be toggled by ?my-url-flag=true',
24
+ allowUrl: true,
25
+ }
26
+ ]);
27
+ }
28
+ ```
29
+
30
+ ### Custom
31
+ ```ts
32
+ export const configure: ModuleInitiator = (appConfigurator, args) => {
33
+ appConfigurator.useFeatureFlags(builder => /** see module for building custom config */);
34
+ }
35
+ ```
36
+
37
+ [see module](../modules/feature-flag/README.md) for more technical information;
38
+