chore(deps): update all non-major dependencies #66
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:
^8.40.0
->^8.41.0
^3.4.3
->^3.5.1
^0.4.0
->^0.4.1
Release Notes
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) (唯然)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
nuxt-modules/icon
v0.4.1
Compare Source
5f35509
)fd3e1f7
)8b4f2a1
)0c46098
)ca02868
)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.