Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
/frameworkPublic archive

feat(nuxt, kit): add shortcuts to register custom server handlers - #4850

Merged
pi0 merged 12 commits into
mainfrom
feat/serverHandlers
May 6, 2022
Merged

feat(nuxt, kit): add shortcuts to register custom server handlers#4850
pi0 merged 12 commits into
mainfrom
feat/serverHandlers

Conversation

@pi0

@pi0pi0 commented May 6, 2022

Copy link
Copy Markdown
Member

🔗 Linked issue

Resolvesnuxt/nuxt#13892

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

This PR marks serverMiddleware option and addServerMiddleware as deprecated and introduces two new serverHandlers and devServerHandlers as shortcut options to register custom server handlers + kit utilities addServerHandler and addDevServerHandler.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@pi0pi0 self-assigned this May 6, 2022
@netlify

netlifyBot commented May 6, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs ready!

NameLink
🔨 Latest commit581c191
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/627522fe49a26800090d1a7f
😎 Deploy Previewhttps://deploy-preview-4850--nuxt3-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@pi0pi0 changed the title Feat/server handlersfeat(nuxt, kit): add shortcuts to register custom server handlersMay 6, 2022
@pi0
pi0 merged commit 92847ed into mainMay 6, 2022
@pi0
pi0 deleted the feat/serverHandlers branch May 6, 2022 13:31
This was referenced May 6, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Embrace Nitro Server Handlers

2 participants

@pi0@danielroe