@equinor/fusion-framework-module-app 6.0.2 → 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 +194 -128
- 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 +7 -5
- 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,40 +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
|
+
|
|
61
|
+
## 6.0.3
|
|
62
|
+
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
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
|
|
68
|
+
|
|
3
69
|
## 6.0.2
|
|
4
70
|
|
|
5
71
|
### Patch Changes
|
|
6
72
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
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
|
|
10
76
|
|
|
11
77
|
## 6.0.1
|
|
12
78
|
|
|
13
79
|
### Patch Changes
|
|
14
80
|
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
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}`.
|
|
18
84
|
|
|
19
85
|
## 6.0.0
|
|
20
86
|
|
|
21
87
|
### Major Changes
|
|
22
88
|
|
|
23
|
-
-
|
|
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.
|
|
24
90
|
|
|
25
91
|
> [!WARNING]
|
|
26
92
|
> This will introduce breaking changes to the configuration of `AppConfigurator.client`.
|
|
27
93
|
|
|
28
94
|
**Added**
|
|
29
95
|
|
|
30
|
-
-
|
|
31
|
-
-
|
|
96
|
+
- Introduced `AppClient` class to handle application manifest and configuration queries.
|
|
97
|
+
- Added `zod` to validate the application manifest.
|
|
32
98
|
|
|
33
99
|
**Changed**
|
|
34
100
|
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
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`.
|
|
38
104
|
|
|
39
105
|
**Migration**
|
|
40
106
|
|
|
@@ -82,32 +148,32 @@
|
|
|
82
148
|
|
|
83
149
|
### Patch Changes
|
|
84
150
|
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
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
|
|
88
154
|
|
|
89
155
|
## 5.3.10
|
|
90
156
|
|
|
91
157
|
### Patch Changes
|
|
92
158
|
|
|
93
|
-
-
|
|
94
|
-
-
|
|
159
|
+
- Updated dependencies [[`be2e925`](https://github.com/equinor/fusion-framework/commit/be2e92532f4a4b8f0b2c9e12d4adf942d380423e)]:
|
|
160
|
+
- @equinor/fusion-query@5.1.2
|
|
95
161
|
|
|
96
162
|
## 5.3.9
|
|
97
163
|
|
|
98
164
|
### Patch Changes
|
|
99
165
|
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
-
|
|
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
|
|
103
169
|
|
|
104
170
|
## 5.3.8
|
|
105
171
|
|
|
106
172
|
### Patch Changes
|
|
107
173
|
|
|
108
|
-
-
|
|
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
|
|
109
175
|
|
|
110
|
-
-
|
|
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.
|
|
111
177
|
|
|
112
178
|
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
113
179
|
|
|
@@ -150,210 +216,210 @@
|
|
|
150
216
|
|
|
151
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.
|
|
152
218
|
|
|
153
|
-
-
|
|
154
|
-
-
|
|
155
|
-
-
|
|
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
|
|
156
222
|
|
|
157
223
|
## 5.3.7
|
|
158
224
|
|
|
159
225
|
### Patch Changes
|
|
160
226
|
|
|
161
|
-
-
|
|
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.
|
|
162
228
|
|
|
163
|
-
-
|
|
229
|
+
- **Added**: New utility types and functions for handling action types and payloads in a more type-safe manner.
|
|
164
230
|
|
|
165
|
-
-
|
|
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.
|
|
166
232
|
|
|
167
|
-
-
|
|
168
|
-
-
|
|
169
|
-
-
|
|
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
|
|
170
236
|
|
|
171
237
|
## 5.3.6
|
|
172
238
|
|
|
173
239
|
### Patch Changes
|
|
174
240
|
|
|
175
|
-
-
|
|
176
|
-
-
|
|
177
|
-
-
|
|
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
|
|
178
244
|
|
|
179
245
|
## 5.3.5
|
|
180
246
|
|
|
181
247
|
### Patch Changes
|
|
182
248
|
|
|
183
|
-
-
|
|
184
|
-
-
|
|
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
|
|
185
251
|
|
|
186
252
|
## 5.3.4
|
|
187
253
|
|
|
188
254
|
### Patch Changes
|
|
189
255
|
|
|
190
|
-
-
|
|
191
|
-
-
|
|
256
|
+
- Updated dependencies [[`bd3d3e1`](https://github.com/equinor/fusion-framework/commit/bd3d3e165b3cbcef8f2c7b3219d21387731e5995)]:
|
|
257
|
+
- @equinor/fusion-query@5.0.2
|
|
192
258
|
|
|
193
259
|
## 5.3.3
|
|
194
260
|
|
|
195
261
|
### Patch Changes
|
|
196
262
|
|
|
197
|
-
-
|
|
198
|
-
-
|
|
263
|
+
- Updated dependencies [[`491c2e0`](https://github.com/equinor/fusion-framework/commit/491c2e05a2383dc7aa310f11ba6f7325a69e7197)]:
|
|
264
|
+
- @equinor/fusion-query@5.0.1
|
|
199
265
|
|
|
200
266
|
## 5.3.2
|
|
201
267
|
|
|
202
268
|
### Patch Changes
|
|
203
269
|
|
|
204
|
-
-
|
|
205
|
-
-
|
|
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
|
|
206
272
|
|
|
207
273
|
## 5.3.1
|
|
208
274
|
|
|
209
275
|
### Patch Changes
|
|
210
276
|
|
|
211
|
-
-
|
|
212
|
-
-
|
|
213
|
-
-
|
|
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
|
|
214
280
|
|
|
215
281
|
## 5.3.0
|
|
216
282
|
|
|
217
283
|
### Minor Changes
|
|
218
284
|
|
|
219
|
-
-
|
|
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
|
|
220
286
|
|
|
221
287
|
### Patch Changes
|
|
222
288
|
|
|
223
|
-
-
|
|
224
|
-
-
|
|
225
|
-
-
|
|
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
|
|
226
292
|
|
|
227
293
|
## 5.2.14
|
|
228
294
|
|
|
229
295
|
### Patch Changes
|
|
230
296
|
|
|
231
|
-
-
|
|
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
|
|
232
298
|
|
|
233
299
|
## 5.2.13
|
|
234
300
|
|
|
235
301
|
### Patch Changes
|
|
236
302
|
|
|
237
|
-
-
|
|
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
|
|
238
304
|
|
|
239
|
-
-
|
|
240
|
-
-
|
|
241
|
-
-
|
|
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
|
|
242
308
|
|
|
243
|
-
-
|
|
244
|
-
-
|
|
245
|
-
-
|
|
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
|
|
246
312
|
|
|
247
313
|
## 5.2.12
|
|
248
314
|
|
|
249
315
|
### Patch Changes
|
|
250
316
|
|
|
251
|
-
-
|
|
252
|
-
-
|
|
253
|
-
-
|
|
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
|
|
254
320
|
|
|
255
321
|
## 5.2.11
|
|
256
322
|
|
|
257
323
|
### Patch Changes
|
|
258
324
|
|
|
259
|
-
-
|
|
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
|
|
260
326
|
|
|
261
|
-
-
|
|
262
|
-
-
|
|
263
|
-
-
|
|
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
|
|
264
330
|
|
|
265
331
|
## 5.2.10
|
|
266
332
|
|
|
267
333
|
### Patch Changes
|
|
268
334
|
|
|
269
|
-
-
|
|
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
|
|
270
336
|
|
|
271
337
|
## 5.2.9
|
|
272
338
|
|
|
273
339
|
### Patch Changes
|
|
274
340
|
|
|
275
|
-
-
|
|
276
|
-
-
|
|
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
|
|
277
343
|
|
|
278
344
|
## 5.2.8
|
|
279
345
|
|
|
280
346
|
### Patch Changes
|
|
281
347
|
|
|
282
|
-
-
|
|
283
|
-
-
|
|
348
|
+
- Updated dependencies [[`446b63ce`](https://github.com/equinor/fusion-framework/commit/446b63ce44b59a3aaab4399c0d877d3a1b560a0e)]:
|
|
349
|
+
- @equinor/fusion-query@4.0.3
|
|
284
350
|
|
|
285
351
|
## 5.2.7
|
|
286
352
|
|
|
287
353
|
### Patch Changes
|
|
288
354
|
|
|
289
|
-
-
|
|
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
|
|
290
356
|
|
|
291
357
|
alignment after changes to `@equinor/fusion-query`
|
|
292
358
|
|
|
293
|
-
-
|
|
294
|
-
-
|
|
359
|
+
- Updated dependencies [[`7ad31761`](https://github.com/equinor/fusion-framework/commit/7ad3176102f92da108b67ede6fdf29b76149bed9)]:
|
|
360
|
+
- @equinor/fusion-query@4.0.2
|
|
295
361
|
|
|
296
362
|
## 5.2.6
|
|
297
363
|
|
|
298
364
|
### Patch Changes
|
|
299
365
|
|
|
300
|
-
-
|
|
366
|
+
- [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
|
|
301
367
|
|
|
302
|
-
-
|
|
303
|
-
-
|
|
304
|
-
-
|
|
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
|
|
305
371
|
|
|
306
372
|
## 5.2.5
|
|
307
373
|
|
|
308
374
|
### Patch Changes
|
|
309
375
|
|
|
310
|
-
-
|
|
311
|
-
-
|
|
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
|
|
312
378
|
|
|
313
379
|
## 5.2.4
|
|
314
380
|
|
|
315
381
|
### Patch Changes
|
|
316
382
|
|
|
317
|
-
-
|
|
318
|
-
-
|
|
319
|
-
-
|
|
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
|
|
320
386
|
|
|
321
387
|
## 5.2.3
|
|
322
388
|
|
|
323
389
|
### Patch Changes
|
|
324
390
|
|
|
325
|
-
-
|
|
326
|
-
-
|
|
391
|
+
- Updated dependencies [[`066d843c`](https://github.com/equinor/fusion-framework/commit/066d843c88cb974150f23f4fb9e7d0b066c93594)]:
|
|
392
|
+
- @equinor/fusion-query@3.0.6
|
|
327
393
|
|
|
328
394
|
## 5.2.2
|
|
329
395
|
|
|
330
396
|
### Patch Changes
|
|
331
397
|
|
|
332
|
-
-
|
|
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
|
|
333
399
|
|
|
334
400
|
conflicts of `@types/react` made random outcomes when using `yarn`
|
|
335
401
|
|
|
336
402
|
this change should not affect consumer of the packages, but might conflict dependent on local package manager.
|
|
337
403
|
|
|
338
|
-
-
|
|
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)
|
|
339
405
|
|
|
340
|
-
-
|
|
341
|
-
-
|
|
342
|
-
-
|
|
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
|
|
343
409
|
|
|
344
410
|
## 5.2.1
|
|
345
411
|
|
|
346
412
|
### Patch Changes
|
|
347
413
|
|
|
348
|
-
-
|
|
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
|
|
349
415
|
|
|
350
416
|
## 5.2.0
|
|
351
417
|
|
|
352
418
|
### Minor Changes
|
|
353
419
|
|
|
354
|
-
-
|
|
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
|
|
355
421
|
|
|
356
|
-
-
|
|
422
|
+
- deprecate [AppModuleProvider.createApp](https://github.com/equinor/fusion-framework/blob/cf08d5ae3cef473e5025fd973a2a7a45a3b22dee/packages/modules/app/src/AppModuleProvider.ts#L171)
|
|
357
423
|
|
|
358
424
|
this should not create any breaking changes since apps was only created from provider.
|
|
359
425
|
if the class is still needed it can be imported:
|
|
@@ -362,22 +428,22 @@
|
|
|
362
428
|
import { App } from '@equinor/fusion-framework-module-app/app';
|
|
363
429
|
```
|
|
364
430
|
|
|
365
|
-
-
|
|
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
|
|
366
432
|
|
|
367
|
-
-
|
|
368
|
-
-
|
|
369
|
-
-
|
|
370
|
-
-
|
|
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
|
|
371
437
|
|
|
372
438
|
## 5.1.3
|
|
373
439
|
|
|
374
440
|
### Patch Changes
|
|
375
441
|
|
|
376
|
-
-
|
|
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**
|
|
377
443
|
|
|
378
|
-
-
|
|
379
|
-
-
|
|
380
|
-
-
|
|
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
|
|
381
447
|
|
|
382
448
|
All notable changes to this project will be documented in this file.
|
|
383
449
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
@@ -394,7 +460,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
394
460
|
|
|
395
461
|
### Features
|
|
396
462
|
|
|
397
|
-
-
|
|
463
|
+
- **module-app:** allow type hinting modules and env ([c80be46](https://github.com/equinor/fusion-framework/commit/c80be46c3c16a40b53506c29debfe6196ea7d945))
|
|
398
464
|
|
|
399
465
|
## 5.0.1 (2023-05-05)
|
|
400
466
|
|
|
@@ -468,35 +534,35 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
468
534
|
|
|
469
535
|
### Features
|
|
470
536
|
|
|
471
|
-
-
|
|
537
|
+
- make app state sync ([c8b4567](https://github.com/equinor/fusion-framework/commit/c8b456743ff5b2b397ce928a1006936cb8de5488))
|
|
472
538
|
|
|
473
539
|
## 3.1.0 (2023-01-04)
|
|
474
540
|
|
|
475
541
|
### Features
|
|
476
542
|
|
|
477
|
-
-
|
|
543
|
+
- **module-app:** allow clearing current app ([c7f4c14](https://github.com/equinor/fusion-framework/commit/c7f4c144c29c2c40df42eafcdaabfb8214e1e88d))
|
|
478
544
|
|
|
479
545
|
## 3.0.0 (2023-01-04)
|
|
480
546
|
|
|
481
547
|
### ⚠ BREAKING CHANGES
|
|
482
548
|
|
|
483
|
-
-
|
|
549
|
+
- **module-app:** manifest prop rename
|
|
484
550
|
|
|
485
551
|
### Bug Fixes
|
|
486
552
|
|
|
487
|
-
-
|
|
553
|
+
- **module-app:** rename `appKey` to `key` ([9ee97b1](https://github.com/equinor/fusion-framework/commit/9ee97b149b9167a3747da371de76490e287d9514))
|
|
488
554
|
|
|
489
555
|
## 2.8.1 (2022-12-21)
|
|
490
556
|
|
|
491
557
|
### Bug Fixes
|
|
492
558
|
|
|
493
|
-
-
|
|
559
|
+
- **module-app:** fix typo ([7db0811](https://github.com/equinor/fusion-framework/commit/7db08113697761ecfa75b5684272e6244ec9e137))
|
|
494
560
|
|
|
495
561
|
## 2.8.0 (2022-12-21)
|
|
496
562
|
|
|
497
563
|
### Features
|
|
498
564
|
|
|
499
|
-
-
|
|
565
|
+
- **module-app:** expose current state of app ([accb084](https://github.com/equinor/fusion-framework/commit/accb08477416541beaa39574ff966ab2784ad430))
|
|
500
566
|
|
|
501
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)
|
|
502
568
|
|
|
@@ -506,48 +572,48 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
506
572
|
|
|
507
573
|
### Features
|
|
508
574
|
|
|
509
|
-
-
|
|
575
|
+
- **module-app:** expose config builder ([ed0fe34](https://github.com/equinor/fusion-framework/commit/ed0fe34c6ba67c1487b1d4087a5bddb7e8eaf3c8))
|
|
510
576
|
|
|
511
577
|
### Bug Fixes
|
|
512
578
|
|
|
513
|
-
-
|
|
579
|
+
- **module-app:** fix import ([4b08ae1](https://github.com/equinor/fusion-framework/commit/4b08ae1ec2316142961d464b4be9346fc9403430))
|
|
514
580
|
|
|
515
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)
|
|
516
582
|
|
|
517
583
|
### Features
|
|
518
584
|
|
|
519
|
-
-
|
|
585
|
+
- **module-app:** add app events ([f302a89](https://github.com/equinor/fusion-framework/commit/f302a8986042567129737d181f376e0fded418f0))
|
|
520
586
|
|
|
521
587
|
## 2.5.0 (2022-12-14)
|
|
522
588
|
|
|
523
589
|
### Features
|
|
524
590
|
|
|
525
|
-
-
|
|
591
|
+
- **module-app:** update manifest interface ([ba740ef](https://github.com/equinor/fusion-framework/commit/ba740ef6f7a37eb72b1386d929cc27bf0530218a))
|
|
526
592
|
|
|
527
593
|
### Bug Fixes
|
|
528
594
|
|
|
529
|
-
-
|
|
530
|
-
-
|
|
531
|
-
-
|
|
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))
|
|
532
598
|
|
|
533
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)
|
|
534
600
|
|
|
535
601
|
### Features
|
|
536
602
|
|
|
537
|
-
-
|
|
603
|
+
- **module-app:** allow creating app instance ([d2d3080](https://github.com/equinor/fusion-framework/commit/d2d3080f4822fefca5df5a4a1ce46f138095d567))
|
|
538
604
|
|
|
539
605
|
## 2.3.0 (2022-12-12)
|
|
540
606
|
|
|
541
607
|
### Features
|
|
542
608
|
|
|
543
|
-
-
|
|
609
|
+
- **module-app:** add config builder ([0fe107c](https://github.com/equinor/fusion-framework/commit/0fe107c87a129c6e63044e6298914cdfc4e0d626))
|
|
544
610
|
|
|
545
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)
|
|
546
612
|
|
|
547
613
|
### Features
|
|
548
614
|
|
|
549
|
-
-
|
|
550
|
-
-
|
|
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))
|
|
551
617
|
|
|
552
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)
|
|
553
619
|
|
|
@@ -577,7 +643,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
577
643
|
|
|
578
644
|
### Features
|
|
579
645
|
|
|
580
|
-
-
|
|
646
|
+
- **context-selector:** header type contextselector and appcheck ([8ab0a50](https://github.com/equinor/fusion-framework/commit/8ab0a50e3f7ea3487796735c868f2e65d84fecd2))
|
|
581
647
|
|
|
582
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)
|
|
583
649
|
|
|
@@ -643,7 +709,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
643
709
|
|
|
644
710
|
### Features
|
|
645
711
|
|
|
646
|
-
-
|
|
712
|
+
- **query:** separate query from observable ([1408609](https://github.com/equinor/fusion-framework/commit/140860976c3ee9430a30deebcc8b08da857e5772))
|
|
647
713
|
|
|
648
714
|
## 1.4.4 (2022-12-01)
|
|
649
715
|
|
|
@@ -661,31 +727,31 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
661
727
|
|
|
662
728
|
### Bug Fixes
|
|
663
729
|
|
|
664
|
-
-
|
|
730
|
+
- **module-app:** fallback to portal ([6778624](https://github.com/equinor/fusion-framework/commit/67786241c809e27d60a2411dd6bffba315d5f3a3))
|
|
665
731
|
|
|
666
732
|
## 1.4.0 (2022-11-17)
|
|
667
733
|
|
|
668
734
|
### Features
|
|
669
735
|
|
|
670
|
-
-
|
|
736
|
+
- **module-navigation:** initial ([891e69d](https://github.com/equinor/fusion-framework/commit/891e69d9a98ba02ee1f9dd1c5b0cb31ff1b5fd0f))
|
|
671
737
|
|
|
672
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)
|
|
673
739
|
|
|
674
740
|
### Bug Fixes
|
|
675
741
|
|
|
676
|
-
-
|
|
742
|
+
- **module-app:** throw error when config or app not loading ([e4bd23a](https://github.com/equinor/fusion-framework/commit/e4bd23a4071bd68334aeaed9ed9ea12cac93222c))
|
|
677
743
|
|
|
678
744
|
## 1.3.0 (2022-11-14)
|
|
679
745
|
|
|
680
746
|
### Features
|
|
681
747
|
|
|
682
|
-
-
|
|
748
|
+
- **module-app:** add app loader ([0ef0b71](https://github.com/equinor/fusion-framework/commit/0ef0b71de27f1dccc757aa7eceea558072a1db60))
|
|
683
749
|
|
|
684
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)
|
|
685
751
|
|
|
686
752
|
### Features
|
|
687
753
|
|
|
688
|
-
-
|
|
754
|
+
- update packages to use observable ([98024aa](https://github.com/equinor/fusion-framework/commit/98024aa466c68f03bd793bd564cf7b6bf65def72))
|
|
689
755
|
|
|
690
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)
|
|
691
757
|
|
|
@@ -699,7 +765,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
699
765
|
|
|
700
766
|
### Bug Fixes
|
|
701
767
|
|
|
702
|
-
-
|
|
768
|
+
- **module-auth:** make http module await auth ([18a0ed9](https://github.com/equinor/fusion-framework/commit/18a0ed947e128bf1cdc86aa45d31e73c1f8c4bbb))
|
|
703
769
|
|
|
704
770
|
## 1.1.3 (2022-11-03)
|
|
705
771
|
|
|
@@ -717,7 +783,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
717
783
|
|
|
718
784
|
### Features
|
|
719
785
|
|
|
720
|
-
-
|
|
786
|
+
- **module-app:** initial app module ([ce5aed1](https://github.com/equinor/fusion-framework/commit/ce5aed124431afbe55b9cf11a50a5c8d5499260e))
|
|
721
787
|
|
|
722
788
|
## 1.0.12 (2022-10-27)
|
|
723
789
|
|
|
@@ -855,4 +921,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
855
921
|
|
|
856
922
|
### Features
|
|
857
923
|
|
|
858
|
-
-
|
|
924
|
+
- add module for application loading ([61d4e5f](https://github.com/equinor/fusion-framework/commit/61d4e5fa0df6308155bf830e68d902cecb8146c2))
|