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

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 9, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@cloudflare/workers-types ^4.20231121.0 -> ^4.20231218.0 age adoption passing confidence
@netlify/blobs ^6.3.1 -> ^6.4.1 age adoption passing confidence
@types/node (source) ^20.10.5 -> ^20.11.0 age adoption passing confidence
@upstash/redis ^1.25.2 -> ^1.28.0 age adoption passing confidence
@vitejs/plugin-vue (source) ^4.5.2 -> ^4.6.2 age adoption passing confidence
@vue/compiler-sfc (source) ^3.3.12 -> ^3.4.10 age adoption passing confidence
fake-indexeddb ^5.0.1 -> ^5.0.2 age adoption passing confidence
h3 ^1.9.0 -> ^1.10.0 age adoption passing confidence
jsdom ^23.0.1 -> ^23.2.0 age adoption passing confidence
listhen ^1.5.5 -> ^1.5.6 age adoption passing confidence
mongodb-memory-server (source) ^9.1.3 -> ^9.1.4 age adoption passing confidence
node-fetch-native ^1.4.1 -> ^1.6.1 age adoption passing confidence
nuxt (source) ^3.8.2 -> ^3.9.1 age adoption passing confidence
pnpm (source) 8.12.1 -> 8.14.1 age adoption passing confidence
vue (source) ^3.3.12 -> ^3.4.10 age adoption passing confidence

Release Notes

cloudflare/workerd (@​cloudflare/workers-types)

v4.20231218.0

Compare Source

netlify/blobs (@​netlify/blobs)

v6.4.1

Compare Source

Bug Fixes

v6.4.0

Compare Source

