Skip to content

Releases: seek-oss/sku

sku@15.14.1

21 Apr 04:27
ea9b677

Choose a tag to compare

Patch Changes

  • Fixes a bug causing incorrect bundling of the sku/@loadable/component and sku/vite/client entrypoints (#1559)

sku@15.14.0

20 Apr 00:59
49d58ef

Choose a tag to compare

Minor Changes

  • vite: Improve error messaging during sku build (#1548)

    Pre-render errors and failures in the first errored route will now be logged with stack traces for easier debugging.

Patch Changes

  • storybook: Pass through sku sourcemap config to the Storybook webpack config (#1553)

sku@15.13.0

09 Apr 00:14
09d4653

Choose a tag to compare

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, inline and url query 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 raw query 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 url and inline query 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 data URLs. Previously the limit was 4,096 bytes.

  • vocab: Set projectRoot in vocab config to fix crash with tinyglobby@0.2.16 (#1542)

@sku-lib/codemod@1.3.0

09 Apr 00:14
09d4653

Choose a tag to compare

Minor Changes

  • Add svg-import-query-param codemod to convert import svg from './file.svg' imports to import svg from './file.svg?raw' (#1540)

    This codemod migrates all SVG imports to include the ?raw query 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

30 Mar 00:29
c6ad25b

Choose a tag to compare

Patch Changes

  • Update vite-plugin-cjs-interop and @vitejs/plugin-basic-ssl dependencies to vite@8-compatible versions (#1531)

  • Update svgo-loader dependency to ^5.0.0 (#1535)

  • Update picomatch to ^4.0.4 to address CVE-2026-33671 and CVE-2026-33672 (#1537)

@sku-lib/codemod@1.2.6

30 Mar 00:29
c6ad25b

Choose a tag to compare

Patch Changes

  • Update @ast-grep/napi dependency to ^0.42.0 (#1534)

sku@15.12.1

24 Mar 02:49
c66ab1b

Choose a tag to compare

Patch Changes

  • fix vitest v3 compatibility (#1529)

sku@15.12.0

23 Mar 04:41
0bec773

Choose a tag to compare

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

  • Updated minimum versions of dependencies to address security vulnerabilities (#1526)

  • Updated dependencies [a34849d]:

    • @sku-lib/vite@2.0.0

@sku-lib/vite@2.0.0

23 Mar 04:41
0bec773

Choose a tag to compare

Major Changes

  • Dropped vite@7 support. Minimum version bumped to vite@8. (#1526)

sku@15.11.0

12 Mar 02:38
360ee7a

Choose a tag to compare

Minor Changes

  • config: Stable support for vitePlugins (#1520)