Skip to content

Releases: MFYDev/odoo-expert

v0.1.2

07 Feb 16:16
Compare
Choose a tag to compare

Fix: #10

Quick fix for the docker-compose.yml

Sorry for this stupid small bug

Full Changelog: v0.1.1...v0.1.2

v0.1.1

05 Feb 21:34
87e5063
Compare
Choose a tag to compare

What's Changed

  • Make source cited correctly display in numerical order a8f2c09
  • Fix processors were not using versions defined in the .env by @jlzhou in #8

New Contributors

  • @jlzhou made their first contribution in #8

Full Changelog: v0.1.0...v0.1.1

v0.1.0

03 Feb 05:47
Compare
Choose a tag to compare

First Stable Release

🚀 What's New

I am excited to announce the first non-alpha release of Odoo Expert v0.1.0! This version introduces a simplified and optimized raw processing and Markdown command. Additionally, I’ve built a browser extension that seamlessly integrates AI-powered search results directly under the Odoo documentation search bar.
image


🔥 Key Features & Improvements

🛠️ Optimized Raw Processing & Markdown Handling

  • Simplified processing raw data and makrdown files command.
  • Error handling improvements for more robust and reliable responses.

🌍 New Browser Extension for Chrome

  • Direct integration with Odoo Documentation.
  • Search results are now enhanced with AI-generated answers displayed under the Odoo search bar.
  • Uses Streaming API for real-time response updates.
  • Automatic cleanup of duplicate response sections to keep the UI clutter-free.

🔐 Improved API Integration & Security

  • API settings (base URL and Bearer Token) can now be configured via the browser extension popup.
  • CORS troubleshooting guide included for seamless API connectivity.
  • Enhanced debugging messages for better issue tracking.

📥 Installation & Usage

Install the Browser Extension

  1. Download the extension from the GitHub Repository.
  2. Load it into your browser via Developer Mode in Chrome.
  3. Configure your API settings via the extension popup.
  4. Visit Odoo Documentation Search and see AI-powered responses under the search bar!

API Configuration

  • Set your API URL and Bearer Token in the extension settings.
  • Ensure your API server allows CORS requests (see error handling guide in case of issues).

🛠️ Known Issues & Future Improvements

  • Firefox compatibility will be added in upcoming versions.
  • Performance optimizations for large-scale queries are planned.

💬 Feedback & Contributions

I’d love to hear your feedback! Feel free to report issues or contribute improvements via the GitHub Repository.


🎉 Thank you for using Odoo Expert! 🚀

Full Changelog: v0.0.10-alpha...v0.1.0

v0.0.10-alpha

02 Feb 18:09
Compare
Choose a tag to compare

Added

  • New environment variable ODOO_VERSIONS to configure which Odoo versions to pull (defaults to "16.0,17.0,18.0")
  • New environment variable SYSTEM_PROMPT to customize the AI assistant's system prompt
  • Support for customizing the AI behavior through environment variables

Changed

  • Modified pull_rawdata.sh to use versions from ODOO_VERSIONS environment variable
  • Updated settings configuration to read system prompt from environment
  • Improved configuration flexibility for version management

Developer Notes

  • The system prompt can now be modified without code changes
  • Odoo versions can be configured per deployment
  • All configurations are now centralized in the .env file

Migration Guide

  1. Copy the new variables from .env.example to your .env file
  2. Set ODOO_VERSIONS to specify which versions you want to pull
  3. (Optional) Customize SYSTEM_PROMPT to modify the AI assistant's behavior

Full Changelog: v0.0.9-alpha...v0.0.10-alpha

v0.0.9-alpha

28 Jan 05:40
Compare
Choose a tag to compare

🎉 Happy Chinese Lunar New Year!

BREAKING CHANGE: PostgreSQL Integration, Faster Search, and More! 🚀

I've been hard at work improving Odoo Expert, and I'm thrilled to announce some major enhancements in this release:

🗃️ Switched from Supabase to PostgreSQL

  • Odoo Expert now uses a PostgreSQL database directly for improved performance and flexibility
  • I removed Supabase dependencies, simplifying the setup process
  • PostgreSQL connection details are now configured via environment variables

🔍 Optimized Search with pgvector

  • I leveraged the powerful pgvector extension for PostgreSQL to enable fast vector similarity search
  • Optimized indexes were created on the odoo_docs table for snappy querying
  • I implemented a search_odoo_docs function to efficiently find relevant documentation chunks

🏗️ Refactored Database Service

  • I introduced a new DatabaseService class to manage all database interactions
  • Connection pooling is now utilized for improved efficiency and scalability
  • Retry logic was added to handle transient database connection issues gracefully

🩹 More Robust Error Handling

  • I improved error handling throughout the codebase to provide more informative messages
  • Logging of errors and stack traces was enhanced for easier debugging

