github nuxt/framework v3.0.0-rc.2

latest releases: v3.0.0, v3.0.0-rc.14, v3.0.0-rc.13...
2 years ago

🐛 Heads up! There are some known regressions with this release. Please keep using RC.1 if affected or switch to edge-channel temporarily.

  • Navigating to a URL with query string gets redirected to a URL stripped off the query (#4766) (fixed by #4770)
  • Cannot resolve a relative location without an absolute path. Trying to resolve "" from "" (#4778) (fixing by #4781)

🩹 Fixes

Nuxt

  • #4491 Await for router.push on ssr
  • #4626 Cleanup auto imports on regenerate
  • #4590 Warn to provide a key for useFetch with transform option
  • #4677 Use suspense for child pages on client-side navigation
  • #4666 Mark config head as non-reactive
  • #4210 Improve error types for useAsyncData and useFetch
  • #4645 Process middleware after plugins
  • #4755 Preserve error.data in response

CLI

  • #4595 Don't strip file extensions from dirs in tsconfig
  • #4685 Typo in init message
  • #4612 Improve nuxi init output

Schema

  • #4695 Decrease recursion on DeepPartial

Vite

  • #4512 Transform virtual templates
  • #4442 Use single regex to reduce risk of collisions
  • #4596 Don't match across newlines

✨ Features

Nitro

  • #4304 Add nitro:build:before hook

Pages

  • ⚠️ #4537 Explicitly allow optional params with [[

General

  • #4509 Allow disabling sourcemap generation

📖 Documentation

General

  • #4502 Update migration guide
  • #4506 Simplify example of Head components
  • #4519 Remove duplicate entry for default option
  • #4510 Update stackblitz links
  • #4485 Fix 'alias' usage
  • #4499 Improve netlify deployment
  • #4401 Improve server routes guide
  • #4573 Update environment variable in example
  • #4593 Add layout to match custom header example
  • #4603 Fix some minor typos
  • #4608 Fix typo
  • #4617 Fix typo
  • #4616 Make titleTemplate function form example clearer
  • #4640 Add note and banner about edge channel
  • #4653 Fix edge alert syntax
  • #4679 Fix typos
  • #4675 Add notes about auto imports from composables/ directory
  • #4715 Fix incorrect function declaration in composables
  • #4714 Add note that .env is not read in production
  • #4742 Make useFetch example consistent with others

Features

  • #4563 Complete assets page

Typescript

Migration

  • #4642 Update to use new runtimeConfig

Readme

Concepts

API

  • #4549 Fix useAsyncData example

🏡 Chore

General

  • #4453 Setup IssueUp
  • #4664 Enable typecheck ci for packages

Docs

  • #4577 Update social card

⚠️ Breaking Changes

  • #4537 Explicitly allow optional params with [[

If you are relying on [slug] at the end of a route to generate an optional parameter, you will need to rewrite it as [[slug]].

❤️ New Contributors

Don't miss a new framework release

NewReleases is sending notifications on new releases.