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

feat!: migrate to nitro 0.3x #4438

Merged
merged 3 commits into from
Apr 19, 2022
Merged

feat!: migrate to nitro 0.3x #4438

merged 3 commits into from
Apr 19, 2022

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Apr 19, 2022

πŸ”— Linked issue

❓ 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

Breaking change: #nitro is no longer available (Replaced with #internal/nitro). For useRuntimeConfig, you can use global version using auto import.

πŸ“ Checklist

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

@pi0 pi0 self-assigned this Apr 19, 2022
@netlify
Copy link

netlify bot commented Apr 19, 2022

βœ… Deploy Preview for nuxt3-docs ready!

Name Link
πŸ”¨ Latest commit 0a08e4f
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/625f08b7845f7b000834db3c
😎 Deploy Preview https://deploy-preview-4438--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: migrate to nitro 0.3x feat!: migrate to nitro 0.3x Apr 19, 2022
@pi0 pi0 merged commit 756693c into main Apr 19, 2022
@pi0 pi0 deleted the feat/nitropack-3.x branch April 19, 2022 19:10
Copy link
Member

atinux commented Apr 20, 2022

We agree it has to be renamed here @pi0 ? https://github.com/nuxt-community/supabase-module/blob/main/src/runtime/server/api/session.ts#L2

Does the auto-import works for modules exposing runtime server API?

@pi0
Copy link
Member Author

pi0 commented Apr 20, 2022

No auto import ignores anything in node_modules. I've added back #nitro for backward compatibility. It shouldn't be a breaking change anymore but please use #imports when possible. They are aliases.

Copy link
Member

atinux commented Apr 20, 2022

Will update to use #imports πŸ‘

@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.

3 participants