@equinor/fusion-framework-module-context 9.0.0 → 9.0.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.
Files changed (42) hide show
  1. package/dist/esm/version.js +1 -1
  2. package/dist/tsconfig.tsbuildinfo +1 -1
  3. package/dist/types/version.d.ts +1 -1
  4. package/package.json +13 -10
  5. package/CHANGELOG.md +0 -1072
  6. package/docs/data-model.md +0 -134
  7. package/docs/lifecycle.md +0 -163
  8. package/docs/recipes.md +0 -89
  9. package/src/ContextModuleConfig.ts +0 -147
  10. package/src/ContextModuleConfigurator.interface.ts +0 -145
  11. package/src/ContextModuleConfigurator.ts +0 -295
  12. package/src/ContextProvider.ts +0 -1158
  13. package/src/__tests__/ContextModuleConfigurator.test.ts +0 -412
  14. package/src/__tests__/mock/context-mock.test.ts +0 -137
  15. package/src/__tests__/mock/create-context-item-factory.test.ts +0 -60
  16. package/src/__tests__/mock/create-context-items.test.ts +0 -58
  17. package/src/client/ContextClient.ts +0 -149
  18. package/src/errors/FusionContextSearchError.ts +0 -56
  19. package/src/errors/index.ts +0 -1
  20. package/src/index.ts +0 -29
  21. package/src/mock/ContextMockConfigurator.ts +0 -244
  22. package/src/mock/fixtures/create-context-item-factory.ts +0 -62
  23. package/src/mock/fixtures/create-context-items.ts +0 -80
  24. package/src/mock/fixtures/index.ts +0 -28
  25. package/src/mock/fixtures/string-to-seed.ts +0 -18
  26. package/src/mock/index.ts +0 -33
  27. package/src/mock/module.ts +0 -54
  28. package/src/module.ts +0 -178
  29. package/src/selectors/get-context-selector.ts +0 -14
  30. package/src/selectors/index.ts +0 -12
  31. package/src/selectors/query-context-selector.ts +0 -15
  32. package/src/selectors/related-context-selector.ts +0 -15
  33. package/src/types.ts +0 -98
  34. package/src/utils/enable-context.ts +0 -40
  35. package/src/utils/extract-context-id-from-path.ts +0 -39
  36. package/src/utils/index.ts +0 -15
  37. package/src/utils/parse-context-item.ts +0 -39
  38. package/src/utils/resolve-context-from-path.ts +0 -118
  39. package/src/utils/resolve-initial-context.ts +0 -58
  40. package/src/version.ts +0 -2
  41. package/tsconfig.json +0 -33
  42. package/vitest.config.ts +0 -11
