Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPORTANT] v0.3.0 Breaking Changes #400

Open
miurla opened this issue Jan 15, 2025 · 3 comments
Open

[IMPORTANT] v0.3.0 Breaking Changes #400

miurla opened this issue Jan 15, 2025 · 3 comments

Comments

@miurla
Copy link
Owner

miurla commented Jan 15, 2025

Background

We've migrated to a new implementation using AI SDK UI from the previous RSC (React Server Components) implementation. This migration brings better streaming performance and more reliable client-side UI updates, but requires several breaking changes.

Version 0.3.0 Important Changes

1. Optional Features Configuration

Chat History Storage

  • Now optional: Enable with NEXT_PUBLIC_ENABLE_SAVE_CHAT_HISTORY=true
  • Previous chat history data requires migration
  • Check .env.local.example for setup

Share Feature

  • Now optional: Enable with NEXT_PUBLIC_ENABLE_SHARE=true
  • Updated environment variable configuration
  • See .env.local.example for details

2. Temporarily Disabled Features

⚠️ The following features are currently disabled:

  • Search functionality on share pages
  • Query clarification flow for ambiguous queries

3. Data Migration Notice

⚠️ Breaking Changes in Data Storage:

  • Chat history data structure has been updated
  • Using new key format for storage
  • Previous data format is incompatible
  • Migration required to access old chat history

Required Actions

  1. Update your .env configuration by referring to .env.local.example
  2. Migrate existing chat history data if needed
  3. Note the disabled features in your implementation

Reference

Bug report

@miurla miurla pinned this issue Jan 15, 2025
@miurla

This comment was marked as resolved.

@miurla
Copy link
Owner Author

miurla commented Jan 15, 2025

Note

This issue is intended to notify about migration details and actions. Please create a separate issue for bug reports.

@miurla
Copy link
Owner Author

miurla commented Jan 16, 2025

v0.3.0 with Ollama is not working: #401
-> fixed: #402

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

No branches or pull requests

1 participant