@equinor/fusion-framework-module-app 6.0.3 → 6.1.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 +189 -131
- package/dist/esm/AppClient.js +55 -6
- package/dist/esm/AppClient.js.map +1 -1
- package/dist/esm/AppModuleProvider.js +15 -0
- package/dist/esm/AppModuleProvider.js.map +1 -1
- package/dist/esm/app/App.js +157 -5
- package/dist/esm/app/App.js.map +1 -1
- package/dist/esm/app/actions.js +17 -0
- package/dist/esm/app/actions.js.map +1 -1
- package/dist/esm/app/create-reducer.js +3 -0
- package/dist/esm/app/create-reducer.js.map +1 -1
- package/dist/esm/app/create-state.js +4 -1
- package/dist/esm/app/create-state.js.map +1 -1
- package/dist/esm/app/flows.js +47 -1
- package/dist/esm/app/flows.js.map +1 -1
- package/dist/esm/errors.js +30 -0
- package/dist/esm/errors.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/AppClient.d.ts +23 -1
- package/dist/types/AppModuleProvider.d.ts +12 -1
- package/dist/types/app/App.d.ts +58 -2
- package/dist/types/app/actions.d.ts +37 -1
- package/dist/types/app/create-reducer.d.ts +29 -0
- package/dist/types/app/events.d.ts +12 -1
- package/dist/types/app/flows.d.ts +16 -0
- package/dist/types/app/types.d.ts +6 -2
- package/dist/types/errors.d.ts +20 -0
- package/dist/types/types.d.ts +3 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +5 -3
- package/src/AppClient.ts +84 -5
- package/src/AppModuleProvider.ts +18 -1
- package/src/app/App.ts +267 -21
- package/src/app/actions.ts +34 -1
- package/src/app/create-reducer.ts +3 -0
- package/src/app/create-state.ts +12 -1
- package/src/app/events.ts +20 -1
- package/src/app/flows.ts +71 -1
- package/src/app/types.ts +6 -1
- package/src/errors.ts +43 -0
- package/src/types.ts +4 -0
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,48 +1,106 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 6.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#2577](https://github.com/equinor/fusion-framework/pull/2577) [`c3ba9f1`](https://github.com/equinor/fusion-framework/commit/c3ba9f109d9f96d6dc6ee2f0ddac00c8b3090982) Thanks [@eikeland](https://github.com/eikeland)! - Added `updateSetting` and `updateSettingAsync` to the `App` class. This allows updating a setting in settings without the need to handle the settings object directly. This wil ensure that the settings are mutated correctly.
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
const app = new App();
|
|
11
|
+
// the app class will fetch the latest settings before updating the setting
|
|
12
|
+
app.updateSetting('property', 'value');
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
example of flux state of settings:
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
const app = new App();
|
|
19
|
+
const settings = app.getSettings();
|
|
20
|
+
|
|
21
|
+
setTimeout(() => {
|
|
22
|
+
settings.foo = 'foo';
|
|
23
|
+
app.updateSettingsAsync(settings);
|
|
24
|
+
}, 1000);
|
|
25
|
+
|
|
26
|
+
setTimeout(() => {
|
|
27
|
+
settings.bar = 'bar';
|
|
28
|
+
app.updateSettingsAsync(settings);
|
|
29
|
+
// foo is now reset to its original value, which is not what we want
|
|
30
|
+
}, 2000);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
- [#2577](https://github.com/equinor/fusion-framework/pull/2577) [`c3ba9f1`](https://github.com/equinor/fusion-framework/commit/c3ba9f109d9f96d6dc6ee2f0ddac00c8b3090982) Thanks [@eikeland](https://github.com/eikeland)! - #### Changes:
|
|
34
|
+
|
|
35
|
+
1. **AppClient.ts**
|
|
36
|
+
- Added `updateAppSettings` method to set app settings by appKey.
|
|
37
|
+
2. **AppModuleProvider.ts**
|
|
38
|
+
- Added `updateAppSettings` method to update app settings.
|
|
39
|
+
3. **App.ts**
|
|
40
|
+
- Added `updateSettings` and `updateSettingsAsync` methods to set app settings.
|
|
41
|
+
- Added effects to monitor and dispatch events for settings updates.
|
|
42
|
+
4. **actions.ts**
|
|
43
|
+
- Added `updateSettings` async action for updating settings.
|
|
44
|
+
5. **create-reducer.ts**
|
|
45
|
+
- Added reducer case for `updateSettings.success` to update state settings.
|
|
46
|
+
6. **create-state.ts**
|
|
47
|
+
- Added `handleUpdateSettings` flow to handle updating settings.
|
|
48
|
+
7. **events.ts**
|
|
49
|
+
- Added new events: `onAppSettingsUpdate`, `onAppSettingsUpdated`, and `onAppSettingsUpdateFailure`.
|
|
50
|
+
8. **flows.ts**
|
|
51
|
+
- Added `handleUpdateSettings` flow to handle the set settings action.
|
|
52
|
+
9. **package.json**
|
|
53
|
+
- Added `settings` entry to exports and types.
|
|
54
|
+
10. **index.ts**
|
|
55
|
+
- Created new file to export `useAppSettings`.
|
|
56
|
+
11. **useAppSettings.ts**
|
|
57
|
+
- Created new hook for handling app settings.
|
|
58
|
+
12. **app-proxy-plugin.ts**
|
|
59
|
+
- Add conditional handler for persons/me/appKey/settings to prevent matching against appmanifest path
|
|
60
|
+
|
|
3
61
|
## 6.0.3
|
|
4
62
|
|
|
5
63
|
### Patch Changes
|
|
6
64
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
65
|
+
- Updated dependencies [[`30767a2`](https://github.com/equinor/fusion-framework/commit/30767a2f72b54c2a3ea98ce08186017e34ae16bd)]:
|
|
66
|
+
- @equinor/fusion-observable@8.4.3
|
|
67
|
+
- @equinor/fusion-query@5.1.5
|
|
10
68
|
|
|
11
69
|
## 6.0.2
|
|
12
70
|
|
|
13
71
|
### Patch Changes
|
|
14
72
|
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
73
|
+
- Updated dependencies [[`21db01b`](https://github.com/equinor/fusion-framework/commit/21db01bbe5113b07aaa715d554378561e1a5223d)]:
|
|
74
|
+
- @equinor/fusion-observable@8.4.2
|
|
75
|
+
- @equinor/fusion-query@5.1.4
|
|
18
76
|
|
|
19
77
|
## 6.0.1
|
|
20
78
|
|
|
21
79
|
### Patch Changes
|
|
22
80
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
81
|
+
- [#2520](https://github.com/equinor/fusion-framework/pull/2520) [`248ee1f`](https://github.com/equinor/fusion-framework/commit/248ee1f83978a158dfb88dd47d8e8bcaac0e3574) Thanks [@eikeland](https://github.com/eikeland)! - ### Changes:
|
|
82
|
+
- Updated the `AppClient` class to modify the query path in the `fn` method for fetching app manifests:
|
|
83
|
+
- Changed the path from `/apps/${appKey}` to `/persons/me/apps/${appKey}`.
|
|
26
84
|
|
|
27
85
|
## 6.0.0
|
|
28
86
|
|
|
29
87
|
### Major Changes
|
|
30
88
|
|
|
31
|
-
-
|
|
89
|
+
- [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Adjusted module to the new app service API.
|
|
32
90
|
|
|
33
91
|
> [!WARNING]
|
|
34
92
|
> This will introduce breaking changes to the configuration of `AppConfigurator.client`.
|
|
35
93
|
|
|
36
94
|
**Added**
|
|
37
95
|
|
|
38
|
-
-
|
|
39
|
-
-
|
|
96
|
+
- Introduced `AppClient` class to handle application manifest and configuration queries.
|
|
97
|
+
- Added `zod` to validate the application manifest.
|
|
40
98
|
|
|
41
99
|
**Changed**
|
|
42
100
|
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
101
|
+
- Updated `AppModuleProvider` to use `AppClient` for fetching application manifests and configurations.
|
|
102
|
+
- Modified `AppConfigurator` to utilize `AppClient` for client configuration.
|
|
103
|
+
- Updated `useApps` hook with new input parameter for `filterByCurrentUser` in `fusion-framework-react`.
|
|
46
104
|
|
|
47
105
|
**Migration**
|
|
48
106
|
|
|
@@ -90,32 +148,32 @@
|
|
|
90
148
|
|
|
91
149
|
### Patch Changes
|
|
92
150
|
|
|
93
|
-
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
151
|
+
- Updated dependencies [[`f7c143d`](https://github.com/equinor/fusion-framework/commit/f7c143d44a88cc25c377d3ce8c3d1744114b891d)]:
|
|
152
|
+
- @equinor/fusion-observable@8.4.1
|
|
153
|
+
- @equinor/fusion-query@5.1.3
|
|
96
154
|
|
|
97
155
|
## 5.3.10
|
|
98
156
|
|
|
99
157
|
### Patch Changes
|
|
100
158
|
|
|
101
|
-
-
|
|
102
|
-
-
|
|
159
|
+
- Updated dependencies [[`be2e925`](https://github.com/equinor/fusion-framework/commit/be2e92532f4a4b8f0b2c9e12d4adf942d380423e)]:
|
|
160
|
+
- @equinor/fusion-query@5.1.2
|
|
103
161
|
|
|
104
162
|
## 5.3.9
|
|
105
163
|
|
|
106
164
|
### Patch Changes
|
|
107
165
|
|
|
108
|
-
-
|
|
109
|
-
-
|
|
110
|
-
-
|
|
166
|
+
- Updated dependencies [[`bbde502`](https://github.com/equinor/fusion-framework/commit/bbde502e638f459379f63968febbc97ebe282b76), [`decb9e9`](https://github.com/equinor/fusion-framework/commit/decb9e9e3d1bb1b0577b729a1e7ae812afdd83cb), [`e092f75`](https://github.com/equinor/fusion-framework/commit/e092f7599f1f2e0e0676a9f10565299272813594)]:
|
|
167
|
+
- @equinor/fusion-observable@8.4.0
|
|
168
|
+
- @equinor/fusion-query@5.1.1
|
|
111
169
|
|
|
112
170
|
## 5.3.8
|
|
113
171
|
|
|
114
172
|
### Patch Changes
|
|
115
173
|
|
|
116
|
-
-
|
|
174
|
+
- [#2333](https://github.com/equinor/fusion-framework/pull/2333) [`86d55b8`](https://github.com/equinor/fusion-framework/commit/86d55b8d27a572f3f62170b1e72aceda54f955e1) Thanks [@odinr](https://github.com/odinr)! - Updated `TypeScript` to 5.5.3
|
|
117
175
|
|
|
118
|
-
-
|
|
176
|
+
- [#2320](https://github.com/equinor/fusion-framework/pull/2320) [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee) Thanks [@odinr](https://github.com/odinr)! - Removed the `removeComments` option from the `tsconfig.base.json` file.
|
|
119
177
|
|
|
120
178
|
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
121
179
|
|
|
@@ -158,210 +216,210 @@
|
|
|
158
216
|
|
|
159
217
|
This change ensures that comments are preserved in the compiled output, potentially improving the development and debugging experience for users of the Fusion Framework.
|
|
160
218
|
|
|
161
|
-
-
|
|
162
|
-
-
|
|
163
|
-
-
|
|
219
|
+
- Updated dependencies [[`5e20ce1`](https://github.com/equinor/fusion-framework/commit/5e20ce17af709f0443b7110bfc952ff8d8d81dee), [`86d55b8`](https://github.com/equinor/fusion-framework/commit/86d55b8d27a572f3f62170b1e72aceda54f955e1), [`29ff796`](https://github.com/equinor/fusion-framework/commit/29ff796ebb3a643c604e4153b6798bde5992363c), [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee), [`5e20ce1`](https://github.com/equinor/fusion-framework/commit/5e20ce17af709f0443b7110bfc952ff8d8d81dee)]:
|
|
220
|
+
- @equinor/fusion-query@5.1.0
|
|
221
|
+
- @equinor/fusion-observable@8.3.3
|
|
164
222
|
|
|
165
223
|
## 5.3.7
|
|
166
224
|
|
|
167
225
|
### Patch Changes
|
|
168
226
|
|
|
169
|
-
-
|
|
227
|
+
- [#2235](https://github.com/equinor/fusion-framework/pull/2235) [`97e41a5`](https://github.com/equinor/fusion-framework/commit/97e41a55d05644b6684c6cb165b65b115bd416eb) Thanks [@odinr](https://github.com/odinr)! - - **Refactored**: The `actionBaseType` function has been renamed to `getBaseType` and its implementation has been updated.
|
|
170
228
|
|
|
171
|
-
-
|
|
229
|
+
- **Added**: New utility types and functions for handling action types and payloads in a more type-safe manner.
|
|
172
230
|
|
|
173
|
-
-
|
|
231
|
+
- [#2248](https://github.com/equinor/fusion-framework/pull/2248) [`da9dd83`](https://github.com/equinor/fusion-framework/commit/da9dd83c9352def5365b6c962dc8443589ac9526) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - #2235 renamed a method and changed type. This PR forgot to change to the correct param when using this method. Fixes typo - update to use actions `type` in the reducer.
|
|
174
232
|
|
|
175
|
-
-
|
|
176
|
-
-
|
|
177
|
-
-
|
|
233
|
+
- Updated dependencies [[`97e41a5`](https://github.com/equinor/fusion-framework/commit/97e41a55d05644b6684c6cb165b65b115bd416eb)]:
|
|
234
|
+
- @equinor/fusion-observable@8.3.2
|
|
235
|
+
- @equinor/fusion-query@5.0.5
|
|
178
236
|
|
|
179
237
|
## 5.3.6
|
|
180
238
|
|
|
181
239
|
### Patch Changes
|
|
182
240
|
|
|
183
|
-
-
|
|
184
|
-
-
|
|
185
|
-
-
|
|
241
|
+
- Updated dependencies [[`1681940`](https://github.com/equinor/fusion-framework/commit/16819401db191321637fb2a17390abd98738c103), [`72f48ec`](https://github.com/equinor/fusion-framework/commit/72f48eccc7262f6c419c60cc32f0dc829601ceab)]:
|
|
242
|
+
- @equinor/fusion-query@5.0.4
|
|
243
|
+
- @equinor/fusion-observable@8.3.1
|
|
186
244
|
|
|
187
245
|
## 5.3.5
|
|
188
246
|
|
|
189
247
|
### Patch Changes
|
|
190
248
|
|
|
191
|
-
-
|
|
192
|
-
-
|
|
249
|
+
- Updated dependencies [[`6a81125`](https://github.com/equinor/fusion-framework/commit/6a81125ca856bbddbd1ec9e66a30e887cef93f66), [`cd737c2`](https://github.com/equinor/fusion-framework/commit/cd737c2f916747965ece46ed6f33fdadb776c90b)]:
|
|
250
|
+
- @equinor/fusion-query@5.0.3
|
|
193
251
|
|
|
194
252
|
## 5.3.4
|
|
195
253
|
|
|
196
254
|
### Patch Changes
|
|
197
255
|
|
|
198
|
-
-
|
|
199
|
-
-
|
|
256
|
+
- Updated dependencies [[`bd3d3e1`](https://github.com/equinor/fusion-framework/commit/bd3d3e165b3cbcef8f2c7b3219d21387731e5995)]:
|
|
257
|
+
- @equinor/fusion-query@5.0.2
|
|
200
258
|
|
|
201
259
|
## 5.3.3
|
|
202
260
|
|
|
203
261
|
### Patch Changes
|
|
204
262
|
|
|
205
|
-
-
|
|
206
|
-
-
|
|
263
|
+
- Updated dependencies [[`491c2e0`](https://github.com/equinor/fusion-framework/commit/491c2e05a2383dc7aa310f11ba6f7325a69e7197)]:
|
|
264
|
+
- @equinor/fusion-query@5.0.1
|
|
207
265
|
|
|
208
266
|
## 5.3.2
|
|
209
267
|
|
|
210
268
|
### Patch Changes
|
|
211
269
|
|
|
212
|
-
-
|
|
213
|
-
-
|
|
270
|
+
- Updated dependencies [[`b9c1643`](https://github.com/equinor/fusion-framework/commit/b9c164337d984e760d4701d1c534b14cb52aa7e2), [`b9c1643`](https://github.com/equinor/fusion-framework/commit/b9c164337d984e760d4701d1c534b14cb52aa7e2), [`b9c1643`](https://github.com/equinor/fusion-framework/commit/b9c164337d984e760d4701d1c534b14cb52aa7e2)]:
|
|
271
|
+
- @equinor/fusion-query@5.0.0
|
|
214
272
|
|
|
215
273
|
## 5.3.1
|
|
216
274
|
|
|
217
275
|
### Patch Changes
|
|
218
276
|
|
|
219
|
-
-
|
|
220
|
-
-
|
|
221
|
-
-
|
|
277
|
+
- Updated dependencies [[`572a199`](https://github.com/equinor/fusion-framework/commit/572a199b8b3070af16d76238aa30d7aaf36a115a), [`f5e4090`](https://github.com/equinor/fusion-framework/commit/f5e4090fa285db8dc10e09b450cee5767437d883)]:
|
|
278
|
+
- @equinor/fusion-observable@8.3.0
|
|
279
|
+
- @equinor/fusion-query@4.2.0
|
|
222
280
|
|
|
223
281
|
## 5.3.0
|
|
224
282
|
|
|
225
283
|
### Minor Changes
|
|
226
284
|
|
|
227
|
-
-
|
|
285
|
+
- [#1953](https://github.com/equinor/fusion-framework/pull/1953) [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904) Thanks [@odinr](https://github.com/odinr)! - updated typescript to 5.4.2
|
|
228
286
|
|
|
229
287
|
### Patch Changes
|
|
230
288
|
|
|
231
|
-
-
|
|
232
|
-
-
|
|
233
|
-
-
|
|
289
|
+
- Updated dependencies [[`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904), [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904)]:
|
|
290
|
+
- @equinor/fusion-observable@8.2.0
|
|
291
|
+
- @equinor/fusion-query@4.1.0
|
|
234
292
|
|
|
235
293
|
## 5.2.14
|
|
236
294
|
|
|
237
295
|
### Patch Changes
|
|
238
296
|
|
|
239
|
-
-
|
|
297
|
+
- [#1879](https://github.com/equinor/fusion-framework/pull/1879) [`2acd475`](https://github.com/equinor/fusion-framework/commit/2acd47532fe680f498fdf7229309cddb2594e391) Thanks [@odinr](https://github.com/odinr)! - improved documentation
|
|
240
298
|
|
|
241
299
|
## 5.2.13
|
|
242
300
|
|
|
243
301
|
### Patch Changes
|
|
244
302
|
|
|
245
|
-
-
|
|
303
|
+
- [#1763](https://github.com/equinor/fusion-framework/pull/1763) [`1ca8264`](https://github.com/equinor/fusion-framework/commit/1ca826489a0d1dd755324344a12bbf6659a3be12) Thanks [@odinr](https://github.com/odinr)! - improve type of current application
|
|
246
304
|
|
|
247
|
-
-
|
|
248
|
-
-
|
|
249
|
-
-
|
|
305
|
+
- result will be `undefined` if current application has never been set
|
|
306
|
+
- result will be `IApplication` if current application is set
|
|
307
|
+
- result will be `null` if current application is cleared
|
|
250
308
|
|
|
251
|
-
-
|
|
252
|
-
-
|
|
253
|
-
-
|
|
309
|
+
- Updated dependencies [[`036546f`](https://github.com/equinor/fusion-framework/commit/036546f2e3d9c0d289c7145da84e940673027b5e), [`d0c0c6a`](https://github.com/equinor/fusion-framework/commit/d0c0c6a971a478e3f447663bf50b4e3a7cb1517e)]:
|
|
310
|
+
- @equinor/fusion-observable@8.1.5
|
|
311
|
+
- @equinor/fusion-query@4.0.6
|
|
254
312
|
|
|
255
313
|
## 5.2.12
|
|
256
314
|
|
|
257
315
|
### Patch Changes
|
|
258
316
|
|
|
259
|
-
-
|
|
260
|
-
-
|
|
261
|
-
-
|
|
317
|
+
- Updated dependencies [[`6ffaabf`](https://github.com/equinor/fusion-framework/commit/6ffaabf120704f2f4f4074a0fa0a17faf77fe22a)]:
|
|
318
|
+
- @equinor/fusion-observable@8.1.4
|
|
319
|
+
- @equinor/fusion-query@4.0.5
|
|
262
320
|
|
|
263
321
|
## 5.2.11
|
|
264
322
|
|
|
265
323
|
### Patch Changes
|
|
266
324
|
|
|
267
|
-
-
|
|
325
|
+
- [#1595](https://github.com/equinor/fusion-framework/pull/1595) [`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125) Thanks [@Gustav-Eikaas](https://github.com/Gustav-Eikaas)! - support for module resolution NodeNext & Bundler
|
|
268
326
|
|
|
269
|
-
-
|
|
270
|
-
-
|
|
271
|
-
-
|
|
327
|
+
- Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
|
|
328
|
+
- @equinor/fusion-observable@8.1.3
|
|
329
|
+
- @equinor/fusion-query@4.0.4
|
|
272
330
|
|
|
273
331
|
## 5.2.10
|
|
274
332
|
|
|
275
333
|
### Patch Changes
|
|
276
334
|
|
|
277
|
-
-
|
|
335
|
+
- [#1545](https://github.com/equinor/fusion-framework/pull/1545) [`6d303787`](https://github.com/equinor/fusion-framework/commit/6d303787f647bb2fc3c90456eccac751abb264c4) Thanks [@odinr](https://github.com/odinr)! - fixed emittet event detials
|
|
278
336
|
|
|
279
337
|
## 5.2.9
|
|
280
338
|
|
|
281
339
|
### Patch Changes
|
|
282
340
|
|
|
283
|
-
-
|
|
284
|
-
-
|
|
341
|
+
- [#1529](https://github.com/equinor/fusion-framework/pull/1529) [`8274dca1`](https://github.com/equinor/fusion-framework/commit/8274dca10a773e1d29ffbce82a6f6f2bae818316) Thanks [@odinr](https://github.com/odinr)! - - improved app event dispatch
|
|
342
|
+
- added mapping for all app events
|
|
285
343
|
|
|
286
344
|
## 5.2.8
|
|
287
345
|
|
|
288
346
|
### Patch Changes
|
|
289
347
|
|
|
290
|
-
-
|
|
291
|
-
-
|
|
348
|
+
- Updated dependencies [[`446b63ce`](https://github.com/equinor/fusion-framework/commit/446b63ce44b59a3aaab4399c0d877d3a1b560a0e)]:
|
|
349
|
+
- @equinor/fusion-query@4.0.3
|
|
292
350
|
|
|
293
351
|
## 5.2.7
|
|
294
352
|
|
|
295
353
|
### Patch Changes
|
|
296
354
|
|
|
297
|
-
-
|
|
355
|
+
- [#1305](https://github.com/equinor/fusion-framework/pull/1305) [`7ad31761`](https://github.com/equinor/fusion-framework/commit/7ad3176102f92da108b67ede6fdf29b76149bed9) Thanks [@odinr](https://github.com/odinr)! - fixed duplicate calls from flows
|
|
298
356
|
|
|
299
357
|
alignment after changes to `@equinor/fusion-query`
|
|
300
358
|
|
|
301
|
-
-
|
|
302
|
-
-
|
|
359
|
+
- Updated dependencies [[`7ad31761`](https://github.com/equinor/fusion-framework/commit/7ad3176102f92da108b67ede6fdf29b76149bed9)]:
|
|
360
|
+
- @equinor/fusion-query@4.0.2
|
|
303
361
|
|
|
304
362
|
## 5.2.6
|
|
305
363
|
|
|
306
364
|
### Patch Changes
|
|
307
365
|
|
|
308
|
-
-
|
|
366
|
+
- [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
|
|
309
367
|
|
|
310
|
-
-
|
|
311
|
-
-
|
|
312
|
-
-
|
|
368
|
+
- Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
|
|
369
|
+
- @equinor/fusion-observable@8.1.2
|
|
370
|
+
- @equinor/fusion-query@4.0.1
|
|
313
371
|
|
|
314
372
|
## 5.2.5
|
|
315
373
|
|
|
316
374
|
### Patch Changes
|
|
317
375
|
|
|
318
|
-
-
|
|
319
|
-
-
|
|
376
|
+
- Updated dependencies [[`ebcabd0e`](https://github.com/equinor/fusion-framework/commit/ebcabd0e6945e1420a0a9a7d82bd9255da1b8578), [`8739a5a6`](https://github.com/equinor/fusion-framework/commit/8739a5a65d8aaa46ce9ef56cce013efeeb006e8a)]:
|
|
377
|
+
- @equinor/fusion-query@4.0.0
|
|
320
378
|
|
|
321
379
|
## 5.2.4
|
|
322
380
|
|
|
323
381
|
### Patch Changes
|
|
324
382
|
|
|
325
|
-
-
|
|
326
|
-
-
|
|
327
|
-
-
|
|
383
|
+
- Updated dependencies [[`6f64d1aa`](https://github.com/equinor/fusion-framework/commit/6f64d1aa5e44af37f0abd76cef36e87761134760), [`758eaaf4`](https://github.com/equinor/fusion-framework/commit/758eaaf436ae28d180e7d91818b41abe0d9624c4)]:
|
|
384
|
+
- @equinor/fusion-observable@8.1.1
|
|
385
|
+
- @equinor/fusion-query@3.0.7
|
|
328
386
|
|
|
329
387
|
## 5.2.3
|
|
330
388
|
|
|
331
389
|
### Patch Changes
|
|
332
390
|
|
|
333
|
-
-
|
|
334
|
-
-
|
|
391
|
+
- Updated dependencies [[`066d843c`](https://github.com/equinor/fusion-framework/commit/066d843c88cb974150f23f4fb9e7d0b066c93594)]:
|
|
392
|
+
- @equinor/fusion-query@3.0.6
|
|
335
393
|
|
|
336
394
|
## 5.2.2
|
|
337
395
|
|
|
338
396
|
### Patch Changes
|
|
339
397
|
|
|
340
|
-
-
|
|
398
|
+
- [#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
|
|
341
399
|
|
|
342
400
|
conflicts of `@types/react` made random outcomes when using `yarn`
|
|
343
401
|
|
|
344
402
|
this change should not affect consumer of the packages, but might conflict dependent on local package manager.
|
|
345
403
|
|
|
346
|
-
-
|
|
404
|
+
- [#1145](https://github.com/equinor/fusion-framework/pull/1145) [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump rxjs from 7.5.7 to [7.8.1](https://github.com/ReactiveX/rxjs/blob/7.8.1/CHANGELOG.md)
|
|
347
405
|
|
|
348
|
-
-
|
|
349
|
-
-
|
|
350
|
-
-
|
|
406
|
+
- Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`2dccccd1`](https://github.com/equinor/fusion-framework/commit/2dccccd124fbe3cdde2132c29c27d3da9fc6f1f5), [`8e7ae77c`](https://github.com/equinor/fusion-framework/commit/8e7ae77cfcadddc4b59e6bb57e620b84e5e1c647), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272)]:
|
|
407
|
+
- @equinor/fusion-observable@8.1.0
|
|
408
|
+
- @equinor/fusion-query@3.0.5
|
|
351
409
|
|
|
352
410
|
## 5.2.1
|
|
353
411
|
|
|
354
412
|
### Patch Changes
|
|
355
413
|
|
|
356
|
-
-
|
|
414
|
+
- [#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
|
|
357
415
|
|
|
358
416
|
## 5.2.0
|
|
359
417
|
|
|
360
418
|
### Minor Changes
|
|
361
419
|
|
|
362
|
-
-
|
|
420
|
+
- [#927](https://github.com/equinor/fusion-framework/pull/927) [`8bc4c5d6`](https://github.com/equinor/fusion-framework/commit/8bc4c5d6ed900e424efcab5572047c106d7ec04a) Thanks [@odinr](https://github.com/odinr)! - Create and expose interface for App
|
|
363
421
|
|
|
364
|
-
-
|
|
422
|
+
- deprecate [AppModuleProvider.createApp](https://github.com/equinor/fusion-framework/blob/cf08d5ae3cef473e5025fd973a2a7a45a3b22dee/packages/modules/app/src/AppModuleProvider.ts#L171)
|
|
365
423
|
|
|
366
424
|
this should not create any breaking changes since apps was only created from provider.
|
|
367
425
|
if the class is still needed it can be imported:
|
|
@@ -370,22 +428,22 @@
|
|
|
370
428
|
import { App } from '@equinor/fusion-framework-module-app/app';
|
|
371
429
|
```
|
|
372
430
|
|
|
373
|
-
-
|
|
431
|
+
- [#927](https://github.com/equinor/fusion-framework/pull/927) [`8bc4c5d6`](https://github.com/equinor/fusion-framework/commit/8bc4c5d6ed900e424efcab5572047c106d7ec04a) Thanks [@odinr](https://github.com/odinr)! - Allow updating manifest of application
|
|
374
432
|
|
|
375
|
-
-
|
|
376
|
-
-
|
|
377
|
-
-
|
|
378
|
-
-
|
|
433
|
+
- add meta data for `setManifest` action to flag if `merge` or `replace`
|
|
434
|
+
- add method on `App` to update manifest, _default flag `merge`_
|
|
435
|
+
- check in state reducer if `setManifest` action is `update` or `merge`
|
|
436
|
+
- update flow `handleFetchManifest` to prop passing of flag
|
|
379
437
|
|
|
380
438
|
## 5.1.3
|
|
381
439
|
|
|
382
440
|
### Patch Changes
|
|
383
441
|
|
|
384
|
-
-
|
|
442
|
+
- [#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**
|
|
385
443
|
|
|
386
|
-
-
|
|
387
|
-
-
|
|
388
|
-
-
|
|
444
|
+
- align all versions of typescript
|
|
445
|
+
- update types to build
|
|
446
|
+
- 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
|
|
389
447
|
|
|
390
448
|
All notable changes to this project will be documented in this file.
|
|
391
449
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
@@ -402,7 +460,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
402
460
|
|
|
403
461
|
### Features
|
|
404
462
|
|
|
405
|
-
-
|
|
463
|
+
- **module-app:** allow type hinting modules and env ([c80be46](https://github.com/equinor/fusion-framework/commit/c80be46c3c16a40b53506c29debfe6196ea7d945))
|
|
406
464
|
|
|
407
465
|
## 5.0.1 (2023-05-05)
|
|
408
466
|
|
|
@@ -476,35 +534,35 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
476
534
|
|
|
477
535
|
### Features
|
|
478
536
|
|
|
479
|
-
-
|
|
537
|
+
- make app state sync ([c8b4567](https://github.com/equinor/fusion-framework/commit/c8b456743ff5b2b397ce928a1006936cb8de5488))
|
|
480
538
|
|
|
481
539
|
## 3.1.0 (2023-01-04)
|
|
482
540
|
|
|
483
541
|
### Features
|
|
484
542
|
|
|
485
|
-
-
|
|
543
|
+
- **module-app:** allow clearing current app ([c7f4c14](https://github.com/equinor/fusion-framework/commit/c7f4c144c29c2c40df42eafcdaabfb8214e1e88d))
|
|
486
544
|
|
|
487
545
|
## 3.0.0 (2023-01-04)
|
|
488
546
|
|
|
489
547
|
### ⚠ BREAKING CHANGES
|
|
490
548
|
|
|
491
|
-
-
|
|
549
|
+
- **module-app:** manifest prop rename
|
|
492
550
|
|
|
493
551
|
### Bug Fixes
|
|
494
552
|
|
|
495
|
-
-
|
|
553
|
+
- **module-app:** rename `appKey` to `key` ([9ee97b1](https://github.com/equinor/fusion-framework/commit/9ee97b149b9167a3747da371de76490e287d9514))
|
|
496
554
|
|
|
497
555
|
## 2.8.1 (2022-12-21)
|
|
498
556
|
|
|
499
557
|
### Bug Fixes
|
|
500
558
|
|
|
501
|
-
-
|
|
559
|
+
- **module-app:** fix typo ([7db0811](https://github.com/equinor/fusion-framework/commit/7db08113697761ecfa75b5684272e6244ec9e137))
|
|
502
560
|
|
|
503
561
|
## 2.8.0 (2022-12-21)
|
|
504
562
|
|
|
505
563
|
### Features
|
|
506
564
|
|
|
507
|
-
-
|
|
565
|
+
- **module-app:** expose current state of app ([accb084](https://github.com/equinor/fusion-framework/commit/accb08477416541beaa39574ff966ab2784ad430))
|
|
508
566
|
|
|
509
567
|
## [2.7.1](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-app@2.7.0...@equinor/fusion-framework-module-app@2.7.1) (2022-12-16)
|
|
510
568
|
|
|
@@ -514,48 +572,48 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
514
572
|
|
|
515
573
|
### Features
|
|
516
574
|
|
|
517
|
-
-
|
|
575
|
+
- **module-app:** expose config builder ([ed0fe34](https://github.com/equinor/fusion-framework/commit/ed0fe34c6ba67c1487b1d4087a5bddb7e8eaf3c8))
|
|
518
576
|
|
|
519
577
|
### Bug Fixes
|
|
520
578
|
|
|
521
|
-
-
|
|
579
|
+
- **module-app:** fix import ([4b08ae1](https://github.com/equinor/fusion-framework/commit/4b08ae1ec2316142961d464b4be9346fc9403430))
|
|
522
580
|
|
|
523
581
|
## [2.6.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-app@2.5.0...@equinor/fusion-framework-module-app@2.6.0) (2022-12-16)
|
|
524
582
|
|
|
525
583
|
### Features
|
|
526
584
|
|
|
527
|
-
-
|
|
585
|
+
- **module-app:** add app events ([f302a89](https://github.com/equinor/fusion-framework/commit/f302a8986042567129737d181f376e0fded418f0))
|
|
528
586
|
|
|
529
587
|
## 2.5.0 (2022-12-14)
|
|
530
588
|
|
|
531
589
|
### Features
|
|
532
590
|
|
|
533
|
-
-
|
|
591
|
+
- **module-app:** update manifest interface ([ba740ef](https://github.com/equinor/fusion-framework/commit/ba740ef6f7a37eb72b1386d929cc27bf0530218a))
|
|
534
592
|
|
|
535
593
|
### Bug Fixes
|
|
536
594
|
|
|
537
|
-
-
|
|
538
|
-
-
|
|
539
|
-
-
|
|
595
|
+
- **module-app:** correct import and exports ([d9de2d7](https://github.com/equinor/fusion-framework/commit/d9de2d71cb2521fb4b38843e54a4928646294df8))
|
|
596
|
+
- **module-app:** fix key for fetching all manifest ([2df1815](https://github.com/equinor/fusion-framework/commit/2df18159d1128546b801c374f419b1e9528ca8c2))
|
|
597
|
+
- **module-app:** make app module optional ([fa5c0ed](https://github.com/equinor/fusion-framework/commit/fa5c0ed0a9afc1f9ade3adb6e52e4425a59a7aa6))
|
|
540
598
|
|
|
541
599
|
## [2.4.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-app@2.3.0...@equinor/fusion-framework-module-app@2.4.0) (2022-12-12)
|
|
542
600
|
|
|
543
601
|
### Features
|
|
544
602
|
|
|
545
|
-
-
|
|
603
|
+
- **module-app:** allow creating app instance ([d2d3080](https://github.com/equinor/fusion-framework/commit/d2d3080f4822fefca5df5a4a1ce46f138095d567))
|
|
546
604
|
|
|
547
605
|
## 2.3.0 (2022-12-12)
|
|
548
606
|
|
|
549
607
|
### Features
|
|
550
608
|
|
|
551
|
-
-
|
|
609
|
+
- **module-app:** add config builder ([0fe107c](https://github.com/equinor/fusion-framework/commit/0fe107c87a129c6e63044e6298914cdfc4e0d626))
|
|
552
610
|
|
|
553
611
|
## [2.2.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-app@2.1.6...@equinor/fusion-framework-module-app@2.2.0) (2022-12-12)
|
|
554
612
|
|
|
555
613
|
### Features
|
|
556
614
|
|
|
557
|
-
-
|
|
558
|
-
-
|
|
615
|
+
- create instance container for application ([d5cbd74](https://github.com/equinor/fusion-framework/commit/d5cbd74b89cd9cba0dabef4a62f585c72e3c14be))
|
|
616
|
+
- **module-app:** load javascript modules ([bb3d2a1](https://github.com/equinor/fusion-framework/commit/bb3d2a1cb00b5753462094ebdf24c8ba3c614c9f))
|
|
559
617
|
|
|
560
618
|
## [2.1.6](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-app@2.1.5...@equinor/fusion-framework-module-app@2.1.6) (2022-12-08)
|
|
561
619
|
|
|
@@ -585,7 +643,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
585
643
|
|
|
586
644
|
### Features
|
|
587
645
|
|
|
588
|
-
-
|
|
646
|
+
- **context-selector:** header type contextselector and appcheck ([8ab0a50](https://github.com/equinor/fusion-framework/commit/8ab0a50e3f7ea3487796735c868f2e65d84fecd2))
|
|
589
647
|
|
|
590
648
|
## [2.0.2](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-app@2.0.1...@equinor/fusion-framework-module-app@2.0.2) (2022-12-05)
|
|
591
649
|
|
|
@@ -651,7 +709,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
651
709
|
|
|
652
710
|
### Features
|
|
653
711
|
|
|
654
|
-
-
|
|
712
|
+
- **query:** separate query from observable ([1408609](https://github.com/equinor/fusion-framework/commit/140860976c3ee9430a30deebcc8b08da857e5772))
|
|
655
713
|
|
|
656
714
|
## 1.4.4 (2022-12-01)
|
|
657
715
|
|
|
@@ -669,31 +727,31 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
669
727
|
|
|
670
728
|
### Bug Fixes
|
|
671
729
|
|
|
672
|
-
-
|
|
730
|
+
- **module-app:** fallback to portal ([6778624](https://github.com/equinor/fusion-framework/commit/67786241c809e27d60a2411dd6bffba315d5f3a3))
|
|
673
731
|
|
|
674
732
|
## 1.4.0 (2022-11-17)
|
|
675
733
|
|
|
676
734
|
### Features
|
|
677
735
|
|
|
678
|
-
-
|
|
736
|
+
- **module-navigation:** initial ([891e69d](https://github.com/equinor/fusion-framework/commit/891e69d9a98ba02ee1f9dd1c5b0cb31ff1b5fd0f))
|
|
679
737
|
|
|
680
738
|
## [1.3.1](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-app@1.3.0...@equinor/fusion-framework-module-app@1.3.1) (2022-11-14)
|
|
681
739
|
|
|
682
740
|
### Bug Fixes
|
|
683
741
|
|
|
684
|
-
-
|
|
742
|
+
- **module-app:** throw error when config or app not loading ([e4bd23a](https://github.com/equinor/fusion-framework/commit/e4bd23a4071bd68334aeaed9ed9ea12cac93222c))
|
|
685
743
|
|
|
686
744
|
## 1.3.0 (2022-11-14)
|
|
687
745
|
|
|
688
746
|
### Features
|
|
689
747
|
|
|
690
|
-
-
|
|
748
|
+
- **module-app:** add app loader ([0ef0b71](https://github.com/equinor/fusion-framework/commit/0ef0b71de27f1dccc757aa7eceea558072a1db60))
|
|
691
749
|
|
|
692
750
|
## [1.2.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-app@1.1.6...@equinor/fusion-framework-module-app@1.2.0) (2022-11-14)
|
|
693
751
|
|
|
694
752
|
### Features
|
|
695
753
|
|
|
696
|
-
-
|
|
754
|
+
- update packages to use observable ([98024aa](https://github.com/equinor/fusion-framework/commit/98024aa466c68f03bd793bd564cf7b6bf65def72))
|
|
697
755
|
|
|
698
756
|
## [1.1.6](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-app@1.1.5...@equinor/fusion-framework-module-app@1.1.6) (2022-11-11)
|
|
699
757
|
|
|
@@ -707,7 +765,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
707
765
|
|
|
708
766
|
### Bug Fixes
|
|
709
767
|
|
|
710
|
-
-
|
|
768
|
+
- **module-auth:** make http module await auth ([18a0ed9](https://github.com/equinor/fusion-framework/commit/18a0ed947e128bf1cdc86aa45d31e73c1f8c4bbb))
|
|
711
769
|
|
|
712
770
|
## 1.1.3 (2022-11-03)
|
|
713
771
|
|
|
@@ -725,7 +783,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
725
783
|
|
|
726
784
|
### Features
|
|
727
785
|
|
|
728
|
-
-
|
|
786
|
+
- **module-app:** initial app module ([ce5aed1](https://github.com/equinor/fusion-framework/commit/ce5aed124431afbe55b9cf11a50a5c8d5499260e))
|
|
729
787
|
|
|
730
788
|
## 1.0.12 (2022-10-27)
|
|
731
789
|
|
|
@@ -863,4 +921,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
863
921
|
|
|
864
922
|
### Features
|
|
865
923
|
|
|
866
|
-
-
|
|
924
|
+
- add module for application loading ([61d4e5f](https://github.com/equinor/fusion-framework/commit/61d4e5fa0df6308155bf830e68d902cecb8146c2))
|