Wind
Wind
### 🔗 Linked issue wait: https://github.com/unjs/mkdist/pull/272 cc: https://github.com/nitrojs/nitro/pull/3246 Continuation of the work here ### ❓ Type of change - [ ] 📖 Documentation (updates to the documentation, readme, or JSdoc...
### 🔗 Linked issue ### ❓ Type of change - [ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations) - [ ] 🐞 Bug fix (a non-breaking...
## Description This PR exports preset types (`PresetName`, `PresetNameInput`, `PresetOptions`) from `nitro/types` making them available for TypeScript users. ## Changes - Re-export `PresetName`, `PresetNameInput`, and `PresetOptions` in `src/types/preset.ts` - Add...
## Summary Fixes hot module reload for API routes when using Vite as the builder in development mode. ## Problem When modifying existing API route files in `server/api/` or `server/routes/`,...
https://vite-devtools.netlify.app/guide/ --- Vite version vite + nitro (now dont working) ### 🔗 Linked issue ### ❓ Type of change - [ ] 📖 Documentation (updates to the documentation, readme, or...
```ts let apolloServer: ApolloServer function createServer() { const { typeDefs, resolvers: mergedResolvers } = createMergedSchema() if (!apolloServer) { apolloServer = new ApolloServer({ typeDefs, resolvers: mergedResolvers, plugins: [ ApolloServerPluginLandingPageLocalDefault({ embed: true,...
### 🔗 Linked issue ### ❓ Type of change - [ ] 📖 Documentation (updates to the documentation or readme) - [ ] 🐞 Bug fix (a non-breaking change that...
## Summary cc: https://github.com/h3js/h3/issues/1088 This PR enhances H3's validation capabilities with comprehensive type-safe validation for routes and handlers: - **Route params validation**: Added support for validating route parameters (e.g., `/users/:id`)...
## Summary cc: https://github.com/h3js/h3/issues/1088 cc: https://github.com/h3js/h3/issues/1138 - Added `defineWebSocketRoute` utility function to simplify WebSocket route definitions - Added `WebSocketRouteDefinition` interface for type-safe WebSocket route configuration - Exported new utilities from...
## Description This PR introduces two new features to improve middleware handling in h3: 1. **Middleware meta support**: Adds metadata support to middleware, similar to how routes can have meta...