Skip to content

chore(deps): update kubb to v4 (major)#480

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-kubb
Open

chore(deps): update kubb to v4 (major)#480
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-kubb

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 26, 2026

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@kubb/cli (source) ^3.18.3^4.36.3 age confidence
@kubb/core (source) ^3.18.3^4.36.3 age confidence
@kubb/plugin-client (source) ^3.18.3^4.36.3 age confidence
@kubb/plugin-oas (source) ^3.18.3^4.36.3 age confidence
@kubb/plugin-react-query (source) ^3.18.3^4.36.3 age confidence
@kubb/plugin-ts (source) ^3.18.3^4.36.3 age confidence
@kubb/plugin-zod (source) ^3.18.3^4.36.3 age confidence
@kubb/react (source) ^3.18.3^4.3.1 age confidence

Release Notes

kubb-labs/kubb (@​kubb/cli)

v4.36.3

Compare Source

Patch Changes

v4.36.2

Compare Source

Patch Changes

v4.36.1

Compare Source

Patch Changes

v4.36.0

Compare Source

Patch Changes

v4.35.1

Compare Source

Patch Changes

v4.35.0

Compare Source

Patch Changes

v4.34.0

Compare Source

Patch Changes

v4.33.5

Compare Source

Patch Changes

v4.33.4

Compare Source

Patch Changes

v4.33.3

Patch Changes

v4.33.2

Patch Changes

v4.33.1

Compare Source

Patch Changes
  • #​2689 856fa78 Thanks @​stijnvanhulle! - Extract node-native and pure-TypeScript utilities into @internals/utils.

    The following utilities have been moved from @kubb/core, @kubb/cli, and @kubb/plugin-oas into the private @internals/utils package and are now bundled into each consumer at build time:

    • @kubb/core@internals/utils: clean, exists/existsSync, read/readSync, write, getRelativePath (fs utilities), formatHrtime/formatMs/getElapsedMs, spawnAsync, executeIfOnline/isOnline, canUseTTY/isCIEnvironment/isGitHubActions, serializePluginOptions
    • @kubb/cli@internals/utils: randomCliColor/randomColors, formatMsWithColor, toError/getErrorMessage/toCause
    • @kubb/plugin-oas@kubb/oas: resolveServerUrl (moved to @kubb/oas as it depends on OAS types)

    The @kubb/core/fs and @kubb/core/utils subpath exports have been removed. All symbols previously accessible via these subpaths are now exported from the main @kubb/core entry point.

    Consumers that imported from @kubb/core/fs or @kubb/core/utils should update their imports to use @kubb/core directly.

  • Updated dependencies [856fa78]:

v4.33.0

Compare Source

Minor Changes
  • #​2675 9d74bc0 Thanks @​stijnvanhulle! - Replace citty with a zero-dependency CLI layer built on node:util parseArgs.
    Command runners are lazily imported via await import() inside each command handler, so the heavy runner logic is only loaded when that command is actually executed. Adds defineCommand with typed option inference, a nodeAdapter, and createCLI factory.
Patch Changes

v4.32.4

Compare Source

Patch Changes

v4.32.3

Compare Source

Patch Changes

v4.32.2

Compare Source

Patch Changes

v4.32.1

Compare Source

Patch Changes

v4.32.0

Compare Source

Patch Changes

v4.31.6

Compare Source

Patch Changes

v4.31.5

Compare Source

Patch Changes

v4.31.4

Compare Source

Patch Changes

v4.31.3

Compare Source

Patch Changes

v4.31.2

Compare Source

Patch Changes

v4.31.1

Compare Source

Patch Changes

v4.31.0

Compare Source

Minor Changes
  • #​2607 e244177 Thanks @​copilot-swe-agent! - Add anonymous telemetry to the Kubb CLI to track usage data (command, plugins, version, duration, platform, Node.js version, and file count). No OpenAPI specs, file paths, plugin options, or secrets are ever collected.

    Telemetry can be disabled at any time by setting:

    • DO_NOT_TRACK=1 – standard opt-out flag recognised by many developer tools (consoledonottrack.com)
    • KUBB_DISABLE_TELEMETRY=1 – Kubb-specific opt-out flag
Patch Changes

v4.29.1

Compare Source

Patch Changes

v4.29.0

Compare Source

Minor Changes
Patch Changes

v4.28.1

Compare Source

Patch Changes

v4.28.0

Compare Source

Patch Changes

v4.27.4

Patch Changes

v4.27.3

Patch Changes

v4.27.2

Compare Source

Patch Changes

v4.27.1

Compare Source

Patch Changes

v4.27.0

Compare Source

Minor Changes
  • #​2536 bd0feb0 Thanks @​stijnvanhulle! - Add --allow-write and --allow-all CLI flags (and corresponding KUBB_AGENT_ALLOW_WRITE / KUBB_AGENT_ALLOW_ALL env variables) to kubb agent start.
    • --allow-write / KUBB_AGENT_ALLOW_WRITE=true – opt-in to writing generated files to the filesystem. When not set, the kubb config runs with output.write: false and the Studio config patch is not persisted.
    • --allow-all / KUBB_AGENT_ALLOW_ALL=true – grant all permissions; implies --allow-write.
