v4.1.0
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 aValidationError
, ensuring consistent validation with single-item inserts and preventing invalid STAC Items from being stored. This validation is enforced regardless of theRAISE_ON_BULK_ERROR
setting. #368
Fixed
- Refactored
create_item
andupdate_item
methods to share unified logic, ensuring consistent conflict detection, validation, and database operations. #368
New Contributors
- @johnmichaelmurner made their first contribution in #326
Full Changelog: v4.0.0...v4.1.0