Skip to content

v0.4.254

Choose a tag to compare

@brillout brillout released this 08 May 13:51
· 368 commits to main since this release

Bug Fixes

  • @brillout/vite-plugin-server-entry@^0.7.18 (#3114) (a6d5391)
  • export type { EarlyHint } (2e9ec60)
  • exclude *.spec.* and *.test.* files from vike + file processing (fix #3124) (#3125) (56475f3)
  • migrate glob "as" option to "query" (eba39fd)
  • more reliable tool CLI test (cd1c053)
  • reduce pre-render dependency on Vite (#3113) (#3118) (2d3be47)
  • remove @brillout/require-shim (#3091) (164918b)
  • remove config.build.ssr assert (#3096) (6cfeda2)
  • remove Vike's Vite plugin when running storybook (98040ab)
  • replace import.meta.env with null (closes #3078) (#3082) (c061f58)
  • revive server-only pageContext types such as pageContext.headers (fix #3087) (1658209)
  • Safari WebKit TDZ bug in loadAndParseVirtualFilePageEntry (fix #3121) (#3122) (1d110cc)
  • stop showing warning when using vite.createServer() (#3096) (c34c417)
  • swallow noisy Vitest error (0e038aa)
  • tolerate import { prerender } from 'vike/api' in production (fix #3094) (e3b56da)
  • tolerate importing Vike's Vite plugin in server runtime (fix #3113) (#3115) (d6e725f)
  • tolerate static file imports in config files (brillout/docpress#86) (#3123) (b170368)
  • update glob pattern to work with Vite 8 (22182f2)

Features

Performance Improvements

  • don't prettify pageContext in production (fix #3099) (a8f23e5)

MINOR BREAKING CHANGES

Note

We recommend ignoring MINOR BREAKING CHANGES unless this version breaks your app, see Vike Versioning.

  • Vike's Vite plugin automatically removes itself if
    Storybook is detected
  • +*.spec.* and +*.test.* files are now ignored by Vike
  • prerender() returned value viteConfig can be null
  • Bare import.meta.env expression is replaced with null — use import.meta.env.SONE_ENV instead, see vike.dev/env