chore(deps): update all non-major dependencies#186
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
commit: |
ba7b1a4 to
c3df9da
Compare
Contributor
|
Thank you for following the naming conventions! 🙏 |
c3df9da to
eefbdfc
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:
^4.5.1→^4.6.0>=0.7.9→>=0.8.0^6.0.134→^6.0.137^4.1.0→^4.1.1Release Notes
nuxt/ui (@nuxt/ui)
v4.6.0Compare Source
⚠ BREAKING CHANGES
moduleDependenciesto manipulate options (#5384)Features
filesslot (12d6020)trueValue/falseValueprops (#6150) (91c6356)highlight-variantprop (#5746) (df080ce)filterprop (#6153) (a529b43)fileImageprop (#5935) (40f9c2e)autocompleteprop (#6026) (ee8a248)rangeprop (#6203) (c124f29)moduleDependenciesto manipulate options (#5384) (dd3f5c5)Bug Fixes
liftcalls for unavailable list extensions (#6100) (065db6b)statusandstatusTextproperties (1350d62), closes #6134close:preventemit (#6226) (9a0d501)cloudflare/agents (agents)
v0.8.0Compare Source
Minor Changes
#1152
16cc622Thanks @threepointone! - feat: expose readablestateproperty onuseAgentandAgentClientBoth
useAgent(React) andAgentClient(vanilla JS) now expose astateproperty that tracks the current agent state. Previously, state was write-only viasetState()— reading state required manually tracking it through theonStateUpdatecallback.React (useAgent)
agent.stateis reactive — the component re-renders when state changes from either the server or client-sidesetState().Vanilla JS (AgentClient)
Backward compatible
The
onStateUpdatecallback continues to work exactly as before. The newstateproperty is additive — it provides a simpler alternative to manual state tracking for the common case.Type:
State | undefinedState starts as
undefinedand is populated when the server sends state on connect (frominitialState) or whensetState()is called. Use optional chaining (agent.state?.field) for safe access.#1154
74a018aThanks @threepointone! - feat: idempotentschedule()to prevent row accumulation across DO restartsschedule()now supports anidempotentoption that deduplicates by(type, callback, payload), preventing duplicate rows from accumulating when called repeatedly (e.g., inonStart()).Cron schedules are idempotent by default. Calling
schedule("0 * * * *", "tick")multiple times with the same callback, cron expression, and payload returns the existing schedule instead of creating a duplicate. Set{ idempotent: false }to override.Delayed and scheduled (Date) types support opt-in idempotency:
New warnings for common foot-guns:
schedule()called insideonStart()without{ idempotent: true }now emits aconsole.warnwith actionable guidance (once per callback, skipped for cron and whenidempotentis explicitly set)alarm()processing ≥10 stale one-shot rows for the same callback emits aconsole.warnand aschedule:duplicate_warningdiagnostics channel event#1146
b74e108Thanks @threepointone! - feat: strongly-typedAgentClientwithcallinference andstubproxyAgentClientnow accepts an optional agent type parameter for full type inference on RPC calls, matching the typed experience thatuseAgentalready provides.New: typed
callandstubWhen an agent type is provided,
call()infers method names, argument types, and return types from the agent's methods. A newstubproperty provides a direct RPC-style proxy — call agent methods as if they were local functions:State is automatically inferred from the agent type, so
onStateUpdateis also typed:Backward compatible
Existing untyped usage continues to work without changes:
The previous
AgentClient<State>pattern is preserved —new AgentClient<{ count: number }>({...})still correctly typesonStateUpdateand leavescall/stubuntyped.Breaking:
callis now an instance property instead of a prototype methodAgentClient.prototype.callno longer exists. Thecallfunction is assigned per-instance in the constructor (via.bind()). This is required for the conditional type system to switch between typed and untyped signatures. Normal usage (client.call(...)) is unaffected, but code that reflects on the prototype or subclasses that overridecallas a method may need adjustment.Shared type utilities
The RPC type utilities (
AgentMethods,AgentStub,RPCMethods, etc.) are now exported fromagents/clientso they can be shared betweenAgentClientanduseAgent, and are available to consumers who need them for advanced typing scenarios.#1138
36e2020Thanks @threepointone! - Drop Zod v3 from peer dependency range — now requireszod ^4.0.0. Replace dynamicimport("ai")withz.fromJSONSchema()from Zod 4 for MCP tool schema conversion, removing theairuntime dependency from the agents core. RemoveensureJsonSchema().Patch Changes
#1147
1f85b06Thanks @threepointone! - Replace schedule-based keepAlive with lightweight ref-counted alarmskeepAlive()no longer creates schedule rows or emitsschedule:create/schedule:execute/schedule:cancelobservability events — it uses an in-memory ref count and feeds directly into_scheduleNextAlarm()keepAlive()callers now share a single alarm cycle instead of each creating their own interval schedule row_onAlarmHousekeeping()hook (called on every alarm cycle) for extensions like the fiber mixin to run housekeeping without coupling to the scheduling system_cf_keepAliveHeartbeatschedule rows from the previous implementation@experimentalfromkeepAlive()andkeepAliveWhile()vercel/ai (ai)
v6.0.137Patch Changes
3caa544]v6.0.136Compare Source
Patch Changes
763e178]v6.0.135Compare Source
Patch Changes
df6a330: chore(ai): remove all experimental agent eventsvitest-dev/vitest (vitest)
v4.1.1Compare Source
🚀 Features
matchesTagsFilterto test if the current filter matches tags - by @sheremet-va in #9913 (eec53)experimental.vcsProvider- by @sheremet-va in #9928 (56115)🐞 Bug Fixes
TestProject.testFilesListinternal properly - by @sapphi-red in #9867 (54f26)use- by @oilater in #9831 and #9861 (633ae)vi.advanceTimersto the preview provider - by @sheremet-va in #9891 (1bc3e)--standalonemode without running tests - by @sheremet-va in #9911 (e78ad)body- by @sheremet-va in #9912 (6fdb2)retry.conditionRegExp serialization issue - by @nstepien and @hi-ogawa in #9942 (7b605)testreturn as tests - by @sheremet-va in #9871 (141e7)View changes on GitHub
Configuration
📅 Schedule: Branch creation - "on Monday" (UTC), 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.