🐳 Docker Compose Enhancements

  • The docker-compose.yml file was updated to include the PostgreSQL service
  • Health checks were added to ensure services are ready before starting the application
  • I automated the initialization of the database schema on container startup

I'm excited about these improvements and believe they will make Odoo Expert even more powerful and reliable. Thank you for your continued support and feedback!

What's Changed

  • ♻️ Replace supabase with pgvector by @MFYDev in #3

New Contributors

  • @MFYDev made their first contribution in #3

Full Changelog: v0.0.8-alpha...v0.0.9-alpha

v0.0.8-alpha

23 Jan 03:35
Compare
Choose a tag to compare

New Feature

Streaming API Endpoint

  • Added new /api/stream endpoint for real-time response streaming
  • Supports Server-Sent Events (SSE) for progressive response delivery
  • Maintains compatibility with existing /api/chat endpoint
  • Uses same authentication and request format as non-streaming endpoint

Usage Example

curl -X POST "http://localhost:8000/api/stream" \
-H "Authorization: Bearer your-api-token" \
-H "Content-Type: application/json" \
-d '{
    "query": "How do I install Odoo?",
    "version": 180,
    "conversation_history": []
}'

Improvements

  • Enhanced API documentation in README.md
  • Added example usage for curl
  • Improved error handling for streaming responses

v0.0.7-alpha

21 Jan 01:12
Compare
Choose a tag to compare

🚀 Highlights

  • Official Docker image now available
  • One-click deployment with Docker Compose
  • GitHub Actions CI/CD pipeline for automatic image builds
  • Production-ready process management

✨ New Features

Docker Integration

  • Pre-built Docker images on Docker Hub/GHCR
  • Multi-stage build for optimized image size (~45% reduction)
  • Supervisord process manager for concurrent UI/API/Updater services
  • Automatic daily updates via cron job
  • Health checks with proper status monitoring
  • Persistent volume support for documentation data

CI/CD Pipeline

  • Automatic image builds on push to main branch
  • Multi-arch support (linux/amd64, linux/arm64)
  • Dependency scanning with Dependabot
  • Image vulnerability scanning
  • Automated version tagging

🛠️ Improvements

  • Simplified logging structure with unified log directory
  • Reduced system dependencies through containerization
  • Better permission handling for container processes
  • Updated documentation with Docker-first instructions

🔗 Links

v0.0.6-alpha

20 Jan 16:50
Compare
Choose a tag to compare

Hotfix and Improvement

  • Fix content update was not working
  • Support Set Table Name in .env

Full Changelog: v0.0.5-alpha...v0.0.6-alpha

v0.0.5-alpha

20 Jan 16:47
046a0c4
Compare
Choose a tag to compare

Incremental Update Support

🎯 Major Changes

  • Added incremental update system for documentation processing
  • Implemented file change detection with MD5 hash tracking
  • Added smart caching system to process only modified content

⚡ Key Features

  • Efficient Processing: Only process RST files that have been modified since last update
  • Cache Management: Persistent cache system using .file_cache.json to track file states
  • Smart Updates: Delete-then-insert pattern for database records to ensure data consistency
  • Multi-Version Support: Maintains proper handling of Odoo version-specific content (16.0, 17.0, 18.0)

🔧 Technical Improvements

  • Added file state tracking using MD5 hashes
  • Improved database operations with proper conflict handling
  • Enhanced URL handling for documentation references
  • Added detailed logging for monitoring update processes

📝 Usage

  • Run the update check to process only modified documentation:
  • bashCopypython main.py check-updates
  • First run will create a cache file. Subsequent runs will only process files that have changed since the last update.

🐛 Bug Fixes

  • Resolved unique constraint violations in document processing
  • Fixed concurrent chunk processing issues
  • Corrected version number handling in documentation URLs

Full Changelog: v0.0.4-alpha...v0.0.5-alpha

v0.0.4-alpha

20 Jan 13:18
Compare
Choose a tag to compare

🚀 Release v0.0.4-alpha - Project Restructuring

🌟 Major Changes

  • 📦 Complete project restructuring to follow Python best practices
  • 🏗️ Introduced proper package organization with src/ directory
  • 🛡️ Improved error handling and logging system
  • ⚙️ Centralized configuration management

⚠️ Breaking Changes

  1. 📝 Import Path Changes

    • All imports must now use src prefix
    • Example: from src.core.services.chat_service import ChatService
  2. 📋 File Renames

    • document.pydocument_processor.py
    • markdown.pymarkdown_converter.py
    • chat.pychat_service.py
  3. ⚙️ Configuration Management

    • New settings module using pydantic-settings
    • Environment variables now managed through src/config/settings.py
  4. 🔄 Service Layer Refactoring

    • Introduced clear separation between services
    • New dependency injection pattern for services

📋 Additional Notes

  • 💡 Report any issues on our GitHub repository
  • 🤝 Community contributions are welcome

📅 Released on: January 19, 2025