fix(deps): update dependency @mastra/libsql to v1#49
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
0f31af0 to
c8a1017
Compare
671d98a to
293792e
Compare
7f9d8cf to
630398d
Compare
2dcdb6d to
50800d9
Compare
cf57051 to
15c191d
Compare
bf2f144 to
f2d02c9
Compare
1aaa8d0 to
dd0fbef
Compare
5551cef to
56a2887
Compare
0efc669 to
f32ad51
Compare
f32ad51 to
cbd2103
Compare
12381f2 to
0ce1ac7
Compare
457860f to
fa2481f
Compare
fa2481f to
93ab440
Compare
a936250 to
e1dc812
Compare
e1dc812 to
5789634
Compare
0b34ea3 to
5adc336
Compare
5adc336 to
3256f3d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.12.0→^1.0.0Release Notes
mastra-ai/mastra (@mastra/libsql)
v1.13.2Compare Source
v1.13.0Compare Source
Minor Changes
Added LibSQL storage support for durable harness sessions. (#17712)
Add
ThreadStateLibSQL, the LibSQL implementation of the newThreadStateStoragedomain. It persists per-thread, per-type state (e.g. the agent task list undertype: "task") in themastra_thread_statetable, 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
dependencies updates: (#17148)
@libsql/client@^0.17.3↗︎ (from^0.15.15, independencies)Fixed concurrent writes silently disappearing when using LibSQL with a local (
file:) database. (#16796)LibSQL backs a local database with a single connection. When one operation held an interactive write transaction (for example, persisting workflow snapshots) and another operation wrote at the same time (for example, creating a dataset experiment), the second write could be swept into the open transaction and rolled back — so it appeared to succeed but never persisted. This surfaced as concurrent agent/workflow runs losing unrelated records.
Writes on a LibSQL client are now serialized, so a write issued during an in-flight transaction no longer interleaves with it.
Updated dependencies [
d468acb,575f815,34839c1,053735a,306909a,5191af8,43bd3d4,e6fa79e,904bcdf,7f5ee1d,1e9aab5,2bccba4,bf8eb6d,e9be4e7,493a328,d53cfc2,65799d4,c268c89,34839c1,014e00f,029a414,d468acb,b147b29,d371ac1,2bccba4,0c72f03,cf182b7,3b45ea9,a049c2a,f084be1,b147b29,2a96528,f2ab060,5d302c8,34839c1,a952852,2656d9c,63e3fe1,1d4ce8d,8c68372]:v1.12.1Compare Source
Patch Changes
Added LibSQL support for the notifications storage domain so notification signals can persist thread-scoped inbox records. (#17241)
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.0Compare Source
Minor Changes
Added the
tool_provider_connectionsstorage 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
Example
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
Added a public
close()method toLibSQLStorethat releases SQLite file handles and cleans up the WAL/shm sidecar files. Previously these handles stayed open until the process exited, which on Windows causedEBUSYerrors when removing the storage directory after shutdown.Mastra.shutdown()now callsclose()automatically, so you no longer need to reach into private fields. (#17306)Updated dependencies [
fa63872,d779de3,1750c97,9283971,f07b646,d8838ae,40f9297,19a8658,850af77,0f0d1ba,a18775a,1baf2d1,8c31bcd,0e32507,95b14cd,07c3de7,0bf2d93,7b0d34c,a659a77,aa36be2,3332be9,212c635,d8838ae,9aa5a73,f73c789,8bd16da,c8630f8,94dfef6,47f71dc,50ceae2,a122f79,8cdde58,3a081c1,49f8abc,847ff1e,0c1ed1d,259d409,9e16c68,cefca33,d00e8c5,36fa7e2,87e9774,65a72e7,fe9eacd,4c02027,0f77241,849efb9,92ff509,3fce5e7,a763592,db79c86,6855012,80c7737,7fef31c,7fef31c,3f1cf47]:v1.11.1Compare Source
Patch Changes
Fixed scheduler performance and correctness issues that could cause excessive Postgres CPU and noisy failed runs. (#16805)
(status, next_fire_at)onmastra_schedulesand(schedule_id, actual_fire_at)onmastra_schedule_triggers. Without these the scheduler performed a full sequential scan on every tick.scheduler.enabledis set explicitly), so deployments without scheduled workflows no longer poll the database at all.startWorkers(). Accessingmastra.schedulerbeforestartWorkers()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.0Compare 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
Patch Changes
Bumped
@mastra/corepeer dependency floor to>=1.34.0-0so the new@mastra/core/storage/domains/favoritessubpath is available. Older@mastra/coreversions don't ship theFavoritesStoragebase 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.1Compare Source
Patch Changes
Fixed Workflow run snapshots no longer lose fields when serialized for storage. The libsql
safeStringifycycle-detection treated any object that appeared more than once in a snapshot as a circular reference and dropped it. Becausesnapshot.resultand the final step'scontext[step].outputshare the same reference on success,snapshot.resultwas being silently stripped on every persist. This causedlistWorkflowRunsto return runs withsnapshot.result === undefinedand broke workflow resume when suspended-state fields were shared elsewhere in the snapshot. (#16368)Fixed Workflow runs no longer fail to persist when request context contains non-serializable values (for example functions, circular references, or platform proxy objects). This prevents errors when saving workflow snapshots and scorer results. See #12301. (#12573)
Respect optional
resourceIdingetThreadByIdso scoped thread lookups returnnullwhen the thread belongs to a different resource. (#14237)Example:
Improved local LibSQL startup performance by applying conservative local SQLite performance settings before initialization, exposing local PRAGMA overrides, and reducing schema initialization contention. (#16513)
Track
suspendedAtandsuspendPayloadon background tasks. SQL adapters auto-migrate the new columns viaalterTable. (#16260)Added LibSQL indexes for thread message history queries to speed up recent-message and observational-memory loading. (#16513)
Updated dependencies [
9f17410,7ad5585,ac47842,cc189cc,d1fdbd0,210ea7a,7c275a8,bae019e,890b24c,f984b4d,6742347,b59316f,0f48ebf,37c0dc5,087e413,83218c8,ef6b584,c6eb39e,7b0ad1f,d91ebe2,62666c3,33f5061,4af2160,087e413,265ec9f,ce01024,6ce80bf,f984b4d,136c959,9268531,13ead79,dccd8f1,4df7cc7,f180e49,9260e01,2f6c54e,aca3121,e06a159,4dd900d,b560d6f,99869ec,900d086,4c0e286,55f1e2d,4ff5bdf,9cdf38e,087e413,db34bc6,990851e,bbcd93c,8373ff4,d48a705,308bd07,6068a6c,36b3bbf,d86f031,b275631,00106be,bd36d8e,11c1528,4999667,e2a079c,8ac9141,25184ff,534a456,105e454,aebde9c,36bae07,5688881]:v1.10.0Compare Source
Minor Changes
Extend the schedules storage schema to support owned schedules and richer trigger audit. This is a breaking schema change to
mastra_schedulesandmastra_schedule_triggers; scheduled workflows are still in alpha so no compat shim is provided. (#16166)Schedulegains optionalownerType/ownerIdso 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.statusis renamed tooutcomeand the type is widened toScheduleTriggerOutcomeso future outcome values can be added without another rename.ScheduleTriggergains a stableidprimary key and newtriggerKind,parentTriggerId, andmetadatafields.triggerKinddistinguishesschedule-firerows from laterqueue-drainrows (used by upcoming heartbeat work);parentTriggerIdlinks related rows;metadatacarries outcome-specific context.@mastra/corepeer dependency is tightened to>=1.32.0-0 <2.0.0-0so 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.triggersresponse onGET /api/schedules/:id/triggersnow returnsoutcomeinstead ofstatus.outcomeso the schedule detail page keeps polling and rendering publish-failure rows correctly.Added the
schedulesstorage domain so LibSQL-backed Mastra apps can use scheduled workflows. Createsmastra_schedulesandmastra_schedule_triggerstables on init. (#15830)Patch Changes
6dcd65f,86c0298,c05c9a1,ca28c23,e24aacb,7679a63,7fce309,1d64a76,1c2dda8,c721164,1b55954,7997c2e,5adc55e,7679a63,a0d9b6d,e97ccb9,c5daf48,70017d7,cd96779,b0c7022,e4942bc]:v1.9.1Compare Source
Patch Changes
Added platform channels framework with ChannelProvider interface, ChannelsStorage domain, and ChannelConnectResult discriminated union supporting OAuth, deep link, and immediate connection flows. Channels can be registered on the Mastra instance and expose connect/disconnect/list APIs for platform integrations. (#15876)
Updated dependencies [
1723e09,629f9e9,25168fb,ab34b5a,5fb6c2a,2b0f355,394f0cf,b2deb29,66644be,e109607,310b953,3d7f709,48a42f1,8091c7c,2c83efc,43f0e1d,da0b9e2,282a10c,04151c7,8091c7c]:v1.9.0Compare 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
Add
BackgroundTasksStoragedomain implementation so@mastra/corebackground task execution works with any storage adapter. (#15307)Added
getTraceLightmethod to the observability storage, returning only lightweight span fields needed for timeline rendering. This avoids transferring heavy fields likeinput,output,attributes, andmetadatawhen they are not needed. (#15574)Updated dependencies [
20f59b8,aba393e,3d83d06,e2687a7,fdd54cf,6315317,a371ac5,0474c2b,0a5fa1d,7e0e63e,ea43e64,f607106,30456b6,9d11a8c,9d3b24b,00d1b16,47cee3e,62919a6,d246696,354f9ce,16e34ca,7020c06,8786a61,9467ea8,7338d94,c80dc16,af8a57e,d63ffdb,47cee3e,1bd5104,e9837b5,8f1b280,92dcf02,0fd90a2,8fb2405,12df98c]:v1.8.1Compare 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, androotEntityVersionIdcolumns to observability storage tables (spans, metrics, scores, feedback, logs) for filtering and grouping traces by entity version. Added ALTER TABLE migrations for existing databases. AddedtargetType,targetId,agentVersion, andstatusfilters tolistExperiments, andtraceIdandstatusfilters tolistExperimentResults. (#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.0Compare Source
Minor Changes
updateObservationalMemoryConfig()in Postgres, LibSQL, and MongoDB storage adapters. This enables per-record config overrides for observational memory thresholds, supporting the newmemory.updateObservationalMemoryConfig()API in@mastra/memory. (#15115)Patch Changes
f32b9e1,7d6f521,a50d220,665477b,4cc2755,ac7baf6,ed425d7,1371703,0df8321,98f8a8b,ba6f7e9,7eb2596,1805ddc,fff91cf,61109b3,33f1ead]:v1.7.4Compare Source
Patch Changes
Added expectedTrajectory support to dataset items across all storage backends and API layer. Dataset items can now store trajectory expectations that define expected agent execution steps, ordering, and constraints for trajectory-based evaluation scoring. (#14902)
Updated dependencies [
cb15509,81e4259,951b8a1,80c5668,3d478c1,2b4ea10,a0544f0,6039f17,06b928d,6a8d984,c8c86aa]:v1.7.3Compare 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, andcompleteitems in a single query instead of fetching all results client-side.Added
scorerIdspersistence for datasets. ThescorerIdsfield is now stored and retrieved correctly when creating or updating datasets. (#14783)Updated dependencies [
dc514a8,e333b77,dc9fc19,60a224d, [fbf22a7](https://redirect.github.com/mConfiguration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.