v0.4.254
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.envwithnull(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
vikeConfig._extensions(#3120) (d6aa272)with { type: 'vike-pointer' }(closes #1500) (#3126) (332f31b)- DEBUG=vike:config (e22c133)
Performance Improvements
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 Vikeprerender()returned valueviteConfigcan benull- Bare
import.meta.envexpression is replaced withnull— useimport.meta.env.SONE_ENVinstead, see vike.dev/env