Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major dependencies #318

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 19, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@antfu/eslint-config ^2.6.3 -> ^2.6.4 age adoption passing confidence
@babel/types (source) ^7.23.6 -> ^7.23.9 age adoption passing confidence
@iconify-json/heroicons ^1.1.19 -> ^1.1.20 age adoption passing confidence
@iconify-json/ph ^1.1.10 -> ^1.1.11 age adoption passing confidence
@iconify-json/simple-icons ^1.1.89 -> ^1.1.92 age adoption passing confidence
@nuxt/content (source) ^2.11.0 -> ^2.12.0 age adoption passing confidence
@nuxt/ui (source) 2.12.3 -> 2.13.0 age adoption passing confidence
@​nuxt/ui-pro 0.7.3 -> 0.7.5 age adoption passing confidence
@nuxtjs/seo (source) 2.0.0-rc.5 -> 2.0.0-rc.8 age adoption passing confidence
@vue/server-renderer (source) ^3.4.15 -> ^3.4.19 age adoption passing confidence
@vueuse/nuxt (source) ^10.7.2 -> ^10.8.0 age adoption passing confidence
magic-string ^0.30.5 -> ^0.30.7 age adoption passing confidence
nuxt (source) 3.9.3 -> 3.10.2 age adoption passing confidence
pnpm (source) 8.14.3 -> 8.15.3 age adoption passing confidence
ufo ^1.3.2 -> ^1.4.0 age adoption passing confidence
unplugin ^1.6.0 -> ^1.7.1 age adoption passing confidence
vitest (source) ^1.2.1 -> ^1.3.1 age adoption passing confidence
vue (source) ^3.4.15 -> ^3.4.19 age adoption passing confidence

Release Notes

antfu/eslint-config (@​antfu/eslint-config)

v2.6.4

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub
babel/babel (@​babel/types)

v7.23.9

Compare Source

🐛 Bug Fix
  • babel-helper-transform-fixture-test-runner, babel-plugin-transform-function-name, babel-plugin-transform-modules-systemjs, babel-preset-env
  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators
  • babel-plugin-proposal-decorators, babel-plugin-transform-async-generator-functions, babel-plugin-transform-runtime, babel-preset-env
  • babel-traverse
  • Other
🏠 Internal
🏃‍♀️ Performance
🔬 Output optimization
  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-class-properties, babel-plugin-transform-class-static-block, babel-plugin-transform-new-target, babel-plugin-transform-parameters, babel-plugin-transform-private-methods, babel-preset-env
  • babel-helpers, babel-plugin-proposal-explicit-resource-management, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime
nuxt/content (@​nuxt/content)

v2.12.0

Compare Source

compare changes

