Skip to content

1.5.0

Choose a tag to compare

@imanshafiei540 imanshafiei540 released this 29 Nov 00:08
· 12 commits to main since this release
badbeb3

πŸš€ Release 1.5.0 - EarthDaily Python Client

πŸ“‹ What's New in This Release

πŸ†• Major Features Added

  • New datacube Module: DatacubeService for creating and managing datacubes from STAC items, including apply_cloud_mask() function for flexible cloud masking with custom pixel values, geometry-aware statistics, and coverage-based filtering
  • New ordering Module: EDC ordering service via client.ordering.edc
  • Utils Dependency Group: New utils optional dependency group for user convenience tools (python-dotenv, jupyter, ipykernel)
  • Alternate Asset URLs: Added replace_href_with parameter to cube_utils.datacube() function to enable using alternate asset URLs (default: "alternate.download.href")
  • Bulk Search Enhancement: Bulk Search now accepts export_type parameter when creating a request

πŸ”§ Important Fixes

  • Pre-signing Fix: Fixed pre-signing functionality when bypass_auth is set to True by adding required user type header
  • Type Hinting: Fixed zonal_stats type hinting issues
  • STAC Error Fix: Fixed STACError in ItemDownloader when downloading assets from PySTAC Items with resolvable STAC links by using transform_hrefs=False parameter

⚑ Improvements

  • Download Validation: Added chunk size and total size validations to the HTTP downloader to prevent unexpected errors and detect corrupted downloads
  • Credential Validation: Added credential validation on EDSClient initialization to catch authentication issues early
  • Better Error Messages: Improved authentication error messages to provide specific, helpful details for different failure scenarios
  • Legacy Refactoring: General refactoring and improvements to legacy cube_utils.datacube()

πŸ”¨ Build & Infrastructure

  • Python 3.14 Support: Added support for Python 3.14
  • Package Management: Replaced Poetry with uv for package management
  • Build Backend: Switched build backend to hatchling
  • Type Checking: Enabled mypy type checking in GitHub Actions
  • Workflows: Updated workflows to use tox-uv

πŸ—‘οΈ Removed

  • Setuptools: Removed setuptools dependency

πŸ“¦ Installation

pip install earthdaily==1.5.0

Optional Dependencies

# For platform features
pip install "earthdaily[platform]==1.5.0"

# For datacube features
pip install "earthdaily[datacube]==1.5.0"

# For ordering features
pip install "earthdaily[ordering]==1.5.0"

# For utility tools (dotenv, jupyter, ipykernel)
pip install "earthdaily[utils]==1.5.0"

# For all features
pip install "earthdaily[platform,datacube,ordering,utils]==1.5.0"

πŸ”— Useful Links

πŸ™ Contributors

Thanks to all contributors who helped make this release possible!


Full Changelog: 1.0.7...1.5.0