Skip to content

fix(deps): update dependency @mastra/libsql to v1#49

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mastra-libsql-1.x
Open

fix(deps): update dependency @mastra/libsql to v1#49
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mastra-libsql-1.x

Conversation

@renovate

@renovate renovate Bot commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@mastra/libsql (source) ^0.12.0^1.0.0 age confidence

Release Notes

mastra-ai/mastra (@​mastra/libsql)

v1.13.2

Compare Source

v1.13.0

Compare Source

Minor Changes
  • Added LibSQL storage support for durable harness sessions. (#​17712)

    const storage = new LibSQLStore({ id: 'mastra-storage', url: 'file:./mastra.db' });
    
    const harness = new Harness({
      ownerId: 'my-app',
      agent,
      memory,
      storage,
      modes: [{ id: 'default', defaultModelId: '__GATEWAY_OPENAI_MODEL__' }],
      defaultModeId: 'default',
    });
  • Add ThreadStateLibSQL, the LibSQL implementation of the new ThreadStateStorage domain. It persists per-thread, per-type state (e.g. the agent task list under type: "task") in the mastra_thread_state table, keyed by (threadId, type). Composing a LibSQL store wires this domain automatically, so an agent's task list now survives a process restart. (#​17820)

Patch Changes

v1.12.1

Compare Source

Patch Changes
  • Added LibSQL support for the notifications storage domain so notification signals can persist thread-scoped inbox records. (#​17241)

    import { LibSQLStore } from '@​mastra/libsql';
    
    const storage = new LibSQLStore({ url: 'file:./mastra.db' });
  • Fixed LibSQL memory cleanup so in-memory stores initialize their tables before clearing data. This prevents reset flows from failing with missing table errors such as mastra_resources. (#​17532)

  • Updated dependencies [c973db4, 552285e, 77e686c, ece8dba, e751af2, e2a8380, be3f1cd, a34d9db]:

v1.12.0

Compare Source

Minor Changes
  • Added the tool_provider_connections storage domain. Stored agents can now persist per-agent ToolProvider config that round-trips on read/write/create. Runtime connection resolution (per-author, shared, caller-supplied) ships in a follow-up PR. (#​17247)

    What you can do

    • Pin a connection on a stored agent's config and have it round-trip on read/write/create.
    • Persist multiple connections per toolkit so a follow-up runtime PR can fan-out to the right one at execution time.

    Example

    import { LibSQLStore } from '@​mastra/libsql';
    
    const storage = new LibSQLStore({ url: process.env.DATABASE_URL });
    
    // Persist an OAuth connection that an agent can pin later
    await storage.toolProviders.upsertConnection({
      authorId: 'user-123',
      providerId: 'composio',
      connectionId: 'auth_abc',
      toolkit: 'gmail',
      label: 'Work inbox',
      scope: 'per-author',
    });
    
    // List a user's own connections (admin can omit authorId to list across users)
    const { items } = await storage.toolProviders.listConnectionsByAuthor({
      authorId: 'user-123',
      providerId: 'composio',
    });

    Additive — existing stored agents continue to work unchanged. The runtime that consumes this domain ships in a follow-up PR.

    PR 1 of 3 split from #​17224.

Patch Changes

v1.11.1

Compare Source

Patch Changes
  • Fixed scheduler performance and correctness issues that could cause excessive Postgres CPU and noisy failed runs. (#​16805)

    • Added missing indexes on the schedules tables that the tick loop polls every 10 seconds: (status, next_fire_at) on mastra_schedules and (schedule_id, actual_fire_at) on mastra_schedule_triggers. Without these the scheduler performed a full sequential scan on every tick.
    • The scheduler tick loop is now only started when at least one workflow declares a schedule (or scheduler.enabled is set explicitly), so deployments without scheduled workflows no longer poll the database at all.
    • The scheduler now validates that a schedule's target workflow is still registered before firing it. Schedules whose target workflow has been removed from the Mastra config are skipped for a short grace window and then deleted, so stale rows stop producing failed workflow runs forever.
    • The scheduler is now lazily initialized inside startWorkers(). Accessing mastra.scheduler before startWorkers() runs throws a descriptive error instead of returning a half-initialized instance.
  • Updated dependencies [452036a, c272d50, 27fd1b7, 5ba7253, 5556cc1, f73980d, 5499303, a702009, 9aee493, d8692af, 1a9cc60, 8cdb86c, 8534d79, eda90c5, a935b0a, 9c88701, c78f8cd, e146aad, ac79462, 1a0ec78, e47bca7, afc004f, 0031d0f, 841a222, 64c1e0b, 40d83a9, 4e88dc6, 19018f0, 19281c7, 3498b49, d52b6fe, 408be73, 359439b, 71a820b, 1698f5e]:

v1.11.0

Compare Source

Minor Changes
  • Added favorites support to storage adapters so callers can favorite/unfavorite stored agents and skills, query favorite state alongside list results, and filter listings by visibility. (#​16580)

    Example

    const storage = new LibSQLStore({
      /* config */
    });
    const favorites = await storage.getStore('favorites');
    
    await favorites?.favorite({
      userId: 'user-1',
      entityType: 'agent',
      entityId: 'agent-42',
    });
Patch Changes
  • Bumped @mastra/core peer dependency floor to >=1.34.0-0 so the new @mastra/core/storage/domains/favorites subpath is available. Older @mastra/core versions don't ship the FavoritesStorage base class these adapters now extend. (#​16580)

  • Fixed a workspace PATCH bug: omitted config fields in a PATCH no longer overwrite previously-persisted values with undefined. (#​16580)

  • Updated dependencies [b661349, 816b974, 271c044, bad08e9, 816b974, b32ba5f, 75c7c38]:

v1.10.1

Compare Source

Patch Changes

v1.10.0

Compare Source

Minor Changes
  • Extend the schedules storage schema to support owned schedules and richer trigger audit. This is a breaking schema change to mastra_schedules and mastra_schedule_triggers; scheduled workflows are still in alpha so no compat shim is provided. (#​16166)

    • Schedule gains optional ownerType / ownerId so a schedule row can be attributed to an owning subsystem (e.g. an agent that owns a heartbeat schedule). Workflow schedules leave both fields unset.
    • ScheduleTrigger.status is renamed to outcome and the type is widened to ScheduleTriggerOutcome so future outcome values can be added without another rename.
    • ScheduleTrigger gains a stable id primary key and new triggerKind, parentTriggerId, and metadata fields. triggerKind distinguishes schedule-fire rows from later queue-drain rows (used by upcoming heartbeat work); parentTriggerId links related rows; metadata carries outcome-specific context.
    • The libsql, pg, and mongodb adapters all add the new columns/indexes. Their @mastra/core peer dependency is tightened to >=1.32.0-0 <2.0.0-0 so installing a new storage adapter against an older core (or vice-versa) surfaces a peer-dependency warning at install time instead of silently writing/reading the wrong field.
    • Scheduler producer, server schemas/handler, and client SDK types are updated to use the new fields. The triggers response on GET /api/schedules/:id/triggers now returns outcome instead of status.
    • The bundled Studio (Mastra CLI) is updated to read outcome so the schedule detail page keeps polling and rendering publish-failure rows correctly.
  • Added the schedules storage domain so LibSQL-backed Mastra apps can use scheduled workflows. Creates mastra_schedules and mastra_schedule_triggers tables on init. (#​15830)

Patch Changes

v1.9.1

Compare Source

Patch Changes

v1.9.0

Compare Source

Minor Changes
  • Use DiskANN vector_top_k() index for faster vector queries when available (#​14913)

    LibSQLVector.query() now automatically uses the existing DiskANN index for approximate nearest neighbor search instead of brute-force full table scans, providing 10-25x query speedups on larger datasets. Falls back to brute-force when no index exists.

Patch Changes

v1.8.1

Compare Source

Patch Changes
  • Fixed "column does not exist" errors when using experiment review features on databases created before the review pipeline was introduced. Startup now automatically migrates older experiment tables to the latest schema. (#​15304)

  • Added entityVersionId, parentEntityVersionId, and rootEntityVersionId columns to observability storage tables (spans, metrics, scores, feedback, logs) for filtering and grouping traces by entity version. Added ALTER TABLE migrations for existing databases. Added targetType, targetId, agentVersion, and status filters to listExperiments, and traceId and status filters to listExperimentResults. (#​15317)

  • Updated dependencies [87df955, 8fad147, 582644c, cbdf3e1, 8fe46d3, 18c67db, 4ba3bb1, 5d84914, 8dcc77e, aa67fc5, fd2f314, fa8140b, 190f452, e80fead, 0287b64, 7e7bf60, 184907d, 075e91a, 0c4cd13, b16a753]:

v1.8.0

Compare Source

Minor Changes
  • Implemented updateObservationalMemoryConfig() in Postgres, LibSQL, and MongoDB storage adapters. This enables per-record config overrides for observational memory thresholds, supporting the new memory.updateObservationalMemoryConfig() API in @mastra/memory. (#​15115)
Patch Changes

v1.7.4

Compare Source

Patch Changes

v1.7.3

Compare Source

Patch Changes
  • The internal architecture of observational memory has been refactored. The public API and behavior remain unchanged. (#​14453)

  • Add getReviewSummary() to experiments storage for aggregating review status counts (#​14649)

    Query experiment results grouped by experiment ID, returning counts of needs-review, reviewed, and complete items in a single query instead of fetching all results client-side.

    const summary = await storage.experiments.getReviewSummary();
    // [{ experimentId: 'exp-1', needsReview: 3, reviewed: 5, complete: 2, total: 10 }, ...]
  • Added scorerIds persistence for datasets. The scorerIds field is now stored and retrieved correctly when creating or updating datasets. (#​14783)

  • Updated dependencies [dc514a8, e333b77, dc9fc19, 60a224d, [fbf22a7](https://redirect.github.com/m

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • 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 this update again.


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

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

@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch 2 times, most recently from 0f31af0 to c8a1017 Compare January 30, 2026 09:42
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch 2 times, most recently from 671d98a to 293792e Compare February 11, 2026 18:14
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch 2 times, most recently from 7f9d8cf to 630398d Compare February 19, 2026 10:12
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch 3 times, most recently from 2dcdb6d to 50800d9 Compare February 26, 2026 00:51
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch 3 times, most recently from cf57051 to 15c191d Compare March 6, 2026 01:33
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch 2 times, most recently from bf2f144 to f2d02c9 Compare March 18, 2026 05:23
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch 2 times, most recently from 1aaa8d0 to dd0fbef Compare March 31, 2026 01:49
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch 2 times, most recently from 5551cef to 56a2887 Compare April 7, 2026 05:32
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch 2 times, most recently from 0efc669 to f32ad51 Compare April 15, 2026 09:10
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch from f32ad51 to cbd2103 Compare April 22, 2026 04:51
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch 3 times, most recently from 12381f2 to 0ce1ac7 Compare May 5, 2026 01:06
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch 2 times, most recently from 457860f to fa2481f Compare May 16, 2026 00:22
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch from fa2481f to 93ab440 Compare May 21, 2026 01:10
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch 2 times, most recently from a936250 to e1dc812 Compare June 3, 2026 20:13
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch from e1dc812 to 5789634 Compare June 13, 2026 16:07
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch 2 times, most recently from 0b34ea3 to 5adc336 Compare June 17, 2026 05:41
@renovate renovate Bot force-pushed the renovate/mastra-libsql-1.x branch from 5adc336 to 3256f3d Compare June 17, 2026 14:57
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