UNPKG

@equinor/fusion-framework-cli

Version:

--- title: Fusion Framework CLI ---

851 lines (543 loc) 135 kB
# Change Log ## 10.7.4 ### Patch Changes - [#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 ## 10.7.3 ### Patch Changes - [#2969](https://github.com/equinor/fusion-framework/pull/2969) [`cf67e87`](https://github.com/equinor/fusion-framework/commit/cf67e87c0bf83230fa77ff7a66254cd615675c34) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump @equinor/eds-core-react from 0.43.0 to 0.45.0 ## 10.7.2 ### Patch Changes - [#2962](https://github.com/equinor/fusion-framework/pull/2962) [`79f1205`](https://github.com/equinor/fusion-framework/commit/79f120535caf65e5f2a97dbca666165b55e53320) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Update `@equinor/fusion-wc-person` to 3.1.7 ## 10.7.1 ### Patch Changes - [#2954](https://github.com/equinor/fusion-framework/pull/2954) [`aac72ce`](https://github.com/equinor/fusion-framework/commit/aac72ce780588c72eb517d3e8c4860f002cc570d) Thanks [@odinr](https://github.com/odinr)! - fixed issues with overriding proxy options - [#2955](https://github.com/equinor/fusion-framework/pull/2955) [`6f104e2`](https://github.com/equinor/fusion-framework/commit/6f104e2ed191e77c6127376e035bbf7af80f166b) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - - Add env to 'onReactAppLoaded' event - Prevent context provider change if app key is not current app for 'onReactAppLoaded' ## 10.7.0 ### Minor Changes - [#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:** - Enhanced `useAppContextNavigation` to support custom context path extraction and generation. This allows for more flexible navigation handling based on application-specific requirements. **@equinor/fusion-framework-module-context:** - Added support for custom context path extraction and generation in `ContextConfigBuilder`, `ContextProvider`, and `ContextModuleConfigurator`. - Introduced `setContextPathExtractor` and `setContextPathGenerator` methods in `ContextConfigBuilder` to allow developers to define custom logic for extracting and generating context paths. - Updated `ContextProvider` to utilize `extractContextIdFromPath` and `generatePathFromContext` from the configuration, enabling dynamic path handling. - Enhanced `ContextModuleConfigurator` to include `extractContextIdFromPath` and `generatePathFromContext` in the module configuration. If you are using `@equinor/fusion-framework-module-context` and need custom logic for context path handling: 1. Use `setContextPathExtractor` to define how to extract context IDs from paths. 2. Use `setContextPathGenerator` to define how to generate paths based on context items. Example: ```typescript builder.setContextPathExtractor((path) => { // Custom logic to extract context ID from path return path.match(/\/custom\/(.+)/)?.[1]; }); builder.setContextPathGenerator((context, path) => { // Custom logic to generate path from context return path.replace(/^(\/)?custom\/[^/]+(.*)$/, `/app/${item.id}$2`); }); ``` If your portal is generating context paths based on context items, you can now define custom logic for context path handling: ```typescript contextProvider.currentContext$ .pipe( map((context) => { // Custom logic to generate path from context const path = contextProvider.generatePathFromContext?.( context, location.pathname ); return path ?? fallbackPathGenerator(context, location.pathname); }), filter(Boolean) ) .subscribe((path) => history.push(path)); ``` ## 10.6.1 ### Patch Changes - [#2913](https://github.com/equinor/fusion-framework/pull/2913) [`4b3a72b`](https://github.com/equinor/fusion-framework/commit/4b3a72b57d1069ea4e3fc72d852cbef03bf00d60) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump vite from 6.1.1 to 6.2.2 - [#2920](https://github.com/equinor/fusion-framework/pull/2920) [`8362ea2`](https://github.com/equinor/fusion-framework/commit/8362ea223dd9909cb523f0353c80d52aab573a5f) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump @equinor/fusion-react-side-sheet from 1.3.5 to 1.3.6 ## 10.6.0 ### Minor Changes - [#2907](https://github.com/equinor/fusion-framework/pull/2907) [`4ab33e9`](https://github.com/equinor/fusion-framework/commit/4ab33e91d827d4ff28947eab6c856e9e49866a6f) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Add `help-proxy` plugin for the CLI. ### Patch Changes - [#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` - [#2890](https://github.com/equinor/fusion-framework/pull/2890) [`1ad39f5`](https://github.com/equinor/fusion-framework/commit/1ad39f509a33627f2ad877a4125386a80ab8f510) Thanks [@odinr](https://github.com/odinr)! - refactor: adhere to self-closing tags for components - Updated `SelectorPage.tsx` to use self-closing tags for `PersonSelect` components. - Updated `Header.Actions.tsx` to use self-closing tags for `fwc-person-avatar` component. - Updated `FeatureSheetContent.tsx` to use self-closing tags for `Icon` and `Divider` components. ## 10.5.5 ### Patch Changes - [#2888](https://github.com/equinor/fusion-framework/pull/2888) [`a1deeb0`](https://github.com/equinor/fusion-framework/commit/a1deeb07fd60c61eecd61ef038544ecb7c274271) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Update `@equinor/fusion-react-context-selector` to 1.0.4 ## 10.5.4 ### Patch Changes - [#2877](https://github.com/equinor/fusion-framework/pull/2877) [`b547618`](https://github.com/equinor/fusion-framework/commit/b547618f2dfbebc350f4285c36ab481f591c0c5c) Thanks [@odinr](https://github.com/odinr)! - update fusion react and web components ## 10.5.3 ### Patch Changes - [#2870](https://github.com/equinor/fusion-framework/pull/2870) [`012e69c`](https://github.com/equinor/fusion-framework/commit/012e69cacf0601c00de550545fa8cd93538f12c8) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump vite from 6.1.1 to 6.2.0 - [#2867](https://github.com/equinor/fusion-framework/pull/2867) [`5bc278a`](https://github.com/equinor/fusion-framework/commit/5bc278a456d5b4b258f82a83a54558df45124427) Thanks [@odinr](https://github.com/odinr)! - Ensures App Assets plugin emits source as `Uint8Array`, previously it was emitting as `Buffer`, which was not catched by `Typescript` < 5.7. ## 10.5.2 ### Patch Changes - [#2852](https://github.com/equinor/fusion-framework/pull/2852) [`ba5d12e`](https://github.com/equinor/fusion-framework/commit/ba5d12eba0a38db412353765e997d02c1fbb478d) Thanks [@odinr](https://github.com/odinr)! - replaced forEach with for-of loops for better readability - [#2851](https://github.com/equinor/fusion-framework/pull/2851) [`c1c9dfa`](https://github.com/equinor/fusion-framework/commit/c1c9dfa5bf0323ab4e146c45c475fa4f6af61088) Thanks [@odinr](https://github.com/odinr)! - fixed links with blank targets and svg without title - [#2855](https://github.com/equinor/fusion-framework/pull/2855) [`811f1a0`](https://github.com/equinor/fusion-framework/commit/811f1a0139ff4d1b0c3fba1ec2b77cc84ba080d1) Thanks [@odinr](https://github.com/odinr)! - Conformed to Biome `linter.correctness.useExhaustiveDependencies` - [#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. - [#2836](https://github.com/equinor/fusion-framework/pull/2836) [`6961024`](https://github.com/equinor/fusion-framework/commit/6961024f4ea330ac5d742037623834ee95b05b2b) Thanks [@dependabot](https://github.com/apps/dependabot)! - updated @equinor/fusion-wc-person to 3.1.5 ## 10.5.1 ### Patch Changes - [#2831](https://github.com/equinor/fusion-framework/pull/2831) [`4e2b961`](https://github.com/equinor/fusion-framework/commit/4e2b961ac6ace80b95f2795b3f3b839c763cbb28) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Add support for clearing context in CLI - aligning with same behaviour as portal - [#2847](https://github.com/equinor/fusion-framework/pull/2847) [`59348f0`](https://github.com/equinor/fusion-framework/commit/59348f02f7ced10782691f69bae32274b88a4b53) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Update dep `@equinor/fusion-react-context-selector` to `1.0.1` ## 10.5.0 ### Minor Changes - [#2814](https://github.com/equinor/fusion-framework/pull/2814) [`ea4b522`](https://github.com/equinor/fusion-framework/commit/ea4b5221b30719289fc947b5dbb0acd3ea52ffaa) Thanks [@odinr](https://github.com/odinr)! - updated configuration of MSAL ## 10.4.2 ### Patch Changes - [#2801](https://github.com/equinor/fusion-framework/pull/2801) [`c2ffb02`](https://github.com/equinor/fusion-framework/commit/c2ffb026edacd3dc9eed570dc83aa71c3e58adea) Thanks [@eikeland](https://github.com/eikeland)! - Updating fwc-person to resolve height issues on variant dense ## 10.4.1 ### Patch Changes - [#2791](https://github.com/equinor/fusion-framework/pull/2791) [`0f87836`](https://github.com/equinor/fusion-framework/commit/0f878368780f57df07dc766bc0afb945ca1346ce) Thanks [@eikeland](https://github.com/eikeland)! - Updating `@equinor/fusion-wc-person` to get latest fixes in dev-portal - [#2781](https://github.com/equinor/fusion-framework/pull/2781) [`25dfe68`](https://github.com/equinor/fusion-framework/commit/25dfe68275c4da267cda9a0699dc123e5febc708) Thanks [@eikeland](https://github.com/eikeland)! - Updating `@equinor/fusion-react-context-selector` to get latest wc in devportal ## 10.4.0 ### Minor Changes - [#2691](https://github.com/equinor/fusion-framework/pull/2691) [`6ead547`](https://github.com/equinor/fusion-framework/commit/6ead547b869cd8a431876e4316c18cb98094a6fb) Thanks [@odinr](https://github.com/odinr)! - Refactored dev-portal bookmark sidesheet to use component context ### Patch Changes - [#2748](https://github.com/equinor/fusion-framework/pull/2748) [`81a8e9b`](https://github.com/equinor/fusion-framework/commit/81a8e9b2201be89801eddfc8f84f989c3cab26cc) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump @equinor/fusion-react-context-selector from 0.6.6 to 0.6.8 - [#2715](https://github.com/equinor/fusion-framework/pull/2715) [`a567179`](https://github.com/equinor/fusion-framework/commit/a567179009e1e2f710acb3bf707be0b1f3d7d02b) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump @equinor/fusion-react-context-selector from 0.6.6 to 0.6.8 - [#2691](https://github.com/equinor/fusion-framework/pull/2691) [`6ead547`](https://github.com/equinor/fusion-framework/commit/6ead547b869cd8a431876e4316c18cb98094a6fb) Thanks [@odinr](https://github.com/odinr)! - updated bookmark component for dev portal - [#2691](https://github.com/equinor/fusion-framework/pull/2691) [`6ead547`](https://github.com/equinor/fusion-framework/commit/6ead547b869cd8a431876e4316c18cb98094a6fb) Thanks [@odinr](https://github.com/odinr)! - improved markup for bookmark - [#2712](https://github.com/equinor/fusion-framework/pull/2712) [`a466c37`](https://github.com/equinor/fusion-framework/commit/a466c371a47d47b6d7a037dd5343bb71972dfc70) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump @remix-run/router from 1.18.0 to 1.21.0 - [#2696](https://github.com/equinor/fusion-framework/pull/2696) [`7897219`](https://github.com/equinor/fusion-framework/commit/789721988959ea21a4ebe769128d5a92de90a678) Thanks [@AndrejNikolicEq](https://github.com/AndrejNikolicEq)! - wc-person component update from 3.1.0 to 3.1.1 ## 10.3.6 ### Patch Changes - [#2671](https://github.com/equinor/fusion-framework/pull/2671) [`9ccfe80`](https://github.com/equinor/fusion-framework/commit/9ccfe8024de221ce5b26beec6ab230dfa635f759) Thanks [@dependabot](https://github.com/apps/dependabot)! - Updated commander from 12.1.0 to 13.0.0 - [#2675](https://github.com/equinor/fusion-framework/pull/2675) [`e36756d`](https://github.com/equinor/fusion-framework/commit/e36756dfff11ca06957a9132df6a89ba47eba338) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump vite from 5.4.3 to 6.0.7 - [#2679](https://github.com/equinor/fusion-framework/pull/2679) [`04f0597`](https://github.com/equinor/fusion-framework/commit/04f059702b665c8ec079daba9ba8b8b21eadf9a2) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump @equinor/fusion-react-context-selector from 0.6.6 to 0.6.8 - [#2653](https://github.com/equinor/fusion-framework/pull/2653) [`4e1e47d`](https://github.com/equinor/fusion-framework/commit/4e1e47d3250027b757ad647534cffcb35add1011) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump @equinor/fusion-react-side-sheet from 1.3.3 to 1.3.4 - [#2686](https://github.com/equinor/fusion-framework/pull/2686) [`9c2b6c5`](https://github.com/equinor/fusion-framework/commit/9c2b6c5f97203aa793dc76a8fcd8c3ec3c7eb810) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump rollup from 4.22.4 to 4.30.1 - [#2690](https://github.com/equinor/fusion-framework/pull/2690) [`809bee0`](https://github.com/equinor/fusion-framework/commit/809bee089d5d84799a3834294ca02937eaa46a0e) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump @equinor/eds-icons from 0.21.0 to 0.22.0 ## 10.3.5 ### Patch Changes - [#2661](https://github.com/equinor/fusion-framework/pull/2661) [`f60748b`](https://github.com/equinor/fusion-framework/commit/f60748b4f3980f00fa3aed131fef97513f1424c6) Thanks [@eikeland](https://github.com/eikeland)! - Added `noOpen` option to the development server configuration. **Modified files:** - `packages/cli/src/bin/create-dev-serve.ts` - `packages/cli/src/bin/main.app.ts` **Changes:** - Added `noOpen` boolean option to `createDevServer` function. - Updated the server configuration to conditionally open the app in the default browser based on the `noOpen` option. - Added `-n, --noOpen` option to the CLI command for starting the development server. ## 10.3.4 ### Patch Changes - [#2657](https://github.com/equinor/fusion-framework/pull/2657) [`dfb69b5`](https://github.com/equinor/fusion-framework/commit/dfb69b5d710503cbcec35be70e6e50dd0b9a34f7) Thanks [@eikeland](https://github.com/eikeland)! - - Updates link to fusion ci portal ## 10.3.3 ### Patch Changes - [#2648](https://github.com/equinor/fusion-framework/pull/2648) [`270f2ba`](https://github.com/equinor/fusion-framework/commit/270f2ba5c7447fff79e3a54130c10614aa35fea7) Thanks [@odinr](https://github.com/odinr)! - Fixed resolving of app key from manifest when publishing (earlier only resolved from package) ## 10.3.2 ### Patch Changes - [#2639](https://github.com/equinor/fusion-framework/pull/2639) [`98dfe48`](https://github.com/equinor/fusion-framework/commit/98dfe48602531c9b364ea7efe355392567c26f7c) Thanks [@AndrejNikolicEq](https://github.com/AndrejNikolicEq)! - Updated `@equinor/fusion-wc-person` dependency from version `^3.0.6` to `^3.1.0` ## 10.3.1 ### Patch Changes - [#2632](https://github.com/equinor/fusion-framework/pull/2632) [`b136b45`](https://github.com/equinor/fusion-framework/commit/b136b4565da1af09c8447956716f3d9f0ea91698) Thanks [@eikeland](https://github.com/eikeland)! - ### Changes Updated `@equinor/fusion-wc-person` dependency from version `^3.0.5` to `^3.0.6` ## 10.3.0 ### Minor Changes - [#2577](https://github.com/equinor/fusion-framework/pull/2577) [`c3ba9f1`](https://github.com/equinor/fusion-framework/commit/c3ba9f109d9f96d6dc6ee2f0ddac00c8b3090982) Thanks [@eikeland](https://github.com/eikeland)! - Created a plugin for handling application settings. This plugin allows retrieving and setting application settings when developing locally by intercepting the request to the settings API and returning the local settings instead. Settings are stored in memory and are not persisted, which means the CLI will always provide settings as if the user has never set them before. By restarting the CLI, the settings will be lost. This plugin is useful for testing and development purposes. Also added a utility function `parseJsonFromRequest` to parse JSON from a request body. This function is used in the plugin to parse the `PUT` request body and update the settings accordingly. The default development server has enabled this plugin by default and confiuigred it to intercept the settings API on `/apps-proxy/persons/me/apps/${CURRENT_APP_KEY}/settings` ## 10.2.5 ### Patch Changes - [#2612](https://github.com/equinor/fusion-framework/pull/2612) [`1f9da67`](https://github.com/equinor/fusion-framework/commit/1f9da67df85f466763788039c9f0df67164eb391) Thanks [@eikeland](https://github.com/eikeland)! - ### Changes - Stopped using node:path join in app-proxy-plugin since it caused issues on windows ## 10.2.4 ### Patch Changes - [#2606](https://github.com/equinor/fusion-framework/pull/2606) [`00fb17d`](https://github.com/equinor/fusion-framework/commit/00fb17d9e753462a7acf6a34281a50194b94db20) Thanks [@eikeland](https://github.com/eikeland)! - ### Modified Files `AppLoader.tsx` ### Changes - Added import for last operator from rxjs/operators. - Updated the initialize subscription to use the last operator. ## 10.2.3 ### Patch Changes - [#2591](https://github.com/equinor/fusion-framework/pull/2591) [`445760c`](https://github.com/equinor/fusion-framework/commit/445760ce73e1d76303c83c367a394adfb5b7a479) Thanks [@eikeland](https://github.com/eikeland)! - ### Updated Dependencies: - Updated @equinor/fusion-wc-person to ^3.0.5 in package.json. ## 10.2.2 ### Patch Changes - [#2582](https://github.com/equinor/fusion-framework/pull/2582) [`8dfb437`](https://github.com/equinor/fusion-framework/commit/8dfb4370d1c961a1f24af93344034facaef87646) Thanks [@dependabot](https://github.com/apps/dependabot)! - bump rollup from 4.22.4 to 4.27.2 ## 10.2.1 ### Patch Changes - [`71f2de5`](https://github.com/equinor/fusion-framework/commit/71f2de516bbbb270e8c110197fb7c90288075b05) Thanks [@odinr](https://github.com/odinr)! - hotfix ## 10.2.0 ### Minor Changes - [#2410](https://github.com/equinor/fusion-framework/pull/2410) [`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641) Thanks [@odinr](https://github.com/odinr)! - Updated Bookmark Integration in Dev Portal - **Refactored `BookMarkSideSheet.tsx`:** - Replaced `useHasBookmark` with `useCurrentAppModule<BookmarkModule>('bookmark')` for better module integration. - Updated button `disabled` state to use `bookmarkProvider?.hasBookmarkCreators`. - **Updated `Header.tsx`:** - Added `useCurrentAppModule<BookmarkModule>('bookmark')` to manage bookmark module state. - Disabled bookmark button if `bookmarkProvider` is not available. - Passed `bookmarkProvider` to `BookmarkProvider` component. - **Configuration Changes in `config.ts`:** - Switched import from `@equinor/fusion-framework-module-bookmark` to `@equinor/fusion-framework-react-module-bookmark`. - Added `builder.setFilter('application', true)` to bookmark configuration. ## 10.1.0 ### Minor Changes - [#2567](https://github.com/equinor/fusion-framework/pull/2567) [`71d57c2`](https://github.com/equinor/fusion-framework/commit/71d57c2955861e86f8026068fb7cd4fe39b195f6) Thanks [@odinr](https://github.com/odinr)! - Added functionality for allow providing paths for `config`, `manifest` and bundle in `app-proxy-plugin`. This is useful for plugins that need to load resources from a specific path. This was required since the AppClient was changed in [#2520](https://github.com/equinor/fusion-framework/pull/2520) which broke the ability to load resources from the plugin. ## 10.0.4 ### Patch Changes - [#2542](https://github.com/equinor/fusion-framework/pull/2542) [`29565b8`](https://github.com/equinor/fusion-framework/commit/29565b80d1fd2287a91009e3315da852665886ec) Thanks [@dependabot](https://github.com/apps/dependabot)! - bump @equinor/fusion-wc-person from 3.0.1 to 3.0.3 - [#2551](https://github.com/equinor/fusion-framework/pull/2551) [`4570ffb`](https://github.com/equinor/fusion-framework/commit/4570ffb0f3bf1561bdd679c9280de83dda0d9bf8) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update @equinor/eds-core-react from 0.41.2 to 0.42.3 - [#2556](https://github.com/equinor/fusion-framework/pull/2556) [`1a59364`](https://github.com/equinor/fusion-framework/commit/1a59364477520859a00152e182cdbc4f8f271a27) Thanks [@dependabot](https://github.com/apps/dependabot)! - bump rollup from 4.22.4 to 4.25.0 ## 10.0.3 ### Patch Changes - [#2523](https://github.com/equinor/fusion-framework/pull/2523) [`e188193`](https://github.com/equinor/fusion-framework/commit/e188193a09802cfb74bd8aeaa8713b75b10a0638) Thanks [@eikeland](https://github.com/eikeland)! - ## changes: - changing ci urls to new domain ## 10.0.2 ### Patch Changes - [#2521](https://github.com/equinor/fusion-framework/pull/2521) [`65f03fa`](https://github.com/equinor/fusion-framework/commit/65f03fa01b71d387874dbe8ae21163c7c1c3d4b8) Thanks [@eikeland](https://github.com/eikeland)! - ### Adds CHANGELOG.md to app zip package - Removed individual file additions for package.json, LICENSE.md, and README.md. - Added a loop to handle multiple files (package.json, LICENSE.md, README.md, CHANGELOG.md) in a more concise manner. - Updated the spinner messages accordingly. ## 10.0.1 ### Patch Changes - [#2517](https://github.com/equinor/fusion-framework/pull/2517) [`e78861a`](https://github.com/equinor/fusion-framework/commit/e78861a17cb0174ad96cd05e1b873e5fee42660f) Thanks [@eikeland](https://github.com/eikeland)! - Make `app.config.ts` definition scopes optional by updating the `AppConfigFn` type to use `z.input<typeof ApiAppConfigSchema>`. ## 10.0.0 ### Major Changes - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Adding new commands for app management, `build-publish`, `build-pack`, `build-upload`, `build-config`, `build-manifest` and `build-tag`. Introduces new parameters to the `build-config` command for publishing the app config to a build version. Commands: - `build-pack` - Bundle the app for distribution - `-o, --output <output>` - Output directory for the packed app - `-a, --archive` - Archive name for the packed app - `build-upload` - Upload the packed app to the Fusion App Store - `-b, --bundle <bundle>` - Path to the packed app bundle - `-e, --env <ci | fqa | tr | fprd>` - Environment to upload the app to - `-s, --service <service>` - Custom app service - `build-tag` - Tag the uploaded app with a version - `-t, --tag <tag>` - Tag to apply to the uploaded app - `-v, --version <version>` - Version to attach to the tag - `-e, --env <ci | fqa | tr | fprd>` - Environment to tag the app in - `-s, --service <service>` - Custom app service - `build-publish` - Publish the app config to a build version - `-t, --tag <tag>` - Tag to apply to the uploaded app - `-e, --env <ci | fqa | tr | fprd>` - Environment to tag the app in - `-s, --service <service>` - Custom app service - `build-config` - Generate app config for an environment - `-o, --output <output>` - Output file for the app config - `-c, --config <config>` - Path to the app config file (for config generation) - `-p, --publish` - Flag for upload the generated config - `-v, --version<semver | current | latest | preview>` - Publish the app config to version - `-e, --env <ci | fqa | tr | fprd>` - Environment to publish the app config to - `-s, --service <service>` - Custom app service - `upload-config` - Upload the app config to a build version - `-c, --config <config>` - Path to the app config json file to upload - `-p, --publish<semver | current | latest | preview>` - Publish the app config to the build version - `-e, --env <ci | fqa | tr | fprd>` - Environment to publish the app config to - `-s, --service <service>` - Custom app service - `build-manifest` - Creates the build manifest to publish with app - `-o, --output <output>` - Output file for manifest - `-c, --config <config>` - Manifest config file simple usage: ```sh fusion-framework-cli app build-publish -e ci ``` complex usage: ```sh fusion-framework-cli app build-pack -o ./dist -a my-app.zip fusion-framework-cli app build-upload -b ./dist/my-app.zip -e ci fusion-framework-cli app build-tag -t my-tag -v 1.0.0 -e ci ``` After publishing a build of an app, the app config should be uploaded to the build version. This is done by running the `build-config` command. ```sh # Publish the app config to the build version fusion-framework-cli app build-config -p -e ci # Publish the app config to a specific build tag fusion-framework-cli app build-config -p preview -e ci # Publish the app config to a specific build version fusion-framework-cli app build-config -p 1.0.0 -e ci ``` **breaking changes:** - renaming all commands accociated with build. - The app-config endpoints is now an object containing url and scopes, where name is the object key: ```ts environment: { myProp: 'foobar', }, endpoints: { api: { url: 'https://foo.bars' scopes: ['foobar./default'] }, }, ``` - The `config` command has been removed, use `build-config` instead ### Minor Changes - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Introduced `proxyRequestLogger` to log proxy requests in the CLI. - Show the request URL and method in the console when a proxy request is made. - Show proxy response status code - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Create a plugin `externalPublicPlugin` to fix the issue with serving the `index.html` file from the specified external public directory. Vite mode `spa` will not serve the `index.html` file from the specified external public directory. - Enhanced the middleware to intercept requests and serve the `index.html` file from the specified external public directory. - Transformed the HTML using Vite's `transformIndexHtml` method. - Applied appropriate content headers and additional configured headers before sending the response. ```typescript const viteConfig = defineConfig({ // vite configuration root: "./src", // this where vite will look for the index.html file plugins: [ // path which contains the index.html file externalPublicPlugin("./my-portal"), ], }); ``` - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Updated commands in CLI to reflect purpose of the command: - renamed `config` to `build-config` to generate build config of an application. - renamed `pack`to `build-pack` to bundle an application. - added `build-manifest` command to generate build manifest of an application. > [!WARNING] > Config callback for `manifest` and `config` now allows `void` return type. > Return value from callback is now merged with default config instead of replacing it, this might be a breaking change for some applications. > [!NOTE] > This mean that `mergeAppConfig` and `mergeManifestConfig` functions are no longer needed and can be removed from the application. - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - The `appProxyPlugin` is a Vite plugin designed to proxy requests to a Fusion app backend. It sets up proxy rules for API and bundle requests and serves the app configuration and manifest based on the app key and version. Key Features: 1. Proxy Configuration: - Proxies API calls to the Fusion apps backend. - Proxies bundle requests to the Fusion apps backend. - Uses a base path `proxyPath` for proxying. - Captures and reuses authorization tokens for asset requests. 2. **App Configuration and Manifest**: - Serves the app configuration if the request matches the current app and version. - Serves the app manifest if the request matches the current app. 3. **Middleware Setup**: - Sets up middleware to handle requests for app configuration, manifest, and local bundles. This plugin is used by the CLI for local development, but design as exportable for custom CLI to consume applications from other API`s example configuration: ```typescript const viteConfig = defineConfig({ // vite configuration plugins: [ appProxyPlugin({ proxy: { path: "/app-proxy", target: "https://fusion-s-apps-ci.azurewebsites.net/", // optional callback when matched request is proxied onProxyReq: (proxyReq, req, res) => { proxyReq.on("response", (res) => { console.log(res.statusCode); }); }, }, // optional, but required for serving local app configuration, manifest and resources app: { key: "my-app", version: "1.0.0", generateConfig: async () => ({}), generateManifest: async () => ({}), }, }), ], }); ``` example usage: ```typescript // Example API calls fetch("/app-proxy/apps/my-app/builds/1.0.0/config"); // local fetch("/app-proxy/apps/my-app/builds/0.0.9/config"); // proxy fetch("/app-proxy/apps/other-app/builds/1.0.0/config"); // proxy // Example asset calls fetch("/app-proxy/bundles/my-app/builds/1.0.0/index.js"); // local fetch("/app-proxy/bundles/my-app/builds/0.0.9/index.js"); // proxy ``` - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - when building an application the `AppAssetExportPlugin` is now added to the `ViteConfig` and configure to include `manifest.build.allowedExtensions` - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - **App Assets Export Plugin** Create a plugin that exports assets from the app's source code. This plugin resolves the issue where assets are not extracted from the app's source code since the app is in `lib` mode. ```typescript export default { plugins: [ AppAssetExportPlugin( include: createExtensionFilterPattern( manifest.build.allowedExtensions ), ), ] } ``` see readme for more information. ### Patch Changes - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Updating fusion-wc-person to fix issues when using selectedPerson = null in PersonSelect component. Updated the following dependencies - `@equinor/fusion-wc-person` from `^3.0.1` to `^3.0.3` in `packages/cli/package.json` and `packages/react/components/people-resolver/package.json`. - [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Generated base manifest from package will now include `StandardIncludeAssetExtensions` as `allowedExtensions` ## 9.13.1 ### Patch Changes - [#2493](https://github.com/equinor/fusion-framework/pull/2493) [`4839295`](https://github.com/equinor/fusion-framework/commit/4839295263f07704bc43930351ce34dfb27a4c81) Thanks [@eikeland](https://github.com/eikeland)! - Updating fusion-wc-person to fix issues when using selectedPerson = null in PersonSelect component. Updated the following dependencies - `@equinor/fusion-wc-person` from `^3.0.1` to `^3.0.3` in `packages/cli/package.json` and `packages/react/components/people-resolver/package.json`. - Updated dependencies [[`4839295`](https://github.com/equinor/fusion-framework/commit/4839295263f07704bc43930351ce34dfb27a4c81)]: - @equinor/fusion-framework-react-components-people-provider@1.4.8 - @equinor/fusion-framework-app@9.1.9 - @equinor/fusion-framework-module-feature-flag@1.1.9 ## 9.13.0 ### Minor Changes - [#2465](https://github.com/equinor/fusion-framework/pull/2465) [`eb11a19`](https://github.com/equinor/fusion-framework/commit/eb11a1952cfa5a1ec8ca40d8f53303ff7c675cbe) Thanks [@dependabot](https://github.com/apps/dependabot)! - updated @equinor/eds-core-react to 0.42.0 - [#2459](https://github.com/equinor/fusion-framework/pull/2459) [`15152e4`](https://github.com/equinor/fusion-framework/commit/15152e413c054a5f57af93211a470c98c7696caa) Thanks [@odinr](https://github.com/odinr)! - **@equinor/fusion-framework-cli** Updated the CLI to use the new service discovery API. > [!NOTE] > This is a quick fix until the new major version of the CLI is released. - Updated the `baseUri` to use a more specific URL path for service discovery. - Changed from `new URL(import.meta.url).origin` to `String(new URL('/_discovery/environments/current', import.meta.url))`. - Changed parsing of service discovery response to match new API format. ### Patch Changes - [#2458](https://github.com/equinor/fusion-framework/pull/2458) [`202cf10`](https://github.com/equinor/fusion-framework/commit/202cf10ae434d6432c8b57c2867b182223c19212) Thanks [@odinr](https://github.com/odinr)! - changed service discover url to match #c776845e753acf4a0bceda1c59d31e5939c44c31 - Updated dependencies []: - @equinor/fusion-framework-app@9.1.8 - @equinor/fusion-framework-module-feature-flag@1.1.9 - @equinor/fusion-framework-react-components-people-provider@1.4.7 ## 9.12.14 ### Patch Changes - [#2431](https://github.com/equinor/fusion-framework/pull/2431) [`53ff9cc`](https://github.com/equinor/fusion-framework/commit/53ff9ccdbac95ae8d279aed49f173708bbe9adbe) Thanks [@dependabot](https://github.com/apps/dependabot)! - Upgrade vite from 5.3.5 to [5.4.3](<(https://github.com/vitejs/vite/blob/create-vite@5.4.0/packages/create-vite/CHANGELOG.md)>) - Updated dependencies [[`f7c143d`](https://github.com/equinor/fusion-framework/commit/f7c143d44a88cc25c377d3ce8c3d1744114b891d)]: - @equinor/fusion-observable@8.4.1 - @equinor/fusion-framework-module-feature-flag@1.1.8 - @equinor/fusion-framework-app@9.1.7 - @equinor/fusion-framework-react-components-people-provider@1.4.6 ## 9.12.13 ### Patch Changes - [#2403](https://github.com/equinor/fusion-framework/pull/2403) [`67ea61d`](https://github.com/equinor/fusion-framework/commit/67ea61dad8f50e8b8b977008b26374c2f982eb4d) Thanks [@dependabot](https://github.com/apps/dependabot)! - bump @equinor/eds-core-react from 0.40.1 to 0.41.2 [see EDS changelog](https://github.com/equinor/design-system/blob/develop/packages/eds-core-react/CHANGELOG.md) - Updated dependencies []: - @equinor/fusion-framework-app@9.1.6 - @equinor/fusion-framework-module-feature-flag@1.1.7 - @equinor/fusion-framework-react-components-people-provider@1.4.5 ## 9.12.12 ### Patch Changes - [#2349](https://github.com/equinor/fusion-framework/pull/2349) [`0dd8160`](https://github.com/equinor/fusion-framework/commit/0dd8160b7b840e04ec6a92ed2bf8d00494752a00) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @vitejs/plugin-react from 4.2.1 to 4.3.1 - [#2389](https://github.com/equinor/fusion-framework/pull/2389) [`a3543e3`](https://github.com/equinor/fusion-framework/commit/a3543e31353c9eac25140842643cb8e27e9b187e) Thanks [@eikeland](https://github.com/eikeland)! - Updating fusion(react|wc)-person to fix issues with clearing component - [#2337](https://github.com/equinor/fusion-framework/pull/2337) [`79fa856`](https://github.com/equinor/fusion-framework/commit/79fa8566d27dcc4d38da3a6b3fef1b78223f7458) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps-dev): bump rollup from 4.12.0 to 4.18.1 - [#2358](https://github.com/equinor/fusion-framework/pull/2358) [`decb9e9`](https://github.com/equinor/fusion-framework/commit/decb9e9e3d1bb1b0577b729a1e7ae812afdd83cb) Thanks [@eikeland](https://github.com/eikeland)! - Updating vitest to 2.0.4. Setting vitest as devDependency in fusion-query. Updating vite to 5.3.4 - [#2352](https://github.com/equinor/fusion-framework/pull/2352) [`2025368`](https://github.com/equinor/fusion-framework/commit/202536855f736fb58f09442da5ca473325c1141c) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump vite from 5.2.10 to 5.3.3 - [#2256](https://github.com/equinor/fusion-framework/pull/2256) [`db92a9d`](https://github.com/equinor/fusion-framework/commit/db92a9d2132f74e2a72287640e6fdfbe3afa2824) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump commander from 12.0.0 to 12.1.0 - [#2253](https://github.com/equinor/fusion-framework/pull/2253) [`6f93346`](https://github.com/equinor/fusion-framework/commit/6f9334672c6dd77237d52508bef8893303f33ca7) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps-dev): bump @equinor/fusion-react-context-selector from 0.6.3 to 0.6.5 - [#2264](https://github.com/equinor/fusion-framework/pull/2264) [`797095a`](https://github.com/equinor/fusion-framework/commit/797095ab3b51a675159be5541381ca06637a1b71) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump express-rate-limit from 7.2.0 to 7.3.1 - [#2350](https://github.com/equinor/fusion-framework/pull/2350) [`960ca34`](https://github.com/equinor/fusion-framework/commit/960ca34cae26f386e28c16bac00e7932f4f9199a) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @equinor/eds-core-react from 0.38.0 to 0.40.1 - [#2360](https://github.com/equinor/fusion-framework/pull/2360) [`1c7ac1b`](https://github.com/equinor/fusion-framework/commit/1c7ac1b42213f33a668e79d750e0b12b227a7052) Thanks [@eikeland](https://github.com/eikeland)! - Enhanced ContextSelector component in the CLI package: - Implemented responsive context clearing mechanism - Improved handling of context selection and clearing events - Optimized component rendering with useMemo and useCallback hooks - [#2261](https://github.com/equinor/fusion-framework/pull/2261) [`aae93b9`](https://github.com/equinor/fusion-framework/commit/aae93b95120f1285545ea1b8344817c31e134ff5) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump adm-zip from 0.5.10 to 0.5.14 - Updated dependencies [[`bbde502`](https://github.com/equinor/fusion-framework/commit/bbde502e638f459379f63968febbc97ebe282b76), [`a3543e3`](https://github.com/equinor/fusion-framework/commit/a3543e31353c9eac25140842643cb8e27e9b187e), [`decb9e9`](https://github.com/equinor/fusion-framework/commit/decb9e9e3d1bb1b0577b729a1e7ae812afdd83cb), [`e092f75`](https://github.com/equinor/fusion-framework/commit/e092f7599f1f2e0e0676a9f10565299272813594)]: - @equinor/fusion-observable@8.4.0 - @equinor/fusion-framework-react-components-people-provider@1.4.4 - @equinor/fusion-framework-module-feature-flag@1.1.6 - @equinor/fusion-framework-app@9.1.5 ## 9.12.11 ### Patch Changes - [#2251](https://github.com/equinor/fusion-framework/pull/2251) [`60afeaa`](https://github.com/equinor/fusion-framework/commit/60afeaab11ad2a76469807142098464bd5442e68) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @vitejs/plugin-react from 4.2.1 to 4.3.1 - [#2340](https://github.com/equinor/fusion-framework/pull/2340) [`9435ee4`](https://github.com/equinor/fusion-framework/commit/9435ee4ddebade18436c5c6bd57ee86b6baf0b24) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump vite from 5.2.10 to 5.3.3 - Updated dependencies []: - @equinor/fusion-framework-app@9.1.4 - @equinor/fusion-framework-module-feature-flag@1.1.5 - @equinor/fusion-framework-react-components-people-provider@1.4.3 ## 9.12.10 ### Patch Changes - [#2328](https://github.com/equinor/fusion-framework/pull/2328) [`33d394f`](https://github.com/equinor/fusion-framework/commit/33d394f9718340f579e3f427bc68b59df5030d15) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump vite from 5.2.10 to 5.3.3 - [#2322](https://github.com/equinor/fusion-framework/pull/2322) [`b4dd215`](https://github.com/equinor/fusion-framework/commit/b4dd2150b5f3202e4bae9773afd55993043b4a5e) Thanks [@dependabot](https://github.com/apps/dependabot)! - The Vite changelog highlights several fixes, features, and refactors in versions 5.3.3, 5.3.2, and 5.3.0. Key updates include lazy evaluation of `__vite__mapDeps` files, removal of pure CSS dynamic import, and improvements to build and asset handling. Additionally, Vite now supports the `system` library format and adds options for not starting a WebSocket server and ignoring certain code sections. The changelog also notes performance enhancements, dependency updates, and bug fixes, including resolving circular dependencies, improving error recovery, and updating non-major dependencies. build(deps): bump vite from 5.2.10 to 5.3.3 - [#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 - [#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. Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons: 1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions. 2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output. 3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking. 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. Before: ```json { "compilerOptions": { "module": "ES2022", "target": "ES6", "incremental": true, "removeComments": true, "preserveConstEnums": true, "sourceMap": true, "moduleResolution": "node" } } ``` After: ```json { "compilerOptions": { "module": "ES2022", "target": "ES6", "incremental": true, "preserveConstEnums": true, "sourceMap": true, "moduleResolution": "node" } } ``` This change ensures that comments are preserved in the compiled output, potentially improving the development and debugging experience for users of the Fusion Framework. - [#2330](https://github.com/equinor/fusion-framework/pull/2330) [`4c4471a`](https://github.com/equinor/fusion-framework/commit/4c4471a61d083c6b00d25ebf82952632ff50e200) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps-dev): bump rollup from 4.12.0 to 4.18.1 - Updated dependencies [[`86d55b8`](https://github.com/equinor/fusion-framework/commit/86d55b8d27a572f3f62170b1e72aceda54f955e1), [`29ff796`](https://github.com/equinor/fusion-framework/commit/29ff796ebb3a643c604e4153b6798bde5992363c), [`a723e86`](https://github.com/equinor/fusion-framework/commit/a723e8605059ad126602d053c65114c3ce908964), [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee)]: - @equinor/fusion-framework-react-components-people-provider@1.4.2 - @equinor/fusion-framework-module-feature-flag@1.1.5 - @equinor/fusion-observable@8.3.3 - @equinor/fusion-framework-app@9.1.3 ## 9.12.9 ### Patch Changes - [#2270](https://github.com/equinor/fusion-framework/pull/2270) [`b739416`](https://github.com/equinor/fusion-framework/commit/b7394165a573e545152cfcedc2ddae186ec94112) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - - Update fusion-wc-person to resolve issue with positioning - Updated dependencies [[`97e41a5`](https://github.com/equinor/fusion-framework/commit/97e41a55d05644b6684c6cb165b65b115bd416eb), [`b739416`](https://github.com/equinor/fusion-framework/commit/b7394165a573e545152cfcedc2ddae186ec94112)]: - @equinor/fusion-observable@8.3.2 - @equinor/fusion-framework-react-components-people-provider@1.4.1 - @equinor/fusion-framework-module-feature-flag@1.1.4 - @equinor/fusion-framework-app@9.1.2 ## 9.12.8 ### Patch Changes - Updated dependencies [[`b8d52ad`](https://github.com/equinor/fusion-framework/commit/b8d52adb2ca1f9857c672a3deb774409ff2bdb37)]: - @equinor/fusion-framework-app@9.1.1 ## 9.12.7 ### Patch Changes - [#2205](https://github.com/equinor/fusion-framework/pull/2205) [`4e64552`](https://github.com/equinor/fusion-framework/commit/4e64552a3c1b0324e1deda93779eab16dbebbed3) Thanks [@odinr](https://github.com/odinr)! - Updated `@equinor/eds-core-react` dependency to version `^0.38.0` Updated `@equinor/eds-utils` dependency to version `^0.8.5` - Updated dependencies [[`ba2379b`](https://github.com/equinor/fusion-framework/commit/ba2379b177f23ccc023894e36e50d7fc56c929c8), [`ba2379b`](https://github.com/equinor/fusion-framework/commit/ba2379b177f23ccc023894e36e50d7fc56c929c8), [`72f48ec`](https://github.com/equinor/fusion-framework/commit/72f48eccc7262f6c419c60cc32f0dc829601ceab)]: - @equinor/fusion-framework-react-components-people-provider@1.4.0 - @equinor/fusion-framework-app@9.1.0 - @equinor/fusion-observable@8.3.1 - @equinor/fusion-framework-module-feature-flag@1.1.3 ## 9.12.6 ### Patch Changes - Updated dependencies []: - @equinor/fusion-framework-app@9.0.9 - @equinor/fusion-framework-module-feature-flag@1.1.2 - @equinor/fusion-framework-react-components-people-provider@1.3.8 ## 9.12.5 ### Patch Changes - [#2135](https://github.com/equinor/fusion-framework/pull/2135) [`3cd63d5`](https://github.com/equinor/fusion-framework/commit/3cd63d58e4e3ffd15bccdebaa94b391e3e3d12f0) Thanks [@odinr](https://github.com/odinr)! - Fixed styling of the render root element for the application fixes: https://github.com/equinor/fusion/issues/301 ## @equinor/fusion-framework-cli ### What the change is This change fixes an issue where the root element rendered by the CLI was not being styled correctly, causing layout issues in some applications. ### Why the change was made Previously, the root element was not receiving the correct styles due to an issue with the way styles were being applied. This led to visual inconsistencies and layout problems in applications rendered by the CLI. ### How a consumer should update their code No code changes are required for consumers. This fix will be automatically applied when using the updated version of the `@equinor/fusion-framework-cli` package. - Updated dependencies []: - @equinor/fusion-framework-react-components-people-provider@1.3.7 - @equinor/fusion-framework-app@9.0.8 ## 9.12.4 ### Patch Changes - [#2107](https://github.com/equinor/fusion-framework/pull/2107) [`491c2e0`](https://github.com/equinor/fusion-framework/commit/491c2e05a2383dc7aa310f11ba6f7325a69e7197) Thanks [@odinr](https://github.com/odinr)! - Fixed issue with missing process env `FUSION_LOG_LEVEL` - added default resolve value when generating base vite configuration - moved default query log level resolve outside class fixes: https://github.com/equinor/fusion/issues/343 - Updated dependencies []: - @equinor/fusion-framework-react-components-people-provider@1.3.6 - @equinor/fusion-framework-app@9.0.7 ## 9.12.3 ### Patch Changes - [#2098](https://github.com/equinor/fusion-framework/pull/2098) [`5093391`](https://github.com/equinor/fusion-framework/commit/5093391eabda84873041ee89632f26770734b03c) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore(deps): bump @equinor/eds-core-react from 0.36.1 to 0.37.0 - [#2103](https://github.com/equinor/fusion-framework/pull/2103) [`975f65c`](https://github.com/equinor/fusion-framework/commit/975f65cdae9882279f18e1f9f8d243df03218650) Thanks [@odinr](https://github.com/odinr)! - bumped vite to 5.2.10 - [`cf4a17a`](https://github.com/equinor/fusion-framework/c