Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

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

Merged
merged 12 commits into from
May 6, 2022

Conversation

pi0
Copy link
Member

@pi0 pi0 commented May 6, 2022

πŸ”— Linked issue

Resolves nuxt/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.

@pi0 pi0 self-assigned this May 6, 2022
@netlify
Copy link

netlify bot commented May 6, 2022

βœ… Deploy Preview for nuxt3-docs ready!

Name Link
πŸ”¨ Latest commit 581c191
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/627522fe49a26800090d1a7f
😎 Deploy Preview https://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.

@pi0 pi0 changed the title Feat/server handlers feat(nuxt, kit): add shortcuts to register custom server handlers May 6, 2022
@pi0 pi0 merged commit 92847ed into main May 6, 2022
@pi0 pi0 deleted the feat/serverHandlers branch May 6, 2022 13:31
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to 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