chore(deps): update all non-major dependencies #807
Merged
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:
^3.4.0
->^3.5.1
0.2.1
->0.3.1
^18.15.11
->^18.16.15
^3.0.1
->^3.1.0
8.38.0
->8.41.0
^1.6.4
->^1.6.6
1.0.0
->1.1.0
^1.1.0
->^1.1.1
^3.4.0
->^3.5.1
^1.0.0
->^1.1.2
^1.1.1
->^1.1.2
Release Notes
nuxt/nuxt
v3.5.1
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
/
route (#20894)useFetch
method when generic is passed (#20797)refresh
when hydrating when data is present (#20916)default
type for initial value for composables (#20968)resolvePath
to handle edge cases for modules (#20975)📖 Documentation
pnpm test
command to run whole test suite (4907660ff)experimental.renderJsonPayloads
(891ba880e)useAsyncData
anduseFetch
types (#20935)useState
(#20249)pages/
docs (#20976)🏡 Chore
🤖 CI
❤️ Contributors
v3.5.0
Compare Source
👀 Highlights
⚡️ Vue 3.3 released!
Vue 3.3 has been released, with lots of exciting features, particularly around type support. This also brings a significant improvement to data fetching when navigating between nested pages (https://github.com/nuxt/nuxt/pull/20777), thanks to @antfu and @baiwusanyu-c.
defineOptions
macroRead the full release announcement for more details.
🙌 Nitropack v2.4
We've been working on lots of improvements to Nitro and these have landed already in Nitro v2.4 - you may already have this upgrade, which contains a lot of bug fixes, updates to the module worker format for Cloudflare, Vercel KV support and more.
One note: if you're deploying to Vercel or Netlify and want to benefit from incremental static regeneration, you should now update your route rules:
Read the full release notes.
💖 New defaults
Rich JSON payload serialisation is now enabled by default (https://github.com/nuxt/nuxt/pull/19205, https://github.com/nuxt/nuxt/pull/20770). This is both faster and allows serialising complex objects in the payload passed from the Nuxt server to client (and also when extracting payload data for prerendered sites).
This now means that various rich JS types are supported out-of-the-box: regular expressions, dates, Map and Set and BigInt as well as NuxtError - and Vue-specific objects like
ref
,reactive
,shallowRef
andshallowReactive
.You can find an example in our test suite.
This is all possible due to Rich-Harris/devalue#58. For a long time, Nuxt has been using our own fork of devalue owing to issues serialising Errors and other non-POJO objects, but we now have transitioned back to the original.
You can even register your own custom types with a new object-syntax Nuxt plugin:
You can read more about how this works here.
🛝 Interactive server components
This feature should be considered highly experimental, but thanks to some great work from @huang-julien we now support interactive content within server components via slots (https://github.com/nuxt/nuxt/pull/20284).
You can follow the server component roadmap at https://github.com/nuxt/nuxt/issues/19772.
⏰ Environment config
You can now configure fully typed, per-environment overrides in your
nuxt.config
:If you're authoring layers, you can also use the
$meta
key to provide metadata that you or the consumers of your layer might use.Read more: https://github.com/nuxt/nuxt/pull/20329.
💪 Fully typed pages
You can benefit from fully typed routing within your Nuxt app via this experimental integration with https://github.com/posva/unplugin-vue-router - thanks to some great work from @posva! Out of the box, this will enable typed usage of
navigateTo
,<NuxtLink>
,router.push()
and more. You can even get typed params within a page by usingconst route = useRoute('route-name')
.🔎 'Bundler' module resolution
We now have full support within Nuxt for the
bundler
strategy of module resolution. We would recommend adopting this if possible. It has type support for subpath exports, for example, but more exactly matches the behaviour of build tools like Vite and Nuxt thanNode16
resolution.This turns on TypeScript's ability to 'follow' Node subpath exports. For example, if a library has a subpath export like
mylib/path
that is mapped tomylib/dist/path.mjs
then the types for this can be pulled in frommylib/dist/path.d.ts
rather than requiring the library author to createmylib/path.d.ts
.⚗️ Separate server types
We plan to improve clarity within your IDE between the 'nitro' and 'vue' part of your app, and we've shipped the first part of this via a separate generated
tsconfig.json
for your~/server
directory (https://github.com/nuxt/nuxt/pull/20559). You can use by adding an additional~/server/tsconfig.json
with the following content:Although right now these values won't be respected when type checking, you should get better type hints in your IDE.
💀 Deprecations
Although we have not typed or documented the
build.extend
hook from Nuxt 2, we have been calling it within the webpack builder. We are now explicitly deprecating this and will remove it in a future minor version.✅ 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
prepend
option toaddImportsDir
(#20307)vite:configResolved
hook (#20411)webpack:configResolved
hook (#20412)addVitePlugin
andaddWebpackPlugin
(#20525)nuxi analyze
from cli (#20387)nuxtApp.runWithContext
(#20608)typedPages
option (#20367)runWithContext
withincallWithNuxt
(#20775)useRequestURL
helper (#20765)<DevOnly>
(#20817)addBuildPlugin
for builder-agnostic implementation (#20587)NuxtClientFallback
(#20336)🩹 Fixes
@nuxt/devtools
module before core modules (#20595)<FragmentWrapper>
(#20607)useError
is called with nuxt app context (#20585)nuxt_component
ssr style andisVue
(#20679)build.extend
hook (#20605)fs.allow
dirs to include app files (#20755).env
changes (#20501)<DevOnly>
from parsed html (#20840)pages:extend
to enable pages module (#20806)scrollBehavior
(#20859)💅 Refactors
runtimeCompiler
option out of experimental (#20606)resolvePath
(#20756)📖 Documentation
useCookie
does not share state (#20665)navigateTo
examples (#20678)useSeoMeta
anduseServerSeoMeta
pages (#20656)<NuxtLayout>
when migratingerror.vue
(#20690)await
before lazy composable examples (7e7e006e9)pinia
(#20778)🏡 Chore
markdownlint-cli
update and prevent auto-update (675445f98)@ts-ignore
(4f0d3d4ae).only
in tests (ad97cb45a).mjs
files (#20711)pnpm-workspace.yaml
(#20751)externalVue
removal (a33d2e7ae)✅ Tests
🤖 CI
❤️ Contributors
v3.4.3
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
🩹 Fixes
timeEnd
unless we're debugging (#20424)<ClientOnly>
(f1ded44e8)event.node.req
in cookie utility (#20474)devServer.https: true
(#20498)/__nuxt_error
directly (#20497)callAsync
for executing hooks with context (#20510)app:error
in SSR before rendering error page (#20511)asyncData
(#20535)#components
imports into direct component imports (#20547)RenderResponse
for redirects (#20496)📖 Documentation
vue-router
docs (#20454)✅ Tests
🤖 CI
nuxt-edge
with provenance (753c4c2a3)❤️ Contributors
v3.4.2
Compare Source
✨ What's new?
Apart from the normal bug fixes, we have a couple things we should call out.
@parcel/watcher
for the Nuxt dev watcher (#20179). This may improve performance if you're on Windows. You'll probably also want to installwatchman
in that case.✅ 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
@parcel/watcher
for dev watcher (#20179)🩹 Fixes
useRequestHeaders
keys as optional (#20286)@jest/globals
(#20360)rootDir
when preparing project (#20401)💅 Refactors
isJS
andisVue
utilities consistently (#20344)isFileServingAllowed
util (#20414)📖 Documentation
🏡 Chore
@ts-ignore
and fix some issues (#20273)🤖 CI
❤️ Contributors
v3.4.1
Compare Source
👉 Changelog
compare changes
🩹 Fixes
ssrContext
in spa renderer (#20216)<NuxtClientFallback>
(#20237)vue-router
normalises url (#20247)📖 Documentation
transform
/pick
(#20186)✅ Tests
❤️ Contributors
unjs/consola
v3.1.0
Compare Source
compare changes
🚀 Enhancements
fancy
option forcreateConsola
and improve docs (#177)/basic
,/core
and/browser
subpath exports (#178)🏡 Chore
❤️ Contributors
v3.0.2
Compare Source
compare changes
🩹 Fixes
mockTypes
: Mock onoptions.typs
(f9d86b6).raw
for types (dfb976f)💅 Refactors
🏡 Chore
codecov.yml
(1f50123)❤️ Contributors
eslint/eslint
v8.41.0
Compare Source
Features
880a431
feat: change default ignore pattern to**/node_modules/
in flat config (#17184) (Milos Djermanovic)8bf5505
feat: exposeshouldUseFlatConfig
(#17169) (Connor Prussin)Bug Fixes
4f5440d
fix: incorrect warning message for ignored dotfiles (#17196) (Milos Djermanovic)94da96c
fix: unifyLintMessage
type (#17076) (Brandon Mills)0c415cd
fix: validateignorePatterns
constructor option inFlatESLint
class (#17139) (Milos Djermanovic)9682d66
fix: switchgrapheme-splitter
tographemer
(#17160) (fisker Cheung)Documentation
7709b14
docs: Update README (GitHub Actions Bot)7f183e0
docs: Update triage process description (#17157) (Nicholas C. Zakas)b68346b
docs: fix license to reflect relicensing of jshint (#17165) (Stefan Bischof)Chores
f43216a
chore: upgrade @eslint/js@8.41.0 (#17200) (Milos Djermanovic)95c3007
chore: package.json update for @eslint/js release (ESLint Jenkins)ddc5291
chore: don't use deprecatedcontext
methods inast-utils
tests (#17194) (Milos Djermanovic)b1516db
chore: Fix return type offindFlatConfigFile
(#17161) (Milos Djermanovic)918b0fd
perf: Store indent descriptors in a plain array (#17148) (Francesco Trotta)4caa344
refactor: locateConfigFileToUse returns an Error object (#17159) (唯然)v8.40.0
Compare Source
Features
5db7808
feat: improve flat config errors for invalid rule options and severities (#17140) (Josh Goldberg ✨)f5574dc
feat: Add findConfigFile() method to FlatESLint (#17142) (Nicholas C. Zakas)e52b98b
feat: addsourceCode
property to the rule context (#17107) (Nitin Kumar)1468f5b
feat: addphysicalFilename
property to the rule context (#17111) (Nitin Kumar)0df4d4f
feat: addcwd
to rule context (#17106) (Nitin Kumar)52018f2
feat: addfilename
property to the rule context (#17108) (Nitin Kumar)559ff4e
feat: add newomitLastInOneLineClassBody
option to thesemi
rule (#17105) (Nitin Kumar)Bug Fixes
f076e54
fix: Ensure FlatESLint#findConfigFile() doesn't throw. (#17151) (Nicholas C. Zakas)Documentation
e980bf3
docs: Update README (GitHub Actions Bot)e92a6fc
docs: Update README (GitHub Actions Bot)af5fe64
docs: Fix custom rule schema docs (#17115) (Adam Jones)4a352a9
docs: explain how to include predefined globals (#17114) (Marcus Wyatt)5ea15d9
docs: add mastodon link in readme (#17110) (唯然)Chores
4053004
chore: upgrade @eslint/js@8.40.0 (#17156) (Milos Djermanovic)50fed1d
chore: package.json update for @eslint/js release (ESLint Jenkins)4c7a170
chore: upgrade @eslint/eslintrc@2.0.3 (#17155) (Milos Djermanovic)e80b7cc
chore: upgrade espree@9.5.2 (#17154) (Milos Djermanovic)ce3ac91
chore: upgrade eslint-visitor-keys@3.4.1 (#17153) (Milos Djermanovic)9094d79
chore: addlatest/
tometa.docs.url
in all core rules (#17136) (Milos Djermanovic)d85efad
perf: don't usegrapheme-splitter
on ASCII strings in key-spacing rule (#17122) (Milos Djermanovic)v8.39.0
Compare Source
Features
3f7af9f
feat: ImplementSourceCode#markVariableAsUsed()
(#17086) (Nicholas C. Zakas)Documentation
6987dc5
docs: Fix formatting in Custom Rules docs (#17097) (Milos Djermanovic)4ee92e5
docs: Update README (GitHub Actions Bot)d8e9887
docs: Custom Rules cleanup/expansion (#16906) (Ben Perlmutter)1fea279
docs: Clarify how to add to tsc agenda (#17084) (Nicholas C. Zakas)970ef1c
docs: Update triage board location (Nicholas C. Zakas)6d8bffd
docs: Update README (GitHub Actions Bot)Chores
60a6f26
chore: upgrade @eslint/js@8.39.0 (#17102) (Milos Djermanovic)d5ba5c0
chore: package.json update for @eslint/js release (ESLint Jenkins)f57eff2
ci: run tests on Node.js v20 (#17093) (Nitin Kumar)9d1b8fc
perf: Binary search in token storeutils.search
(#17066) (Francesco Trotta)07a4435
chore: Add request for minimal repro to bug report (#17081) (Nicholas C. Zakas)eac4943
refactor: remove unnecessary use ofSourceCode#getAncestors
in rules (#17075) (Milos Djermanovic)0a7b60a
chore: update description ofSourceCode#getDeclaredVariables
(#17072) (Milos Djermanovic)6e2df71
chore: remove unnecessary references to the LICENSE file (#17071) (Milos Djermanovic)unjs/h3
v1.6.6
Compare Source
compare changes
🩹 Fixes
x-forwarded-host
support opt-in (2fce169)event.path
(981c89f)🏡 Chore
✅ Tests
getRequestURL
(d510483)❤️ Contributors
v1.6.5
Compare Source
compare changes
🩹 Fixes
🏡 Chore
❤️ Contributors
unjs/ipx
v1.1.0
Compare Source
compare changes
🚀 Enhancements
sigma
parameter forblur
operation (#124)🏡 Chore
❤️ Contributors
v1.0.1
Compare Source
compare changes
unjs/node-fetch-native
v1.1.1
Compare Source
compare changes
🩹 Fixes
ef92a04
)🏡 Chore
ec40196
)00199b3
)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 has been generated by Mend Renovate. View repository job log here.