🤖 Bip Bop - Fusion Framework Release #2512
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@equinor/[email protected]
Major Changes
#2494
e11ad64
Thanks @odinr! - Adding new commands for app management,build-publish
,build-pack
,build-upload
,build-config
,build-manifest
andbuild-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 appbuild-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 servicebuild-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 servicebuild-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 servicebuild-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 serviceupload-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 servicebuild-manifest
- Creates the build manifest to publish with app-o, --output <output>
- Output file for manifest-c, --config <config>
- Manifest config filesimple usage:
complex usage:
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.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:
The
config
command has been removed, usebuild-config
insteadMinor Changes
#2494
e11ad64
Thanks @odinr! - IntroducedproxyRequestLogger
to log proxy requests in the CLI.#2494
e11ad64
Thanks @odinr! - Create a pluginexternalPublicPlugin
to fix the issue with serving theindex.html
file from the specified external public directory. Vite modespa
will not serve theindex.html
file from the specified external public directory.index.html
file from the specified external public directory.transformIndexHtml
method.#2494
e11ad64
Thanks @odinr! - Updated commands in CLI to reflect purpose of the command:config
tobuild-config
to generate build config of an application.pack
tobuild-pack
to bundle an application.build-manifest
command to generate build manifest of an application.#2494
e11ad64
Thanks @odinr! - TheappProxyPlugin
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:
Proxy Configuration:
proxyPath
for proxying.App Configuration and Manifest:
Middleware Setup:
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:
example usage:
#2494
e11ad64
Thanks @odinr! - when building an application theAppAssetExportPlugin
is now added to theViteConfig
and configure to includemanifest.build.allowedExtensions
#2494
e11ad64
Thanks @odinr! - App Assets Export PluginCreate 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.see readme for more information.
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
.#2494
e11ad64
Thanks @odinr! - Generated base manifest from package will now includeStandardIncludeAssetExtensions
asallowedExtensions
@equinor/[email protected]
Major Changes
#2494
e11ad64
Thanks @odinr! - Adjusted module to the new app service API.Added
AppClient
class to handle application manifest and configuration queries.zod
to validate the application manifest.Changed
AppModuleProvider
to useAppClient
for fetching application manifests and configurations.AppConfigurator
to utilizeAppClient
for client configuration.useApps
hook with new input parameter forfilterByCurrentUser
infusion-framework-react
.Migration
before:
after:
custom client implementation:
@equinor/[email protected]
Minor Changes
#2494
e11ad64
Thanks @odinr! - Adjusted module to the new app service API.Added
AppClient
class to handle application manifest and configuration queries.zod
to validate the application manifest.Changed
AppModuleProvider
to useAppClient
for fetching application manifests and configurations.AppConfigurator
to utilizeAppClient
for client configuration.useApps
hook with new input parameter forfilterByCurrentUser
infusion-framework-react
.Migration
before:
after:
custom client implementation:
@equinor/[email protected]
Patch Changes
e11ad64
]:@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Adjusted module to the new app service API.Added
AppClient
class to handle application manifest and configuration queries.zod
to validate the application manifest.Changed
AppModuleProvider
to useAppClient
for fetching application manifests and configurations.AppConfigurator
to utilizeAppClient
for client configuration.useApps
hook with new input parameter forfilterByCurrentUser
infusion-framework-react
.Migration
before:
after:
custom client implementation:
Updated dependencies [
e11ad64
]:@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Adjusted module to the new app service API.Added
AppClient
class to handle application manifest and configuration queries.zod
to validate the application manifest.Changed
AppModuleProvider
to useAppClient
for fetching application manifests and configurations.AppConfigurator
to utilizeAppClient
for client configuration.useApps
hook with new input parameter forfilterByCurrentUser
infusion-framework-react
.Migration
before:
after:
custom client implementation:
Updated dependencies [
e11ad64
]:@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]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Adjusted module to the new app service API.Added
AppClient
class to handle application manifest and configuration queries.zod
to validate the application manifest.Changed
AppModuleProvider
to useAppClient
for fetching application manifests and configurations.AppConfigurator
to utilizeAppClient
for client configuration.useApps
hook with new input parameter forfilterByCurrentUser
infusion-framework-react
.Migration
before:
after:
custom client implementation:
Updated dependencies [
e11ad64
]:@equinor/[email protected]
Patch Changes
e11ad64
]:@equinor/[email protected]
Patch Changes
e11ad64
]:@equinor/[email protected]
Minor Changes
e11ad64
Thanks @odinr! - Documenting the new CLI commands in vue-press.@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Cleaned up app configRemoved
app.config.*
from the cookbook apps to prevent confusion when using the cookbook apps as a template for new apps.@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Cleaned up app configRemoved
app.config.*
from the cookbook apps to prevent confusion when using the cookbook apps as a template for new apps.@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Cleaned up app configRemoved
app.config.*
from the cookbook apps to prevent confusion when using the cookbook apps as a template for new apps.@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Cleaned up app configRemoved
app.config.*
from the cookbook apps to prevent confusion when using the cookbook apps as a template for new apps.@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Cleaned up app configRemoved
app.config.*
from the cookbook apps to prevent confusion when using the cookbook apps as a template for new apps.Updated dependencies [
e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
]:@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Cleaned up app configRemoved
app.config.*
from the cookbook apps to prevent confusion when using the cookbook apps as a template for new apps.Updated dependencies [
e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
]:@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Cleaned up app configRemoved
app.config.*
from the cookbook apps to prevent confusion when using the cookbook apps as a template for new apps.@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Cleaned up app configRemoved
app.config.*
from the cookbook apps to prevent confusion when using the cookbook apps as a template for new apps.Updated dependencies [
e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
]:@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Cleaned up app configRemoved
app.config.*
from the cookbook apps to prevent confusion when using the cookbook apps as a template for new apps.@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Cleaned up app configRemoved
app.config.*
from the cookbook apps to prevent confusion when using the cookbook apps as a template for new apps.@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Cleaned up app configRemoved
app.config.*
from the cookbook apps to prevent confusion when using the cookbook apps as a template for new apps.@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Cleaned up app configRemoved
app.config.*
from the cookbook apps to prevent confusion when using the cookbook apps as a template for new apps.@equinor/[email protected]
Patch Changes
#2494
e11ad64
Thanks @odinr! - Cleaned up app configRemoved
app.config.*
from the cookbook apps to prevent confusion when using the cookbook apps as a template for new apps.[email protected]
Patch Changes
e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
,e11ad64
]: