🐛 Fixes
Handlers
- 89da30a Respect default value for lazy
General
- #179 Improve bundled storage
- 247cfca Enable lazy only when explicitly set (enable for api and rotues by default)
Prerender
Rollup
- 2b7209a Set
NODE_ENV
toprerender
when prerendering - 43b1d02 Respect
rollupConfig
options to override default config - 32f598a Enable
preferBuiltins
only for node targets
Worker
- 6c8cae7 Use
iife
format by default
Cache
- #189 Preserve event context (resolves )
🚀 Features
General
- #173 Expose all assets to
nitro.vfs
and/_vfs
endpoint (resolves ) - #181 Universal
import.meta
(resolves ) - e1c234e
nitro.storage
- 233e024 Named wildcard params
- 04e2f26 Update unenv
- 23d8cde Allow explicit middleware handlers
- #115 Extend prerender links from
X-Nitro-Prerender
(resolves ) - 11e732b Add
X-Nitro-Prerender
header to detect prerendering
Cache
- ⚠️ 7e72b8f Only accept event handler for
defineCachedEventHandler
Prerender
- ⚠️ #166 Write html files to subfolder (resolves )
Rollup
- #187 Allow edit of commonJs plugin options
- ff2dd44 Fail build when externals are not allowed and cannot resolve id
💅 Refactors
General
Rollup
- d7da0fe Use built-in dynamic virtual plugin
📖 Documentation
General
- #197 Add render setup configuration
Cloudflare
- 91f5339 Update
wrangler.toml
🏡 Chore
Release
- 6e1a0e7 0.4.0
⚠️ Breaking Changes
- ⚠️ 7e72b8f Only accept event handler for
defineCachedEventHandler
- ⚠️ #166 Write html files to subfolder (resolves )
❤️ Contributors
- Julien Huang