Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vitejs/devtools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.21
Choose a base ref
...
head repository: vitejs/devtools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.1.22
Choose a head ref
  • 13 commits
  • 194 files changed
  • 4 contributors

Commits on May 8, 2026

  1. Configuration menu
    Copy the full SHA
    bfbec25 View commit details
    Browse the repository at this point in the history
  2. docs: fix build, restore devframe sidebar import, unify Devframe casi…

    …ng (#322)
    
    Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    antfu and claude authored May 8, 2026
    Configuration menu
    Copy the full SHA
    edd9f93 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd52069 View commit details
    Browse the repository at this point in the history
  4. chore: dedupe lock

    webfansplz committed May 8, 2026
    Configuration menu
    Copy the full SHA
    cd7d0f9 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2026

  1. refactor(devframe)!: relocate json-render from devframe to devtools-k…

    …it (#327)
    
    JSON-render is a hub-layer concern: the spec is rendered by the
    Vite DevTools component catalog, the renderer handle is only
    consumable via a `DevToolsViewJsonRender` dock entry (kit type),
    and every example pairs `createJsonRenderer` with
    `ctx.docks.register({ type: 'json-render', ui })`. Move types,
    factory, and `defineJsonRenderSpec` to `@vitejs/devtools-kit` so
    the API lives in the package that owns the runtime contract;
    `DevToolsNodeContext` is now framework-neutral as intended.
    
    BREAKING: `ctx.createJsonRenderer` is no longer on
    `DevToolsNodeContext`; use `KitNodeContext` (passed to
    `Plugin.devtools.setup` and `createPluginFromDevframe`'s
    `options.setup`). All in-repo consumers already run under kit.
    
    Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    antfu and claude authored May 11, 2026
    Configuration menu
    Copy the full SHA
    fdb3193 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e491710 View commit details
    Browse the repository at this point in the history
  3. refactor(devframe): rename Devtool* identifiers to Devframe* (#328)

    Renames the singular `devtool` terminology throughout the devframe
    package to `devframe`, matching the package name and positioning.
    
    Canonical names: `defineDevframe`, `DevframeDefinition`,
    `DevframeRuntime`, `DevframeDeploymentKind`, `DevframeCliOptions`,
    `DevframeSpaOptions`, `DevframeBrowserContext`, `DevframeSetupInfo`,
    `connectDevframe`.
    
    The old names (`defineDevtool`, `DevtoolDefinition`, `connectDevtool`,
    etc.) continue to work as deprecated aliases — types carry
    `@deprecated` JSDoc, and `defineDevtool` / `connectDevtool` emit a
    one-time `console.warn` on first call before delegating to the new
    name.
    
    Updated source, kit bridge, Nuxt package, docs, examples, skill
    templates, READMEs, and CLAUDE.md/AGENTS.md. The `Vite DevTools`
    product name and `DevTools*` (PascalCase plural) identifiers stay
    unchanged.
    antfu authored May 11, 2026
    Configuration menu
    Copy the full SHA
    1aed403 View commit details
    Browse the repository at this point in the history
  4. feat(devframe): dev-time RPC bridge via `createVitePlugin({ devMiddle…

    …ware })` and Nuxt module (#329)
    
    Adds `devMiddleware` to `createVitePlugin` so a host Vite/Nuxt/Astro app
    can own the SPA while devframe owns the RPC + WS backend. The plugin
    starts `createDevServer` in bridge mode (no sirv mount) on a resolved
    port and serves `<base>__connection.json` via Vite middleware so the
    host-served SPA can discover the WS endpoint.
    
    The `@devframes/nuxt` module gains a matching `devframe` + `devMiddleware`
    pair. Passing `devframe` is the only step required — the bridge defaults
    on, auto-reads `nuxt.options.devServer.host` so `nuxt dev --host`
    propagates, and tears down cleanly on Vite restart / Nuxt close.
    
    `createDevServer`'s `distDir` is now truly optional (bridge mode). New
    `DF0033` (warn) covers bridge startup failures.
    
    Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    antfu and claude authored May 11, 2026
    Configuration menu
    Copy the full SHA
    f255885 View commit details
    Browse the repository at this point in the history
  5. refactor(devframe): replace sirv with h3-native static serving (#330)

    Add a small in-tree utility at `devframe/utils/serve-static` exposing
    `serveStaticHandler` (h3 event handler) and `serveStaticNodeMiddleware`
    (Connect-compatible) backed by a shared file-resolution function with
    SPA fallback, MIME via `mrmime`, HEAD short-circuit, and path-traversal
    guard. Swap all 8 sirv call sites across devframe adapters, kit's Vite
    host, core's server + CLI, and example test utilities. Drop `sirv` from
    the workspace catalog and from every package.json that listed it
    (including two orphan entries in `packages/{rolldown,vite}` that never
    imported it).
    antfu authored May 11, 2026
    Configuration menu
    Copy the full SHA
    c6e0789 View commit details
    Browse the repository at this point in the history
  6. feat(devframe): bundle deps into utils/* with stable minimal API (#331)

    * refactor(devframe): bundle deps and expose them as minimal utils/*
    
    Bundle open, launch-editor, ohash, immer, ansis, and structured-clone-es
    into devframe and expose them through stable utils/* subpaths with
    minimal, swap-friendly wrappers. Audit the existing utils to wrap bare
    re-exports (human-id, whenexpr) and stop leaking immer's Patch/Objectish
    types from shared-state. Drop the now-unused utils/state.ts duplicate.
    Migrate all internal call sites to the new util paths and drop the
    now-transitive deps from packages/{core,kit,vite,rolldown}.
    
    * docs(devframe): document bundled utils/* helpers
    
    Add a dedicated Utilities page listing every `devframe/utils/*` export
    (colors, open, launch-editor, hash, structured-clone, human-id, nanoid,
    promise, events, shared-state, streaming-channel, when), wired into the
    sidebar and the guide landing page. Drop install-separately language
    from the standalone-cli recipe (the `launch-editor` peer-dep note) and
    soften the immer references in shared-state.md, since both are now
    internal implementation details. Add a Bundled utilities section to the
    devframe agent skill so agents know which helpers ship in-box.
    antfu authored May 11, 2026
    Configuration menu
    Copy the full SHA
    3e991b1 View commit details
    Browse the repository at this point in the history
  7. refactor(devframe)!: split auth and rename internal under `devframe/n…

    …ode` (#332)
    
    BREAKING CHANGE: auth helpers (`getTempAuthToken`, `refreshTempAuthToken`,
    `consumeTempAuthToken`, `getPendingAuth`, `setPendingAuth`, `abortPendingAuth`,
    `PendingAuthRequest`, `revokeAuthToken`, `revokeActiveConnectionsForToken`)
    no longer re-export from `devframe/node` — import from `devframe/node/auth`.
    
    The `devframe/internal` sub-export is renamed to `devframe/node/internal`,
    which also now hosts the relocated `context-internal.ts`. End users were
    never meant to depend on this subpath; first-party adapters update accordingly.
    antfu authored May 11, 2026
    Configuration menu
    Copy the full SHA
    f2068d8 View commit details
    Browse the repository at this point in the history
  8. chore: update deps

    antfu committed May 11, 2026
    Configuration menu
    Copy the full SHA
    617fdfb View commit details
    Browse the repository at this point in the history
  9. chore: release v0.1.22

    antfu committed May 11, 2026
    Configuration menu
    Copy the full SHA
    18e7dab View commit details
    Browse the repository at this point in the history
Loading