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 #810

Merged
merged 3 commits into from
Oct 25, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 12, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@​egoist/tailwindcss-icons ^1.3.3 -> ^1.4.0 age adoption passing confidence
@iconify-json/heroicons ^1.1.12 -> ^1.1.13 age adoption passing confidence
@iconify-json/simple-icons ^1.1.74 -> ^1.1.76 age adoption passing confidence
@nuxt/kit ^3.7.4 -> ^3.8.0 age adoption passing confidence
defu ^6.1.2 -> ^6.1.3 age adoption passing confidence
eslint (source) ^8.51.0 -> ^8.52.0 age adoption passing confidence
nuxt ^3.7.4 -> ^3.8.0 age adoption passing confidence
nuxt-og-image ^2.1.2 -> ^2.1.3 age adoption passing confidence
tailwindcss (source) ^3.3.3 -> ^3.3.4 age adoption passing confidence
v-calendar (source) ^3.1.1 -> ^3.1.2 age adoption passing confidence
vue-tsc ^1.8.19 -> ^1.8.21 age adoption passing confidence

Release Notes

nuxt/nuxt (@​nuxt/kit)

v3.8.0

Compare Source

👀 Highlights

We have a lot of exciting features in v3.8, and can't wait for you to try it out.

💻 Nuxi improvements

Just to remind you, we're now using the new Nuxt CLI which is now versioned separately. There are some exciting improvements there to follow, so do check out the latest releases. (For example, we now share the same port with the Vite websocket, meaning better support for docker containers in development.)

🚨 Built-in Nuxt DevTools

Nuxt DevTools v1.0.0 is out and we now think it's ready to be shipped as a direct dependency of Nuxt.

👉 You can check out the release notes for more information - and stay tuned for an article detailing our roadmap for the future.

📸 Nuxt Image auto-install

We've now made <NuxtImg> and <NuxtPicture> first-class built-in components, documenting them and auto-installing @nuxt/image the first time that they are used (#​23717).

autoinstall2.mp4

We would definitely advise using @nuxt/image if you're using images in your site; it can apply optimisations to make your site more performant.

📂 Deeper layout scanning

🚨 This is a behaviour change so do take care with this one: 🚨

We now support scanning layouts within subfolders in ~/layouts in the same way as we do with ~/components.

File | Layout name
-- | --
~/layouts/desktop/default.vue | 'desktop-default'
~/layouts/desktop-base/base.vue | 'desktop-base'
~/layouts/desktop/index.vue | 'desktop'

See #​20190 for more information

📊 App Manifest