Patch Changes

v4.26.1

Patch Changes

v4.26.0

Patch Changes

v4.25.2

Patch Changes

v4.25.1

Patch Changes

v4.25.0

Compare Source

Patch Changes
  • #​2484 3b8136a Thanks @​stijnvanhulle! - WebSocket integration for Kubb Studio connectivity

    Add bidirectional WebSocket communication between Kubb Agent and Kubb Studio. The agent now automatically connects to Studio on startup when KUBB_STUDIO_URL and KUBB_AGENT_TOKEN environment variables are set.

    Features:

    • Persistent WebSocket connection with automatic reconnection
    • Real-time streaming of generation events to Studio
    • Command handling for generate and connect commands from Studio
    • Session caching for faster reconnects (24-hour expiration)
    • Graceful shutdown with disconnect notifications
    • SHA-512 token hashing for secure session storage
    • Configurable retry intervals with keep-alive pings

    See the @​kubb/agent documentation for setup and usage details.

  • Updated dependencies []:

v4.24.1

Compare Source

Patch Changes

v4.24.0

Compare Source

Minor Changes
  • #​2481 2daf389 Thanks @​stijnvanhulle! - Add Agent server package with HTTP-based code generation capabilities and new kubb agent start command for running an HTTP server.
Patch Changes

v4.23.0

Compare Source

Patch Changes

v4.22.3

Compare Source

Patch Changes

v4.22.2

Compare Source

Patch Changes

v4.22.1

Compare Source

Patch Changes

v4.22.0

Compare Source

Patch Changes

v4.21.2

Compare Source

Patch Changes

v4.21.1

Compare Source

Patch Changes

v4.21.0

Compare Source

Patch Changes

v4.20.5

Compare Source

Patch Changes

v4.20.3

Compare Source

Patch Changes

v4.20.2

Compare Source

Patch Changes
  • 6006dc3 Thanks @​stijnvanhulle! - Fixed version check to work offline by gracefully handling network errors. Added isOnline() and executeIfOnline() helpers in @kubb/core/utils to detect internet connectivity.

  • Updated dependencies [6006dc3]:

v4.20.1

Compare Source

Patch Changes

v4.20.0

Compare Source

Minor Changes
  • #​2396 b5c4fd9 Thanks @​stijnvanhulle! - Add new init command for interactive project setup

    The CLI now includes a new kubb init command that provides an interactive setup wizard to quickly scaffold a Kubb project:

    • Interactive prompts: Uses @clack/prompts for a beautiful CLI experience
    • Package manager detection: Automatically detects npm, pnpm, yarn, or bun
    • Plugin selection: Multi-select from all 13 available Kubb plugins
    • Automatic installation: Installs selected packages with the detected package manager
    • Config generation: Creates kubb.config.ts with sensible defaults
    • File protection: Asks before overwriting existing configuration

    Usage:

    npx kubb init

    The command will guide you through:

    1. Creating a package.json (if needed)
    2. Selecting your OpenAPI specification path
    3. Choosing which plugins to install
    4. Installing packages automatically
    5. Generating kubb.config.ts

    This is now the recommended way to start a new Kubb project!

Patch Changes

v4.19.2

Compare Source

Patch Changes

v4.19.1

Compare Source

Patch Changes

v4.19.0

Compare Source

Patch Changes

v4.18.5

Compare Source

Patch Changes

v4.18.4

Compare Source

Patch Changes

v4.18.3

Compare Source

Patch Changes

v4.18.2

Compare Source

Patch Changes

v4.18.1

Compare Source

Patch Changes

v4.18.0

Compare Source

Minor Changes
Patch Changes
  • #​2330 25f657a Thanks @​copilot-swe-agent! - Updated tsdown from 0.18.4 to 0.19.0 and added keepNames: true in outputOptions for all packages. This preserves function and class names in bundled output, fixing React DevTools component inspection and improving debugging experience.

  • Updated dependencies [ec5893e, 25f657a]:

v4.17.1

Compare Source

Patch Changes

v4.17.0

Compare Source

Minor Changes
Patch Changes

v4.16.0

Compare Source

Patch Changes

v4.15.2

Compare Source

Patch Changes

v4.15.1

Compare Source

Patch Changes

v4.15.0

Compare Source

Patch Changes

v4.14.1

Compare Source

Patch Changes

v4.14.0

Compare Source

Patch Changes

v4.13.1

Compare Source

Patch Changes

v4.13.0

Compare Source

Minor Changes
  • #​2272 f5a38da Thanks @​copilot-swe-agent! - Add 'auto' option for output.lint and output.format to automatically detect available tools

    Format Auto-Detection:
    When format: 'auto' is set, Kubb automatically detects and uses available formatters in this order: biome → prettier

    Lint Auto-Detection:
    When lint: 'auto' is set, Kubb automatically detects and uses available linters in this order: biome → oxlint → eslint

    This provides a convenient default for users who want formatting/linting without specifying which tool to use.

    // kubb.config.ts
    export default defineConfig({
      input: { path: "./petStore.yaml" },
      output: {
        path: "./src/gen",
        format: "auto", // Detects biome or prettier
        lint: "auto", // Detects biome, oxlint, or eslint
      },
    });
