Releases: equinor/fusion-framework
@equinor/[email protected]
Patch Changes
-
#2521
65f03fa
Thanks @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.
@equinor/[email protected]
@equinor/[email protected]
Minor Changes
-
#2494
e11ad64
Thanks @odinr! - Adjusted module to the new app service API.[!WARNING]
This will introduce breaking changes to the configuration ofAppConfigurator.client
.Added
- Introduced
AppClient
class to handle application manifest and configuration queries. - Added
zod
to validate the application manifest.
Changed
- Updated
AppModuleProvider
to useAppClient
for fetching application manifests and configurations. - Modified
AppConfigurator
to utilizeAppClient
for client configuration. - Updated
useApps
hook with new input parameter forfilterByCurrentUser
infusion-framework-react
.
Migration
before:
configurator.setClient({ getAppManifest: { client: { fn: ({ appKey }) => httpClient.json$<ApiApp>(`/apps/${appKey}`), }, key: ({ appKey }) => appKey, }, getAppManifests: { client: { fn: () => httpClient.json$<ApiApp[]>(`/apps`), }, key: () => `all-apps`, }, getAppConfig: { client: { fn: ({ appKey }) => httpClient.json$<ApiApp>(`/apps/${appKey}/config`), }, key: ({ appKey }) => appKey, }, });
after:
import { AppClient } from `@equinor/fusion-framework-module-app`; configurator.setClient(new AppClient());
custom client implementation:
import { AppClient } from `@equinor/fusion-framework-module-app`; class CustomAppClient implements IAppClient { ... } configurator.setClient(new CustomAppClient());
- Introduced
@equinor/[email protected]
Patch Changes
- Updated dependencies [
e11ad64
]:- @equinor/[email protected]
@equinor/[email protected]
Patch Changes
- Updated dependencies [
e11ad64
]:- @equinor/[email protected]
- @equinor/[email protected]
@equinor/[email protected]
Patch Changes
-
#2494
e11ad64
Thanks @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
inpackages/cli/package.json
andpackages/react/components/people-resolver/package.json
.
-
Updated dependencies [
e11ad64
]:- @equinor/[email protected]
- @equinor/[email protected]
@equinor/[email protected]
Patch Changes
-
#2494
e11ad64
Thanks @odinr! - Adjusted module to the new app service API.[!WARNING]
This will introduce breaking changes to the configuration ofAppConfigurator.client
.Added
- Introduced
AppClient
class to handle application manifest and configuration queries. - Added
zod
to validate the application manifest.
Changed
- Updated
AppModuleProvider
to useAppClient
for fetching application manifests and configurations. - Modified
AppConfigurator
to utilizeAppClient
for client configuration. - Updated
useApps
hook with new input parameter forfilterByCurrentUser
infusion-framework-react
.
Migration
before:
configurator.setClient({ getAppManifest: { client: { fn: ({ appKey }) => httpClient.json$<ApiApp>(`/apps/${appKey}`), }, key: ({ appKey }) => appKey, }, getAppManifests: { client: { fn: () => httpClient.json$<ApiApp[]>(`/apps`), }, key: () => `all-apps`, }, getAppConfig: { client: { fn: ({ appKey }) => httpClient.json$<ApiApp>(`/apps/${appKey}/config`), }, key: ({ appKey }) => appKey, }, });
after:
import { AppClient } from `@equinor/fusion-framework-module-app`; configurator.setClient(new AppClient());
custom client implementation:
import { AppClient } from `@equinor/fusion-framework-module-app`; class CustomAppClient implements IAppClient { ... } configurator.setClient(new CustomAppClient());
- Introduced
-
Updated dependencies [
e11ad64
]:- @equinor/[email protected]
- @equinor/[email protected]
@equinor/[email protected]
Patch Changes
-
#2494
e11ad64
Thanks @odinr! - Adjusted module to the new app service API.[!WARNING]
This will introduce breaking changes to the configuration ofAppConfigurator.client
.Added
- Introduced
AppClient
class to handle application manifest and configuration queries. - Added
zod
to validate the application manifest.
Changed
- Updated
AppModuleProvider
to useAppClient
for fetching application manifests and configurations. - Modified
AppConfigurator
to utilizeAppClient
for client configuration. - Updated
useApps
hook with new input parameter forfilterByCurrentUser
infusion-framework-react
.
Migration
before:
configurator.setClient({ getAppManifest: { client: { fn: ({ appKey }) => httpClient.json$<ApiApp>(`/apps/${appKey}`), }, key: ({ appKey }) => appKey, }, getAppManifests: { client: { fn: () => httpClient.json$<ApiApp[]>(`/apps`), }, key: () => `all-apps`, }, getAppConfig: { client: { fn: ({ appKey }) => httpClient.json$<ApiApp>(`/apps/${appKey}/config`), }, key: ({ appKey }) => appKey, }, });
after:
import { AppClient } from `@equinor/fusion-framework-module-app`; configurator.setClient(new AppClient());
custom client implementation:
import { AppClient } from `@equinor/fusion-framework-module-app`; class CustomAppClient implements IAppClient { ... } configurator.setClient(new CustomAppClient());
- Introduced
-
Updated dependencies [
e11ad64
]:- @equinor/[email protected]
- @equinor/[email protected]
- @equinor/[email protected]
@equinor/[email protected]
Major Changes
-
#2494
e11ad64
Thanks @odinr! - Adjusted module to the new app service API.[!WARNING]
This will introduce breaking changes to the configuration ofAppConfigurator.client
.Added
- Introduced
AppClient
class to handle application manifest and configuration queries. - Added
zod
to validate the application manifest.
Changed
- Updated
AppModuleProvider
to useAppClient
for fetching application manifests and configurations. - Modified
AppConfigurator
to utilizeAppClient
for client configuration. - Updated
useApps
hook with new input parameter forfilterByCurrentUser
infusion-framework-react
.
Migration
before:
configurator.setClient({ getAppManifest: { client: { fn: ({ appKey }) => httpClient.json$<ApiApp>(`/apps/${appKey}`), }, key: ({ appKey }) => appKey, }, getAppManifests: { client: { fn: () => httpClient.json$<ApiApp[]>(`/apps`), }, key: () => `all-apps`, }, getAppConfig: { client: { fn: ({ appKey }) => httpClient.json$<ApiApp>(`/apps/${appKey}/config`), }, key: ({ appKey }) => appKey, }, });
after:
import { AppClient } from `@equinor/fusion-framework-module-app`; configurator.setClient(new AppClient());
custom client implementation:
import { AppClient } from `@equinor/fusion-framework-module-app`; class CustomAppClient implements IAppClient { ... } configurator.setClient(new CustomAppClient());
- Introduced
@equinor/[email protected]
Patch Changes
-
#2494
e11ad64
Thanks @odinr! - Adjusted module to the new app service API.[!WARNING]
This will introduce breaking changes to the configuration ofAppConfigurator.client
.Added
- Introduced
AppClient
class to handle application manifest and configuration queries. - Added
zod
to validate the application manifest.
Changed
- Updated
AppModuleProvider
to useAppClient
for fetching application manifests and configurations. - Modified
AppConfigurator
to utilizeAppClient
for client configuration. - Updated
useApps
hook with new input parameter forfilterByCurrentUser
infusion-framework-react
.
Migration
before:
configurator.setClient({ getAppManifest: { client: { fn: ({ appKey }) => httpClient.json$<ApiApp>(`/apps/${appKey}`), }, key: ({ appKey }) => appKey, }, getAppManifests: { client: { fn: () => httpClient.json$<ApiApp[]>(`/apps`), }, key: () => `all-apps`, }, getAppConfig: { client: { fn: ({ appKey }) => httpClient.json$<ApiApp>(`/apps/${appKey}/config`), }, key: ({ appKey }) => appKey, }, });
after:
import { AppClient } from `@equinor/fusion-framework-module-app`; configurator.setClient(new AppClient());
custom client implementation:
import { AppClient } from `@equinor/fusion-framework-module-app`; class CustomAppClient implements IAppClient { ... } configurator.setClient(new CustomAppClient());
- Introduced
-
Updated dependencies [
e11ad64
]:- @equinor/[email protected]
- @equinor/[email protected]
- @equinor/[email protected]