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