Features
Bug Fixes
  • copy temp file to prevent EXDEV: cross-device link not permitted (#​132) (61b4ee6)
upstash/upstash-redis (@​upstash/redis)

v1.28.0

Compare Source

What's Changed

Full Changelog: upstash/redis-js@v1.27.1...v1.28.0

v1.27.1

Compare Source

What's Changed

Full Changelog: upstash/redis-js@v1.27.0...v1.27.1

v1.27.0

Compare Source

What's Changed

Full Changelog: upstash/redis-js@v1.26.0...v1.27.0

vuejs/core (@​vue/compiler-sfc)

v3.4.10

Compare Source

Bug Fixes
  • hydration: should not warn on falsy bindings of non-property keys (3907c87)

v3.4.9

Compare Source

Bug Fixes
  • build: avoid accessing FEATURE_PROD_DEVTOOLS flag in root scope (dfd9654)
  • hydration: do not warn against bindings w/ object values (dcc68ef)
  • runtime-dom: unify behavior for v-show + style display binding (#​10075) (cd419ae), closes #​10074
  • suspense: avoid double-patching nested suspense when parent suspense is not resolved (#​10055) (bcda96b), closes #​8678

v3.4.8

Compare Source

Bug Fixes

v3.4.7

Compare Source

Bug Fixes
Reverts
  • "dx(computed): warn incorrect use of getCurrentInstance inside computed" (2fd3905)

v3.4.6

Compare Source

Bug Fixes

v3.4.5

Compare Source

Bug Fixes
  • compiler-sfc: fix co-usage of defineModel transform options and props destructure (b20350d), closes #​9972
  • compiler-sfc: fix sfc template unref rewrite for class instantiation (ae60a91), closes #​6483 #​6491
  • compiler-ssr: fix node clone edge case caused by AST reuse (#​9983) (7dbdb3e), closes #​9981
  • watch: cleanup watcher effect from scope when manually stopped (#​9978) (d2d8955)

v3.4.4

Compare Source

Bug Fixes
  • compiler-sfc: fix scss source map regression (71d3121), closes #​9970 #​9969
  • compiler-sfc: use compilerOptions when re-parsing consumed AST (d94d8d4)
  • defineModel: support kebab-case/camelCase mismatches (#​9950) (10ccb9b)
  • runtime-core: correctly assign suspenseId to avoid conflicts with the default id (#​9966) (0648804), closes #​9944
  • ssr: avoid rendering transition-group slot content as a fragment (#​9961) (0160264), closes #​9933
  • watch: remove instance unmounted short circuit in getter of watchEffect (#​9948) (f300a40)
  • watch: revert watch behavior when watching shallow reactive objects (a9f781a), closes #​9965
Performance Improvements
  • watch: avoid double traverse for reactive source (24d77c2)

v3.4.3

Compare Source

Bug Fixes
  • compiler-sfc: respect sfc parse options in cache key (b8d58ec)

v3.4.2

Compare Source

Bug Fixes

v3.4.1

Compare Source

Bug Fixes
  • compat: correct enum value for COMPILER_FILTERS feature (#​9875) (77d33e2)
  • defineModel: always default modifiers to empty object (9bc3c7e), closes #​9945
  • defineModel: support local mutation when only prop but no listener is passed (97ce041)
  • types: fix defineModel watch type error (#​9942) (4af8583), closes #​9939
Features

v3.4.0

Compare Source

Read this blog post for an overview of the release highlights.

Potential Actions Needed
  1. To fully leverage new features in 3.4, it is recommended to also update the following dependencies when upgrading to 3.4:

    • Volar / vue-tsc@^1.8.27 (required)
    • @​vitejs/plugin-vue@​^5.0.0 (if using Vite)
    • nuxt@^3.9.0 (if using Nuxt)
    • vue-loader@^17.4.0 (if using webpack or vue-cli)
  2. If using TSX with Vue, check actions needed in Removed: Global JSX Namespace.

  3. Make sure you are no longer using any deprecated features (if you are, you should have warnings in the console telling you so). They may have been removed in 3.4.

Features
Performance Improvements
  • compiler-sfc: avoid sfc source map unnecessary serialization and parsing (f15d2f6)
  • compiler-sfc: remove magic-string trim on script (e8e3ec6)
  • compiler-sfc: use faster source map addMapping (50cde7c)
  • compiler-core: optimize away isBuiltInType (66c0ed0)
  • compiler-core: optimize position cloning (2073236)
  • codegen: optimize line / column calculation during codegen (3be53d9)
  • codegen: optimize source map generation (c11002f)
  • shared: optimize makeMap (ae6fba9)
BREAKING CHANGES
Global JSX Registration Removed

Starting in 3.4, Vue no longer registers the global JSX namespace by default. This is necessary to avoid global namespace collision with React so that TSX of both libs can co-exist in the same project. This should not affect SFC-only users with latest version of Volar.

If you are using TSX, there are two options:

  1. Explicitly set jsxImportSource to 'vue' in tsconfig.json before upgrading to 3.4. You can also opt-in per file by adding a /* @​jsxImportSource vue */ comment at the top of the file.

  2. If you have code that depends on the presence of the global JSX namespace, e.g. usage of types like JSX.Element etc., you can retain the exact pre-3.4 global behavior by explicitly referencing vue/jsx, which registers the global JSX namespace.

Note that this is a type-only breaking change in a minor release, which adheres to our release policy.

Deprecated Features Removed
  • Reactivity Transform was marked deprecated in 3.3 and is now removed in 3.4. This change does not require a major due to the feature being experimental. Users who wish to continue using the feature can do so via the Vue Macros plugin.
  • app.config.unwrapInjectedRef has been removed. It was deprecated and enabled by default in 3.3. In 3.4 it is no longer possible to disable this behavior.
  • @vnodeXXX event listeners in templates are now a compiler error instead of a deprecation warning. Use @vue:XXX listeners instead.
  • v-is directive has been removed. It was deprecated in 3.3. Use the is attribute with vue: prefix instead.

v3.3.13

Compare Source

Bug Fixes
dumbmatter/fakeIndexedDB (fake-indexeddb)

v5.0.2

Compare Source

  • #​94 - Improved performance of IDBObjectStore.count and IDBIndex.count.
unjs/h3 (h3)

v1.10.0

Compare Source

compare changes

🚀 Enhancements
  • validate: Provide validate error in data (#​594)
🩹 Fixes
  • readRawBody: Check req.rawBody before req.body (#​604)
📖 Documentation
  • Add h3-compression to community packages (#​524)
  • Add examples (#​539)
🌊 Types
  • Add generics to isError and update DataT default generic param (#​582)
  • setResponseHeaders: Add autocompletion for header names (#​601)
🏡 Chore
🤖 CI
  • Fix nightly release job conditional (#​587)
❤️ Contributors
jsdom/jsdom (jsdom)

v23.2.0

Compare Source

This release switches our CSS selector engine from nwsapi to @asamuzakjp/dom-selector. The new engine is more actively maintained, and supports many new selectors: see the package's documentation for the full list. It also works better with shadow trees.

There is a potential of a performance regression due to this change. In our stress test benchmark, which runs most of these 273 selectors against this 128 KiB document, the new engine completes the benchmark only 0.25x as fast. However, we're hopeful that in more moderate usage this will not be a significant issue. Any help speeding up @asamuzakjp/dom-selector is appreciated, and feel free to open an issue if this has had a significant impact on your project.

v23.1.0

Compare Source

  • Added an initial implementation of ElementInternals, including the shadowRoot getter and the string-valued ARIA properties. (zjffun)
  • Added the string-valued ARIA attribute-reflecting properties to Element.
  • Fixed history.pushState() and history.replaceState() to follow the latest specification, notably with regards to how they handle empty string inputs and what new URLs are possible.
  • Fixed the input.valueAsANumber setter to handle NaN correctly. (alexandertrefz)
  • Updated various dependencies, including cssstyle which contains several bug fixes.
unjs/listhen (listhen)

v1.5.6

Compare Source

compare changes

🩹 Fixes
  • Apply default localhost in internal generateURL util (6c76d31)
  • dev: Fix absolute paths imports on windows (#​142)
📖 Documentation
🏡 Chore
❤️ Contributors
nodkz/mongodb-memory-server (mongodb-memory-server)

v9.1.4

Compare Source

Fixes
  • MongoMemoryServer::getStartOptions: coerce version to semver before semver checks (427531e), closes #​841
unjs/node-fetch-native (node-fetch-native)

v1.6.1

Compare Source

compare changes

📦 Build
  • proxy: Reorder to fix cjs build (0063bc1)
❤️ Contributors

v1.6.0

Compare Source

compare changes

🚀 Enhancements
  • proxy: Export fetch and createFetch (#​108)
  • proxy: Support no_proxy (#​109)
🩹 Fixes
  • proxy: Update environment variable check order (742d27e)
❤️ Contributors

v1.5.1

Compare Source

compare changes

🩹 Fixes
  • proxy: Support lower-case environment variables too (144996b)
📦 Build
  • Add backward compatible types for /proxy subpath export (584ee24)
❤️ Contributors

v1.5.0

Compare Source

compare changes

🚀 Enhancements
🏡 Chore
❤️ Contributors
nuxt/nuxt (nuxt)

v3.9.1

Compare Source

3.9.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: Avoid multiple iterations in useRequestHeaders (#​24853)
  • kit,schema,nuxt: Refactor startsWith to array access (#​24744)
  • nuxt: Use single iteration when normalising routes (#​24946)
  • nuxt: Remove some line breaks when rendering html (#​24888)
🩹 Fixes
  • nuxt: Catch error in NuxtErrorBoundary with ssr: false (#​24896)
  • kit: Show correct error when module can't be loaded (#​24957)
  • nuxt: Deeply watch island props (#​24986)
  • nuxt: Don't show transition on initial page load (#​24935)
  • nuxt: Clone cookie to detect changes within object (#​25007)
  • nuxt: Do not warn about missing layouts on error page (#​25008)
  • nuxt: Ignore plugins typed as any in inferred injections (#​25010)
  • nuxt: Reuse intermediate setup state in <ClientOnly> (#​25009)
  • nuxt: Skip scanning layout/middleware without name (#​25015)
  • nuxt: Wrap universal router currentRoute in Ref (#​25026)
  • nuxt: Stop loading indicator if page keys are the same (#​24931)
💅 Refactors
  • nuxt: Remove old reference to nuxt-config-schema (#​25067)
📖 Documentation
  • Switch features/future docs (f5676fba5)
  • Corrected json syntax in 7.esm.md (#​24937)
  • Specify yarn pnp opt-out for install (#​24923)
  • Capitalise hash for vue-router docs link (#​24948)
  • Add badge for callOnce utility (792cf6713)
  • Warn about hydration issue with URL fragment (#​24961)
  • Mention readValidatedBody and getValidatedQuery (#​24990)
  • Add missing imports for nitro examples (#​25003)
  • Add an example of provide with object syntax plugins (#​24993)
  • Update EOL date for Nuxt 2 (afbc4080b)
  • Add callout for getValidatedRouterParams (#​25057)
  • Warn about ref unwrapping when providing refs from plugin (#​25054)
🏡 Chore
  • Add bullet for adding tests in pr template (2bda817ea)
✅ Tests
❤️ Contributors

v3.9.0

Compare Source

3.9.0 is the next minor release.

👀 Highlights

A very merry Christmas to you and yours from all Nuxters involved in this release! 🎁🎄

We have lots of features packed into v3.9.0 and can't wait for you to try them out.

⚡️ Vite 5

This release comes with Vite 5 and Rollup 4 support. Module authors may need to check to ensure that any vite plugins you're creating are compatible with these latest releases.

This comes with a whole host of great improvements and bug fixes - check out the Vite changelog for more info.

✨ Vue 3.4 ready

This release is tested with the latest Vue 3.4 release candidate, and has the necessary configuration to take advantage of new features in Vue 3.4, including debugging hydration errors in production (just set debug: true) in your Nuxt config.

👉 To take advantage, just update your vue version once v3.4 is released, or try out the release candidate today:

{
  "dependencies": {
    "nuxt": "3.9.0",
    "vue": "3.4.0-rc.1",
    "vue-router": "latest"
  }
}
🏝️ Interactive Server Components

This is a highly-experimental update, but it's now possible to play around with interactive components within Nuxt server components. You'll need to enable this new feature additionally to component islands:

export default defineNuxtConfig({
  experimental: {
    componentIslands: {
      selectiveClient: true
    }
  }
})

Now, within a server component, you can specify components to hydrate by using the nuxt-client directive:

<NuxtLink :to="/" nuxt-client />

We're pretty excited about this one - so do let us know how you're using it! 🙏

🔥 Automatic Server Optimisations

We now use Vite's new AST-aware 'define' to perform more accurate replacements on server-side code, meaning code like this will no longer throw an error:

<script setup lang="ts">
if (document) {
  console.log(document.querySelector('div'))
}
</script>

This hasn't been possible until now because we haven't wanted to run the risk of accidentally replacing normal words like document within non-JS parts of your apps. But Vite's new define functionality is powered by esbuild and is syntax-aware, so we feel confident in enabling this functionality. Nevertheless, you can opt out if you need to:

export default defineNuxtConfig({
  hooks: {
    'vite:extendConfig' (config) {
      delete config.define!.document
    }
  }
})
🚦 Granular Loading API

We now have a new hook-based system for <NuxtLoadingIndicator>, including a useLoadingIndicator composable that lets you control/stop/start the loading state. You can also hook into page:loading:start and page:loading:end if you prefer.

You can read more in the docs and in the original PR (#​24010).

🏁 Run single events in callOnce

Sometimes you only want to run code once, no matter how many times you load a page - and you don't want to run it again on the client if it ran on the server.

For this, we have a new utility: callOnce (#​24787).

<script setup>
const websiteConfig = useState('config')

await callOnce(async () => {
  console.log('This will only be logged once')
  websiteConfig.value = await $fetch('https://my-cms.com/api/website-config')
})
</script>

Note that this utility is context-aware so it must be called in component setup function or Nuxt plugin, as with other Nuxt composables.

Read more in the docs.

🚨 Error Types

For a while now, errors returned by useAsyncData and useFetch have been typed pretty generically as Error. We've significantly improved the type possibilities for them to make them more accurate in terms of what you'll actually receive. (We normalise errors with the h3 createError utility under the hood, so they can be serialised from server to client, for example.)

We've tried to implement the type change in a backwards compatible way, but you might notice that you need to update the generic if you're manually configuring the generics for these composables. See (#​24396) for more information, and do let us know if you experience any issues.

🔥 Schema Performance

We've taken some time in this release to make some minor performance improvements, so you should notice some things are a bit faster. This is an ongoing project and we have ideas for improving initial load time of the Nuxt dev server.

✅ 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.

👉 Changelog

compare changes

🚀 Enhancements
  • nuxt: Warn when page uses a layout without <NuxtLayout> (#​24116)
  • kit: Support prepend option for addComponentsDir (#​24309)
  • kit: Allow customising logger options (#​24243)
  • nuxt: Allow readonly option for useCookie ([#​24503](htt

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.

Copy link

codecov bot commented Jan 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3e85388) 75.32% compared to head (54152eb) 75.32%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #369   +/-   ##
=======================================
  Coverage   75.32%   75.32%           
=======================================
  Files          30       30           
  Lines        3534     3534           
  Branches      494      494           
=======================================
  Hits         2662     2662           
  Misses        871      871           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from fb567ce to 54152eb Compare January 11, 2024 20:02
@renovate renovate bot merged commit 86ef844 into main Jan 12, 2024
5 checks passed
@renovate renovate bot deleted the renovate/all-minor-patch branch January 12, 2024 01:46
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