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:
1.0.0-beta.19
->1.2.1
^3.7.4
->^3.14.159
^3.7.4
->^3.14.159
^1.0.0
->^1.0.2
^1.0.0
->^1.0.2
^20.8.2
->^20.17.6
^9.2.0
->^9.8.1
^8.50.0
->^8.57.1
^2.9.0
->^2.11.1
^5.2.2
->^5.6.3
^1.5.0
->^1.16.0
Release Notes
antfu/eslint-config (@antfu/eslint-config)
v1.2.1
Compare Source
🐞 Bug Fixes
@stylistic/eslint-plugin
- by @antfu (e71ec)View changes on GitHub
v1.2.0
Compare Source
🚀 Features
View changes on GitHub
v1.1.4
Compare Source
🐞 Bug Fixes
eslint-plugin-antfu
- by @antfu (c0700)View changes on GitHub
v1.1.3
Compare Source
🚀 Features
antfu/indent-binary-ops
- by @antfu (d36c4)🐞 Bug Fixes
no-lone-blocks
in markdown - by @antfu (cce69)View changes on GitHub
v1.1.2
Compare Source
🐞 Bug Fixes
View changes on GitHub
v1.1.1
Compare Source
🚀 Features
🐞 Bug Fixes
import/newline-after-import
in markdown - by @antfu (23351)View changes on GitHub
v1.1.0
Compare Source
🚨 Breaking Changes
sort-keys
plugin toperfectionist
, close #295 - by @antfu in https://github.com/antfu/eslint-config/issues/295 (9fa74)🐞 Bug Fixes
style/object-property-newline
in favor ofantfu/consistent-list-newline
- by @antfu (2f51b)View changes on GitHub
v1.0.0
Compare Source
Breaking Changes
@antfu/eslint-config-*
are packages all dropped, as@antfu/eslint-config
provides much better composability now.@antfu/eslint-config-react
is removed, but JSX formatting support is enabled by default now.ESLINT_TSCONFIG
no longer works, use thetypescript
option ineslint.config.js
instead@typescript-eslint/*
->ts/
n/*
->node/*
Generated changelog:
🚨 Breaking Changes
typescriptWithLanguageServer
totypescriptWithTypes
- by @antfu (ffe00)yml/
toyaml/
- by @antfu (917dd)typescriptWithTypes
totypescript
- by @antfu (3fae7)🚀 Features
combine
util - by @antfu (000a2)antfu/consistent-object-newline
- by @antfu (e3b3a).gitignore
by default, close #254 - by @antfu in https://github.com/antfu/eslint-config/issues/254 (2f35d)componentExts
to top level config - by @antfu (2080b)eslint-plugin-vitest
- by @antfu (002bb)name
for each config item - by @antfu (d4cfe)style/jsx-quotes
rule - by @antfu (5291c)antfu/
- by @antfu (64e3f)reportUnusedDisableDirectives
- by @antfu (6320c)no-import-type-side-effects
, close #227 - by @antfu in https://github.com/antfu/eslint-config/issues/227 (cb4b7)sort-keys
plugin - by @antfu (f8ae1)🐞 Bug Fixes
ts/no-invalid-void-type
- by @antfu (db397)comma-dangle
in markdown - by @antfu (34bbd)jsdoc/no-types
rule - by @antfu (91dee)style/quotes
- by @antfu (5f554)Function
type forts/ban-types
- by @antfu (6a4cf)jsdoc/valid-types
- by @antfu (d1024)no-restricted-syntax
in d.ts - by @antfu (d98a8)extraFileExtensions
to type aware rules - by @antfu (0a9bc)no-void
rule, close #298 - by @antfu in https://github.com/antfu/eslint-config/issues/298 (90b36)style/jsx-child-element-spacing
to avoid conflicts - by @antfu (f4a07)avoidEscape
for consistency - by @antfu (47657)prefer-text-content
-> `prefer-dom-node-text-c… - by @coderwyd in https://github.com/antfu/eslint-config/issues/271 (87282)View changes on GitHub
v1.0.0-beta.29
Compare Source
🐞 Bug Fixes
no-void
rule, close #298 - by @antfu in https://github.com/antfu/eslint-config/issues/298 (90b36)View changes on GitHub
v1.0.0-beta.28
Compare Source
🐞 Bug Fixes
extraFileExtensions
to type aware rules - by @antfu (0a9bc)View changes on GitHub
v1.0.0-beta.27
Compare Source
🚀 Features
sort-keys
plugin - by @antfu (f8ae1)View changes on GitHub
v1.0.0-beta.26
Compare Source
🐞 Bug Fixes
style/jsx-child-element-spacing
to avoid conflicts - by @antfu (f4a07)View changes on GitHub
v1.0.0-beta.25
Compare Source
🚀 Features
no-import-type-side-effects
, close #227 - by @antfu in https://github.com/antfu/eslint-config/issues/227 (cb4b7)View changes on GitHub
v1.0.0-beta.24
Compare Source
🚀 Features
View changes on GitHub
v1.0.0-beta.22
Compare Source
🚀 Features
🐞 Bug Fixes
prefer-text-content
-> `prefer-dom-node-text-c… - by @coderwyd in https://github.com/antfu/eslint-config/issues/271 (87282)View changes on GitHub
v1.0.0-beta.21
Compare Source
🐞 Bug Fixes
no-restricted-syntax
in d.ts - by @antfu (d98a8)View changes on GitHub
nuxt/nuxt (@nuxt/kit)
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
v3.13.2
Compare Source
✅ 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
🔥 Performance
🩹 Fixes
propsDestructure
by default (#28830)route
has enumerable keys (#28841)asyncData
(#28842)ssr: false
(#28834)injectAtEnd
to reduce circular auto-imports (#28822)buildDir
for unimport (#28899)<NuxtErrorBoundary>
(#28901)modules
array (#28922)filePath
(#28925)runWithContext
generic (#28926)inheritAttrs: false
for fragment components (#28939)<script>
blocks (4fd24381c)Configuration
📅 Schedule: Branch creation - "every 8 months on the first day of the month" (UTC), 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.