Skip to content

Conversation

aryanranderiya
Copy link
Member

Release v0.3.0 Summary

This release introduces a significant number of features, enhancements, and stability improvements across the entire application stack. Key highlights include major refactoring of the OAuth and payment systems, the introduction of new AI models and user support tools, substantial performance gains through caching, and a stronger, more reliable CI/CD pipeline.

New Features & Integrations

  • Chat & Conversation Handling:
    • A new /save-incomplete-conversation endpoint has been added to persist chat history when a user cancels a streaming response.
    • Implemented abort controller management for more robust handling of chat streams.
    • Added a ScrollToBottomButton component for improved chat navigation and user experience.
  • Support Ticket System:
    • A complete support ticket system has been implemented, allowing users to create and manage tickets directly within the application.
  • Cerebras AI Integration:
    • Added configuration and integration for the ChatCerebras model, expanding the range of available AI providers.
  • Analytics & Error Tracking:
    • Integrated Sentry for comprehensive error tracking and performance monitoring.
    • Configured PostHog for product analytics and user behavior tracking.
  • Community Guidelines:
    • Added a CODE_OF_CONDUCT.md file to establish and formalize community guidelines.

Performance & Refactoring

  • OAuth Integration & Caching:
    • Implemented an lru_cache-based mechanism for caching integration configuration responses, significantly improving performance for the config endpoint.
    • Refactored Google integration scope dependencies to use a single source of truth from oauth_config, removing hardcoded values and improving maintainability.
    • Improved user name extraction in the WorkOS callback to gracefully handle missing first or last names.
  • Payment Gateway Integration (Dodo Payments):
    • Fully integrated Dodo Payments, including webhook handling for processing subscription events.
    • Enhanced webhook security by implementing signature verification using the Standard Webhooks library.
    • Updated the Plan model to include dodo_product_id and refactored related UI components.
  • General Backend & API:
    • Updated the WorkOS client to the asynchronous AsyncWorkOSClient.
    • Removed unused NLTK dependencies and replaced the embeddings model with a more efficient alternative.
    • Enhanced calendar event handling with improved timezone support.

Security

  • Webhook Authentication:
    • The email webhook endpoint (/mail_webhook.py) now requires JWT authentication from Google Cloud Pub/Sub, ensuring all incoming requests are verified and secure.
    • Implemented mandatory signature verification for all Dodo Payments webhooks.

CI/CD & Workflow Improvements

  • Dependency Management:
    • Upgraded the Node.js workflow to use pnpm version 10.12.2.
    • Switched to pnpm install --frozen-lockfile for more reliable and deterministic dependency installation.
  • Docker & Build Process:
    • Simplified the Dockerfile by removing the NLTK setup and adjusting user cache directory creation, reducing build complexity.
  • Automation:
    • Added a manual trigger for the "Release Please" GitHub Actions workflow.
    • Consistently applied automatic formatting and linting via pre-commit hooks and ESLint actions.

Bug Fixes

  • Resolved an infinite "error in chat stream" bug to improve chat stability.
  • Fixed an issue where Shift + Enter did not correctly append a newline at the end of the composer.
  • Enhanced error handling for integration toasts to prevent duplicate notifications.
  • Filtered empty user messages in system-generated chats.

sankalpaacharya and others added 30 commits August 3, 2025 19:24
ci: prevent lockfile changes during CI
perf: parallelize cloudinary upload and summary generation
- Update subscription status checks to ensure only active subscriptions are considered.
- Add cleanup tasks for abandoned subscriptions and reconciliation of payment statuses.
- Implement webhook event tracking for idempotency and error handling.
- Introduce new models for webhook events and enhance Razorpay client integration.
- Improve user interface components to reflect accurate subscription states.
- Replaced native button with custom Button component in BlogList and PricingPage for consistency.
- Introduced PaymentSuccessPage to handle payment verification and success feedback.
- Updated pricing API to streamline subscription creation and payment verification.
- Removed Razorpay integration and replaced it with Dodo Payments for subscription handling.
- Simplified error handling and state management in payment flow.
- Enhanced SubscriptionSettings to disable cancellation option and guide users to contact support.
- Cleaned up unused hooks and components related to Razorpay.
- Simplified webhook handling in payments.py, removing signature verification and improving error handling.
- Reorganized MongoDB collections in collections.py for clarity.
- Updated indexes in indexes.py to optimize payment and subscription queries.
- Enhanced webhook models in webhook_models.py for better structure and naming consistency.
- Streamlined payment_service.py to focus on payment link generation without immediate database storage.
- Consolidated payment webhook logic into payment_webhook_service.py, removing redundant code and improving event handling.
- Deleted outdated webhook_service.py to eliminate duplication and maintain a single source of truth for webhook processing.
aryanranderiya and others added 29 commits August 13, 2025 03:25
refactor: Navigation and enhance chat functionality
feat: integrate cerebras for faster inference and replaced huggingface embeddings with gemini embeddings
…al-trigger

chore(ci): Add manual trigger for Release Please workflow
chore: Update release token and import useRouter in useChatStream hook
docs: Added Code of Conduct and appropriately replaced main with master in docs

---------

Co-authored-by: Aryan <aryan.k.randeriya@gmail.com>
@aryanranderiya aryanranderiya merged commit c297fcd into master Aug 21, 2025
4 checks passed
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.

5 participants