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

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 8, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@​nuxt-themes/docus ^1.9.1 -> ^1.10.1 age adoption passing confidence
@​nuxt/module-builder ^0.2.1 -> ^0.3.0 age adoption passing confidence
@nuxthq/studio (source) ^0.8.2 -> ^0.10.1 age adoption passing confidence
@​nuxtlabs/github-module ^1.6.1 -> ^1.6.2 age adoption passing confidence
eslint (source) ^8.35.0 -> ^8.38.0 age adoption passing confidence
globby ^13.1.3 -> ^13.1.4 age adoption passing confidence
jiti ^1.17.2 -> ^1.18.2 age adoption passing confidence
lint-staged ^13.1.2 -> ^13.2.1 age adoption passing confidence
listhen ^1.0.3 -> ^1.0.4 age adoption passing confidence
monaco-editor-core ^0.36.1 -> ^0.37.1 age adoption passing confidence
nitropack 2.2.3 -> 2.3.3 age adoption passing confidence
nuxt 3.2.3 -> 3.4.0 age adoption passing confidence
release-it ^15.7.0 -> ^15.10.1 age adoption passing confidence
slugify ^1.6.5 -> ^1.6.6 age adoption passing confidence
unstorage ^1.3.0 -> ^1.4.1 age adoption passing confidence
vitest ^0.29.2 -> ^0.30.1 age adoption passing confidence
ws ^8.12.1 -> ^8.13.0 age adoption passing confidence

Release Notes

nuxtlabs/studio.nuxt.com

v0.10.1

Compare Source

v0.10.0

Compare Source

v0.9.5

Compare Source

v0.9.4

Compare Source

v0.9.3

Compare Source

v0.9.2

Compare Source

v0.9.1

Compare Source

v0.9.0

Compare Source

v0.8.5

Compare Source

v0.8.4

Compare Source

v0.8.3

Compare Source

eslint/eslint

v8.38.0

Compare Source

