nitro icon indicating copy to clipboard operation
nitro copied to clipboard

🚀 nitro v3

Open pi0 opened this issue 2 months ago • 0 comments

[!NOTE] This PR is not to merge but you can overview undergoing major nitro v2...v3 breaking changes which will be mostly breaking changes and removals in the first step.

[!NOTE] We will keep backporting fixes as much as possible to the nitro v2 until the community adoption of nitro v3. For non-breaking change improvements, please base PR branches on v2 branch. For proposing breaking changes, you can use main. Most of the upcoming features will land to v2 as well ~> v2.10.0 release tracker

⌛ ETA: Within June with the collaboration of the Nuxt team to sync releases


Beta testing via nightly channel

Directly using nitro:

  "devDependencies": {
    "nitro": "npm:nitro-nightly@3x"
  },

Using nitro with other frameworks such as Nuxt:

  "resolutions": {
    "nitropack": "npm:nitropack-nightly@3x"
  },

(use overrides for npm)


Roadmap: (breaking changes) [WIP

  • [x] Remove deprecated exports (63cc133d)
  • [x] Remove runtime/* compatibility exports (23c715aa)
  • [x] Migrate from nitropack to nitro as canonical (context: #2497) (9bdce707cbf1731495c29adc91251b8e6287f832)
  • [x] Remove /* subpath exports (d12305b7c9e6fb1fbcc8e6a1900b556891b5763a)
  • [x] Remove legacy externals (5d54ed1f661a528ca1983cc88543fb2963ed8e1f)
  • [x] Remove legacy webpack dynamic require plugin (ba3ee3c4cb0cdc1e03f5750436a65698c175a674)
  • [x] Enable AsyncContext by default (f7e1c46d529abe6461efe6d09b0e09ca3830a6d8)
  • [x] Remove appConfig support (#2526)
  • [x] Remove legacy fetch polyfill for Node < 18 (#2527)
  • [x] increase generated tsconfig.json strictness (#2533)
  • [ ] Async app+plugins (https://github.com/unjs/nitro/issues/915)
  • [ ] Disable swr by default for cached functions (https://github.com/unjs/nitro/issues/1950)
  • [ ] Migration notes

Dependencies:

pi0 avatar Jun 13 '24 14:06 pi0