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