3.1.2 is a patch release with bug fixes (particularly focusing on performance and DX).
Changelog
🔥 Performance
- nuxt: Simplify generated variable names (#18629)
- vite: Use compiled regexp for test (#18646)
- nuxt: Cache result of importing styles module (#18734)
🩹 Fixes
- nuxt: Provide fallback values for undefined runtime config (#18586)
- kit: Don't use default export of defu (#18589)
- Use named export from
defu
in all places (#18624) - nuxt: Dedupe vue-router (#18626)
- test-utils: Prevent orphaned processes and use baseURL when loading (#18623)
- vite: Ensure
__publicAssetsURL
set before loading assets (#18642) - kit: Avoid adding already installed modules to internal
_installedModules
(#18647) - nuxt: Make
onNuxtReady
safe to run on server-side (#18706) - vite, webpack: Omit magic keys when import of same name is detected (#18733)
📖 Documentation
- Update
vue-gtag
plugin example (#18528) - Mention virtual file system (#18546)
- Mention head composable as alternative to
useHead
(#18552) - Use
defineEventHandler()
to avoid warnings (#18557) - Remove unnecessary
JSON.stringify()
(#18590) - Updated unreachable docus url in documentation (#18618)
- Add link to pages documentation to routing (#18602)
- Add comment about needing to install
@types/node
manually (6b2bc680b) - Add note about directory import (d2c00dc46)
- Fix array syntax (f14f3815f)
- Fix buttons width on getting started (#18643)
- Add
.env
to directory structure and improve config docs (#18594) - Mention options api equivalent for
head()
(#18650) - Fix broken link to esm section (#18716)
- Improve routing
validate
example (#18728)
🏡 Chore
- Update
2.x
branch name (727cf7958)
✅ Tests
- nuxt: Exclude new internal vue
assertNumber
helper (aa646f065)
🤖 CI
- Publish nightly
nuxt-edge
for nuxt v2 (dd0e2643c) - Fix ref for 2.x branch (21badd9f2)
- Allow manually dispatching nightly nuxt2 build (09114125c)
❤️ Contributors
- Daniel Roe daniel@roe.dev
- Aimer-fan
- Rémi Robichet remi.robichet@gmail.com
- Pooya Parsa pyapar@gmail.com
- Florent Delerue florentdelerue@hotmail.com
- Tobias Diez code@tobiasdiez.com
- Jenni jenni@ohsomodern.org
- Arun Govil a.arungovil@gmail.com
- 华晨 hclj37@gmail.com
- Inesh Bose
- Theo Ephraim theozero@gmail.com