Skip to content

Releases: brightdata/sdk-python

Release v1.0.6

24 Aug 14:03

Choose a tag to compare

Version 1.0.6 - Changed default data_format to html for better output formatting

Release v1.0.5

21 Aug 12:48

Choose a tag to compare

Version 1.0.5 release

Release v1.0.4

21 Aug 12:32

Choose a tag to compare

What's New

  • New JSON Parsing Feature: Added parse parameter to search function
    • When parse=True, automatically appends &brd_json=1 to search URLs
    • Enables structured JSON responses from search engines
    • Defaults to False for backward compatibility

Usage Example

from brightdata import bdclient

client = bdclient(api_token="your-token")

# Enable JSON parsing
results = client.search(
    query="pizza restaurants", 
    search_engine="google", 
    parse=True
)

Changes

  • Add parse parameter to search() method in both API and client
  • Update documentation and examples
  • Add comprehensive unit tests
  • Maintain backward compatibility

v1.0.3

19 Aug 13:31

Choose a tag to compare

What's Changed

  • Fixed CI/CD pipeline issues with deprecated GitHub Actions
  • Enhanced country code validation flexibility
  • Improved zone management and testing coverage

Full Changelog: https://github.com/brightdata/bright-data-sdk-python/blob/main/CHANGELOG.md

v1.0.2

18 Aug 09:26

Choose a tag to compare

What's New in v1.0.2

🔧 Improvements

Dynamic version reading from package metadata for better consistency
Enhanced user-agent handling with automatic version synchronization
Improved error handling and validation throughout the SDK

🧪 Testing Enhancements

Comprehensive test suite with proper mocking to eliminate API token
requirements
Added PyPI package integration testing in CI/CD pipeline
Better test coverage for client initialization and validation logic

📦 Package Management

Fixed package name consistency in pyproject.toml
Streamlined version management across all configuration files
Enhanced GitHub Actions workflow for automated testing and publishing

🚀 Developer Experience

Tests now run without requiring real API tokens
Improved documentation in test files
Better CI/CD pipeline with both local and PyPI package validation