Skip to content

Novexity v1.0.6

Latest
Compare
Choose a tag to compare
@NorkzYT NorkzYT released this 10 Dec 22:23

πŸŽ‰ RELEASE NOTES v1.0.6 πŸŽ‰

πŸš€ New Features

  • API Gateway Lifecycle Management:
    • Introduced init_gateway() and shutdown_gateway() methods for explicit lifecycle control of the API Gateway.
    • Improved scalability by allowing users to manage API Gateway resources directly.
  • User-Agent Rotation:
    • Added dynamic user-agent rotation to improve search request reliability and avoid blocking.

πŸ“š Documentation Updates

  • Updated README with examples on how to:
    • Initialize and shut down the API Gateway.
    • Perform a search with improved results handling.
  • Enhanced search example scripts for better usability and clarity.

πŸ›  Improvements

  • Refactored the NovexitySearch class:
    • Added structured handling of search results.
    • Improved error handling for missing fields in search results.
  • Updated .gitignore to include venv.

πŸ”— Dependencies

  • Added python-dotenv as a dependency to simplify environment variable management.

πŸ› Bug Fixes

  • Fixed inconsistent handling of fields and optional parameters in search results.
  • Corrected formatting issues in setup.cfg.

⚠️ Breaking Changes

  • Users must explicitly call NovexitySearch.init_gateway() before performing a search.
  • Gateway resources must be cleaned up using NovexitySearch.shutdown_gateway() after usage.

πŸ”— Installation

pip install novexity==1.0.6