Skip to content

build(deps): bump @nuxt/image from 1.11.0 to 2.0.0 in /docs - #155

Open
dependabot[bot] wants to merge 1 commit into
4.xfrom
dependabot/npm_and_yarn/docs/nuxt/image-2.0.0
Open

build(deps): bump @nuxt/image from 1.11.0 to 2.0.0 in /docs#155
dependabot[bot] wants to merge 1 commit into
4.xfrom
dependabot/npm_and_yarn/docs/nuxt/image-2.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 30, 2026

Copy link
Copy Markdown
Contributor

Bumps @nuxt/image from 1.11.0 to 2.0.0.

Release notes

Sourced from @​nuxt/image's releases.

v2.0.0

We're excited to announce Nuxt Image v2! 🎉 This release focuses on TypeScript support, performance improvements, and better developer experience.

👀 Highlights

[!NOTE] Nuxt Image v2 requires Nuxt 3.1+. If you're on Nuxt 3.0.x, you'll need to upgrade to at least 3.1 first.

🎯 TypeScript support

The biggest change in v2 is full TypeScript support throughout the module (#1802).

Typed providers

Image providers now use defineProvider for type-safe configuration:

// Before (v1)
export const getImage = (src, { modifiers, baseURL }) => {
  // ...
  return { url }
}
// After (v2)
import { defineProvider } from '@​nuxt/image/runtime'
export default defineProvider({
getImage(src, { modifiers, baseURL }) {
// Fully typed modifiers
// ...
return { url }
}
})

Type-safe configuration

Module options are now fully typed. For example, providers that require a baseURL will enforce it at the type level in your nuxt.config.ts:

export default defineNuxtConfig({
  image: {
    provider: 'cloudinary',
    cloudinary: {
      baseURL: 'https://res.cloudinary.com/...' // TypeScript error if missing!
    }
  }
})

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​nuxt/image since your current version.


@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jul 30, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/docs/nuxt/image-2.0.0 branch from 399e2b5 to 17a6d10 Compare July 30, 2026 19:47
Bumps [@nuxt/image](https://github.com/nuxt/image) from 1.11.0 to 2.0.0.
- [Release notes](https://github.com/nuxt/image/releases)
- [Changelog](https://github.com/nuxt/image/blob/main/CHANGELOG.md)
- [Commits](nuxt/image@v1.11.0...v2.0.0)

---
updated-dependencies:
- dependency-name: "@nuxt/image"
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/docs/nuxt/image-2.0.0 branch from 17a6d10 to f9ba8c2 Compare July 30, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants