Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.12.1
->^6.12.2
^22.7.4
->^22.9.0
^3.13.2
->^3.14.159
^3.4.13
->^3.4.15
Release Notes
nuxt-modules/tailwindcss (@nuxtjs/tailwindcss)
v6.12.2
Compare Source
compare changes
🩹 Fixes
modules:done
serverMiddleware race condition (9d42549)📖 Documentation
🏡 Chore
❤️ Contributors
nuxt/nuxt (nuxt)
v3.14.159
Compare Source
We're leaning into the π theme - future patch releases of this minor version will just continue adding digits. (Sorry for any inconvenience! 😆)
👉 Changelog
compare changes
🩹 Fixes
module.json
(#29793)mlly
to resolve module paths to avoid cjs fallback (#29799)webpack-dev-middleware
(#29806)📖 Documentation
🏡 Chore
❤️ Contributors
v3.14.0
Compare Source
👀 Highlights
Behind the scenes, a lot has been going on in preparation for the release of Nuxt v4 (particularly on the
unjs
side with preparations for Nitro v3!)⚡️ Faster starts powered by
jiti
Loading the nuxt config file, as well as modules and other build-time code, is now powered by
jiti
v2. You can see more about the release in the jiti v2 release notes, but one of the most important pieces is native node esm import (where possible), which should mean a faster start. ✨📂 Shared folder for code and types shared with client/server
You should never import Vue app code in your nitro code (or the other way around). But this has meant a friction point when it comes to sharing types or utilities that don't rely on the nitro/vue contexts.
For this, we have a new
shared/
folder (#28682). You can't import Vue or nitro code into files in this folder, but it produces auto-imports you can consume throughout the rest of your app.If needed you can use the new
#shared
alias which points to this folder.The shared folder is alongside your
server/
folder. (If you're usingcompatibilityVersion: 4
, this means it's not inside yourapp/
folder.)🦀
rspack
builderWe're excited to announce a new first-class Nuxt builder for
rspack
. It's still experimental but we've refactored the internal Nuxt virtual file system to useunplugin
to make this possible.Let us know if you like it - and feel free to raise any issues you experience with it.
👉 To try it out, you can use this starter - or just install
@nuxt/rspack-builder
and setbuilder: 'rspack'
in your nuxt config file.✨ New composables
We have new
useResponseHeader
anduseRuntimeHook
composables (#27131 and #29741).🔧 New module utilities
We now have a new
addServerTemplate
utility (#29320) for adding virtual files for access inside nitro runtime routes.🚧 v4 changes
We've merged some changes which only take effect with
compatibilityVersion: 4
, but which you can opt-into earlier.previously, if you had a component like
~/components/App/Header.vue
this would be visible in your devtools as<Header>
. From v4 we ensure this is<AppHeader>
, but it's opt-in to avoid breaking any manual<KeepAlive>
you might have implemented. (#28745).Nuxt scans page metadata from your files, before calling
pages:extend
. But this has led to some confusing behaviour, as pages added at this point do not end up having their page metadata respected. So we now do not scan metadata before callingpages:extend
. Instead, we have a newpages:resolved
hook, which is called afterpages:extend
, after all pages have been augmented with their metadata. I'd recommend opting into this by settingexperimental.scanPageMeta
toafter-resolve
, as it solves a number of bugs.🗺️ Roadmap to v3.15
They didn't quite make it in time for v3.14 but for the next minor release you can expect (among other things):
✅ Upgrading
As usual, our recommendation for upgrading is to run:
This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
compare changes
🚀 Enhancements
jiti
(#29073)addServerTemplate
utility (#29320)useResponseHeader
composable (#27131)rspack
builder (#29142)pages:resolved
hook + scan meta post extend (#28861)definePageMeta
(#29586)shared/
folder and#shared
alias (#28682)useRuntimeHook
composable (#29741)🔥 Performance
useNuxtApp
(#29514)🩹 Fixes
InjectionType
template conditional (#29023)webpack
memfs (#29027)DOMException
as fetch abort exception (#29058)devServer.https
(#29049)buildDir
in dev mode (#29068)node_modules/
from parent urls (5bd42c893)crossorigin
attribute for stylesheets (#29138)routeRules
to hint pages to prerender (#29172)link:prefetch
(#29321)ConfigLayer
type fromc12
(#29370)typedPages
(#29352)configFile
as required in layer type (3bbcd7d21)createIsExternal
(686be8168)props
value indefinePageMeta
(#29683)nitropack/types
to ensure api routes are typed (54096875e)💅 Refactors
addBuildPlugin
internally (#29157)📖 Documentation
defineNuxtComponent
instead ofdefineComponent
(#29011)useRequestFetch
andevent.$fetch
(#29099)useFetch
errors (#29253)ofetch
headers for interceptors (#29118).env.test
(#29398)mockImplementation()
call (#29669)$fetch
(#29755)--envName
flag (#28909)📦 Build
beasties
(1b5391182)🏡 Chore
unbuild
update (71e0fb06f)jiti.import
(7ece49f9b)✅ Tests
unctx
transform (d81196122)🤖 CI
❤️ Contributors
tailwindlabs/tailwindcss (tailwindcss)
v3.4.15
Compare Source
boxShadow
theme configuration allows arrays (#14856)selection:*
variant works in Chrome 131 (#15003)v3.4.14
Compare Source
Fixed
display: none
on elements that usehidden="until-found"
(#14625)v3.4.13
Compare Source
Fixed
v3.4.12
Compare Source
v3.4.11
Compare Source
v3.4.10
Compare Source
v3.4.9
Compare Source
Fixed
vendor
foldersv3.4.8
Compare Source
v3.4.7
Compare Source
v3.4.6
Compare Source
Fixed
Changed
:is()
wrapping rules when using an important selector (#13900)v3.4.5
Compare Source
v3.4.4
Compare Source
Fixed
<alpha-value>
placeholders in a single color definition (#13740)has-*
,group-has-*
, andpeer-has-*
variants (#13770){col,row}-{start,end}
utilities (#13781)v3.4.3
Compare Source
v3.4.2
Compare Source
Fixed
0,0,1
for button and input Preflight rules (#12735)(
,)
,[
or]
in the file path (#12715):has
rules when usingexperimental.optimizeUniversalDefaults
(#12736)mix-blend-plus-darker
utility (#12923)import.meta.url
in config files (#13322)xx-large
and remove doublex-large
absolute size (#13324)@apply
a class that uses nesting (#13325)important
configuration (#13353)@apply
works correctly with pseudo elements (#13379)v3.4.1
Compare Source
Fixed
calc()
(#12704)class
dark mode strategy (#12717)Added
selector
andvariant
strategies for dark mode (#12717)Changed
rtl
andltr
variants on same element asdir
attribute (#12717)v3.4.0
Compare Source
Added
svh
,lvh
, anddvh
values to defaultheight
/min-height
/max-height
theme (#11317)has-*
variants for:has(...)
pseudo-class (#11318)text-wrap
utilities includingtext-balance
andtext-pretty
(#11320, #12031)opacity
scale to include all steps of 5 (#11832)html
styles to include shadow DOM:host
pseudo-class (#11200)grid-rows-*
utilities from 1–6 to 1–12 (#12180)size-*
utilities (#12287)min-w-*
,min-h-*
, andmax-w-*
utilities (#12300)forced-color-adjust
utilities (#11931)forced-colors
variant (#11694, #12582)appearance-auto
utility (#12404)float
andclear
utilities (#12480)*
variant for targeting direct children (#12551)Changed
sans
font-family stack (#11748)rtl
,ltr
,forced-colors
, anddark
variants (#12584)v3.3.7
Compare Source
Fixed
v3.3.6
Compare Source
Fixed
resolveConfig
(#12272)@config
in CSS when watching via the CLI (#12327)font-feature-settings
formono
are included in Preflight (#12342)@layer
rule (#12508)v3.3.5
Compare Source
Fixed
-
incalc()
expression (#12283)v3.3.4
Compare Source
Fixed
calc()
-like functions (#11686)calc()
normalisation in nestedtheme()
calls (#11705)content
optional for presets in TypeScript types (#11730)too many open files
error (#12079):not(…)
when nested in an at-rule (#12105)Node16
module resolution (#12097)@apply
(#12112)tailwindcss/nesting
(#12269)jiti
,fast-glob
, andbrowserlist
dependencies (#11550)var
injection for properties that accept a<dashed-ident>
(#12236)v3.3.3
Compare Source
Fixed
theme()
insidecalc()
when there are no spaces around operators (#11157)repeating-conic-gradient
is detected as an image (#11180):is
by default (#11345)group
andpeer
variants (#11454)Added
aria-busy
utility (#10966)Changed
<dialog>
elements in preflight (#11069)Configuration
📅 Schedule: Branch creation - "before 4am on Monday" in timezone Asia/Kuala_Lumpur, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.