@equinor/fusion-framework-module-context 7.0.3-next.1 → 7.0.4-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -19
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +7 -7
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,24 +1,34 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 7.0.
|
|
3
|
+
## 7.0.4-next.0
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- [`
|
|
7
|
+
- [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`f647825`](https://github.com/equinor/fusion-framework/commit/f647825cb5712763b09dafda21fd996211c78b78) Thanks [@odinr](https://github.com/odinr)! - relase next
|
|
8
8
|
|
|
9
|
-
- Updated dependencies [[`
|
|
10
|
-
- @equinor/fusion-
|
|
11
|
-
- @equinor/fusion-
|
|
9
|
+
- Updated dependencies [[`f647825`](https://github.com/equinor/fusion-framework/commit/f647825cb5712763b09dafda21fd996211c78b78)]:
|
|
10
|
+
- @equinor/fusion-query@6.0.5-next.0
|
|
11
|
+
- @equinor/fusion-framework-module@5.0.7-next.0
|
|
12
|
+
|
|
13
|
+
## 7.0.3
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#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.
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`6aa8e1f`](https://github.com/equinor/fusion-framework/commit/6aa8e1f5c9d852b25e97aa7d98a63008c64d4581)]:
|
|
20
|
+
- @equinor/fusion-framework-module@5.0.6
|
|
21
|
+
- @equinor/fusion-query@6.0.4
|
|
12
22
|
|
|
13
23
|
## 7.0.3-next.0
|
|
14
24
|
|
|
15
25
|
### Patch Changes
|
|
16
26
|
|
|
17
|
-
- [`
|
|
27
|
+
- [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`265bb76`](https://github.com/equinor/fusion-framework/commit/265bb767249989eeb1971e83f3fba94879e0813b) Thanks [@odinr](https://github.com/odinr)! - relase next
|
|
18
28
|
|
|
19
|
-
- Updated dependencies [[`
|
|
29
|
+
- Updated dependencies [[`265bb76`](https://github.com/equinor/fusion-framework/commit/265bb767249989eeb1971e83f3fba94879e0813b), [`75c068f`](https://github.com/equinor/fusion-framework/commit/75c068fea13c32435ac26bd9043cc156482bfaf1)]:
|
|
30
|
+
- @equinor/fusion-query@7.0.0-next.0
|
|
20
31
|
- @equinor/fusion-framework-module@5.0.6-next.0
|
|
21
|
-
- @equinor/fusion-query@6.0.2-next.0
|
|
22
32
|
|
|
23
33
|
## 7.0.2
|
|
24
34
|
|
|
@@ -38,14 +48,12 @@
|
|
|
38
48
|
- [#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
|
|
39
49
|
|
|
40
50
|
**Workspace-wide changes:**
|
|
41
|
-
|
|
42
51
|
- Remove 19 rule overrides from `biome.json` to use Biome's strict "error" defaults
|
|
43
52
|
- Enable `correctness/useUniqueElementIds` accessibility rule globally
|
|
44
53
|
- Reduce configuration size by 40% (60+ → ~35 lines)
|
|
45
54
|
- Eliminate all custom linting rule customizations
|
|
46
55
|
|
|
47
56
|
**Package-specific changes:**
|
|
48
|
-
|
|
49
57
|
- Replace static IDs with React `useId()` hooks in bookmark and dev-portal components
|
|
50
58
|
- Fix `suspicious/noAssignInExpressions` violations in context, legacy-interopt, and observable packages
|
|
51
59
|
- Update 11 React components for accessibility compliance
|
|
@@ -145,18 +153,15 @@
|
|
|
145
153
|
### Minor Changes
|
|
146
154
|
|
|
147
155
|
- [#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:**
|
|
148
|
-
|
|
149
156
|
- Enhanced `useAppContextNavigation` to support custom context path extraction and generation. This allows for more flexible navigation handling based on application-specific requirements.
|
|
150
157
|
|
|
151
158
|
**@equinor/fusion-framework-module-context:**
|
|
152
|
-
|
|
153
159
|
- Added support for custom context path extraction and generation in `ContextConfigBuilder`, `ContextProvider`, and `ContextModuleConfigurator`.
|
|
154
160
|
- Introduced `setContextPathExtractor` and `setContextPathGenerator` methods in `ContextConfigBuilder` to allow developers to define custom logic for extracting and generating context paths.
|
|
155
161
|
- Updated `ContextProvider` to utilize `extractContextIdFromPath` and `generatePathFromContext` from the configuration, enabling dynamic path handling.
|
|
156
162
|
- Enhanced `ContextModuleConfigurator` to include `extractContextIdFromPath` and `generatePathFromContext` in the module configuration.
|
|
157
163
|
|
|
158
164
|
If you are using `@equinor/fusion-framework-module-context` and need custom logic for context path handling:
|
|
159
|
-
|
|
160
165
|
1. Use `setContextPathExtractor` to define how to extract context IDs from paths.
|
|
161
166
|
2. Use `setContextPathGenerator` to define how to generate paths based on context items.
|
|
162
167
|
|
|
@@ -183,11 +188,11 @@
|
|
|
183
188
|
// Custom logic to generate path from context
|
|
184
189
|
const path = contextProvider.generatePathFromContext?.(
|
|
185
190
|
context,
|
|
186
|
-
location.pathname
|
|
191
|
+
location.pathname,
|
|
187
192
|
);
|
|
188
193
|
return path ?? fallbackPathGenerator(context, location.pathname);
|
|
189
194
|
}),
|
|
190
|
-
filter(Boolean)
|
|
195
|
+
filter(Boolean),
|
|
191
196
|
)
|
|
192
197
|
.subscribe((path) => history.push(path));
|
|
193
198
|
```
|
|
@@ -287,7 +292,6 @@
|
|
|
287
292
|
- [#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.
|
|
288
293
|
|
|
289
294
|
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
290
|
-
|
|
291
295
|
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
|
|
292
296
|
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
|
|
293
297
|
3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
|
|
@@ -416,7 +420,6 @@
|
|
|
416
420
|
### Minor Changes
|
|
417
421
|
|
|
418
422
|
- [#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.
|
|
419
|
-
|
|
420
423
|
- Potential _BREAKING_:
|
|
421
424
|
- Error in `ContextProvider.ts` are now unwrapped if the thrown error is
|
|
422
425
|
`QueryClientError`.
|
|
@@ -550,7 +553,6 @@
|
|
|
550
553
|
### Patch Changes
|
|
551
554
|
|
|
552
555
|
- [#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**
|
|
553
|
-
|
|
554
556
|
- align all versions of typescript
|
|
555
557
|
- update types to build
|
|
556
558
|
- 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
|
|
@@ -560,7 +562,6 @@
|
|
|
560
562
|
### Patch Changes
|
|
561
563
|
|
|
562
564
|
- [#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
|
|
563
|
-
|
|
564
565
|
- add attribute to config interface
|
|
565
566
|
- add setter on config builder
|
|
566
567
|
- add check for connecting to parent when creating provider
|
package/dist/esm/version.js
CHANGED