Skip to content

Releases: VoltAgent/voltagent

@voltagent/sdk@2.0.3

28 Apr 18:32
ad4c44c

Choose a tag to compare

Patch Changes

  • #1255 97226de Thanks @omeraplak! - Add a VoltOps observability trace list API for loading persisted traces with project keys.

  • Updated dependencies [97226de, faeb4ff]:

    • @voltagent/core@2.7.4

@voltagent/core@2.7.4

28 Apr 18:32
ad4c44c

Choose a tag to compare

Patch Changes

  • #1255 97226de Thanks @omeraplak! - Add a VoltOps observability trace list API for loading persisted traces with project keys.

  • #1257 faeb4ff Thanks @omeraplak! - Fix workspace search auto-index retry behavior for tenant-aware filesystems that require operation context.

@voltagent/server-hono@2.0.13

25 Apr 16:30
c05cc36

Choose a tag to compare

Patch Changes

  • #1241 794da98 Thanks @truffle-dev! - fix(server-hono): don't double-prefix basePath when Hono already merged it into route.path

    When a sub-app is mounted via app.route(basePath, subApp) or app.basePath(basePath),
    Hono's internal _addRoute calls mergePath(basePath, path) and stores the merged
    result in route.path, while still keeping basePath on the route as metadata.
    extractCustomEndpoints blindly prepended basePath to route.path, so a route
    registered as /api/hello with basePath: "/api" was logged as GET /api/api/hello
    even though Hono served it correctly at /api/hello. Only prepend basePath when
    route.path does not already include it.

  • Updated dependencies [b4cb089, 69b78fd, 832f094, 99c201b]:

    • @voltagent/core@2.7.3
    • @voltagent/server-core@2.1.16

@voltagent/server-core@2.1.16

25 Apr 16:30
c05cc36

Choose a tag to compare

Patch Changes

  • #1247 832f094 Thanks @omeraplak! - fix(server-core): report requested port conflicts instead of silently switching ports

    When a server provider is configured with an explicit port and that port is already in use, VoltAgent now stops with guidance for configuring a different port instead of automatically binding to another available port. Calls without an explicit port keep the previous automatic fallback behavior.

  • Updated dependencies [b4cb089, 69b78fd, 99c201b]:

    • @voltagent/core@2.7.3

@voltagent/core@2.7.3

25 Apr 16:30
c05cc36

Choose a tag to compare

Patch Changes

  • #1249 b4cb089 Thanks @omeraplak! - fix(core): allow disabling conversation title temperature

    Conversation title generation now keeps the existing default temperature: 0, while allowing generateTitle.temperature: null to omit the parameter for reasoning models that do not support temperature. Unsupported temperature warnings are surfaced at warn level with guidance, and title generation failures are logged at warn level instead of debug.

  • #1248 69b78fd Thanks @omeraplak! - Fix conversation title generation when memory is supplied globally to VoltAgent.

  • #1245 99c201b Thanks @omeraplak! - Register agents synchronously during VoltAgent construction so getAgent and getAgents can return agents with global defaults before ready resolves.

@voltagent/server-core@2.1.15

23 Apr 03:17
0b793d9

Choose a tag to compare

Patch Changes

  • #1229 39715f2 Thanks @omeraplak! - fix(server-core): publish schema factory required by server-hono

    Publishes the createServerCoreSchemas export used by @voltagent/server-hono to build Swagger
    schemas with the active Zod instance. This keeps server-hono releases from resolving against a
    server-core package that does not provide the required runtime export.

  • Updated dependencies [ba8d7e0]:

    • @voltagent/core@2.7.2

@voltagent/core@2.7.2

23 Apr 03:17
0b793d9

Choose a tag to compare

Patch Changes

  • #1228 ba8d7e0 Thanks @omeraplak! - Apply VoltAgent global workspace defaults to agents that are constructed before registration.

@voltagent/serverless-hono@2.0.11

22 Apr 02:03
8b8c238

Choose a tag to compare

Patch Changes

  • #1218 4860832 Thanks @omeraplak! - feat(agent): expose request headers to dynamic agent configuration

    Dynamic instructions, model, and tools functions now receive a headers map in
    DynamicValueOptions when an agent is called through the built-in HTTP endpoints. This makes it
    possible to configure tenant-aware models and request-scoped tools from headers such as
    authorization, x-tenant-id, or x-user-id without manually copying them into
    options.context.

    Header names are normalized to lowercase:

    const agent = new Agent({
      name: "Tenant Agent",
      instructions: "You are a tenant-aware assistant.",
      model: ({ headers }) => {
        return headers?.["x-tenant-id"] === "enterprise" ? "openai/gpt-4o" : "openai/gpt-4o-mini";
      },
      tools: ({ headers }) => {
        return headers?.authorization ? [createTenantTool(headers.authorization)] : [];
      },
    });

    For direct in-process calls, pass requestHeaders:

    await agent.generateText("Hello", {
      requestHeaders: {
        authorization: "Bearer token",
        "x-tenant-id": "tenant-1",
      },
    });

    Fixes #1201

  • #1214 fbbdc9e Thanks @octo-patch! - fix(serverless-hono): withWaitUntil must not destroy global state when context has no waitUntil

  • Updated dependencies [4860832]:

    • @voltagent/server-core@2.1.14

@voltagent/server-hono@2.0.12

22 Apr 20:30
f658e9f

Choose a tag to compare

Patch Changes

  • #1224 8b09874 Thanks @omeraplak! - fix(server-hono): generate Swagger schemas with a single Zod instance

    Built-in Swagger route schemas now reuse the same schema definitions with the Zod instance selected
    by server-hono's OpenAPI compatibility layer. This avoids mixing Zod v3/v4 schema instances and
    prevents /doc from failing during OpenAPI generation.

@voltagent/server-hono@2.0.11

22 Apr 03:05
a5dde84

Choose a tag to compare

Patch Changes

  • #1220 9adf876 Thanks @omeraplak! - fix(server-hono): support Zod v4 record schemas in Swagger docs

    The built-in tool OpenAPI schemas now use explicit record key and value schemas so Zod v4 does not
    produce undefined record value types during Swagger document generation.