🚀 Enhancements
🔥 Performance
  • content-list: Cache contents list during generation and per-request (#​2527)
🩹 Fixes
  • module: Handle former props in ContentSlot transformer (#​2525)
  • client-db: Fetch dir config on legacy query (4b9b6b7a)
  • navigation: Ignore extensions on navigation sort (#​2529)
📖 Documentation
🏡 Chore
❤️ Contributors
nuxt/ui (@​nuxt/ui)

v2.13.0

Compare Source

⚠ BREAKING CHANGES
  • VerticalNavigation: use Badge component for consistency
Features
  • Carousel: new component (#​927) (f37b043)
  • Dropdown: default delay from config (c4a1c04)
  • Form: handle multiple paths in validate (#​1273) (20ac4b3)
  • HorizontalNavigation: new component (#​1279) (b8007ba)
  • InputMenu: handle nullable prop when clearing input (5e49fb8)
  • Modal/Slideover: emit close-prevented event (#​1207) (6faf15b)
  • module: add option to disable global css styles (#​1266) (f96eb5e)
  • Popover: default delay from config (7f5711b)
  • Tooltip: default delay from config (3400b56)
  • VerticalNavigation: use Badge component for consistency (3e81eee)
Bug Fixes
  • Breadrumb: handle truncate (5d3a962)
  • Link: propagate active prop to slot as isActive (b76e761)
  • Select: consistent placeholder with input and textarea (2cb41db), closes #​1276
  • Slideover: handle translate in RTL mode (#​1259) (ea58c88)
harlan-zw/nuxt-seo (@​nuxtjs/seo)

v2.0.0-rc.8

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v2.0.0-rc.7

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v2.0.0-rc.6

Compare Source

   🐞 Bug Fixes
    View changes on GitHub
vuejs/core (@​vue/server-renderer)

v3.4.19

Compare Source

Bug Fixes
Features

Note: this warning is categorized as a feature but released in a patch because it does not affect public APIs.

Performance Improvements

v3.4.18

Compare Source

Bug Fixes

v3.4.17

Compare Source

Reverts

v3.4.16

Compare Source

Bug Fixes
Reverts
vueuse/vueuse (@​vueuse/nuxt)

v10.8.0

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub
rich-harris/magic-string (magic-string)

v0.30.7

Compare Source

Features

v0.30.6

Compare Source

Features
nuxt/nuxt (nuxt)

v3.10.2

Compare Source

3.10.2 is a regularly-scheduled patch release.

✅ Upgrading

As usual, our recommendation for upgrading is to run:

nuxi upgrade --force

This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the vue and unjs ecosystems.

👉 Changelog

compare changes

🩹 Fixes
  • nuxt: Export refreshCookie (#​25635)
  • nuxt: Allow prefetching urls with query string (#​25658)
  • nuxt: Remove undefined keys in route object (#​25667)
  • vite: Treat .pcss extension as a CSS extension (#​25673)
  • nuxt: Don't check for layout/page with <ClientOnly> (#​25714)
  • vite: Strip query strings for style chunk filenames (#​25764)
  • nuxt: Inline entry styles before component styles (#​25749)
  • vite: Optimise layer dependencies with vite (#​25752)
  • nuxt: Don't add extra baseURL on server useRequestURL (#​25765)
  • schema: Use rootDir, not process.cwd, for modulesDir (#​25766)
  • nuxt: Only warn for useId if attrs were not rendered (#​25770)
  • kit: Don't mutate existing component entry when overriding (#​25786)
📖 Documentation
🏡 Chore
  • schema: Add missing closing code block (#​25641)
❤️ Contributors

v3.10.1

Compare Source

3.10.1 is a regularly-scheduled patch release.

✅ Upgrading

As usual, our recommendation for upgrading is to run:

nuxi upgrade --force

This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the vue and unjs ecosystems.

👉 Changelog

compare changes

🔥 Performance
  • nuxt: Clear route meta build cache when pages change (#​25514)
🩹 Fixes
  • nuxt: Fix syntax error when serializing route meta (#​25515)
  • nuxt: Only request animation frame on client (#​25569)
  • schema: Correctly set value for app.viewTransition (#​25581)
  • nuxt: Correct return type of refresh functions (#​25568)
  • nuxt: Broadcast cookie change in correct format (#​25598)
  • nuxt: Generate typed route declarations when building (#​25593)
  • nuxt: Remove key from useId type signature (#​25614)
  • nuxt: Remove $ from generated id in useId (#​25615)
  • nuxt: Don't set default rel for same-site external links (#​25600)
  • nuxt: Warn if inheritAttrs: false when using useId (#​25616)
  • nuxt: Fetch non-server rendered islands when hydrating (#​25613)
  • nuxt: Don't check page/layout usage when redirecting (#​25628)
💅 Refactors
📖 Documentation
  • Correct typo (#​25523)
  • Add and link to a section on Nuxt context (#​23546)
  • Explain how to set <NuxtLink> defaults in nuxt config (#​25610)
🏡 Chore
  • Use pathe in internal tests (e33cec958)
  • nuxt: Rename nuxt -> nuxtApp internally for consistency (c5d5932f5)
🤖 CI
  • Fix playwright cache (#​25527)
  • Retry flaky test when running in Windows with Webpack (#​25536)
  • Retry flaky test when running in Windows with Webpack (#​25543)
  • Retry flaky test when using Webpack (#​25550)
  • Simplify label PR workflow (#​25579)
❤️ Contributors

v3.10.0

Compare Source

3.10.0 is the next minor/feature release.

👀 Highlights

v3.10 comes quite close on the heels of v3.9, but it's packed with features and fixes. Here are a few highlights.

✨ Experimental shared asyncData when prerendering

When prerendering routes, we can end up refetching the same data over and over again. In Nuxt 2 it was possible to create a 'payload' which could be fetched once and then accessed in every page (and this is of course possible to do manually in Nuxt 3 - see this article).

With #​24894, we are now able to do this automatically for you when prerendering. Your useAsyncData and useFetch calls will be deduplicated and cached between renders of your site.

export defineNuxtConfig({ 
  experimental: { 
    sharedPrerenderData: true
  } 
}) 

[!IMPORTANT]
It is particularly important to make sure that any unique key of your data is always resolvable to the same data. For example, if you are using useAsyncData to fetch data related to a particular page, you should provide a key that uniquely matches that data. (useFetch should do this automatically.)

👉 See full documentation.

🆔 SSR-safe accessible unique ID creation

We now ship a useId composable for generating SSR-safe unique IDs (#​23368). This allows creating more accessible interfaces in your app. For example:

<script setup>
const emailId = useId()
const passwordId = useId()
</script>

<template>
  <form>
    <label :for="emailId">Email</label>
    <input
      :id="emailId"
      name="email"
      type="email"
    >
    <label :for="passwordId">Password</label>
    <input
      :id="passwordId"
      name="password"
      type="password"
    >
  </form>
</template>
✍️ Extending app/router.options

It's now possible for module authors to inject their own router.options files (#​24922). The new pages:routerOptions hook allows module authors to do things like add custom scrollBehavior or add runtime augmenting of routes.

👉 See full documentation.

Client-side Node.js support

We now support (experimentally) polyfilling key Node.js built-ins (#​25028), just as we already do via Nitro on the server when deploying to non-Node environments.

That means that, within your client-side code, you can import directly from Node built-ins (node: and node imports are supported). However, nothing is globally injected for you, to avoid increasing your bundle size unnecessarily. You can either import them where needed.

import { Buffer } from 'node:buffer'
import process from 'node:process'

Or provide your own polyfill, for example, inside a Nuxt plugin.

// ~/plugins/node.client.ts
import { Buffer } from 'node:buffer'
import process from 'node:process'

globalThis.Buffer = Buffer
globalThis.process = process

export default defineNuxtPlugin({})

This should make life easier for users who are working with libraries without proper browser support. However, because of the risk in increasing your bundle unnecessarily, we would strongly urge users to choose other alternatives if at all possible.

🍪 Better cookie reactivity

We now allow you to opt-in to using the CookieStore. If browser support is present, this will then be used instead of a BroadcastChannel to update useCookie values reactively when the cookies are updated (#​25198).

This also comes paired with a new composable, refreshCookie which allows manually refreshing cookie values, such as after performing a request. See full documentation.

🏥 Detecting anti-patterns

In this release, we've also shipped a range of features to detect potential bugs and performance problems.

  • We now will throw an error if setInterval is used on server (#​25259).
  • We warn (in development only) if data fetch composables are used wrongly (#​25071), such as outside of a plugin or setup context.
  • We warn (in development only) if you are not using <NuxtPage /> but have the vue-router integration enabled (#​25490). (<RouterView /> should not be used on its own.)
🧂 Granular view transitions support

It's now possible to control view transitions support on a per-page basis, using definePageMeta (#​25264).

You need to have experimental view transitions support enabled first:

export default defineNuxtConfig({
  experimental: {
    viewTransition: true
  },
  app: {
    // you can disable them globally if necessary (they are enabled by default)
    viewTransition: false
  }
})

And you can opt in/out granularly:

// ~/pages/index.vue
<script setup lang="ts">
definePageMeta({
  viewTransition: false
})
</script>

Finally, Nuxt will not apply View Transitions if the user's browser matches prefers-reduced-motion: reduce (#​22292). You can set `viewTra


Configuration

📅 Schedule: Branch creation - "after 2am and before 3am" (UTC), Automerge - "after 1am and before 2am" (UTC).

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from f8770ac to ba87475 Compare February 20, 2024 12:51
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from ba87475 to c495a47 Compare February 20, 2024 15:41
@renovate renovate bot merged commit 2ef0461 into main Feb 21, 2024
2 checks passed
@renovate renovate bot deleted the renovate/all-minor-patch branch February 21, 2024 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants