Skip to content

v4.1.0

Compare
Choose a tag to compare
@jonhealy1 jonhealy1 released this 09 May 11:32
· 8 commits to main since this release
b8c83b4

v4.1.0

Added

  • Added logging to bulk insertion methods to provide detailed feedback on errors encountered during operations. #364
  • Introduced the RAISE_ON_BULK_ERROR environment variable to control whether bulk insertion methods raise exceptions on errors (true) or log warnings and continue processing (false). #364
  • Added code coverage reporting to the test suite using pytest-cov. #87

Changed

  • Updated dynamic mapping for items to map long values to double versus float. #326
  • Extended Datetime Search to search on start_datetime and end_datetime as well as datetime fields. #182
  • Changed item update operation to use Elasticsearch index API instead of delete and create for better efficiency and atomicity. #75
  • Bulk insertion via BulkTransactionsClient now strictly validates all STAC Items using the Pydantic model before insertion. Any invalid item will immediately raise a ValidationError, ensuring consistent validation with single-item inserts and preventing invalid STAC Items from being stored. This validation is enforced regardless of the RAISE_ON_BULK_ERROR setting. #368

Fixed

  • Refactored create_item and update_item methods to share unified logic, ensuring consistent conflict detection, validation, and database operations. #368

New Contributors

Full Changelog: v4.0.0...v4.1.0