package/CHANGELOG.md DELETED
@@ -1,1072 +0,0 @@
1
- # Change Log
2
-
3
- ## 9.0.0
4
-
5
- ### Major Changes
6
-
7
- - f663b46: Add `./mock` and `./mock/fixtures` subpaths for seeding context in tests without a real context API.
8
-
9
- **BREAKING CHANGE:** `ContextModuleConfigurator` now extends `BaseConfigBuilder` (aligning with `module-event`, `module-http`, `module-msal`, and `module-service-discovery`). Its public `createConfig` method now returns `Observable<ContextModuleConfig>` instead of `Promise<ContextModuleConfig>`. Code calling `await configurator.createConfig(init)` directly should switch to `createConfigAsync`, which keeps the previous Promise-based behavior:
10
-
11
- ```typescript
12
- // Before
13
- const config = await configurator.createConfig(init);
14
- // After
15
- const config = await configurator.createConfigAsync(init);
16
- ```
17
-
18
- No other public export changes as part of this refactor.
19
-
20
- `./mock` exports `enableContextMock` and `ContextMockConfigurator` — a `ContextModuleConfigurator` backed by an in-memory pool instead of a real client. Only the data source is substituted; `validateContext`, `resolveContext`, and parent-context propagation all still run through the real `ContextProvider`:
21
-
22
- ```typescript
23
- import { enableContextMock } from '@equinor/fusion-framework-module-context/mock';
24
-
25
- enableContextMock(configurator, (mock) => {
26
- mock.setCurrentContext({ id: 'my-ctx', type: { id: 'ProjectMaster' }, value: {} });
27
- });
28
- ```
29
-
30
- `ContextMockConfigurator` also has `setContexts`, `addContext`, `setRelatedContexts` for the common cases, and `setResolver` as an escape hatch for custom resolution. Seeding an initial context this way overrides `resolveInitialContext` directly, so a test doesn't need a fake navigation module or parent framework instance just to start an app with a known context selected.
31
-
32
- `./mock/fixtures` exports `createContextItems` and `createContextItemFactory`, generating realistic `ContextItem`s via an optional `@faker-js/faker` peer dependency — kept on a separate entry point so `enableContextMock` never pulls faker in for tests that don't need it:
33
-
34
- ```typescript
35
- import { createContextItems } from '@equinor/fusion-framework-module-context/mock/fixtures';
36
-
37
- const [project] = createContextItems([{ type: 'ProjectMaster' }]);
38
- ```
39
-
40
- Also exports `parseContextItem` from the `./utils` subpath (parses a raw API context entity into a `ContextItem`), and reorganizes internal selector/configurator files without changing any existing public export.
41
-
42
- ### Patch Changes
43
-
44
- - f663b46: Restructure documentation so the README is an entry point rather than a manual, matching the convention already used by `@equinor/fusion-framework-module` and `@equinor/fusion-framework-module-http`.
45
-
46
- Long-form content moves into `docs/data-model.md` (the `ContextItem`/`ContextItemType` shape and query/related parameter types), `docs/lifecycle.md` (setting/resolving context, initial-context resolution, parent/child propagation), and `docs/recipes.md` (OData query parameters, path rewriting, accepting a family of related context types, skipping the default initial-context lookup, custom search errors). The README keeps the elevator pitch, a "How it fits together" section on module dependencies, and a documentation table linking to the rest.
47
- - f663b46: Fix `ContextModule.postInitialize` logging a `console.warn` for the valid "no initial context" case (no context in the path and no parent context). The default `resolveInitialContext` resolver used RxJS `first()` without a default value, so completing with no emissions threw an `EmptyError` that got logged as if resolution had actually failed. `first()` now falls back to `undefined`, so a genuinely empty result completes silently and only real resolution failures are logged.
48
- - f663b46: Declare `@equinor/fusion-framework-module-telemetry` as an optional peer dependency.
49
-
50
- The context module imports `TelemetryLevel`/`TelemetryScope` at runtime to report context
51
- resolution failures when a telemetry module is registered, but telemetry was previously
52
- undeclared outside of this package's own dev dependencies. A consumer installing only
53
- `@equinor/fusion-framework-module-context` without telemetry could fail to resolve this
54
- import at runtime.
55
-
56
- ## 8.0.3
57
-
58
- ### Patch Changes
59
-
60
- - 73bfe52: Restore path-based resolution as a fallback in `resolveInitialContext`, composed with parent-context resolution. The context-navigation plugin introduced in #4751 removed this from the module, but consumers not yet migrated to the plugin lost initial-context resolution from the URL. `resolveInitialContext` now accepts a `path` option (`extract`/`validate`) used to resolve context from the URL before falling back to the parent context.
61
-
62
- ## 8.0.2
63
-
64
- ### Patch Changes
65
-
66
- - 1b9d026: Move URL-based initial context resolution to the context-navigation plugin.
67
-
68
- The context module's `resolveInitialContext` no longer resolves context from the URL path — that responsibility has been moved to `@equinor/fusion-framework-plugin-context-navigation` at the portal level. This decouples URL concerns from the context module.
69
-
70
- **Changes:**
71
-
72
- - `resolveInitialContext` no longer accepts the `options` parameter with path resolution config.
73
- - URL-based initial context resolution is now handled by the context-navigation plugin.
74
- - Added `version` property to `IContextProvider` interface (non-breaking).
75
- - Added explanatory `@ts-ignore` directives on compatibility assignments to avoid a breaking API signature change in this release.
76
-
77
- **Migration:** Apps do not need to change their code. Portal hosts should enable the `@equinor/fusion-framework-plugin-context-navigation` plugin to restore URL-based context resolution behavior.
78
-
79
- ## 8.0.1
80
-
81
- ### Patch Changes
82
-
83
- - 80c3e4a: Internal: resolve `noExplicitAny`/`noConfusingVoidType` Biome warnings in `ContextConfigBuilder` and `ContextModuleConfigurator`'s `resolveInitialContext` callback type, using explanatory `biome-ignore` comments for load-bearing `any`/`void` usages. No public API or behavior change.
84
- - 80c3e4a: Internal: move `FusionContextSearchError` into `src/errors/FusionContextSearchError.ts` with an `errors/index.ts` barrel, resolving a `filename-convention` lint violation; no public API changes.
85
- - 80c3e4a: Internal: add a required fusion-lint intent comment explaining an `as unknown as T` cast in `ContextProvider`. No behavior change.
86
- - 80c3e4a: Resolve fusion-lint warnings: add missing TSDoc (constructors, getters, setters, overload implementations, `@throws`/`@template` tags), add intent comments above control-flow and RxJS/iterator chains, and split multi-export files to satisfy `single-export-per-file`.
87
- - Split `selectors.ts` into `query-context-selector.ts` and `related-context-selector.ts` (re-exported from `selectors.ts`), and extracted `parseContextItem` into `parse-context-item.ts`.
88
- - Split `extractContextIdFromPath` out of `utils/resolve-context-from-path.ts` into `utils/extract-context-id-from-path.ts` (re-exported from the original file).
89
- - Deferred work items are now tracked as GitHub issues #5115–#5122.
90
-
91
- - 80c3e4a: Internal: renamed 45 source files across these packages to comply with the `filename-convention` lint rule (e.g. `AIConfigurator.ts` → `AiConfigurator.ts`, `BookmarkProvider.actions.ts` → `bookmark-actions.ts`, `errors/app-build-error.ts` → `errors/AppBuildError.ts`, `plugins/api/plugin.ts` → `plugins/api/ApiPlugin.ts`, `errors.ts` → `UnsupportedApiVersion.ts`, etc.). Also added `enable-signalr.ts` to the `filename-convention` exclude list since the suggested rename would incorrectly split the "SignalR" brand name. No public API changes.
92
- - 80c3e4a: Internal: added missing intent comments ahead of non-obvious control flow, RxJS `.pipe()` chains, iterator calls, and multi-source object merges to comply with the `require-intent-comment` and `require-tsdoc` lint rules. Also removed dead duplicate files left over from an earlier refactor in `navigation` (`events.ts`, `navigated-event.ts`, `history.flows.ts` — all fully superseded by their split replacements) and renamed `bookmarks/schemas.ts` to `bookmarks/bookmark.schemas.ts` in `services` to match the `*.schemas.ts` filename convention. No public API changes.
93
-
94
- ## 8.0.0
95
-
96
- ### Major Changes
97
-
98
- - abffa53: Major version bump for Fusion Framework React 19 release.
99
-
100
- All packages are bumped to the next major version as part of the React 19 upgrade. This release drops support for React versions below 18 and includes breaking changes across the framework.
101
-
102
- **Breaking changes:**
103
- - Peer dependencies now require React 18 or 19 (`^18.0.0 || ^19.0.0`)
104
- - React Router upgraded from v6 to v7
105
- - Navigation module refactored with new history API
106
- - `renderComponent` and `renderApp` now use `createRoot` API
107
-
108
- **Migration:**
109
- - Update your React version to 18.0.0 or higher before upgrading
110
- - Replace `NavigationProvider.createRouter()` with `@equinor/fusion-framework-react-router`
111
- - See individual package changelogs for package-specific migration steps
112
-
113
- ### Patch Changes
114
-
115
- - Updated dependencies [abffa53]
116
- - Updated dependencies [abffa53]
117
- - @equinor/fusion-framework-module@6.0.0
118
- - @equinor/fusion-query@7.0.0
119
-
120
- ## 7.0.3
121
-
122
- ### Patch Changes
123
-
124
- - [#4157](https://github.com/equinor/fusion-framework/pull/4157) [`6aa8e1f`](https://github.com/equinor/fusion-framework/commit/6aa8e1f5c9d852b25e97aa7d98a63008c64d4581) Thanks [@Noggling](https://github.com/Noggling)! - Internal: patch release to align TypeScript types across packages for consistent type compatibility.
125
-
126
- - Updated dependencies [[`6aa8e1f`](https://github.com/equinor/fusion-framework/commit/6aa8e1f5c9d852b25e97aa7d98a63008c64d4581)]:
127
- - @equinor/fusion-framework-module@5.0.6
128
- - @equinor/fusion-query@6.0.4
129
-
130
- ## 7.0.2
131
-
132
- ### Patch Changes
133
-
134
- - [#3603](https://github.com/equinor/fusion-framework/pull/3603) [`d08ee58`](https://github.com/equinor/fusion-framework/commit/d08ee5850acf5bbbf63ac93c8da81647e3ca55b5) Thanks [@odinr](https://github.com/odinr)! - Fix ContextProvider to extend BaseModuleProvider, ensuring proper framework integration and consistent provider lifecycle management.
135
-
136
- Provider now correctly implements IModuleProvider interface through BaseModuleProvider inheritance.
137
-
138
- - Updated dependencies [[`e1a94c5`](https://github.com/equinor/fusion-framework/commit/e1a94c5a1df4ac2ec92ed25b75648397a3dbfa7b), [`0bc6b38`](https://github.com/equinor/fusion-framework/commit/0bc6b38e61c98a2f9dea7b55fa9983f268f860be)]:
139
- - @equinor/fusion-framework-module@5.0.4
140
-
141
- ## 7.0.1
142
-
143
- ### Patch Changes
144
-
145
- - [#3515](https://github.com/equinor/fusion-framework/pull/3515) [`6cb288b`](https://github.com/equinor/fusion-framework/commit/6cb288b9e1ec4fae68ae6899735c176837bb4275) Thanks [@odinr](https://github.com/odinr)! - ## Global Biome Configuration Modernization
146
-
147
- **Workspace-wide changes:**
148
- - Remove 19 rule overrides from `biome.json` to use Biome's strict "error" defaults
149
- - Enable `correctness/useUniqueElementIds` accessibility rule globally
150
- - Reduce configuration size by 40% (60+ → ~35 lines)
151
- - Eliminate all custom linting rule customizations
152
-
153
- **Package-specific changes:**
154
- - Replace static IDs with React `useId()` hooks in bookmark and dev-portal components
155
- - Fix `suspicious/noAssignInExpressions` violations in context, legacy-interopt, and observable packages
156
- - Update 11 React components for accessibility compliance
157
-
158
- **Impact:** All packages now use consistent, strict code quality enforcement with zero custom rule overrides.
159
-
160
- resolves: [#3494](https://github.com/equinor/fusion-framework/issues/3494)
161
- resolves: [#3495](https://github.com/equinor/fusion-framework/issues/3495)
162
-
163
- - Updated dependencies [[`d3bcafe`](https://github.com/equinor/fusion-framework/commit/d3bcafed8b8c5a02ebe68693588cb376ed5e1b0e), [`45954e5`](https://github.com/equinor/fusion-framework/commit/45954e5db471a2faa24e88e41fc6d6c18817d6d1)]:
164
- - @equinor/fusion-query@6.0.0
165
- - @equinor/fusion-framework-module@5.0.3
166
-
167
- ## 7.0.0
168
-
169
- ### Patch Changes
170
-
171
- - Updated dependencies [[`8fffbfb`](https://github.com/equinor/fusion-framework/commit/8fffbfb12daa9748bf5290e5084cd4d409aed253), [`8fffbfb`](https://github.com/equinor/fusion-framework/commit/8fffbfb12daa9748bf5290e5084cd4d409aed253)]:
172
- - @equinor/fusion-framework-module@5.0.0
173
-
174
- ## 6.0.6
175
-
176
- ### Patch Changes
177
-
178
- - Updated dependencies [[`7441b13`](https://github.com/equinor/fusion-framework/commit/7441b13aa50dd7362d1629086a27b6b4e571575d)]:
179
- - @equinor/fusion-query@5.2.11
180
-
181
- ## 6.0.5
182
-
183
- ### Patch Changes
184
-
185
- - Updated dependencies []:
186
- - @equinor/fusion-query@5.2.10
187
-
188
- ## 6.0.4
189
-
190
- ### Patch Changes
191
-
192
- - Updated dependencies []:
193
- - @equinor/fusion-query@5.2.9
194
-
195
- ## 6.0.3
196
-
197
- ### Patch Changes
198
-
199
- - [#3064](https://github.com/equinor/fusion-framework/pull/3064) [`231e24e`](https://github.com/equinor/fusion-framework/commit/231e24eef9ca33db2fbde2fdd1c918eeb620c8c4) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Add support for html and svg in meta and graphic for context result
200
-
201
- ## 6.0.2
202
-
203
- ### Patch Changes
204
-
205
- - [#3057](https://github.com/equinor/fusion-framework/pull/3057) [`96bb1fb`](https://github.com/equinor/fusion-framework/commit/96bb1fb744d8dc2410e99fea6ca948d2d5489428) Thanks [@odinr](https://github.com/odinr)! - fixed `typeVersions`
206
-
207
- - Updated dependencies [[`96bb1fb`](https://github.com/equinor/fusion-framework/commit/96bb1fb744d8dc2410e99fea6ca948d2d5489428)]:
208
- - @equinor/fusion-framework-module@4.4.2
209
- - @equinor/fusion-query@5.2.8
210
-
211
- ## 6.0.1
212
-
213
- ### Patch Changes
214
-
215
- - Updated dependencies [[`e49f916`](https://github.com/equinor/fusion-framework/commit/e49f9161557202df57248d02ade4d2ef50231bdc), [`c6af3a3`](https://github.com/equinor/fusion-framework/commit/c6af3a3c926fb245e9d056b506d47b8bf4f1efde)]:
216
- - @equinor/fusion-framework-module@4.4.1
217
- - @equinor/fusion-query@5.2.7
218
-
219
- ## 6.0.0
220
-
221
- ### Patch Changes
222
-
223
- - Updated dependencies [[`efd70a3`](https://github.com/equinor/fusion-framework/commit/efd70a34f734e0c155d3440e35ce4fa11a7abc42)]:
224
- - @equinor/fusion-framework-module@4.4.0
225
- - @equinor/fusion-query@5.2.6
226
-
227
- ## 5.1.3
228
-
229
- ### Patch Changes
230
-
231
- - Updated dependencies [[`f53b60b`](https://github.com/equinor/fusion-framework/commit/f53b60b7805706ce7617e614f0ac0c24317a2e43)]:
232
- - @equinor/fusion-framework-module@4.3.8
233
- - @equinor/fusion-query@5.2.5
234
-
235
- ## 5.1.2
236
-
237
- ### Patch Changes
238
-
239
- - [#3010](https://github.com/equinor/fusion-framework/pull/3010) [`2c9fcd6`](https://github.com/equinor/fusion-framework/commit/2c9fcd6bcacb3e1b94d7aa4ad2e9d216a329faa5) Thanks [@odinr](https://github.com/odinr)! - Fixed path for base type in package json
240
-
241
- ## 5.1.1
242
-
243
- ### Patch Changes
244
-
245
- - Updated dependencies []:
246
- - @equinor/fusion-query@5.2.4
247
-
248
- ## 5.1.0
249
-
250
- ### Minor Changes
251
-
252
- - [#2930](https://github.com/equinor/fusion-framework/pull/2930) [`5da6b2d`](https://github.com/equinor/fusion-framework/commit/5da6b2d4cb7fb93ff3784753a0052d3362ab828d) Thanks [@odinr](https://github.com/odinr)! - **@equinor/fusion-framework-react:**
253
- - Enhanced `useAppContextNavigation` to support custom context path extraction and generation. This allows for more flexible navigation handling based on application-specific requirements.
254
-
255
- **@equinor/fusion-framework-module-context:**
256
- - Added support for custom context path extraction and generation in `ContextConfigBuilder`, `ContextProvider`, and `ContextModuleConfigurator`.
257
- - Introduced `setContextPathExtractor` and `setContextPathGenerator` methods in `ContextConfigBuilder` to allow developers to define custom logic for extracting and generating context paths.
258
- - Updated `ContextProvider` to utilize `extractContextIdFromPath` and `generatePathFromContext` from the configuration, enabling dynamic path handling.
259
- - Enhanced `ContextModuleConfigurator` to include `extractContextIdFromPath` and `generatePathFromContext` in the module configuration.
260
-
261
- If you are using `@equinor/fusion-framework-module-context` and need custom logic for context path handling:
262
- 1. Use `setContextPathExtractor` to define how to extract context IDs from paths.
263
- 2. Use `setContextPathGenerator` to define how to generate paths based on context items.
264
-
265
- Example:
266
-
267
- ```typescript
268
- builder.setContextPathExtractor((path) => {
269
- // Custom logic to extract context ID from path
270
- return path.match(/\/custom\/(.+)/)?.[1];
271
- });
272
-
273
- builder.setContextPathGenerator((context, path) => {
274
- // Custom logic to generate path from context
275
- return path.replace(/^(\/)?custom\/[^/]+(.*)$/, `/app/${item.id}$2`);
276
- });
277
- ```
278
-
279
- If your portal is generating context paths based on context items, you can now define custom logic for context path handling:
280
-
281
- ```typescript
282
- contextProvider.currentContext$
283
- .pipe(
284
- map((context) => {
285
- // Custom logic to generate path from context
286
- const path = contextProvider.generatePathFromContext?.(
287
- context,
288
- location.pathname,
289
- );
290
- return path ?? fallbackPathGenerator(context, location.pathname);
291
- }),
292
- filter(Boolean),
293
- )
294
- .subscribe((path) => history.push(path));
295
- ```
296
-
297
- ## 5.0.19
298
-
299
- ### Patch Changes
300
-
301
- - [#2885](https://github.com/equinor/fusion-framework/pull/2885) [`abb3560`](https://github.com/equinor/fusion-framework/commit/abb3560a22ad8830df19904272035458433f4237) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update he `Typescript` version `^5.7.3` to `^5.8.2`
302
-
303
- - Updated dependencies [[`abb3560`](https://github.com/equinor/fusion-framework/commit/abb3560a22ad8830df19904272035458433f4237)]:
304
- - @equinor/fusion-framework-module@4.3.7
305
- - @equinor/fusion-query@5.2.3
306
-
307
- ## 5.0.18
308
-
309
- ### Patch Changes
310
-
311
- - [#2863](https://github.com/equinor/fusion-framework/pull/2863) [`11e18fd`](https://github.com/equinor/fusion-framework/commit/11e18fd755e65d1bbbb9b98638fdb9a98c2c23ab) Thanks [@dependabot](https://github.com/apps/dependabot)! - Fixed matching type of `ContextClient` to extended `Observable` type. Only refactor, no functional changes.
312
-
313
- **note:** _the context client context item observable should not be able to be undefined, only item or `null`. this should be fixed in the future, added `@todo` comment to remind us to fix this in the future._
314
-
315
- ## 5.0.17
316
-
317
- ### Patch Changes
318
-
319
- - [#2848](https://github.com/equinor/fusion-framework/pull/2848) [`dcd2fb1`](https://github.com/equinor/fusion-framework/commit/dcd2fb1394e175d0cc2a4289ed3ede8e0271d67d) Thanks [@odinr](https://github.com/odinr)! - Refactored imports to use `type` when importing types from a module, to conform with the `useImportType` rule in Biome.
320
-
321
- - Updated dependencies [[`ba5d12e`](https://github.com/equinor/fusion-framework/commit/ba5d12eba0a38db412353765e997d02c1fbb478d), [`2fe6241`](https://github.com/equinor/fusion-framework/commit/2fe624186640c3b30079c7d76f0e3af65f64f5d2), [`dcd2fb1`](https://github.com/equinor/fusion-framework/commit/dcd2fb1394e175d0cc2a4289ed3ede8e0271d67d)]:
322
- - @equinor/fusion-framework-module@4.3.6
323
- - @equinor/fusion-query@5.2.2
324
-
325
- ## 5.0.16
326
-
327
- ### Patch Changes
328
-
329
- - Updated dependencies []:
330
- - @equinor/fusion-query@5.2.1
331
-
332
- ## 5.0.15
333
-
334
- ### Patch Changes
335
-
336
- - Updated dependencies [[`a965fbe`](https://github.com/equinor/fusion-framework/commit/a965fbeb9544b74f7d7b4aaa1e57c50d2ae4a564)]:
337
- - @equinor/fusion-query@5.2.0
338
-
339
- ## 5.0.14
340
-
341
- ### Patch Changes
342
-
343
- - Updated dependencies [[`30767a2`](https://github.com/equinor/fusion-framework/commit/30767a2f72b54c2a3ea98ce08186017e34ae16bd)]:
344
- - @equinor/fusion-query@5.1.5
345
-
346
- ## 5.0.13
347
-
348
- ### Patch Changes
349
-
350
- - Updated dependencies [[`21db01b`](https://github.com/equinor/fusion-framework/commit/21db01bbe5113b07aaa715d554378561e1a5223d)]:
351
- - @equinor/fusion-query@5.1.4
352
-
353
- ## 5.0.12
354
-
355
- ### Patch Changes
356
-
357
- - Updated dependencies [[`2644b3d`](https://github.com/equinor/fusion-framework/commit/2644b3d63939aede736a3b1950db32dbd487877d)]:
358
- - @equinor/fusion-framework-module@4.3.5
359
-
360
- ## 5.0.11
361
-
362
- ### Patch Changes
363
-
364
- - Updated dependencies []:
365
- - @equinor/fusion-query@5.1.3
366
-
367
- ## 5.0.10
368
-
369
- ### Patch Changes
370
-
371
- - Updated dependencies [[`75d676d`](https://github.com/equinor/fusion-framework/commit/75d676d2c7919f30e036b5ae97c4d814c569aa87), [`be2e925`](https://github.com/equinor/fusion-framework/commit/be2e92532f4a4b8f0b2c9e12d4adf942d380423e), [`00d5e9c`](https://github.com/equinor/fusion-framework/commit/00d5e9c632876742c3d2a74efea2f126a0a169d9)]:
372
- - @equinor/fusion-framework-module@4.3.4
373
- - @equinor/fusion-query@5.1.2
374
-
375
- ## 5.0.9
376
-
377
- ### Patch Changes
378
-
379
- - Updated dependencies [[`decb9e9`](https://github.com/equinor/fusion-framework/commit/decb9e9e3d1bb1b0577b729a1e7ae812afdd83cb), [`a1524e9`](https://github.com/equinor/fusion-framework/commit/a1524e9c4d83778da3db42dbcf99908b776a0592)]:
380
- - @equinor/fusion-query@5.1.1
381
- - @equinor/fusion-framework-module@4.3.3
382
-
383
- ## 5.0.8
384
-
385
- ### Patch Changes
386
-
387
- - [#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
388
-
389
- - [#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.
390
-
391
- Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
392
- 1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
393
- 2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
394
- 3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
395
-
396
- No action is required from consumers of the library. This change affects the build process and doesn't introduce any breaking changes or new features.
397
-
398
- Before:
399
-
400
- ```json
401
- {
402
- "compilerOptions": {
403
- "module": "ES2022",
404
- "target": "ES6",
405
- "incremental": true,
406
- "removeComments": true,
407
- "preserveConstEnums": true,
408
- "sourceMap": true,
409
- "moduleResolution": "node"
410
- }
411
- }
412
- ```
413
-
414
- After:
415
-
416
- ```json
417
- {
418
- "compilerOptions": {
419
- "module": "ES2022",
420
- "target": "ES6",
421
- "incremental": true,
422
- "preserveConstEnums": true,
423
- "sourceMap": true,
424
- "moduleResolution": "node"
425
- }
426
- }
427
- ```
428
-
429
- This change ensures that comments are preserved in the compiled output, potentially improving the development and debugging experience for users of the Fusion Framework.
430
-
431
- - Updated dependencies [[`2f74edc`](https://github.com/equinor/fusion-framework/commit/2f74edcd4a3ea2b87d69f0fd63492145c3c01663), [`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)]:
432
- - @equinor/fusion-framework-module@4.3.2
433
- - @equinor/fusion-query@5.1.0
434
-
435
- ## 5.0.7
436
-
437
- ### Patch Changes
438
-
439
- - Updated dependencies []:
440
- - @equinor/fusion-query@5.0.5
441
-
442
- ## 5.0.6
443
-
444
- ### Patch Changes
445
-
446
- - Updated dependencies [[`1681940`](https://github.com/equinor/fusion-framework/commit/16819401db191321637fb2a17390abd98738c103)]:
447
- - @equinor/fusion-query@5.0.4
448
-
449
- ## 5.0.5
450
-
451
- ### Patch Changes
452
-
453
- - Updated dependencies [[`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2), [`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2), [`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2), [`6a81125`](https://github.com/equinor/fusion-framework/commit/6a81125ca856bbddbd1ec9e66a30e887cef93f66), [`cd737c2`](https://github.com/equinor/fusion-framework/commit/cd737c2f916747965ece46ed6f33fdadb776c90b)]:
454
- - @equinor/fusion-framework-module@4.3.1
455
- - @equinor/fusion-query@5.0.3
456
-
457
- ## 5.0.4
458
-
459
- ### Patch Changes
460
-
461
- - Updated dependencies [[`bd3d3e1`](https://github.com/equinor/fusion-framework/commit/bd3d3e165b3cbcef8f2c7b3219d21387731e5995)]:
462
- - @equinor/fusion-query@5.0.2
463
-
464
- ## 5.0.3
465
-
466
- ### Patch Changes
467
-
468
- - Updated dependencies [[`491c2e0`](https://github.com/equinor/fusion-framework/commit/491c2e05a2383dc7aa310f11ba6f7325a69e7197)]:
469
- - @equinor/fusion-query@5.0.1
470
-
471
- ## 5.0.2
472
-
473
- ### Patch Changes
474
-
475
- - 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)]:
476
- - @equinor/fusion-query@5.0.0
477
-
478
- ## 5.0.1
479
-
480
- ### Patch Changes
481
-
482
- - Updated dependencies [[`f5e4090`](https://github.com/equinor/fusion-framework/commit/f5e4090fa285db8dc10e09b450cee5767437d883)]:
483
- - @equinor/fusion-query@4.2.0
484
-
485
- ## 5.0.0
486
-
487
- ### Minor Changes
488
-
489
- - [#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
490
-
491
- ### Patch Changes
492
-
493
- - Updated dependencies [[`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904), [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904)]:
494
- - @equinor/fusion-framework-module@4.3.0
495
- - @equinor/fusion-query@4.1.0
496
-
497
- ## 4.2.0
498
-
499
- ### Minor Changes
500
-
501
- - [#1933](https://github.com/equinor/fusion-framework/pull/1933) [`701c297`](https://github.com/equinor/fusion-framework/commit/701c29709351ff80864d26311efc72a439cd4098) Thanks [@odinr](https://github.com/odinr)! - updated method for resolving context from path, will now search all path fragments for context id by default
502
-
503
- updated documentation of utility functions
504
-
505
- ### Patch Changes
506
-
507
- - [#1933](https://github.com/equinor/fusion-framework/pull/1933) [`701c297`](https://github.com/equinor/fusion-framework/commit/701c29709351ff80864d26311efc72a439cd4098) Thanks [@odinr](https://github.com/odinr)! - Export of utility function for extracting context id from path
508
-
509
- ## 4.1.1
510
-
511
- ### Patch Changes
512
-
513
- - [`7424ad3`](https://github.com/equinor/fusion-framework/commit/7424ad37760904b7897bcafc11d85235246e1381) Thanks [@odinr](https://github.com/odinr)! - added documentation
514
-
515
- ## 4.1.0
516
-
517
- ### Minor Changes
518
-
519
- - [#1760](https://github.com/equinor/fusion-framework/pull/1760) [`6e6ee6b`](https://github.com/equinor/fusion-framework/commit/6e6ee6b7ce280820111e8b98ac8377efb15808ef) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - - Add FusionContextSearchError.
520
- - Potential _BREAKING_:
521
- - Error in `ContextProvider.ts` are now unwrapped if the thrown error is
522
- `QueryClientError`.
523
-
524
- ```diff
525
- index 114f430b1..2640c9a55 100644
526
- --- a/packages/modules/context/src/ContextProvider.ts
527
- +++ b/packages/modules/context/src/ContextProvider.ts
528
- @@ -406,7 +407,15 @@ export class ContextProvider implements IContextProvider {
529
- /* @ts-ignore */
530
- this.#contextParameterFn({ search, type: this.#contextType }),
531
- )
532
- - .pipe(map((x) => x.value));
533
- + .pipe(
534
- + catchError((err) => {
535
- + if (err.name === 'QueryClientError') {
536
- + throw err.cause;
537
- + }
538
- + throw err;
539
- + }),
540
- + map((x) => x.value),
541
- + );
542
-
543
- return this.#contextFilter ? query$.pipe(map(this.#contextFilter)) : query$;
544
- }
545
- ```
546
-
547
- ## 4.0.21
548
-
549
- ### Patch Changes
550
-
551
- - Updated dependencies [[`152cf73`](https://github.com/equinor/fusion-framework/commit/152cf73d39eb32ccbaddaa6941e315c437c4972d)]:
552
- - @equinor/fusion-framework-module@4.2.7
553
-
554
- ## 4.0.20
555
-
556
- ### Patch Changes
557
-
558
- - Updated dependencies []:
559
- - @equinor/fusion-query@4.0.6
560
-
561
- ## 4.0.19
562
-
563
- ### Patch Changes
564
-
565
- - Updated dependencies []:
566
- - @equinor/fusion-query@4.0.5
567
-
568
- ## 4.0.18
569
-
570
- ### Patch Changes
571
-
572
- - [#1601](https://github.com/equinor/fusion-framework/pull/1601) [`4ab2df5`](https://github.com/equinor/fusion-framework/commit/4ab2df5c83439f7fe3fe0846c005427e1793b576) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - add missing `graphic` and `meta` props
573
-
574
- - [#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
575
-
576
- - Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
577
- - @equinor/fusion-framework-module@4.2.6
578
- - @equinor/fusion-query@4.0.4
579
-
580
- ## 4.0.17
581
-
582
- ### Patch Changes
583
-
584
- - Updated dependencies [[`446b63ce`](https://github.com/equinor/fusion-framework/commit/446b63ce44b59a3aaab4399c0d877d3a1b560a0e)]:
585
- - @equinor/fusion-query@4.0.3
586
-
587
- ## 4.0.16
588
-
589
- ### Patch Changes
590
-
591
- - Updated dependencies [[`7ad31761`](https://github.com/equinor/fusion-framework/commit/7ad3176102f92da108b67ede6fdf29b76149bed9)]:
592
- - @equinor/fusion-query@4.0.2
593
-
594
- ## 4.0.15
595
-
596
- ### Patch Changes
597
-
598
- - [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
599
-
600
- - Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
601
- - @equinor/fusion-framework-module@4.2.5
602
- - @equinor/fusion-query@4.0.1
603
-
604
- ## 4.0.14
605
-
606
- ### Patch Changes
607
-
608
- - Updated dependencies [[`ebcabd0e`](https://github.com/equinor/fusion-framework/commit/ebcabd0e6945e1420a0a9a7d82bd9255da1b8578), [`8739a5a6`](https://github.com/equinor/fusion-framework/commit/8739a5a65d8aaa46ce9ef56cce013efeeb006e8a)]:
609
- - @equinor/fusion-query@4.0.0
610
-
611
- ## 4.0.13
612
-
613
- ### Patch Changes
614
-
615
- - Updated dependencies [[`9076a498`](https://github.com/equinor/fusion-framework/commit/9076a49876e7a414a27557b7fb9095a67fe3a57f)]:
616
- - @equinor/fusion-framework-module@4.2.4
617
- - @equinor/fusion-query@3.0.7
618
-
619
- ## 4.0.12
620
-
621
- ### Patch Changes
622
-
623
- - Updated dependencies [[`066d843c`](https://github.com/equinor/fusion-framework/commit/066d843c88cb974150f23f4fb9e7d0b066c93594)]:
624
- - @equinor/fusion-query@3.0.6
625
-
626
- ## 4.0.11
627
-
628
- ### Patch Changes
629
-
630
- - [#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
631
-
632
- conflicts of `@types/react` made random outcomes when using `yarn`
633
-
634
- this change should not affect consumer of the packages, but might conflict dependent on local package manager.
635
-
636
- - [#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)
637
-
638
- - Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`2dccccd1`](https://github.com/equinor/fusion-framework/commit/2dccccd124fbe3cdde2132c29c27d3da9fc6f1f5), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272)]:
639
- - @equinor/fusion-framework-module@4.2.3
640
- - @equinor/fusion-query@3.0.5
641
-
642
- ## 4.0.10
643
-
644
- ### Patch Changes
645
-
646
- - [#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
647
-
648
- ## 4.0.9
649
-
650
- ### Patch Changes
651
-
652
- - [#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**
653
- - align all versions of typescript
654
- - update types to build
655
- - 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
656
-
657
- ## 4.0.8
658
-
659
- ### Patch Changes
660
-
661
- - [#898](https://github.com/equinor/fusion-framework/pull/898) [`4551142e`](https://github.com/equinor/fusion-framework/commit/4551142ededdb2f1bf74eae552da26d28cd23057) Thanks [@odinr](https://github.com/odinr)! - feat(module-context): add config option for connection to parent context
662
- - add attribute to config interface
663
- - add setter on config builder
664
- - add check for connecting to parent when creating provider
665
-
666
- All notable changes to this project will be documented in this file.
667
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
668
-
669
- ## [4.0.7](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@4.0.6...@equinor/fusion-framework-module-context@4.0.7) (2023-05-23)
670
-
671
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
672
-
673
- ## 4.0.6 (2023-05-22)
674
-
675
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
676
-
677
- ## [4.0.5](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@4.0.4...@equinor/fusion-framework-module-context@4.0.5) (2023-05-12)
678
-
679
- ### Bug Fixes
680
-
681
- - **module-context:** skip internal context queue when settting context internally ([79ed276](https://github.com/equinor/fusion-framework/commit/79ed2767e7742a4133223546ca20fa0a99db6d96))
682
-
683
- ## [4.0.4](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@4.0.3...@equinor/fusion-framework-module-context@4.0.4) (2023-05-11)
684
-
685
- ### Bug Fixes
686
-
687
- - **module-context:** make clearCurrentContext await set context queue ([30f11fb](https://github.com/equinor/fusion-framework/commit/30f11fb0aa3204aac95718b69cca81bd1d24d983))
688
-
689
- ## [4.0.3](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@4.0.2...@equinor/fusion-framework-module-context@4.0.3) (2023-05-11)
690
-
691
- ### Bug Fixes
692
-
693
- - **module-context:** execute all setting of context ([eb85c0c](https://github.com/equinor/fusion-framework/commit/eb85c0c239ec70edeb796b2f03b6ecd4c2fb9fb5)), closes [/github.com/equinor/fusion-framework/blob/3cd1a9e01c56fc9afb72f2df474a7b066b4215c4/packages/modules/context/src/ContextProvider.ts#L181](https://github.com/equinor//github.com/equinor/fusion-framework/blob/3cd1a9e01c56fc9afb72f2df474a7b066b4215c4/packages/modules/context/src/ContextProvider.ts/issues/L181)
694
-
695
- ## 4.0.2 (2023-05-10)
696
-
697
- ### Bug Fixes
698
-
699
- - **module-context:** only skip first context item if not resolved ([cea6fce](https://github.com/equinor/fusion-framework/commit/cea6fcefd4853dcfbedf0d65d83cac7ac1b26523))
700
-
701
- ## [4.0.1](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@4.0.0...@equinor/fusion-framework-module-context@4.0.1) (2023-05-08)
702
-
703
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
704
-
705
- ## [4.0.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@3.1.2...@equinor/fusion-framework-module-context@4.0.0) (2023-05-05)
706
-
707
- ### ⚠ BREAKING CHANGES
708
-
709
- - **module-context:** current context can now be `null`
710
- - **module-context:** skipInitialContext is now removed
711
- - **module-context:** `ContextProvider.setCurrentContext` now returns an `Observable`
712
-
713
- ### Features
714
-
715
- - **module-context:** add utils ([741774d](https://github.com/equinor/fusion-framework/commit/741774d0459c80c0f53f2030e13c7683c57359ce))
716
- - **module-context:** allow connect tp parent context provider ([2d2a312](https://github.com/equinor/fusion-framework/commit/2d2a312a214d3b2c26fb2496af395976b0681b18))
717
- - **module-context:** allow resolving of initial context ([b0713f3](https://github.com/equinor/fusion-framework/commit/b0713f3ff7d74e39d6a2d585bd2d95beaba7bc1c))
718
- - **module-context:** dispose context client ([dd4203b](https://github.com/equinor/fusion-framework/commit/dd4203b50713079729be13876514e87184cbe84f))
719
- - **module-context:** explicit `null` when context is cleared ([03738e7](https://github.com/equinor/fusion-framework/commit/03738e7a5ce75d1da322b2f34c511022f89e5aea))
720
- - **module-context:** make setting context as an observable ([21e1c6b](https://github.com/equinor/fusion-framework/commit/21e1c6b64f541ec63dd6ea830410c7bb5cbdd84a))
721
-
722
- ### Bug Fixes
723
-
724
- - **module-context:** expose resolve context async ([cff1cd8](https://github.com/equinor/fusion-framework/commit/cff1cd82a3a0d57513d9245d1289fc481bfac9e0))
725
- - **module-context:** extract cause from query ([b04090c](https://github.com/equinor/fusion-framework/commit/b04090cef3184dda1db7f899939b8c223f290be5))
726
- - **module-context:** fix index of context path ([38c89cf](https://github.com/equinor/fusion-framework/commit/38c89cfcc0d809d2ea27a8f388546ab4315fd010))
727
- - **module-context:** fix parameters for resolving context from parent ([65eb101](https://github.com/equinor/fusion-framework/commit/65eb10159ee3bae8be53994112cac8244a315b28))
728
- - **react-legacy-interopt:** fix initial context url ([31f113a](https://github.com/equinor/fusion-framework/commit/31f113aebc2ad09e6a446997e95ecfeef3da2fff))
729
-
730
- ## 3.1.2 (2023-04-24)
731
-
732
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
733
-
734
- ## 3.1.1 (2023-04-18)
735
-
736
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
737
-
738
- ## [3.1.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@3.0.2...@equinor/fusion-framework-module-context@3.1.0) (2023-04-17)
739
-
740
- ### Features
741
-
742
- - **context:** add events for context validation|resolve failed ([dc413f0](https://github.com/equinor/fusion-framework/commit/dc413f0fe52b49349d7e07619950e96c523bb3eb))
743
-
744
- ## [3.0.2](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@3.0.1...@equinor/fusion-framework-module-context@3.0.2) (2023-04-17)
745
-
746
- ### Bug Fixes
747
-
748
- - **context:** skip clearing context ([d4032b7](https://github.com/equinor/fusion-framework/commit/d4032b78b21d123e67cc7dadc50a65071d976b94))
749
-
750
- ## [3.0.1](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@3.0.0...@equinor/fusion-framework-module-context@3.0.1) (2023-04-17)
751
-
752
- ### Bug Fixes
753
-
754
- - **context:** handle promise rejection of setting context ([96a0054](https://github.com/equinor/fusion-framework/commit/96a0054f6b4e9f3250a2b09493efabe96bf1e2ba))
755
-
756
- ## 3.0.0 (2023-04-16)
757
-
758
- ### Features
759
-
760
- - **modules/context:** resolve related context ([0e92583](https://github.com/equinor/fusion-framework/commit/0e925837a4f2651ff9f2a003d13731f6d866412d))
761
-
762
- ## 2.0.15 (2023-04-14)
763
-
764
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
765
-
766
- ## 2.0.14 (2023-04-14)
767
-
768
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
769
-
770
- ## 2.0.13 (2023-04-14)
771
-
772
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
773
-
774
- ## 2.0.12 (2023-04-13)
775
-
776
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
777
-
778
- ## [2.0.11](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@2.0.10...@equinor/fusion-framework-module-context@2.0.11) (2023-03-28)
779
-
780
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
781
-
782
- ## 2.0.10 (2023-03-27)
783
-
784
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
785
-
786
- ## 2.0.9 (2023-03-22)
787
-
788
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
789
-
790
- ## [2.0.8](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@2.0.7...@equinor/fusion-framework-module-context@2.0.8) (2023-03-20)
791
-
792
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
793
-
794
- ## 2.0.7 (2023-03-20)
795
-
796
- ### Bug Fixes
797
-
798
- - **module-context:** recursive subscribe on setCurrentContext and equal comparison ([3fe58d4](https://github.com/equinor/fusion-framework/commit/3fe58d44af770c41f5f8ea6169892318dcd35cc0))
799
-
800
- ## [2.0.6](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@2.0.5...@equinor/fusion-framework-module-context@2.0.6) (2023-02-22)
801
-
802
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
803
-
804
- ## [2.0.5](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@2.0.4...@equinor/fusion-framework-module-context@2.0.5) (2023-02-20)
805
-
806
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
807
-
808
- ## [2.0.4](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@2.0.3...@equinor/fusion-framework-module-context@2.0.4) (2023-02-13)
809
-
810
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
811
-
812
- ## [2.0.3](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@2.0.2...@equinor/fusion-framework-module-context@2.0.3) (2023-02-09)
813
-
814
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
815
-
816
- ## 2.0.2 (2023-02-02)
817
-
818
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
819
-
820
- ## 2.0.1 (2023-01-30)
821
-
822
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
823
-
824
- ## [2.0.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.2.8...@equinor/fusion-framework-module-context@2.0.0) (2023-01-27)
825
-
826
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
827
-
828
- ## [2.0.0-alpha.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.2.8...@equinor/fusion-framework-module-context@2.0.0-alpha.0) (2023-01-26)
829
-
830
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
831
-
832
- ## [1.2.8](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.2.7...@equinor/fusion-framework-module-context@1.2.8) (2023-01-26)
833
-
834
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
835
-
836
- ## 1.2.7 (2023-01-19)
837
-
838
- ### Bug Fixes
839
-
840
- - update interface for enabling modules ([1e5730e](https://github.com/equinor/fusion-framework/commit/1e5730e91992c1d0177790c851be993a0532a3d1))
841
-
842
- ## [1.2.6](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.2.5...@equinor/fusion-framework-module-context@1.2.6) (2023-01-17)
843
-
844
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
845
-
846
- ## [1.2.5](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.2.4...@equinor/fusion-framework-module-context@1.2.5) (2023-01-16)
847
-
848
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
849
-
850
- ## 1.2.4 (2023-01-16)
851
-
852
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
853
-
854
- ## 1.2.3 (2023-01-12)
855
-
856
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
857
-
858
- ## 1.2.2 (2022-12-16)
859
-
860
- ### Bug Fixes
861
-
862
- - **module-context:** import paths ([00df4e0](https://github.com/equinor/fusion-framework/commit/00df4e04b59b8b5e7ac124cdfc726ff3e7b0f5d2))
863
-
864
- ## [1.2.1](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.2.0...@equinor/fusion-framework-module-context@1.2.1) (2022-12-14)
865
-
866
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
867
-
868
- ## 1.2.0 (2022-12-13)
869
-
870
- ### Features
871
-
872
- - **module-context:** add `clearContext` ([f214714](https://github.com/equinor/fusion-framework/commit/f21471479f92fb6f12f88211429d846272d6cffb))
873
-
874
- ## [1.1.10](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.1.9...@equinor/fusion-framework-module-context@1.1.10) (2022-12-12)
875
-
876
- ### Bug Fixes
877
-
878
- - **context:** method for contextParameterFn on enableContext ([398658d](https://github.com/equinor/fusion-framework/commit/398658de26355a8ca99aea291963b8c302df3ddc))
879
- - linting issues fixed ([2e62877](https://github.com/equinor/fusion-framework/commit/2e628770754b40425e97c7be2ec770824c42c6ff))
880
-
881
- ## [1.1.9](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.1.8...@equinor/fusion-framework-module-context@1.1.9) (2022-12-12)
882
-
883
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
884
-
885
- ## [1.1.8](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.1.7...@equinor/fusion-framework-module-context@1.1.8) (2022-12-08)
886
-
887
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
888
-
889
- ## [1.1.7](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.1.6...@equinor/fusion-framework-module-context@1.1.7) (2022-12-08)
890
-
891
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
892
-
893
- ## [1.1.6](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.1.5...@equinor/fusion-framework-module-context@1.1.6) (2022-12-08)
894
-
895
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
896
-
897
- ## [1.1.5](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.1.4...@equinor/fusion-framework-module-context@1.1.5) (2022-12-08)
898
-
899
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
900
-
901
- ## [1.1.4](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.1.3...@equinor/fusion-framework-module-context@1.1.4) (2022-12-08)
902
-
903
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
904
-
905
- ## [1.1.3](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.1.0...@equinor/fusion-framework-module-context@1.1.3) (2022-12-06)
906
-
907
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
908
-
909
- ## [1.1.2](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.1.1...@equinor/fusion-framework-module-context@1.1.2) (2022-12-06)
910
-
911
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
912
-
913
- ## [1.1.1](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@1.1.0...@equinor/fusion-framework-module-context@1.1.1) (2022-12-05)
914
-
915
- ### Bug Fixes
916
-
917
- - **module-context:** update ContextItem interface ([7368fb0](https://github.com/equinor/fusion-framework/commit/7368fb08015e07cce54d30109462f36a64188d25))
918
-
919
- ## 1.1.0 (2022-12-05)
920
-
921
- ### Features
922
-
923
- - **contextselector:** cli context selector ([f414466](https://github.com/equinor/fusion-framework/commit/f4144668e4deee32ed229807d81a0ea08ba5a476))
924
-
925
- ## 1.0.1 (2022-12-05)
926
-
927
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
928
-
929
- ## [1.0.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.6.11...@equinor/fusion-framework-module-context@1.0.0) (2022-12-02)
930
-
931
- ### Features
932
-
933
- - **module-context:** simplify context config ([d77c665](https://github.com/equinor/fusion-framework/commit/d77c6656d02f0a241ea685ae2595dda9b21420e4))
934
-
935
- ## [1.0.0-alpha.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.6.11...@equinor/fusion-framework-module-context@1.0.0-alpha.0) (2022-12-02)
936
-
937
- ### Features
938
-
939
- - **module-context:** simplify context config ([3b3caa9](https://github.com/equinor/fusion-framework/commit/3b3caa9374b21bb17998d78e6858880489d2e61a))
940
-
941
- ## [0.6.11](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.6.10...@equinor/fusion-framework-module-context@0.6.11) (2022-12-01)
942
-
943
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
944
-
945
- ## [0.6.10](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.6.9...@equinor/fusion-framework-module-context@0.6.10) (2022-12-01)
946
-
947
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
948
-
949
- ## [0.6.9](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.6.8...@equinor/fusion-framework-module-context@0.6.9) (2022-12-01)
950
-
951
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
952
-
953
- ## [0.6.8](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.6.7...@equinor/fusion-framework-module-context@0.6.8) (2022-12-01)
954
-
955
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
956
-
957
- ## [0.6.7](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.6.6...@equinor/fusion-framework-module-context@0.6.7) (2022-12-01)
958
-
959
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
960
-
961
- ## [0.6.6](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.6.5...@equinor/fusion-framework-module-context@0.6.6) (2022-12-01)
962
-
963
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
964
-
965
- ## [0.6.5](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.6.4...@equinor/fusion-framework-module-context@0.6.5) (2022-12-01)
966
-
967
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
968
-
969
- ## [0.6.4](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.6.3...@equinor/fusion-framework-module-context@0.6.4) (2022-12-01)
970
-
971
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
972
-
973
- ## [0.6.3](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.6.2...@equinor/fusion-framework-module-context@0.6.3) (2022-12-01)
974
-
975
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
976
-
977
- ## [0.6.2](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.6.1...@equinor/fusion-framework-module-context@0.6.2) (2022-12-01)
978
-
979
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
980
-
981
- ## [0.6.1](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.6.0...@equinor/fusion-framework-module-context@0.6.1) (2022-12-01)
982
-
983
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
984
-
985
- ## [0.6.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.5.3...@equinor/fusion-framework-module-context@0.6.0) (2022-12-01)
986
-
987
- ### Features
988
-
989
- - **query:** separate query from observable ([1408609](https://github.com/equinor/fusion-framework/commit/140860976c3ee9430a30deebcc8b08da857e5772))
990
-
991
- ## 0.5.3 (2022-12-01)
992
-
993
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
994
-
995
- ## [0.5.2](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.5.1...@equinor/fusion-framework-module-context@0.5.2) (2022-11-20)
996
-
997
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
998
-
999
- ## 0.5.1 (2022-11-18)
1000
-
1001
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
1002
-
1003
- ## [0.5.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.4.1...@equinor/fusion-framework-module-context@0.5.0) (2022-11-16)
1004
-
1005
- ### Features
1006
-
1007
- - **module-context:** allow query filter ([1a89ee5](https://github.com/equinor/fusion-framework/commit/1a89ee57277af3853ce802da9b5e0956bff8ceaa))
1008
-
1009
- ## 0.4.1 (2022-11-14)
1010
-
1011
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
1012
-
1013
- ## [0.4.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.3.4...@equinor/fusion-framework-module-context@0.4.0) (2022-11-14)
1014
-
1015
- ### Features
1016
-
1017
- - update packages to use observable ([98024aa](https://github.com/equinor/fusion-framework/commit/98024aa466c68f03bd793bd564cf7b6bf65def72))
1018
-
1019
- ## 0.3.4 (2022-11-11)
1020
-
1021
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
1022
-
1023
- ## 0.3.3 (2022-11-11)
1024
-
1025
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
1026
-
1027
- ## 0.3.2 (2022-11-03)
1028
-
1029
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
1030
-
1031
- ## [0.3.1](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.3.0...@equinor/fusion-framework-module-context@0.3.1) (2022-11-02)
1032
-
1033
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
1034
-
1035
- ## 0.3.0 (2022-11-02)
1036
-
1037
- ### Features
1038
-
1039
- - **module-context:** expose current context from client on provider ([6895056](https://github.com/equinor/fusion-framework/commit/68950561d5b3fce3c555842c8d26004387a963e1))
1040
-
1041
- ### Bug Fixes
1042
-
1043
- - **module-context:** expose provider ([1fd2c5a](https://github.com/equinor/fusion-framework/commit/1fd2c5ae8a486a7c9b9933ffcb37918dfa3ac4b0))
1044
- - **module-context:** fix relative import ([da23b68](https://github.com/equinor/fusion-framework/commit/da23b6836739de1dda27c84b18083feff5c4055b))
1045
-
1046
- ## [0.2.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.1.4...@equinor/fusion-framework-module-context@0.2.0) (2022-11-02)
1047
-
1048
- ### Features
1049
-
1050
- - **module-context:** connect context module to parent ([6f1158f](https://github.com/equinor/fusion-framework/commit/6f1158f089fee8d9350875b20cba61f52886ee7a))
1051
-
1052
- ## [0.1.4](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.1.3...@equinor/fusion-framework-module-context@0.1.4) (2022-11-01)
1053
-
1054
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
1055
-
1056
- ## [0.1.3](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.1.2...@equinor/fusion-framework-module-context@0.1.3) (2022-11-01)
1057
-
1058
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
1059
-
1060
- ## 0.1.2 (2022-11-01)
1061
-
1062
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
1063
-
1064
- ## [0.1.1](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-context@0.1.0...@equinor/fusion-framework-module-context@0.1.1) (2022-10-27)
1065
-
1066
- **Note:** Version bump only for package @equinor/fusion-framework-module-context
1067
-
1068
- ## 0.1.0 (2022-10-26)
1069
-
1070
- ### Features
1071
-
1072
- - **context:** create initial context module ([c530b6a](https://github.com/equinor/fusion-framework/commit/c530b6a92f5d01c82a2b2157f819329615796e59))