Skip to content

v1.1.1

Latest

Choose a tag to compare

@SanthoshSiddegowda SanthoshSiddegowda released this 27 Jul 18:39
· 6 commits to main since this release

This release introduces significant improvements to the API usability and code review quality. Building upon the solid testing foundation from v1.1.0, we've enhanced the core functionality to better serve real-world development workflows.

✨ New Features & Improvements

  • File Upload API: Changed the /review/diff endpoint from accepting JSON request body to accepting file uploads, making it more practical for real-world usage
  • Upgraded AI Model: Upgraded from Gemini 2.5 Flash to Gemini 2.5 Pro for enhanced code review quality and more accurate suggestions
  • Enhanced CORS Support: Added support for all subdomains of kaavhi.com (*.kaavhi.com) while maintaining security
  • Improved Code Review Comments: Added language detection to review comments for better context and suggestions
  • New Dependency: Added python-multipart==0.0.9 to support file upload functionality

🔧 Technical Changes

  • API Endpoint Update: /review/diff now accepts UploadFile instead of JSON request body
  • Model Upgrade: Switched to gemini-2.5-pro for superior code analysis capabilities
  • CORS Configuration: Enhanced to support all kaavhi.com subdomains
  • Enhanced Prompting: Added language field to review comments for better code context

📦 Dependencies

  • Added python-multipart==0.0.9 for file upload support

How to Use the Updated API

The API now accepts file uploads instead of JSON requests:

curl -X POST "https://your-api-endpoint/review/diff" \
  -H "Content-Type: multipart/form-data" \
  -F "file=@your-diff-file.diff"

This release maintains backward compatibility where possible while introducing practical improvements that make the API more usable in real-world scenarios.

Full Changelog: v1.1.0...v1.1.1