nuxt
nuxt copied to clipboard
v2.16.0
$ You can try changes by using
nuxt-edge
package
🚀 Enhancements
-
config: Support
nuxtrc
in dist directory (#9280) -
generator: Add
ignoreEnv
generate option duringensureBuild
(#8955) -
server: Allow disabling
serve-static
middleware (#9365) -
vue-app:
context.beforeSerialize
method (#9332) -
vue-app: Pass
store
tocreateRouter
(#9629) - Default to
core-js
version to `3`` (#9987) - Updated dependencies (#10510)
🩹 Fixes
-
vue-app: Respect
scroll-margin-top
when navigating with hash (#9187) -
webpack: Use
javascript/auto
for js rule (#9180) - server: Unregister error event listener (#9245)
- babel-preset-app: Respect explicit options.targets for modern preset (#9337)
-
vue-renderer: Decode route path for
payload.js
(#9494) - vue-app: Redirect to external url replaces current history entry (#9500)
-
utils:
trailingSlash
causes error with dynamic nuxt-child routes (#9505) - vue-app: Re-register components construtor in HMR (#9539)
- vue-app: Serialize route meta to allow functions (#9634)
-
vue-app:
null
check for$root
access (#9150) - vue-app: Don't normalise route path if it's valid (#9460)
-
generator: Allow passing
builder
togetGenerator
(#9574) - generator: Throw an error when Builder is missing (#9663)
-
vue-app: Use correct
$config
for finding basePath (#9706) - vue-renderer: Ensure custom build indicator preserves some whitespace (#9705)
-
generator: Decode path with
ufo
(#9739) - cli: Ensure nuxt instance is closed when skipping build (3e9d7e3e)
-
vue-app: Fix typo for
nuxt-child-key
in `web-types.json`` (#9792) - vue-app: Call ssrContext.unsetMutationObserver only if it exists (#10132)
-
webpack: Allow files with
.cjs
extension to be transpiled (#10340) - vue-app: Preview mode fetch (#10489)
🏡 Chore
-
pkg: Build for
ES2019
target (#9328) - test: Revert jest and babel-jest to 26 (#9377)
-
utils: Improve
stripWhitespace
utility (#9668) - doc: Fix link to contribution guide (#9815)
- test: Fix external redirect link (#9816)
- readme: Fix browserstack and saucelabs icons (#10068)
🌊 Types
- Add
prefetchPayloads
to router options (#9715) - Add
asyncData
return types to component instance type (#9239) - Add nuxt.config alias type (#9424)
- Add
onNuxtLoaded
andonNuxtReady
types (#9510) - Add typing for
build.stats
options (#9555) - Return type of
$fetch
(#9854) - Add types for new
false
option forrender.static
(#9372)
💖 Thanks to
- Abdfn
- Aewshyae
- Ahmadou Waly NDIAYE
- Andrew Luca (@iamandrewluca)
- Carbotaniuman (@carbotaniuman)
- Daniil Okhlopkov
- David Ovčačík (@dovca)
- Jacob
- Jon-ht
- K-utsumi
- Loick Le Digabel
- Matteo Rigon
- Matthieu Sieben (@matthieusieben)
- Mehmet
- Michał Kędrzyński
- Michiel Doesburg
- Mohammad Saleh Fadaei (@ms-fadaei)
- Mrazauskas (@mrazauskas)
- Ofer Shaal (@shaal)
- Payel Karmakar (@PayelKarmakar06)
- Rafał Chłodnicki
- Renovate[bot]
- @SlayerOfTheBad
- Thibault Vlacich
- William L'Archeveque (@wlarch)
Codecov Report
Merging #9660 (54e852f) into 2.x (4f370e2) will decrease coverage by
0.88%
. The diff coverage is64.86%
.
@@ Coverage Diff @@
## 2.x #9660 +/- ##
==========================================
- Coverage 66.08% 65.19% -0.89%
==========================================
Files 93 94 +1
Lines 4034 4155 +121
Branches 1105 1172 +67
==========================================
+ Hits 2666 2709 +43
- Misses 1105 1167 +62
- Partials 263 279 +16
Flag | Coverage Δ | |
---|---|---|
unittests | 65.19% <64.86%> (-0.89%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
packages/babel-preset-app/src/index.js | 0.00% <0.00%> (ø) |
|
packages/cli/src/utils/generate.js | 0.00% <0.00%> (ø) |
|
packages/config/src/config/_common.js | 100.00% <ø> (ø) |
|
packages/config/src/config/generate.js | 100.00% <ø> (ø) |
|
packages/generator/src/index.js | 0.00% <0.00%> (ø) |
|
packages/utils/src/lang.js | 100.00% <ø> (ø) |
|
packages/utils/src/route.js | 86.50% <0.00%> (+0.25%) |
:arrow_up: |
packages/vue-renderer/src/renderer.js | 0.00% <0.00%> (ø) |
|
packages/vue-renderer/src/renderers/ssr.js | 0.00% <0.00%> (ø) |
|
packages/generator/src/generator.js | 82.88% <66.66%> (+0.63%) |
:arrow_up: |
... and 35 more |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Please consider updating to TS 4.4 in 2.16.0
Any estimate release date for this version ?
Any news about this release? 🙏
Hi Guys, Any chance to provide an estimated time for launching this release? Regards
Three months ago I have asked you to upgrade to TS 4.4.
You did that, now, TS 4.5 released, and 2.16.0 still not released ;(
Please update to TS 4.5
Hi there.
Sorry for pinging you guys but I was just wondering if there are expectations of when this version will get released? We found some annoying issues that can only be resolved by the two new features planned for the vue-app
package in this release and it would help us tremendously to have them.
Is there any way we can help?
Hi guys. First, I wish you all a happy new year 🎉
This PR is now pending for about 2 months, and we have no information about the future of this version 2. Nuxt v3 is still not ready for production, and this version is becoming more and more obsolete due to the evolution of other tools like Vue, Typescript, Webpack, Stylelint...
If there is a way for us to help, I'm sure many would volunteer, even though it seems like only the administrative actions are missing.
I've got some answer from Nuxt's Framework Lead pi0 (thanks him so much).
Looks like the package will be maintained as edge version for a while until it (and Nuxt 3) becomes stable and we'll have to wait for good reason.
Is anything known about this version? According to the roadmap it should be released already: https://v3.nuxtjs.org/community/roadmap/
You did that, now, TS 4.5 released, and 2.16.0 still not released ;(
This aged well
Is anything known about this version? According to the roadmap it should be released already: v3.nuxtjs.org/community/roadmap
The date has changed several times, it was scheduled for March the last time I saw it 😕 It seems that having a stable version of Nuxt has not been a priority since November.
I tried offering my support (https://github.com/nuxt/framework/discussions/4761) but currently receive no more replies from @pi0 sadly (there has been one though 🤗). It seems to me work overloads the Nuxt team so much that there is not even time to stack up their team, which is a pity. So many open source projects get into such a deadlock easily.
Hi dear @dargmuesli. I've just messaged you on discord sorry for the delay! Also, we do plan to release 2.16 in the upcoming weeks aligning with a first beta version of nuxt bridge with @danielroe to advise using 2.16 in production! Stay tuned!
@pi0 Hi Pooya. The Nuxt 2.16 will use the Vue 2.7 or not? Is there a plan to use The Vue 2.7 in the upcoming Nuxt 2 versions?
@lesion you shouldn't use node 12. It's end of life since april 2022. https://nodejs.org/de/about/releases/
So little is missing... does anything know when to expect the release?
Quick question: is this gonna be released one day or not ?
@noook just use nuxt-bridge Since 2.16 is somehow a backport release of nuxt 3 it should become ready after nuxt 3 and nuxt-bridge became ready
I wonder if we'll see "December 2022" here :(
@pi0 Hi, any estimates on the release date for this?
Subscribe this PR for updates: https://github.com/nuxt/bridge/pull/648
Subscribe this PR for updates: nuxt/bridge#648
Isn't that a PR for nuxt-bridge?
And 2.16 is a backport of 3.
This was a historic MR
Remade -> https://github.com/nuxt/nuxt.js/pull/10907
For more info on the repository changes happening at the moment, see https://nuxt.com/vision-2023 and https://github.com/nuxt/framework/issues/10147.