Agent v2.3.1 – Migration from Flask to FastAPI

We’re excited to release OpenHubble Agent v2.3.1! This version introduces significant improvements, including the migration from Flask to FastAPI for better performance, scalability, and modern features. In addition, we’ve updated the middleware, which will provide more flexibility and better support for future enhancements. Uvicorn is now used as the ASGI server for running the application asynchronously, further boosting its performance.

Key Enhancements:

  • FastAPI Migration: Replaced Flask with FastAPI to improve performance and scalability.
  • Enhanced Middleware: Updated middleware to handle IP filtering more efficiently and flexibly.
  • API Improvements: API endpoints are now served by FastAPI with support for asynchronous processing.
  • Uvicorn for Async Server: Integrated Uvicorn as the ASGI server for asynchronous operation, improving performance and scalability.
  • Improved Logging: Enhanced logging with better handling of errors and performance metrics.
  • Project Versioning with TOML: Now using a TOML file for versioning and project settings, streamlining version management and updates.

Changes & Fixes:

  • Migrated from Flask to FastAPI for better performance.
  • Updated middleware to improve IP address filtering and error handling.
  • Integrated Uvicorn as the ASGI server to serve FastAPI endpoints asynchronously.
  • Refined logging system to provide more detailed output.
  • General refactor of internal codebase for optimization.
  • Version management is now handled via a TOML file, improving ease of configuration.

Upgrade Now!

To get started with OpenHubble Agent v2.3.1, follow the updated installation guide in the README.md file.

Contributing:

If you’d like to contribute to the OpenHubble Agent, feel free to open issues, suggest features, or submit pull requests. We welcome contributions from the community!