Changelog
Version 1.2.0
- Release Date: 13/08/2025
- Components Version: 1.2.0
- Hooks Version: 1.2.0
Performance optimizations focused on streamlining conversation initialization and reducing unnecessary API overhead for faster user experience.
- Optimized Conversation Initialization: Streamlined the conversation startup process by removing redundant API calls that were triggering on every conversation start, significantly improving initial load times and reducing server overhead.
- Faster Conversation Startup: Conversations now start more quickly with optimized initialization flow.
- Reduced API Overhead: Eliminated unnecessary API requests during conversation initialization for better performance.
- Enhanced User Experience: Smoother and more responsive conversation flow with reduced loading times.
Version 1.1.0
- Release Date: 12/08/2025
- Components Version: 1.1.0
- Hooks Version: 1.1.0
Major API improvements with better naming conventions, enhanced configuration options, and streamlined interface management for improved developer experience.
- apiEndPoint Configuration: Added support for custom API endpoint configuration, allowing developers to specify different backend services and deployment environments.
- getInitialPrompts Function: New function to fetch predefined conversation starters, enabling better user onboarding and engagement.
- Enhanced Parameter Management: Improved parameter handling with
uid
now passed throughextraParams
for better organization.
Hook Method/Variables Renames:
- storeConversationId → storageType: Renamed for clearer purpose - now specifies how conversations are stored (localStorage/sessionStorage).
- Initialise → startNewConversation: More descriptive name that clearly indicates starting a fresh conversation session.
- fetchAllConversations → getAllConversations: Consistent naming convention across all getter methods.
- ask → askAgent: More specific name indicating interaction with the AI agent.
- appLoading → initialLoading: Clearer distinction for initial app loading state vs other loading states.
Component Changes: 6. onSend → onSubmit: Renamed Input component prop to follow standard form conventions and improve clarity.
Parameter Changes:
7. uid Parameter Location: uid
now needs to be passed inside extraParams
object instead of as a direct parameter for better parameter organization.
- resetChat Function: Removed from hook as
startNewConversation
can be used directly for the same functionality, reducing API complexity. - updateConversationId Function: Removed to simplify conversation management - use
startNewConversation
for new conversations.
- Proper Interface Management: Enhanced TypeScript interfaces with better type safety and clearer property definitions.
- Consistent API Naming: All methods now follow consistent naming patterns for better developer experience.
- Simplified Conversation Flow: Streamlined conversation management by removing redundant functions.
- Better Parameter Organization: Grouped related parameters into objects for cleaner API structure.
Initial Release
- Release Date: 29/07/2025
- Components Version: 1.0.0
- Hooks Version: 1.0.0
The first official release of the Shopping Assistant SDK, designed for seamless integration of AI-powered conversational shopping into React applications.
- UnbxdShoppingAssistantWrapper: Context provider for managing conversation state and API communication.
- useShoppingAssistant Hook: Core hook providing AI interactions, conversation management, and state handling.
- Chat Component: Complete chat interface with user/AI message rendering, product recommendations, and interactive filters.
- InputBar Component: Text input interface with customizable send button and Enter key support.
- ResetChat Component: Conversation reset functionality with customizable reset interface.
- AI-Powered Conversations: Natural language processing with contextual responses and multi-turn conversation support.
- Product Integration: Seamless product recommendations and filter application through conversational queries.
- TypeScript Support: Full TypeScript definitions for enhanced developer experience.
- Customizable UI: Fully customizable components with support for custom styling and theming.
- Storage Options: Configurable conversation persistence with localStorage or sessionStorage support.