github CopilotKit/CopilotKit v1.6.0

one day ago

v1.6.0

Release Date: February 28, 2025

Features and Enhancements

  • Configurable LangGraph Execution: Introduced the ability to execute LangGraph with user-defined configurations, allowing for more flexible and tailored workflows.

  • Frontend-Only Action Restriction: Added support to restrict certain actions to the frontend, enhancing security and control over client-side operations.

  • New Hooks for Enhanced Functionality: Introduced useCopilotAdditionalInstructions hook and added an available property to useCopilotReadable for better state management and control.

Bug Fixes

  • Typed Interrupt Event Values: Provided the ability to type interrupt event values, improving type safety and developer experience.

  • Memoization in Internal Functions: Implemented memoization in useCoAgent internal functions to enhance performance and prevent unnecessary re-renders.

  • Simplified LangGraph Interrupt Conditions: Simplified condition options for LangGraph interrupts, making it more straightforward to define and manage interrupt conditions.

  • Dependency Updates: Updated dependencies across various packages, including adding class-validator to ensure proper validation mechanisms are in place.

Documentation

  • Input and Output Schema Documentation: Added comprehensive documentation detailing the input and output schemas of LangGraph, aiding developers in understanding and implementing custom configurations.

  • Hook API Reference: Documented the Hook API reference, providing clear guidelines and examples for utilizing the new and existing hooks effectively.

Contributors

Don't miss a new CopilotKit release

NewReleases is sending notifications on new releases.