Features
  • a1d561d feat: Move getDeclaredVariables and getAncestors to SourceCode (#​17059) (Nicholas C. Zakas)
Bug Fixes
  • 1c1ece2 fix: do not report on RegExp(...args) in require-unicode-regexp (#​17037) (Francesco Trotta)
Documentation
  • 7162d34 docs: Mention new config system is complete (#​17068) (Nicholas C. Zakas)
  • 0fd6bb2 docs: Update README (GitHub Actions Bot)
  • c83531c docs: Update/remove external links, eg. point to eslint-community (#​17061) (Pelle Wessman)
  • a3aa6f5 docs: Clarify no-div-regex rule docs (#​17051) (Francesco Trotta)
  • b0f11cf docs: Update README (GitHub Actions Bot)
  • da8d52a docs: Update the second object instance for the "no-new" rule (#​17020) (Ahmadou Waly NDIAYE)
  • 518130a docs: switch language based on current path (#​16687) (Percy Ma)
  • 24206c4 docs: Update README (GitHub Actions Bot)
Chores

v8.37.0

Compare Source

Features
Bug Fixes
  • 619f3fd fix: correctly handle null default config in RuleTester (#​17023) (Brad Zacher)
  • 1fbf118 fix: getFirstToken/getLastToken on comment-only node (#​16889) (Francesco Trotta)
  • 129e252 fix: Fix typo in logical-assignment-operators rule description (#​17000) (Francesco Trotta)
Documentation
Chores

v8.36.0

Compare Source

Features

Bug Fixes

  • 92c1943 fix: correctly iterate files matched by glob patterns (#​16831) (Nitin Kumar)

Documentation

  • b98fdd4 docs: Update README (GitHub Actions Bot)
  • caf08ce docs: fix estree link in custom formatters docs (#​16967) (Milos Djermanovic)
  • 3398431 docs: Custom Parsers cleanup/expansion (#​16887) (Ben Perlmutter)
  • 19d3531 docs: Update README (GitHub Actions Bot)
  • b09a512 docs: detect and fix broken links (#​16837) (Nitin Kumar)

Chores

sindresorhus/globby

v13.1.4

Compare Source

  • Fix error when reading inaccessible directories with gitignore: true and suppressErrors: true (#​246) e95da57
  • Remove URL TypeScript type workaround (#​230) 55a3c64
unjs/jiti

v1.18.2

Compare Source

compare changes

🚀 Enhancements
  • Allow resolving .ts files with .js extension (#​128)
  • Support import.meta.env (#​129)
🔥 Performance
  • Use extension resolutions only for parent typescript files (27a9888)
🩹 Fixes
  • Handle parretns with c ([mts extension too](unjs/jiti@mts\` extension too))
🏡 Chore
❤️ Contributors

v1.18.1

Compare Source

v1.18.0

Compare Source

okonet/lint-staged

v13.2.1

Compare Source

Bug Fixes
  • ignore "package.json" as config file when it's invalid JSON (#​1281) (e7ed6f7)

v13.2.0

Compare Source

Bug Fixes
  • dependencies: replace colorette with chalk for better color support detection (f598725)
  • use index-based stash references for improved MSYS2 compatibility (#​1270) (60fcd99)
Features

v13.1.4

Compare Source

v13.1.3

Compare Source

unjs/listhen

v1.0.4

Compare Source

compare changes

🩹 Fixes
  • Add default port range (#​63)
📖 Documentation
  • Update badges and content (b7cf9ad)
🏡 Chore
❤️ Contributors
unjs/nitro

v2.3.3

Compare Source

compare changes

🚀 Enhancements
  • Upgrade to consola v3 (prerelease) (50e9f8e)
🩹 Fixes
  • prerender: Show generated routes with error in logs (8e06f2e)
  • prerender: Respect output path from main preset (#​1114)
📖 Documentation
  • Fix typos in storage and cache guides (#​1086)
  • Use unjs logo (#​1104)
  • Fix typo in cachedEventHandler options (#​1110)
  • Use consistent quotes in the routeRules example (#​1108)
  • Fix typo in server assets mount point (#​1119)
  • Improve publicAssets config details (#​1102)
🏡 Chore
❤️ Contributors

v2.3.2

Compare Source

compare changes

🩹 Fixes
  • Sanitize statusMessage of disallowed chars (#​1057)
  • types: Sync vercel build config types (#​1056)
  • azure: Support custom baseURL (#​1062)
  • vercel-edge: Fix route generation (#​1071)
  • Mark options.renderer as optional (#​1069)
  • types: Make $Fetch types less complex (#​1059)
💅 Refactors
  • Add type safety to auto-detected providers (#​1072)
📖 Documentation
❤️ Contributors

v2.3.1

Compare Source

compare changes

🩹 Fixes
  • types: Don't simplify type of serialized return (#​1050)
🏡 Chore
❤️ Contributors

v2.3.0

Compare Source

compare changes

🚀 Enhancements
  • vercel: Add functions config (#​976)
  • Add support for sourceMap values hidden and inline (#​998)
  • lagon: Write .lagon/config.json on build (#​996)
  • types: Type $fetch to match json serialization output (#​1002)
  • Support base in useStorage(base?: string) and improve docs (#​1012)
  • cloudflare-pages: Rewrite with module syntax (#​1004)
  • Allow customising generated tsconfig path (#​1021)
  • Support app config (#​1022)
🩹 Fixes
  • cloudflare-pages: Only allow 100 rules combined (#​973)
  • Only mock debug in production (#​990)
  • Scan middleware and print tree list in ascending alphabetical order (#​981)
  • externals: Correctly specify multiple external dependencies in package.json (#​1013)
  • static: Use correct format for last modified (#​1017)
  • cache: Remove rejected cache promise from pending list. (#​995)
  • Expose useStorage with types (#​1026)
  • prerender: Allow spaces in href value regex (#​1030)
  • cache: Use stale value by default when swr is enabled (#​1038)
  • Resolve types relative to custom tsconfig path (#​1041)
  • Remove duplicate import in generated code (#​1043)
  • types: Exclude non serializable options from route rules (#​1047)
💅 Refactors
  • Use unimport built-in type gen for dirs (#​994)
  • Split out api types (#​1027)
📖 Documentation
🏡 Chore
❤️ Contributors
nuxt/nuxt

v3.4.0

Compare Source

3.4.0 is a minor (feature) release for Nuxt 3 bringing exciting new features, including support for the View Transitions API, transferring rich JavaScript payloads from server to client - and much more.

👀 Highlights

🪄 View Transitions API Support
CleanShot.2023-04-11.at.18.00.47.mp4

You can see a demo on https://nuxt-view-transitions.surge.sh

You may have noticed that Chromium-based browsers now ship a new web platform API: the View Transitions API. This is an exciting new ability for native browser transitions which (among other things) have the ability to transition between unrelated elements on different pages.

Nuxt now ships with an experimental implementation, which will be under active development during the v3.4 release cycle. See the known issues in the linked PR.

export default defineNuxtConfig({
  experimental: {
    viewTransition: true
  }
})
✨ Payload Enhancements

We've merged a significant change to how Nuxt handles payloads (under an experimental flag). Payloads are used to send data from the server to the client when doing server-side rendering and avoid double data-fetching during the hydration phase.

export default defineNuxtConfig({
  experimental: {
    renderJsonPayloads: true
  }
})

With this new option enabled, 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 and shallowReactive.

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:

export default definePayloadPlugin(() => {
  definePayloadReducer('BlinkingText', data => data === '<original-blink>' && '_')
  definePayloadReviver('BlinkingText', () => '<revivified-blink>')
})

You can read more about how this works here.

Note: this only affects payloads of the Nuxt app, that is, data stored within useState, returned from useAsyncData or manually injected via nuxtApp.payload. It does not affect data fetched from Nitro server routes via $fetch or useFetch although this is one area I am keen to explore further.

Preliminary testing shows a significant speed-up: 25% faster in total server response time for a very minimal app with a large JSON payload, but I'd urge you to run your own tests and share the results with us.

As mentioned, we're merging this behind a flag so we can test this broadly and gather feedback on the new approach. The most significant potential change is that the payload is now no longer available on window.__NUXT__ immediately. Instead, we now need to initialise the Nuxt app to parse the payload so any code that accesses __NUXT__ will need to be run in a plugin or later in the Nuxt app lifecycle. Please feel free to raise an issue if you foresee or encounter issues in your projects.

🎁 Object-syntax Nuxt plugins

We now support object-syntax Nuxt plugins for better control over plugin order and easier registration of hooks.

export default defineNuxtPlugin({
  name: 'my-plugin',
  enforce: 'pre', // or 'post'
  async setup (nuxtApp) {
    // this is the equivalent of a normal functional plugin
  },
  hooks: {
    // You can directly register Nuxt app hooks here
    'app:created'() {
      const nuxtApp = useNuxtApp()
      // 
    }
  }
})

In future we plan to enable build optimizations based on the metadata you pass in your Nuxt plugins.

🛠️ Easier Devtools Configuration

It's even easier to enable Nuxt DevTools in your project: just set devtools: true in your nuxt.config file to enable devtools.

export default defineNuxtConfig({
  devtools: true
})

If it's not already installed, Nuxt will prompt to install it locally. This means you no longer need to have Nuxt DevTools enabled globally.

Note: the DevTools is still experimental and under active development, so do be prepared for occasional unexpected behaviour, and please report issues directly to https://github.com/nuxt/devtools 🙏

📚 Layers Improvements

We now support transforming ~/~~/@/@@&#8203; aliases within layers, meaning you now no longer need to use relative paths when importing within layers.

This should mean it is much easier to use a 'normal' Nuxt project as a layer without needing to specially write it as one.

🧸 Better Context Transforms

We now transform certain keys of definePageMeta and defineNuxtComponent which means you should have fewer issues with a missing Nuxt instance. This includes support accessing the Nuxt instance after an await within asyncData and setup functions for those still using the Options API. And you no longer need to wrap middleware and validate with defineNuxtRouteMiddleware when using async functions.

♻️ Ecosystem Updates

As usual, this release will pull in upstream improvements, including the new Consola v3 and Nitropack v2.3.3 (a new minor is expected shortly).

🚨 'Breaking fixes'

We've also taken the opportunity to do some cleanup in this minor release.

  1. Previously it was possible to pass the x-nuxt-no-ssr header (undocumented) to force SPA rendering. We've now disabled this behaviour by default but you can get it back by setting experimental.respectNoSSRHeader to true. Alternatively, you can set event.context.nuxt.noSSR on the server to force SPA rendering.
  2. We've removed the (deprecated) #head alias and also disabled the polyfill for @vueuse/head behaviour by default. (It can still be enabled with experimental.polyfillVueUseHead.)
  3. We've removed the (deprecated) experimental.viteNode option. It can be configured instead with vite.devBundler.
  4. We've deprecated accessing public runtime config without the public key. This was an undocument compatibility measure with Nuxt 2 and we plan to remove it entirely in v3.5.
  5. To fix a bug with our vue-router integration, we now generate a slightly different path matching syntax. If you were relying on the exact path generated, have a look at https://github.com/nuxt/nuxt/pull/19902 for more information.
✅ 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 unjs ecosystem.

With Nuxt v3.4.0, we now advise that you explicitly install the @types/node version that matches your Node version.

👉 Changelog

compare changes

🚀 Enhancements
  • nuxt: Warn in dev when useRoute is used in middleware (#​20050)
  • nuxt: Support disabling watch with useFetch (#​19823)
  • nuxt: Support ~/~~/@/@@&#8203; aliases within layers (#​19986)
  • nuxt: Respect custom dir.pages in page placeholder (#​20079)
  • nuxt: Support vue runtime compiler (#​4762)
  • test-utils: Allow mounting single component for testing (#​5723)
  • nuxt: Experimental option for rich json payloads (#​19205)
  • nuxt: Prompt to install devtools when it's enabled (#​20126)
  • Upgrade to consola v3.x prerelease (#​20141)
  • nuxt: Add experimental View Transitions API support (#​20092)
  • nuxt: Support async transform of object properties (#​20182)
  • nuxt: Support object-syntax plugins (#​20003)
  • nuxt: Add experimentalNoScripts route rule (#​19805)
  • nuxt: Add chokidar watcher debug timing (#​20176)
🔥 Performance
  • head: Disable @vueuse/head polyfill by default (#​20131)
🩹 Fixes
  • nuxt: End route param tokens manually (#​19902)
  • nuxt: Disable x-nuxt-no-ssr header by default (#​20024)
  • kit: Support calling Nuxt 2 modules with module container (#​20023)
  • nuxt: Add types for globally injected $config object (#​20081)
  • nuxt: Throw error on protocol relative path in useFetch (#​20052)
  • nuxt: Add @types/node as a peerDependency (#​20025)
  • nuxt: Test all custom app config keys for any (#​20105)
  • nuxt: Add key to .client component placeholders (#​20093)
  • nuxt: Add undefined type for useCookie return value (4f0b3c722)
  • nuxt: Deprecate old (pre-rc) runtimeConfig (#​20082)
  • cli: Preview nitro build with custom dir config (#​18882)
  • nuxt: Default nitro autoImports to imports.autoImport (#​20180)
  • nuxi, vite: Suppress sourcemap + native fetch warnings (#​20198)
  • schema: Allow ignorePrefix to be changed (#​20202)
💅 Refactors
📖 Documentation
  • Add interop default to dynamic vue import example (8908aa7c5)
  • Add short note about custom imports configuration (#​20073)
  • Re-enable docs linting and update docs (#​20084)
  • Fix type of headers option for useFetch (#​20148)
  • Fix typo in @pinia/nuxt module name (#​20199)
  • Add import to server-side cookies example (#​20197)
🏡 Chore
✅ Tests
🎨 Styles
🤖 CI
❤️ Contributors

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.

@codesandbox
Copy link

codesandbox bot commented Mar 8, 2023

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify
Copy link

netlify bot commented Mar 8, 2023

Deploy Preview for nuxt-content ready!

Name Link
🔨 Latest commit 290f6ed
🔍 Latest deploy log https://app.netlify.com/sites/nuxt-content/deploys/6437d894168ac40008fc15b4
😎 Deploy Preview https://deploy-preview-1954--nuxt-content.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 14ac2c7 to 3562714 Compare March 8, 2023 23:04
@renovate renovate bot changed the title chore(deps): update dependency unstorage to ^1.4.0 chore(deps): update all non-major dependencies Mar 8, 2023
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 14 times, most recently from 6d3fa93 to 996c5b8 Compare March 15, 2023 23:22
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 12 times, most recently from 11bb5fc to 3961dbf Compare March 23, 2023 20:24
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 9 times, most recently from 1303b52 to 935aeb3 Compare March 29, 2023 03:36
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from 577e4b5 to ad51f1a Compare April 6, 2023 17:15
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 10 times, most recently from 584b9ee to db7bdee Compare April 13, 2023 09:46
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from db7bdee to 290f6ed Compare April 13, 2023 10:25
@farnabaz farnabaz merged commit e90f368 into main Apr 13, 2023
@farnabaz farnabaz deleted the renovate/all-minor-patch branch April 13, 2023 10: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