@equinor/fusion-framework-react-app 14.0.3-next.1 → 14.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,25 +1,65 @@
1
1
  # Change Log
2
2
 
3
- ## 14.0.3-next.1
3
+ ## 14.1.0
4
4
 
5
- ### Patch Changes
6
-
7
- - @equinor/fusion-framework-app@13.0.3-next.1
8
- - @equinor/fusion-framework@8.1.0-next.2
9
-
10
- ## 14.0.3-next.0
11
-
12
- ### Patch Changes
5
+ ### Minor Changes
13
6
 
14
- - c8008e3: Internal: rebase `next` onto `main`, syncing in already-published stable releases so they carry a `next` pre-release tag.
15
- - Updated dependencies [c8008e3]
16
- - @equinor/fusion-framework-app@13.0.3-next.0
17
- - @equinor/fusion-framework-module-ag-grid@37.0.3-next.0
18
- - @equinor/fusion-framework-module-app@8.0.6-next.0
19
- - @equinor/fusion-framework-module-navigation@7.0.9-next.0
20
- - @equinor/fusion-framework-module-state@2.0.2-next.0
21
- - @equinor/fusion-framework-react-ag-grid@37.0.3-next.0
22
- - @equinor/fusion-framework-react@9.0.0-next.0
7
+ - f663b46: Add AG Grid sub-path entry-points:
8
+
9
+ - `@equinor/fusion-framework-react-app/ag-grid` — `AgGridReact`, `enableAgGrid`, and related types, forwarded from `@equinor/fusion-framework-react-ag-grid/react`.
10
+ - `@equinor/fusion-framework-react-app/ag-grid/community` — forwards `@equinor/fusion-framework-react-ag-grid/community` (`ag-grid-community`).
11
+ - `@equinor/fusion-framework-react-app/ag-grid/enterprise` — forwards `@equinor/fusion-framework-react-ag-grid/enterprise` (`ag-grid-enterprise`).
12
+ - `@equinor/fusion-framework-react-app/ag-grid/theme` — Fusion theme utilities (`fusionTheme`, `createTheme`, `createThemeFromTheme`, `Theme`) plus the application-scoped `useTheme` hook.
13
+ - `@equinor/fusion-framework-react-app/ag-grid/testing` — `suppressAgGridLicenseBanner`, forwarded from `@equinor/fusion-framework-module-ag-grid/testing`.
14
+
15
+ ```typescript
16
+ import { AgGridReact } from '@equinor/fusion-framework-react-app/ag-grid';
17
+ import { useTheme } from '@equinor/fusion-framework-react-app/ag-grid/theme';
18
+ import { suppressAgGridLicenseBanner } from '@equinor/fusion-framework-react-app/ag-grid/testing';
19
+ ```
20
+
21
+ `@equinor/fusion-framework-module-ag-grid` and `@equinor/fusion-framework-react-ag-grid` are now optional peer dependencies of `@equinor/fusion-framework-react-app`.
22
+
23
+ ### Patch Changes
24
+
25
+ - f663b46: Fix documentation accuracy issues found while adding hook test coverage:
26
+
27
+ - The README and a deprecated `createComponent` example showed `configurator.http.configureClient(...)` for registering an app's HTTP client. That property only exists on the test/mock configurator (`AppMockConfigurator`) — real app configuration must use `configurator.configureHttpClient(...)` from `IAppConfigurator`. Both examples now use the correct API.
28
+ - `docs/context.md` and `docs/framework.md` documented `setCurrentContext`/`useFrameworkCurrentContext`'s setter as returning `void`. It actually returns `void | Promise<ContextItem | null>` — `void` when clearing the context, a `Promise` when setting by id or by item — and can be awaited to know when the switch completes.
29
+ - `docs/msal.md` documented `AuthenticationResult.account`/`expiresOn` as non-nullable; both are actually nullable (`AccountInfo | null`, `Date | null`), and the `useToken` example has been updated to guard against a `null` `expiresOn`.
30
+ - `docs/bookmark.md` now documents `useCurrentBookmark`'s deprecated fallback to the framework-scoped bookmark provider (and the `@deprecation` console warning it logs) when an app hasn't called `enableBookmark`.
31
+ - f663b46: Remove `docs/testing.md` and replace the README's testing section with a pointer to `@equinor/fusion-framework-vitest-plugin-react-app`, now that `renderAppHook`, `renderAppComponent`, `testApp`, and the `appTestVitePlugin` Vite plugin live in that separate package instead of this one. Both described the old `./vitest` entry-point as requiring a legacy DOM test renderer and returning a top-level `modules` field, which no longer applies now that the helpers are built on `vitest-browser-react` and return a nested `fusion: { framework, app }` object. The README's API-reference table no longer lists a `/vitest` entry-point.
32
+ - f663b46: Document the supported `renderAppHook` and `renderAppComponent` testing helpers so app teams can verify app-scoped hooks and components against a real, mock-backed application module scope.
33
+
34
+ Closes equinor/fusion-core-tasks#1716.
35
+ - Updated dependencies [f663b46]
36
+ - Updated dependencies [f663b46]
37
+ - Updated dependencies [f663b46]
38
+ - Updated dependencies [f663b46]
39
+ - Updated dependencies [f663b46]
40
+ - Updated dependencies [f663b46]
41
+ - Updated dependencies [f663b46]
42
+ - Updated dependencies [f663b46]
43
+ - Updated dependencies [f663b46]
44
+ - Updated dependencies [f663b46]
45
+ - Updated dependencies [f663b46]
46
+ - Updated dependencies [f663b46]
47
+ - Updated dependencies [f663b46]
48
+ - @equinor/fusion-framework-app@13.1.0
49
+ - @equinor/fusion-framework@8.1.0
50
+ - @equinor/fusion-framework-module-app@8.1.0
51
+ - @equinor/fusion-framework-module-http@8.1.0
52
+ - @equinor/fusion-framework-module@6.1.3
53
+ - @equinor/fusion-framework-module-navigation@7.0.9
54
+ - @equinor/fusion-framework-react-module-http@12.0.0
55
+ - @equinor/fusion-framework-react-module@4.0.3
56
+ - @equinor/fusion-framework-react@9.0.0
57
+
58
+ ## 14.0.3
59
+
60
+ ### Patch Changes
61
+
62
+ - @equinor/fusion-framework-app@13.0.3
23
63
 
24
64
  ## 14.0.2
25
65
 
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '14.0.3-next.1';
2
+ export const version = '14.1.0';
3
3
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC"}