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

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 23, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nuxt/kit ^3.2.3 -> ^3.3.1 age adoption passing confidence
pnpm (source) 7.29.1 -> 7.29.3 age adoption passing confidence

Release Notes

nuxt/nuxt

v3.3.1

Compare Source

3.3.0 is a minor (feature) release with lots of new features to play with. 3.3.1 was a swiftly following release to patch an issue with nuxi on Windows.

👀 Highlights
✨ Local module development DX

We've landed a raft of changes to enable local modules and improve DX. We now auto-scan your ~/modules folder and register top level files there as modules in your project (https://github.com/nuxt/nuxt/pull/19394). When these files are changed, we'll automatically restart the nuxt server.

  export default defineNuxtConfig({
    modules: [
      '@​nuxtjs/tailwindcss',
-     '~/modules/purge-comments'
    ]
  })

We also now expose nuxt/kit for easy access to kit composables in your local project without having to install @nuxt/kit (https://github.com/nuxt/nuxt/pull/19422).

♻️ Restarting Nuxt

You can add files to the watch array to automatically restart the server (https://github.com/nuxt/nuxt/pull/19530). This is likely to be particularly useful for module authors. You can also trigger a restart of the Nuxt server with the new restart hook (https://github.com/nuxt/nuxt/pull/19084). We also landed a couple of fixes on restarting the Nuxt server which should improve your experience when developing.

🔥 Performance improvements

We've increased static asset maxAge to 1yr as a matter of best practice (https://github.com/nuxt/nuxt/pull/19335), and support tree-shaking more of your build (https://github.com/nuxt/nuxt/pull/19508). We also now support preloading <NuxtLink>s with a route in object-syntax (https://github.com/nuxt/nuxt/pull/19120).

CleanShot 2023-03-14 at 12 19 50

We also track how long it takes each module you use to perform its setup, and warn if it takes too long. You can see all these values by running your dev server with DEBUG=1

You can also opt-in to some of Nuxt's internal optimisations by configuring composables to be treeshaken in a particular environment (https://github.com/nuxt/nuxt/pull/19383), or to have magic keys automatically injected (https://github.com/nuxt/nuxt/pull/19490) - primarily useful for module authors.

🐛 Error handling

We now handle chunk errors by default (https://github.com/nuxt/nuxt/pull/19086), meaning if your site updates with a redeploy, we automatically handle reloading it on navigation. You can disable this and handle it yourself with the new reloadNuxtApp composable. You can also set experimental.restoreState to preserve some of your app state across reloads.

We also have a new experimental error handling component: <NuxtClientFallback> (https://github.com/nuxt/framework/pull/8216) which can capture errors rendering on server, replace them with fallback content, and granularly trigger rerendering the part with an error on the client. This can be enabled with experimental.clientFallback - feedback very welcome!

⚡️ Head improvements

We've migrated to use unhead directly (https://github.com/nuxt/nuxt/pull/19519) - and automatically tree-shake server-only head composables like useServerHead from your client build (https://github.com/nuxt/nuxt/pull/19576), meaning you can have great SEO without needing to include meta tag logic that's relevant only for crawlers in your client build.

There's also a new useHeadSafe composable that handles santising untrusted user input (https://github.com/nuxt/nuxt/pull/19548).

🪵 Better logging in browser DevTools

Working with the Chrome DevTools team, we've landed a couple of features across the unjs + Nuxt ecosystem meaning we now have first-class support for hiding Nuxt internal stack traces from logs in your (Chromium-based, for now) browser (https://github.com/nuxt/nuxt/pull/19243). We also landed a couple of improvements with stacktraces involving Nuxt hooks (https://github.com/unjs/hookable/pull/69 and https://github.com/unjs/hookable/pull/68) implementing console.createTask.

Before After
CleanShot 2023-03-14 at 11 55 00 CleanShot 2023-03-14 at 11 52 27
💪 Type improvements

Types for server API routes are now more correct - with non-serialisable types stripped out of the return type (https://github.com/unjs/nitro/pull/1002).

We also now type more of NuxtApp and correctly type unknown injections for greater type-safety (https://github.com/nuxt/nuxt/pull/19643).

CleanShot 2023-03-14 at 11 59 58

And if you were struggling with correct types when using transform + default with Nuxt data fetching composables, fear no more - we now infer the types correctly (https://github.com/nuxt/nuxt/pull/19487).

⚗️ Nitro enhancements

This release comes with Nitro v2.3, which brings lots of improvements of its own. Check out the release for more info.

We now support useAppConfig in nitro server routes (https://github.com/nuxt/nuxt/pull/19489) - a long-awaited change. Now useAppConfig is consistently available throughout your app for non-runtime configuration from layers, modules, etc.

We've also added a nitro:build:public-assets hook to allow modifying assets output from nitro's prerender/build phase (https://github.com/nuxt/nuxt/pull/19638).

🛠️ Build changes

As part of moving towards first-class support for PNP and pnpm support without --shamefully-hoist, we've dropped support for some internal (deprecated) utilities using CJS resolve patterns (https://github.com/nuxt/nuxt/pull/19537, https://github.com/nuxt/nuxt/pull/19608). We also now resolve dependencies like nuxt, @nuxt/kit and more using ESM search-paths. We'll be keeping a close eye on this.

We're also preparing the groundwork for support of new TypeScript Node16 module resolution (https://github.com/nuxt/nuxt/issues/19606), and as part of this have changed the format of our runtime output (using .js instead of .mjs extensions, providing types fields for subpath exports, and more).

🗺️ Custom config schema (advanced)

We've been testing out an experimental feature to allow modules and users to extend the Nuxt config schema (https://github.com/nuxt/nuxt/issues/15592), and we've now enabled this by default (https://github.com/nuxt/nuxt/pull/19172). We expect this will be particularly useful for module and layer/theme authors, and should result in some nicer DX for their users.

Changelog

compare changes

🚀 Enhancements
  • nuxi: Enforce consistent casing in filenames (#​19088)
  • nuxi: Reload nuxt when restart hook is called (#​19084)
  • nuxt: Scan composables with star export (#​19249)
  • nuxt: Add versions to runtime nuxtApp (#​19064)
  • vite: Add node_modules and buildDir to x_google_ignoreList (#​19243)
  • nuxi: Cli wrapper for self restart (#​18641)
  • schema: Allow adding page routes without a matching file (#​19173)
  • nuxt: Add support for nuxt/kit subpath for local use (#​19422)
  • nuxt: Auto-register modules in ~/modules (#​19394)
  • nuxt: Enable config schema by default (#​19172)
  • kit,nuxt: Add component priority to allow overriding (#​19252)
  • nuxt: Enable preloading object-syntax routes (#​19120)
  • nuxt: Support trailingSlashBehavior in defineNuxtLink (#​19458)
  • nuxt: Allow configuring treeshakeable composables (#​19383)
  • nuxi,schema: Add support for setting nuxt logLevel (#​19369)
  • nuxt: Support custom keyed composables (#​19490)
  • nuxi: Programmatically pass nuxt config overrides (to dev) (#​19371)
  • vite: Use custom logger to show vite logs (#​19523)
  • nuxt: Enable chunk error handling by default (#​19086)
  • nuxt: Add <NuxtClientFallback> component (#​8216)
  • nuxt: Add watch option and refactor dev server restarting (#​19530)
  • nuxt: Add useHeadSafe and remove layer around head imports (#​19548)
  • kit, schema: Measure module setup timings (#​18648)
  • nuxt: Support app config for server routes (#​19489)
  • nuxt: Add nitro:build:public-assets hook (#​19638)
🔥 Performance
  • nuxt: Increase static asset maxAge to 1yr (#​19335)
  • vite: Mark more core functions as side-effect free (#​19508)
  • nuxt: Drop @vueuse/head dependency (#​19519)
  • nuxt: Tree-shake server composables + prefer server head (#​19576)
🩹 Fixes
  • nuxt: Clear loading indicator on unmount (#​19340)
  • nuxt: Deprecate scanning directory index plugins (#​18418)
  • nuxt: Prevent fallthrough attributes on custom NuxtLink (#​19379)
  • schema: Update vite import.meta types (#​19338)
  • vite: Omit / from sourcemapIgnoreList for windows support (73ade185b)
  • nuxt: Pass transform options to component loader plugin (#​19414)
  • nuxi: Avoid top-level await in wrapper (44068420d)
  • nuxt: Add kit.* files to published package (#​19430)
  • nuxt: Don't print layout warning if page is not ssr (#​19434)
  • kit: Match commit hashes of other lengths (#​19450)
  • nuxi: Handle different kind of shutdown signals (#​19485)
  • nuxt: Exclude nitro output dir from type checking (#​19532)
  • vite: Allow disabling clear screen behaviour (#​19531)
  • nuxt: Only log boot errors on client-side (#​19553)
  • nuxt: Dedupe payload cache by payload url (#​19563)
  • nuxt: Provide node16-style type exports (#​18431)
  • nuxt: Avoid injecting adhoc modules in schema (#​19607)
  • nuxt: Improve types for data fetching with transform (#​19487)
  • nuxi: Resolve kit from nuxt modules dir (#​19601)
  • nuxt,schema: Merge custom and resolved app configs (#​19602)
  • nuxt: Resolve builder using esm syntax (#​19608)
  • nuxt: Exclude boolean from inline module definitions (#​19621)
  • schema: Show payloadExtraction warning only when unset (#​18516)
  • nuxt: Mark non-augmented NuxtApp properties as unknown (#​19643)
  • nuxt: Fix default injection type for plugins (#​19669)
💅 Refactors
  • nuxi: Hard restart with communication channel (#​19423)
  • kit,nuxi: Resolve module paths using node algorithm (#​19537)
  • nuxt: Let mlly handle search paths (#​19635)
📖 Documentation
  • Use consistent indentation in examples (#​19342)
  • Update esm link (c35104c76)
  • Add frontmatter note for docs readme to remove from live preview (008426cd3)
  • Add edge banners on versions and modules (#​19448)
  • Add local modules ordering (5977adb4d)
  • Fix link to nitro routeRules (#​19455)
  • Fix dead link to useSeoMeta guide (#​19463)
  • Update devServer.https example (#​19486)
  • Add info ~/server/utils directory in ~/utils page (#​19500)
  • Update addComponent jsdoc comment (#​19503)
  • Update cli docs for --log-level (06b9233b1)
  • Update pr template to include jsdoc annotations (#​19511)
  • Add new release cycle info (#​19509)
  • Fix local modules (c4222b1f6)
  • Update nitro plugins url (#​19547)
  • Ui components - pinceau migration (#​19533)
  • Update $fetch documentation (#​19356)
  • Move prerequisites into a summary (e0cb950f0)
  • Remove note since already in code block for pnpm (d67a873c4)
  • Add nuxt 2 to nuxt 3 workshop (2905282de)
  • Update various nitro links (#​19562)
  • Use consistent page name in example (#​19583)
  • Add missing backquotes (#​19590)
  • Remove reference to beta/rc/coming soon (4ad5c959e)
  • Warn about modules with side-effects (#​19592)
  • Mention config file name before code block (#​19634)
🏡 Chore
  • Bump edge version based on commits (#​19397)
  • Add branch to edge release script (171288586)
  • Add chore to type of change in pr template (#​19420)
  • Mark @nuxt/test-utils package as external group (#​19419)
  • Restrict commit hash strings to 8 chars (abcd27ae0)
  • deps: ⚠️ Update dependency fork-ts-checker-webpack-plugin to v8 (main) (#​19468)
  • Force minor bumps at most (0b82f6751)
  • nuxt: Update to new hasProtocol options format (#​19555)
  • Improve internal type safety (#​19599)
  • Refresh lockfile (#​19653)
  • Constrain nitro to minor version (88a5f38de)
  • Bump package versions (615750614)
✅ Tests
🤖 CI
⚠️ Breaking Changes
  • deps: ⚠️ Update dependency fork-ts-checker-webpack-plugin to v8 (main) (#​19468)
❤️ Contributors

v3.3.0

Compare Source

pnpm/pnpm

v7.29.3

Compare Source

Patch Changes

  • Command shim should not set higher priority to the node_modules/.pnpm/node_modules directory through the NODE_PATH env variable, then the command's own node_modules directory #​5176.
  • extend-node-path is set back to true by default. It was set to false in v7.29.2 in order to fix issues with multiple versions of Jest in one workspace. It has caused other issues, so now we keep extending NODE_PATH. We have fixed the Jest issue with a different solution #​6213.

Our Gold Sponsors

Our Silver Sponsors

v7.29.2

Compare Source


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.

@codecov
Copy link

codecov bot commented Jun 23, 2022

Codecov Report

Merging #76 (f9d466f) into main (a38e17f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #76   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           68        68           
  Branches         7         7           
=========================================
  Hits            68        68           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@renovate renovate bot changed the title chore(deps): update dependency eslint-webpack-plugin to ^2.7.0 chore(deps): update all non-major dependencies Sep 25, 2022
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 8ae46af to ba827b6 Compare March 8, 2023 11:58
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from ba827b6 to 6b27362 Compare March 8, 2023 12:09
@renovate renovate bot changed the title chore(deps): update all non-major dependencies chore(deps): update all non-major dependencies - autoclosed Mar 8, 2023
@renovate renovate bot closed this Mar 8, 2023
@renovate renovate bot deleted the renovate/all-minor-patch branch March 8, 2023 12:19
@renovate renovate bot changed the title chore(deps): update all non-major dependencies - autoclosed chore(deps): update all non-major dependencies Mar 14, 2023
@renovate renovate bot restored the renovate/all-minor-patch branch March 14, 2023 07:25
@renovate renovate bot reopened this Mar 14, 2023
@renovate renovate bot changed the title chore(deps): update all non-major dependencies chore(deps): update pnpm to v7.29.2 Mar 14, 2023
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from f9d466f to 5d6c6e4 Compare March 14, 2023 13:43
@renovate renovate bot changed the title chore(deps): update pnpm to v7.29.2 chore(deps): update dependency @nuxt/kit to ^3.3.0 Mar 14, 2023
@renovate renovate bot changed the title chore(deps): update dependency @nuxt/kit to ^3.3.0 chore(deps): update dependency @nuxt/kit to ^3.3.1 Mar 14, 2023
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 5d6c6e4 to ac933eb Compare March 14, 2023 20:07
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from ac933eb to 2bb3605 Compare March 15, 2023 11:42
@renovate renovate bot changed the title chore(deps): update dependency @nuxt/kit to ^3.3.1 chore(deps): update all non-major dependencies Mar 15, 2023
@ricardogobbosouza ricardogobbosouza merged commit c9fb80b into main Mar 16, 2023
@renovate renovate bot deleted the renovate/all-minor-patch branch March 16, 2023 12:45
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