Patch Changes

v4.12.15

Compare Source

Patch Changes

v4.12.14

Compare Source

Patch Changes

v4.12.13

Compare Source

Patch Changes
  • #​2246 f8c1b10 Thanks @​copilot-swe-agent! - Fix module resolution issue when loading TypeScript config files. The jiti instance now uses the config file's location as the base for module resolution instead of the CLI's location. This prevents errors like "Cannot find module './_baseIsArguments'" when loading user config files that import Kubb plugins.

  • Updated dependencies []:

v4.12.12

Compare Source

Patch Changes

v4.12.11

Compare Source

Patch Changes

v4.12.10

Compare Source

Patch Changes

v4.12.9

Compare Source

Patch Changes

v4.12.8

Compare Source

Patch Changes

v4.12.7

Compare Source

Patch Changes

v4.12.6

Compare Source

Patch Changes

v4.12.5

Compare Source

Patch Changes

v4.12.4

Compare Source

Patch Changes

v4.12.3

Compare Source

Patch Changes

v4.12.2

Compare Source

Patch Changes

v4.12.1

Compare Source

Patch Changes

v4.12.0

Compare Source

Minor Changes
Patch Changes

v4.11.3

Compare Source

Patch Changes

v4.11.2

Compare Source

Patch Changes

v4.11.1

Patch Changes

v4.11.0

Patch Changes

v4.10.1

Patch Changes

v4.10.0

Patch Changes

v4.9.4

Compare Source

Patch Changes

v4.9.3

Compare Source

Patch Changes

v4.9.2

Compare Source

Patch Changes

v4.9.1

Compare Source

Patch Changes

v4.9.0

Compare Source

Patch Changes

v4.8.1

Compare Source

Patch Changes

v4.8.0

Compare Source

Patch Changes

v4.7.4

Compare Source

Patch Changes

v4.7.3

Compare Source

Patch Changes

v4.7.2

Compare Source

Patch Changes

v4.7.1

Compare Source

Patch Changes

v4.7.0

Compare Source

Patch Changes

v4.6.4

Compare Source

Patch Changes

v4.6.3

Compare Source

Patch Changes

v4.6.2

Compare Source

Patch Changes

v4.6.1

Compare Source

Patch Changes

v4.6.0

Compare Source

Patch Changes

v4.5.15

Compare Source

Patch Changes

v4.5.14

Compare Source

Patch Changes

v4.5.13

Compare Source

Patch Changes

v4.5.12

Compare Source

Patch Changes

v4.5.11

[Compare Source](https://redirect.git


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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link

vercel bot commented Feb 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
jitaspace Error Error Mar 23, 2026 6:14pm

Request Review

@renovate renovate bot force-pushed the renovate/major-kubb branch from d41807b to cd0e1ad Compare March 3, 2026 13:55
@renovate renovate bot force-pushed the renovate/major-kubb branch from cd0e1ad to 3a5efbc Compare March 3, 2026 18:37
@renovate renovate bot force-pushed the renovate/major-kubb branch from 3a5efbc to 8140af8 Compare March 4, 2026 09:19
@renovate renovate bot force-pushed the renovate/major-kubb branch from 8140af8 to 75efd45 Compare March 4, 2026 12:35
@renovate renovate bot force-pushed the renovate/major-kubb branch from 75efd45 to c704905 Compare March 5, 2026 20:44
@renovate renovate bot force-pushed the renovate/major-kubb branch from c704905 to aa35ab7 Compare March 6, 2026 13:13
@renovate renovate bot force-pushed the renovate/major-kubb branch from aa35ab7 to a7b01b0 Compare March 6, 2026 22:47
@renovate renovate bot force-pushed the renovate/major-kubb branch from a7b01b0 to 7c1bbc7 Compare March 7, 2026 12:48
@renovate renovate bot force-pushed the renovate/major-kubb branch from 7c1bbc7 to aad549f Compare March 8, 2026 21:20
@renovate renovate bot force-pushed the renovate/major-kubb branch from aad549f to ab92d00 Compare March 8, 2026 22:25
@renovate renovate bot force-pushed the renovate/major-kubb branch from ab92d00 to b85a66c Compare March 8, 2026 22:32
@renovate renovate bot force-pushed the renovate/major-kubb branch from b85a66c to 2f17772 Compare March 9, 2026 16:57
@renovate renovate bot force-pushed the renovate/major-kubb branch from 2f17772 to 7cdfaa4 Compare March 9, 2026 21:40
@renovate renovate bot force-pushed the renovate/major-kubb branch from 7cdfaa4 to ffad629 Compare March 12, 2026 13:44
@renovate renovate bot force-pushed the renovate/major-kubb branch from ffad629 to 660c9d7 Compare March 13, 2026 18:10
@renovate renovate bot force-pushed the renovate/major-kubb branch from 29ed0ce to e682b59 Compare March 23, 2026 18:11
@sonarqubecloud
Copy link

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