We now support a built-in app manifest (see #​21641), which generates a manifest at /_nuxt/builds/meta/<buildId>.json.

Initially this enables loading payloads only for prerendered routes, if a site is static (preventing 404s). It also enables client-side route rules. To begin with, only redirect route rules will have an effect; they will now redirect when performing client-side navigation. (More coming soon...!)

The app manifest also enables future enhancements including detection of outdated deployments by checking /_nuxt/builds/latest.json.

You can switch off this behaviour if you need to (but do let us know if you have any issues):

export default defineNuxtConfig({
  experimental: {
    appManifest: false
  }
})
🤝 Scope and context improvements

We now define a 'scope' for Nuxt composables executed in plugins (#​23667), which allows running synchronous cleanup before navigating away from your site, using the Vue onScopeDispose lifecycle method. This should fix an edge case with cookies (#​23697) and also improves memory management, for example in Pinia stores (#​23650). You can read more about Vue effect scopes.

We also now support native async context for the Vue composition API (#​23526). In case you're unaware, we support native async context on Node and Bun, enabled with experimental.asyncContext. This can help address issues with missing a Nuxt instance. But it didn't previously affect missing Vue instances.

If you experience issues with 'Nuxt instance unavailable', enabling this option may solve your issues, and once we have cross-runtime support we are likely to enable it by default.

export default defineNuxtConfig({
  experimental: {
    asyncContext: true
  }
})
🔗 NuxtLink defaults

We've supported defining your own NuxtLink components with the defineNuxtLink utility. We now support customising the options for the built-in <NuxtLink>, directly in your nuxt.config file (#​23724). This can enable you to enforce trailing slash behaviour across your entire site, for example.

export default defineNuxtConfig({
  experimental: {
    defaults: {
      nuxtLink: {
        activeClass: 'nuxt-link-active',
        trailingSlash: 'append'
      }
    }
  }
})
⚡️ Data fetching improvements: deep and caching

We have two very significant new features for useAsyncData and useFetch:

  1. You can now set deep: false to prevent deep reactivity on the data object returned from these composables (#​23600). It should be a performance improvement if you are returning large arrays or objects. The object will still update when refetched; it just won't trigger reactive effects if you change a property deep within the data.
  2. You can now use the getCachedData option to handle custom caching for these composables (#​20747)
const nuxtApp = useNuxtApp()
const { data } = await useAsyncData(() => { /* fetcher */ }, {
  // this will not refetch if the key exists in the payload
  getCachedData: key => nuxtApp.payload.static[key] ?? nuxtApp.payload.data[key]
})

We also support configuring some default values for these composables in an app-wide way (#​23725):

export default defineNuxtConfig({
  experimental: {
    defaults: {
      useAsyncData: {
        deep: false
      },
      useFetch: {
        retry: false,
        retryDelay: 100,
        retryStatusCodes: [500],
        timeout: 100
      }
    }
  }
})
🔢 Layer improvements

We now more carefully load layer plugins (#​22889 and #​23148) and middleware (#​22925 and #​23552) in the order of the layers, always loading your own plugins and middleware last. This should mean you can rely on utilities that layers may inject.

We've also added a test suite to cover these layer resolution changes.

And probably one of the most significant changes - if you are using remote layers we now clone these within your node_modules/ folder (#​109) so layers can use dependencies with your project. See c12 release notes for full details.

😴 Nightly release channel

Every commit to the main branch of Nuxt is automatically deployed to a new release, for easier testing before releases. We've renamed this from the 'edge release channel' to the 'nightly release channel' to avoid confusion with edge deployments. And probably also with Microsoft Edge (though I haven't heard that anyone was confused with that one!)

➡️ nuxt3 is now nuxt-nightly
➡️ nuxi-edge is now nuxi-nightly
➡️ @​nuxt/kit-edge is now @​nuxt/kit-nightly

... and so on.

You can read more about how it works.

⚗️ Nitro v2.7

Nitro v2.7 has been released with lots of improvements and bug fixes - do check out the full changelog.

🔥 One of the most significant is that we now save ~40% of bundle size in production by using native fetch (which is supported in Node 18+) (#​1724). So if possible, we'd recommend you update your Node version to at least 18.

💪 Type import changes

🚨 This is likely to need code changes in your project 🚨

Vue requires that type imports be explicit (so that the Vue compiler can correctly optimise and resolve type imports for props and so on). See core Vue tsconfig.json.

We've therefore taken the decision to turn on verbatimModuleSyntax by default in Nuxt projects, which will throw a type error if types are imported without an explicit type import. To resolve it you will need to update your imports:

- import { someFunction, SomeOptions } from 'some-library'
+ import { someFunction } from 'some-library'
+ import type { SomeOptions } from 'some-library'

You may also encounter modules in the Nuxt ecosystem that need to be updated; please open an issue for those modules. I'm also very happy to help if you're encountering any problems with this, if you're a module author. Just tag me and I'll take a look.

If for whatever reason you need to undo this change in your project you can set the following configuration:

export default defineNuxtConfig({
  typescript: {
    tsConfig: {
      compilerOptions: {
        verbatimModuleSyntax: false
      }
    }
  }
})

However, we'd recommend only doing that temporarily, as Vue does need this option to be set for best results.

✅ Upgrading

As usual, our recommendation for upgrading is to run:

nuxi upgrade

👉 Changelog

compare changes

🚀 Enhancements
  • kit: Add addServerImports and addServerImportsDir (#​23288)
  • nuxt: Warn when nesting nuxt links when SSR on dev (#​23286)
  • nuxt: Add prerenderRoutes ssr composable (#​22863)
  • nuxt: Enable appManifest by default (#​23448)
  • nuxt: Native async-context in vue's withAsyncContext (#​23526)
  • nuxt: Auto-install optional features on StackBlitz (#​23607)
  • kit,nuxt,vite,webpack: Support -nightly extension (#​23508)
  • nuxt: Add @nuxt/devtools as dependency and enable (#​23576)
  • nuxt: Support deep: false for data composables (#​23600)
  • nuxt: Custom cache support for data fetching composables (#​20747)
  • nuxt: Scan and register layouts in nested folders (#​20190)
  • nuxt: Prompt to autoinstall @nuxt/image when it is used (#​23717)
  • nuxt: Allow configuring default <NuxtLink> options (#​23724)
  • nuxt: Allow customising defaults for data composables (#​23725)
🔥 Performance
  • vite: Don't print server compressed size after vite build (#​23359)
  • nuxt: Verbatim module syntax + restrict type discovery (#​23447)
🩹 Fixes
  • nuxt: Initialise asyncData errors with null (#​23428)
  • nuxt: Apply scoped styles to islands (#​23386)
  • nuxt: Rename stub to avoid shadowing vue-router (#​23440)
  • nuxt: Stringify cookie values before broadcasting them (#​23449)
  • kit: Don't force config.autoImport in addServerImports (#​23472)
  • nuxt: Ignore prefix if clearNuxtState called w/o keys (#​23483)
  • nuxt: Decrement hydration count when rendering no route (#​23476)
  • nuxt: Compute fetch cache key with headers (#​23462)
  • nuxt: Mock hookable methods on nuxt 2 (#​23502)
  • kit: Revert accidental change to addPrerenderRoutes name (#​23509)
  • nuxt: Use test/dev as manifest buildId when appropriate (#​23512)
  • nuxt: Don't print warnings for unresolved ids (#​23604)
  • nuxt: Use import alias when checking if plugin is wrapped (#​23617)
  • nuxt: Tree shake all occurrences of <DevOnly> (#​23466)
  • nuxt: Give priority to later middleware when deduping (#​23552)
  • nuxt: Clear cookie BroadcastChannel when scope is disposed (#​23664)
  • nuxt: Provide global scope for nuxt plugin context (#​23667)
  • nuxt: Resolve type error in options of useFetch (#​23693)
  • webpack: Remove lodash-es + simplify postcss resolution (#​23692)
  • nuxt: Skip hydration mismatches with client components (#​19231)
  • nuxt: Write cookie values before navigating away (#​23697)
  • nuxt: Refetch both undefined/null values in useAsyncData (#​23351)
  • nuxt: Don't mark redirected routes as prerendered (#​23707)
  • nuxt: Respect custom export in component transform (#​23715)
  • nuxt: Don't use prerenderedAt to override app manifest (#​23781)
  • nuxt: Restore prerenderedAt behaviour pending next patch (108b1bdf7)
📖 Documentation
  • Mention listhen options on nuxi dev page (#​23415)
  • Add examples for index.ts files on server routes (#​23390)
  • Improve data fetching section (#​23420)
  • Remove duplicated arrows (#​23436)
  • Extend description of handler for useAsyncData (#​23389)
  • Clarify bridge needs nitro to use runtimeConfig (#​23454)
  • Fix typo in README (#​23500)
  • Clarify that bridge.typescript option must be set. (#​23503)
  • Use html instead of xml for highlight (45c1e7f51)
  • Fix component library example in docs (#​23596)
  • Typo in modules (#​23602)
  • Reword local module info (#​23557)
  • Add server concept (#​23372)
  • Improve nuxt kit section (#​22375)
  • Update additional mentions to nightly release channel (c63f9a95d)
  • Rename /edge-channel page to /nightly-release-channel (#​23648)
  • Add section about computed url for data fetching (#​23605)
  • Fix typo (#​23656)
  • Remove extraneous brace (b9cb08cda)
  • Fix other issues with routeRules example (818dc626c)
  • Fix typo (#​23716)
  • Update types for useFetch/useAsyncData (#​23730)
  • Add info about <NuxtImg> and <NuxtPicture> (#​23741)
  • Update to new website (#​23743)
  • Remove redundant trailing slashes from links (#​23744)
  • Fix broken link (#​23750)
🏡 Chore
  • Fix various typos and update to US English (#​23580)
  • Add description field for packages (#​23734)
  • Bump nuxt devtools to 1.0 (#​23752)
  • Allow markdownlint upgrades (3d779fcf3)
  • Remove huntr + encourage GitHub vulnerability reporting (#​23754)
  • Refresh lockfile (#​23755)
  • Update to nitropack 2.7.0 (#​23780)
  • Upgrade to c12 1.5 with configurable layers (#​23782)
✅ Tests
  • nuxt: Add test suite for app resolution behaviour (#​23520)
  • Update prerender test (8d62c2add)
🤖 CI
  • Retry failing links 6 times (ad2a900fd)
  • Only dedupe dependencies if they affect bundle size (#​23736)
❤️ Contributors
unjs/defu (defu)

v6.1.3

Compare Source

compare changes

🩹 Fixes
  • Only merge plain objects (#​111)
📖 Documentation
📦 Build
  • Backward compatible cjs entry (#​110)
🏡 Chore
🎨 Styles
  • Format with prettier v3 (32650f1)
❤️ Contributors
eslint/eslint (eslint)

v8.52.0

Compare Source

Features

  • 70648ee feat: report-unused-disable-directive to report unused eslint-enable (#​17611) (Yosuke Ota)

Bug Fixes

  • 5de9637 fix: Ensure shared references in rule configs are separated (#​17666) (Nicholas C. Zakas)
  • dcfe573 fix: add preceding semicolon in suggestions of no-object-constructor (#​17649) (Francesco Trotta)

Documentation

  • 476d58a docs: Add note about invalid CLI flags when using flat config. (#​17664) (Nicholas C. Zakas)
  • 660ed3a docs: Plugin flat config migration guide (#​17640) (Nicholas C. Zakas)
  • a58aa20 docs: fix examples for several rules (#​17645) (Milos Djermanovic)
  • 179929b docs: Remove trailing newline from the code of Playground links (#​17641) (Francesco Trotta)
  • f8e5c30 docs: Update README (GitHub Actions Bot)
  • b7ef2f3 docs: Enable pretty code formatter output (#​17635) (Nicholas C. Zakas)
  • 0bcb9a8 docs: Fix syntax errors in rule examples (#​17633) (Francesco Trotta)
  • 61b9083 docs: Make no-continue example code work (#​17643) (Zhongyuan Zhou)
  • 9fafe45 docs: upgrade to 11ty 2.0 (#​17632) (Percy Ma)
  • ff8e4bf docs: Update README (GitHub Actions Bot)
  • fab249a docs: Update README (GitHub Actions Bot)
  • 392305b docs: Update no-irregular-whitespace and fix examples (#​17626) (Francesco Trotta)
  • 6b8acfb docs: Add real whitespace to no-trailing-spaces examples (#​17630) (Francesco Trotta)
  • 1000187 docs: Fix examples in unicode-bom (#​17631) (Francesco Trotta)
  • 000290c docs: Update README (GitHub Actions Bot)

Chores

harlan-zw/nuxt-og-image (nuxt-og-image)

v2.1.3

Compare Source

Bug Fixes
  • ensure cssInline gets mocked when disabled (ed62325)
tailwindlabs/tailwindcss (tailwindcss)

v3.3.4

Compare Source

Fixed
  • Improve normalisation of calc()-like functions (#​11686)
  • Skip calc() normalisation in nested theme() calls (#​11705)
  • Fix incorrectly generated CSS when using square brackets inside arbitrary properties (#​11709)
  • Make content optional for presets in TypeScript types (#​11730)
  • Handle variable colors that have variable fallback values (#​12049)
  • Batch reading content files to prevent too many open files error (#​12079)
  • Skip over classes inside :not(…) when nested in an at-rule (#​12105)
  • Update types to work with Node16 module resolution (#​12097)
  • Don’t crash when important and parent selectors are equal in @apply (#​12112)
  • Eliminate irrelevant rules when applying variants (#​12113)
  • Improve RegEx parser, reduce possibilities as the key for arbitrary properties (#​12121)
  • Fix sorting of utilities that share multiple candidates (#​12173)
  • Ensure variants with arbitrary values and a modifier are correctly matched in the RegEx based parser (#​12179)
  • Fix crash when watching renamed files on FreeBSD (#​12193)
  • Allow plugins from a parent document to be used in an iframe (#​12208)
  • Add types for tailwindcss/nesting (#​12269)
  • Bump jiti, fast-glob, and browserlist dependencies (#​11550)
  • Improve automatic var injection for properties that accept a <dashed-ident> (#​12236)
nathanreyes/v-calendar (v-calendar)

v3.1.2

Compare Source

Bug Fixes

  • Fixes date normalization when using different locales

Improvements

  • Updates date-fns-tz to 2.0
vuejs/language-tools (vue-tsc)

v1.8.21

Compare Source

Volar.js 1.10.5 updates:

v1.8.20

Compare Source

  • feat: added Italian integration documentation
  • feat: enforce v-bind argument to be an object (#​3666) - thanks @​so1ve
  • fix: JSDoc comments not emitted when using type-only defineProps macro (#​3645)
  • fix: autocomplete for directive comments without a space (#​3665) - thanks @​so1ve
  • fix: fix slot type when using a interpolation in template string (#​3657) - thanks @​so1ve
  • fix: add autocomplete for v-slot parameters (#​3661) - thanks @​so1ve
  • fix: export correct SlotsPropertyName for vue2 (#​3669) - thanks @​zhiyuanzmj
  • fix(types): infer discriminated unions in child component props (#​3672) - thanks @​davidmatter
  • fix: access to slots directly (#​3671) - thanks @​so1ve
  • fix: autocomplete not working for $event (#​3668) - thanks @​so1ve
  • perf: remove duplicate virtual code for native tags
  • chore: rename volar to vue in diagnostics (#​3667) - thanks @​so1ve
  • chore: publish ts plugin to open-vsx (#​3589) - thanks @​brc-dd
Full-time Support by

WebContainer API is here.

Our Platinum Sponsors
The Intuitive Web Framework
The Progressive JavaScript Framework
Our Silver Sponsors

Add you via GitHub Sponsors or Open Collective

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.


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

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

@vercel
Copy link

vercel bot commented Oct 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ui ✅ Ready (Inspect) Visit Preview Oct 25, 2023 4:23pm

@renovate renovate bot changed the title chore(deps): update devdependency @nuxt/ui-pro to v0.2.1-28285317.2e3bef3 chore(deps): update devdependency @nuxt/ui-pro to v0.2.1-28285496.298dd43 Oct 12, 2023
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from d75ae81 to 8dbee60 Compare October 12, 2023 18:16
@renovate renovate bot changed the title chore(deps): update devdependency @nuxt/ui-pro to v0.2.1-28285496.298dd43 chore(deps): update all non-major dependencies Oct 13, 2023
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 8dbee60 to 6ef43ec Compare October 13, 2023 14:15
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 6ef43ec to 8285535 Compare October 13, 2023 16:24
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 8285535 to f387111 Compare October 13, 2023 19:27
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from f387111 to a9b89dd Compare October 14, 2023 10:08
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from a9b89dd to 58d6a19 Compare October 15, 2023 15:35
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 58d6a19 to 50c38f0 Compare October 15, 2023 15:53
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 50c38f0 to 807bf6f Compare October 15, 2023 22:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 807bf6f to 8cb3df4 Compare October 16, 2023 11:29
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 8cb3df4 to d1dc1d3 Compare October 16, 2023 15:50
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from d1dc1d3 to 47cc84f Compare October 17, 2023 16:10
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 47cc84f to d6db2ac Compare October 18, 2023 09:22
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from d6db2ac to 64f3a90 Compare October 19, 2023 20:05
@renovate
Copy link
Contributor Author

renovate bot commented Oct 25, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@benjamincanac benjamincanac merged commit d112808 into dev Oct 25, 2023
1 check passed
@benjamincanac benjamincanac deleted the renovate/all-minor-patch branch October 25, 2023 16:31
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.

1 participant