Skip to content

Conversation

@voltagent-bot
Copy link
Member

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@voltagent/[email protected]

Patch Changes

  • #35 9acbbb8 Thanks @omeraplak! - fix: Prevent potential error when accessing debug option in LibSQLStorage - [BUG] Potential runtime error accessing debug option in LibSQLStorage #34

    • Modified the debug method within the LibSQLStorage class.
    • Changed the access to this.options.debug to use optional chaining (this.options?.debug).

    This change prevents runtime errors that could occur in specific environments, such as Next.js, if the debug method is invoked before the options object is fully initialized or if options becomes unexpectedly null or undefined. It ensures the debug logging mechanism is more robust.

@omeraplak omeraplak merged commit ccbe44c into main Apr 24, 2025
5 checks passed
@omeraplak omeraplak deleted the changeset-release/main branch April 24, 2025 17:04
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.

2 participants