Releases: seek-oss/sku
sku@15.14.1
Patch Changes
- Fixes a bug causing incorrect bundling of the
sku/@loadable/componentandsku/vite/cliententrypoints (#1559)
sku@15.14.0
sku@15.13.0
Minor Changes
-
webpack: Add support for Vite-style query parameters when importing SVG files (#1538)To support migration from webpack to Vite, SVG imports in webpack now support the same
raw,inlineandurlquery parameters as Vite. This allows you to specify how the SVG should be imported: as a raw string, a base64 data URL, or an asset URL. See the image asset docs for more information.If your application is still using webpack, it is recommended to run the following codemod to automatically migrate all SVG imports to use the
rawquery parameter:pnpm dlx @sku-lib/codemod svg-import-query-param .This will ensure consistent SVG import behaviour when the time comes to migrate your application to Vite. The
urlandinlinequery parameters can also be used, however they aren't a drop-in replacement for the existing import behaviour (i.e. without any query paramters).
Patch Changes
-
vite: Align asset inline limit with webpack (#1538)To align with sku's webpack config, image assets imported in a Vite app that are smaller than 10,000 bytes will now be inlined as base64-encoded
dataURLs. Previously the limit was 4,096 bytes. -
vocab: SetprojectRootin vocab config to fix crash withtinyglobby@0.2.16(#1542)
@sku-lib/codemod@1.3.0
Minor Changes
-
Add
svg-import-query-paramcodemod to convertimport svg from './file.svg'imports toimport svg from './file.svg?raw'(#1540)This codemod migrates all SVG imports to include the
?rawquery parameter. This ensures that SVG import behaviour is consistent between Vite and Webpack.EXAMPLE USAGE:
pnpm dlx @sku-lib/codemod svg-import-query-param .See the Vite migration docs for more information.
sku@15.12.2
Patch Changes
-
Update
vite-plugin-cjs-interopand@vitejs/plugin-basic-ssldependencies tovite@8-compatible versions (#1531) -
Update
svgo-loaderdependency to^5.0.0(#1535) -
Update
picomatchto^4.0.4to address CVE-2026-33671 and CVE-2026-33672 (#1537)
@sku-lib/codemod@1.2.6
Patch Changes
- Update
@ast-grep/napidependency to^0.42.0(#1534)
sku@15.12.1
Patch Changes
- fix vitest v3 compatibility (#1529)
sku@15.12.0
Minor Changes
-
Bumping vite version to vite@8 (#1526)
This update should not affect most applications, unless you have specified unsupported vite@8 options via
dangerouslySetViteConfig. Since this API is subject to potential changes, this is a minor (not breaking) release.If your app relies on
@sku-lib/vite, please ensure you upgrade to at least version 2.0.0.pnpm update @sku-lib/vite^2.0.0
Patch Changes
@sku-lib/vite@2.0.0
Major Changes
- Dropped vite@7 support. Minimum version bumped to vite@8. (#1526)
sku@15.11.0
Minor Changes
- config: Stable support for
vitePlugins(#1520)