Skip to content

Latest commit

 

History

History
72 lines (45 loc) · 2.22 KB

File metadata and controls

72 lines (45 loc) · 2.22 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.7 - 2026-03-05

Added

  • Automatic environment variable support: api_key is now optional and falls back to BRAINUS_API_KEY environment variable, enabling BrainusAI() without passing credentials explicitly

0.1.6 - 2025-12-12

Fixed

  • Fixed API key validation to raise AuthenticationError instead of ValueError for invalid format, ensuring consistent error handling
  • Added message attribute to all Brainus AI exceptions to support e.message access pattern

0.1.5 - 2025-12-12

Fixed

  • Fixed Pydantic validation errors when citations.pages or citations.metadata are returned as null from the API

0.1.4 - 2025-12-12

Changed

  • Updated API key prefix validation from sk_live_ to brainus_ to match backend changes

0.1.3 - 2025-12-12

Changed

  • Updated docs

0.1.2 - 2025-12-12

Changed

  • Updated docs

0.1.1 - 2025-12-12

Changed

  • Updated README to be minimalistic with links to full documentation
  • Updated repository URLs to correct GitHub organization

0.1.0 - 2025-12-12

Added

  • Initial release
  • Query endpoint with optional store_id, filters, and model parameters
  • Usage statistics endpoint
  • Plans listing endpoint
  • Structured QueryFilters model
  • Error handling for authentication, rate limits, and quotas
  • Full type hints with Pydantic models
  • Async/await support