- Updated dependencies [12071a3]
- Updated dependencies [6a3080a]
- @equinor/fusion-framework-vite-plugin-api-service@2.0.5
- @equinor/fusion-framework-vite-plugin-spa@4.0.15
- Updated dependencies [3dcaae6]
- @equinor/fusion-log@2.0.2
- 80c3e4a: Internal: add a clarifying intent comment to satisfy fusion-lint; no behavior changes.
- Updated dependencies [80c3e4a]
- Updated dependencies [80c3e4a]
- Updated dependencies [80c3e4a]
- Updated dependencies [80c3e4a]
- @equinor/fusion-log@2.0.1
- @equinor/fusion-framework-vite-plugin-api-service@2.0.4
- @equinor/fusion-framework-vite-plugin-spa@4.0.14
- Updated dependencies [70268ab]
- @equinor/fusion-framework-vite-plugin-api-service@2.0.3
- @equinor/fusion-framework-vite-plugin-spa@4.0.13
- Updated dependencies [74beb1c]
- @equinor/fusion-framework-vite-plugin-spa@4.0.12
- @equinor/fusion-framework-vite-plugin-spa@4.0.11
- @equinor/fusion-framework-vite-plugin-spa@4.0.10
- @equinor/fusion-framework-vite-plugin-spa@4.0.9
- @equinor/fusion-framework-vite-plugin-spa@4.0.8
- Updated dependencies [806c623]
- @equinor/fusion-framework-vite-plugin-api-service@2.0.2
- Updated dependencies [5c05455]
- @equinor/fusion-framework-vite-plugin-spa@4.0.7
- @equinor/fusion-framework-vite-plugin-spa@4.0.6
- @equinor/fusion-framework-vite-plugin-spa@4.0.5
- Updated dependencies [3005189]
- @equinor/fusion-framework-vite-plugin-spa@4.0.4
- @equinor/fusion-framework-vite-plugin-spa@4.0.3
- Updated dependencies [4f71408]
- Updated dependencies [ee9c669]
- @equinor/fusion-framework-vite-plugin-api-service@2.0.1
- @equinor/fusion-framework-vite-plugin-spa@4.0.2
- Updated dependencies [8f16c97]
- @equinor/fusion-framework-vite-plugin-spa@4.0.1
-
abffa53: Major version bump for Fusion Framework React 19 release.
All packages are bumped to the next major version as part of the React 19 upgrade. This release drops support for React versions below 18 and includes breaking changes across the framework.
Breaking changes:
- Peer dependencies now require React 18 or 19 (
^18.0.0 || ^19.0.0) - React Router upgraded from v6 to v7
- Navigation module refactored with new history API
renderComponentandrenderAppnow usecreateRootAPI
Migration:
- Update your React version to 18.0.0 or higher before upgrading
- Replace
NavigationProvider.createRouter()with@equinor/fusion-framework-react-router - See individual package changelogs for package-specific migration steps
- Peer dependencies now require React 18 or 19 (
-
aa35c46: chore: bump @vitejs/plugin-react from 5.1.4 to 6.0.1
-
32bcf83: Bump
vitefrom7.3.1to8.0.0.Vite 8 replaces Rollup with Rolldown and esbuild with Oxc for faster builds. No breaking API changes affect this codebase. The
dev-serverpeerDependency is widened to accept both Vite 7 and Vite 8. -
Updated dependencies [abffa53]
-
Updated dependencies [32bcf83]
- @equinor/fusion-framework-vite-plugin-api-service@2.0.0
- @equinor/fusion-framework-vite-plugin-spa@4.0.0
- @equinor/fusion-log@2.0.0
-
#4157
6aa8e1fThanks @Noggling! - Internal: patch release to align TypeScript types across packages for consistent type compatibility. -
Updated dependencies [
9d4d520,6aa8e1f]:- @equinor/fusion-framework-vite-plugin-spa@3.1.11
- @equinor/fusion-log@1.1.8
- @equinor/fusion-framework-vite-plugin-api-service@1.2.5
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@3.1.10
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@3.1.9
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@3.1.8
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@3.1.7
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@3.1.6
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@3.1.5
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@3.1.4
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@3.1.3
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@3.1.2
- Updated dependencies [
122752b]:- @equinor/fusion-framework-vite-plugin-spa@3.1.1
- Updated dependencies [
d34ebd8]:- @equinor/fusion-framework-vite-plugin-spa@3.1.0
- Updated dependencies [
15aaa87]:- @equinor/fusion-framework-vite-plugin-spa@3.0.7
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@3.0.6
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@3.0.5
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@3.0.4
- Updated dependencies [
ee6aa77]:- @equinor/fusion-framework-vite-plugin-spa@3.0.3
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@3.0.2
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@3.0.1
- Updated dependencies [
11fe961]:- @equinor/fusion-framework-vite-plugin-spa@3.0.0
- #3686
d6465bcThanks @odinr! - Update vite peerDependency version constraint from ^6.0.7 to ^7.0.0 to support the latest vite features and improvements.
-
#3637
f5b88e7Thanks @dependabot! - Internal: bump rollup from 4.52.4 to 4.52.5 to fix sourcemap debugId generation; no public API changes. -
Updated dependencies [
f5b88e7,1706e4c,581306b]:- @equinor/fusion-framework-vite-plugin-api-service@1.2.4
- @equinor/fusion-framework-vite-plugin-spa@2.0.2
-
#3652
8d50adcThanks @dependabot! - Security: Update Vite to v7.1.12This update addresses a security vulnerability in Vite's development server and includes bug fixes for improved compatibility. The update ensures secure development environments and better plugin ecosystem compatibility.
Changes:
- Updated Vite from v7.1.10 to v7.1.12
- Includes security fix for development server file system checks
- Includes compatibility fix for CommonJS plugin
- No breaking changes or API modifications
Security Fix (v7.1.11):
- dev: trim trailing slash before
server.fs.denycheck (#20968)- Prevents potential path traversal vulnerability in development server
- Only affects development environment, not production builds
Bug Fix (v7.1.12):
- deps: downgrade commonjs plugin to 28.0.6 to avoid rollup/plugins issues (#20990)
- Improves compatibility with Rollup plugin ecosystem
- Prevents potential build issues
All packages using Vite as a development dependency are updated to the latest secure version. This is a patch-level security and bug fix update that maintains full compatibility with existing functionality.
-
Updated dependencies [
8d50adc]:- @equinor/fusion-framework-vite-plugin-api-service@1.2.3
- @equinor/fusion-framework-vite-plugin-spa@2.0.1
- Updated dependencies [
dd560e7]:- @equinor/fusion-framework-vite-plugin-spa@1.2.2
- Updated dependencies [
b6a64d9]:- @equinor/fusion-framework-vite-plugin-spa@1.2.1
- Updated dependencies [
99a3c26]:- @equinor/fusion-framework-vite-plugin-spa@1.2.0
-
#3532
63ecde5Thanks @dependabot! - Bump vite from 7.1.8 to 7.1.9 across development tools and plugins.This patch update fixes bugs and improves stability in the vite dependency.
-
Updated dependencies [
45954e5,63ecde5,d1098f7]:- @equinor/fusion-framework-vite-plugin-spa@1.1.4
- @equinor/fusion-framework-vite-plugin-api-service@1.2.2
-
56c27ecThanks @odinr! - Updated workspace dependencies to use exact version specifiers for consistent release behavior.- Changed workspace dependencies from
workspace:^toworkspace:*across CLI, dev-server, and SPA vite plugin packages - Ensures exact version resolution within the monorepo for predictable builds and releases
- Affects both dependencies and devDependencies where applicable
- Changed workspace dependencies from
-
Updated dependencies [
56c27ec]:- @equinor/fusion-framework-vite-plugin-spa@1.1.3
-
#3432
528d72cThanks @dependabot! - Updated vite from 7.1.5 to 7.1.7, including bug fixes for HMR, build system, and glob imports. -
Updated dependencies [
528d72c]:- @equinor/fusion-framework-vite-plugin-api-service@1.2.1
- @equinor/fusion-framework-vite-plugin-spa@1.1.1
-
#3443
2291483Thanks @eikeland! - Fix OPTIONS requests missing Allow header after Vite 7 update- Disabled Vite's internal CORS handling by setting
server.cors: false - This allows backend services to properly handle OPTIONS requests with correct headers
- Resolves issue where OPTIONS requests were not forwarded to backend after Vite 7 upgrade
- Backend services can now include Allow, Access-Control-Allow-Methods, and other CORS headers
closes: #3436
- Disabled Vite's internal CORS handling by setting
-
#3349
c511123Thanks @dependabot! - chore: bump vite from 6.x to 7.1.5Major version update of Vite build tool across all packages. This update includes:
- Enhanced build performance and caching
- Better error reporting with code frames
- Improved TypeScript integration
- Updated plugin ecosystem compatibility
- New development server features
-
#3391
7792659Thanks @dependabot! - chore: bump vitest from 2.0.1 to 3.2.4Major version update of Vitest testing framework for dev-server package.
- Updated from Vitest v2 to v3
- Test runner behavior improvements
- Enhanced test performance
- Better error handling and reporting
- Updated Vite integration (v6.3.5)
-
Updated dependencies [
c511123]:- @equinor/fusion-framework-vite-plugin-api-service@1.2.0
- @equinor/fusion-framework-vite-plugin-spa@1.1.0
-
#2910
07cc985Thanks @dependabot! - Updated vitest from 2.1.9 to 3.2.4 across all packages.- Node.js Requirements: Requires Node.js 18+ (already satisfied)
- Vite Compatibility: Updated to work with Vite 7.x (already using Vite 7.1.5)
- Snapshot Format: Snapshots now use backtick quotes (`) instead of single quotes
- Coverage API: New coverage methods
enableCoverage()anddisableCoverage() - TypeScript Support: Enhanced TypeScript integration and type definitions
- CVE-2025-24963: Browser mode serves arbitrary files (fixed in 2.1.9)
- CVE-2025-24964: Remote Code Execution vulnerability (fixed in 2.1.9)
- Test snapshots may need regeneration due to quote format changes
- Some test configurations might need updates for new TypeScript support
- Peer dependency warnings for @vitest/coverage-v8 are expected and safe to ignore
-
Updated dependencies [
bae9c95,07cc985]:- @equinor/fusion-framework-vite-plugin-spa@1.0.1
- @equinor/fusion-log@1.1.7
- @equinor/fusion-framework-vite-plugin-api-service@1.1.1
-
#3330
3590104Thanks @odinr! - Enhanced dev server configuration by removingvite-tsconfig-pathsplugin.The responsibility for adding the
vite-tsconfig-pathsplugin has been moved to@equinor/fusion-framework-cli, which now provides it via theoverridesparameter increateDevServerConfig. This ensures consistent TypeScript path resolution in both development and build environments.- Removed
vite-tsconfig-pathsdependency from package.json - Removed plugin usage from
create-dev-server-config.ts
Breaking change:
If you use
@equinor/fusion-framework-dev-serveroutside of the CLI, you must manually add thevite-tsconfig-pathsplugin to your Vite config overrides to maintain the same TypeScript path resolution behavior. - Removed
- #3327
22d6d3bThanks @odinr! - Enhanced dev server configuration with improved React and TypeScript path resolution support.- Added
@vitejs/plugin-reactfor better React development experience - Added
vite-tsconfig-pathsfor improved TypeScript path resolution - Updated
create-dev-server-config.tsto include both plugins in the vite configuration
- Added
-
#3075
8fffbfbThanks @odinr! - Introduced a new package,@equinor/fusion-framework-dev-server, designed to provide a development server tailored for Fusion Framework applications. Built on top of Vite, it seamlessly integrates Vite and Fusion Framework configurations.For more details, visit the GitHub repository.
Features
createDevServerFunction: Simplifies the creation of a development server using a configuration object.createDevServerConfigFunction: Generates a Vite-compatible configuration for the development server.- SPA Support: Includes
spa.templateEnvfor defining environment variables specific to Single Page Applications. - API Service Discovery: Enables proxying and route mapping for API services via
api.serviceDiscoveryUrl. - Dynamic Proxy Routes: Introduced the
processServicesfunction to remap Fusion services' URIs and dynamically generate proxy routes. - Logging: Integrated
@equinor/fusion-logfor customizable logging, with dedicated sub-loggers for SPA and API services.
Dependencies
The following dependencies were added to support the new package:
@equinor/fusion-framework-vite-plugin-api-service@equinor/fusion-framework-vite-plugin-spa@equinor/fusion-log
Examples
Using
createDevServerimport { createDevServer } from "@equinor/fusion-framework-dev-server"; const devServer = await createDevServer({ spa: { templateEnv: { portal: { id: "dev-portal", }, title: "My Test Dev Server", }, }, api: { serviceDiscoveryUrl: "https://location.of.your.service.discovery", processServices: (data, route) => { return { data: data.concat({ key: "mock-service", name: "Mock Service", uri: "/mock-api", }), routes: [], }; }, }, });
-
Updated dependencies [
8fffbfb,8fffbfb,8fffbfb]:- @equinor/fusion-framework-vite-plugin-api-service@1.0.0
- @equinor/fusion-framework-vite-plugin-spa@1.0.0
- @equinor/fusion-log@1.1.5
-
Updated dependencies [
7c58c78,db34d90]:- @equinor/fusion-framework-vite-plugin-api-service@1.0.0-next.2
- @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.9
- @equinor/fusion-log@1.1.5-next.0
- Updated dependencies [
5973182]:- @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.8
- Updated dependencies [
23fdc8a]:- @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.7
- Updated dependencies [
713cb15]:- @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.6
- Updated dependencies [
ea96493]:- @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.5
- Updated dependencies [
8870e73]:- @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.4
- Updated dependencies []:
- @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.3
-
#3075
2ed792aThanks @odinr! - removed options for server options forcreateDevServerConfig, use overrides instead oncreateDevServer -
Updated dependencies [
ca8d6c8,7878f59]:- @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.2
- Updated dependencies [
96ad5d3]:- @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.1
- @equinor/fusion-framework-vite-plugin-api-service@1.0.0-next.1
- #3075
84c16d7Thanks @odinr! - Addprepackscript todev-portalanddev-serverpackages- Added a
prepackscript to@equinor/fusion-framework-dev-portaland@equinor/fusion-framework-dev-serverto ensure the build runs before packaging. - This helps guarantee that the latest build artifacts are included when publishing these packages.
- Added a
-
#3074
6b034e5Thanks @odinr! - Introduced a new package,@equinor/fusion-framework-dev-server, designed to provide a development server tailored for Fusion Framework applications. Built on top of Vite, it seamlessly integrates Vite and Fusion Framework configurations.Features
createDevServerFunction: Simplifies the creation of a development server using a configuration object.createDevServerConfigFunction: Generates a Vite-compatible configuration for the development server.- SPA Support: Includes
spa.templateEnvfor defining environment variables specific to Single Page Applications. - API Service Discovery: Enables proxying and route mapping for API services via
api.serviceDiscoveryUrl. - Dynamic Proxy Routes: Introduced the
processServicesfunction to remap Fusion services' URIs and dynamically generate proxy routes. - Logging: Integrated
@equinor/fusion-logfor customizable logging, with dedicated sub-loggers for SPA and API services.
Dependencies
The following dependencies were added to support the new package:
@equinor/fusion-framework-vite-plugin-api-service@equinor/fusion-framework-vite-plugin-spa@equinor/fusion-log
Examples
Using
createDevServerimport { createDevServer } from "@equinor/fusion-framework-dev-server"; const devServer = await createDevServer({ spa: { templateEnv: { portal: { id: "dev-portal", }, title: "My Test Dev Server", }, }, api: { serviceDiscoveryUrl: "https://location.of.your.service.discovery", processServices: (data, route) => { return { data: data.concat({ key: "mock-service", name: "Mock Service", uri: "/mock-api", }), routes: [], }; }, }, });
Using
createDevServerConfigimport { createDevServerConfig } from "@equinor/fusion-framework-dev-server"; const config = createDevServerConfig({ spa: { templateEnv: { API_URL: "https://api.example.com" }, }, api: { serviceDiscoveryUrl: "https://discovery.example.com", routes: ["/api"], }, });