Skip to content

Releases: stac-utils/stac-fastapi-elasticsearch-opensearch

v6.3.0

16 Sep 11:07
1d24a7b

Choose a tag to compare

What's Changed

Full Changelog: v6.2.1...v6.3.0

v6.2.1

03 Sep 02:15
b3ed0d3

Choose a tag to compare

What's Changed

  • Adding support for default environment variable to SFEOS for the number of returned items and STAC collections by @YuriZmytrakov in #419
  • Simplifying patch by @rhysrevans3 in #420
  • fix: Add id field to sort config for consisteny pagination by @YuriZmytrakov in #421

New Contributors

Full Changelog: v6.2.0...v6.2.1

v6.2.0

27 Aug 07:59
5976d3c

Choose a tag to compare

What's Changed

  • Search optimization and indexing based on datetime options for large STAC datasets by @GrzegorzPustulka in #405
  • v6.2.0 release/ update table of contents by @jonhealy1 in #418

Full Changelog: v6.1.0...v6.2.0

v6.1.0

24 Jul 10:08
59d43f9

Choose a tag to compare

What's Changed

  • Timeout setting for Opensearch and Elasticsearch by @z-mrozu in #408
  • Added support for searching large amount of indices by @simonvb00 in #412
  • update ES env variable documentation by @BBrixen in #410
  • Enable collection filtering support for stac-auth-proxy by @GrzegorzPustulka in #411
  • Publish release 6.1.0 by @jonhealy1 in #414

New Contributors

Full Changelog: v6.0.0...v6.1.0

v6.0.0

22 Jun 06:56
45efe46

Choose a tag to compare

What's Changed

Full Changelog: v5.0.0...v6.0.0

v5.0.0

12 Jun 16:28
4dafa28

Choose a tag to compare

What's Changed

New Contributors

  • @GrzegorzPustulka made their first contribution in #388

Full Changelog: v4.2.0...v5.0.0

v5.0.0a1

30 May 15:45
56f4f7b

Choose a tag to compare

v5.0.0a1 Pre-release
Pre-release

What's Changed

  • Update docs by @jonhealy1 in #386
  • Database authorization capability with SSL disabled by @GrzegorzPustulka in #388
  • Update version to v5.0.0a1 by @jonhealy1 in #389

New Contributors

  • @GrzegorzPustulka made their first contribution in #388

Full Changelog: v5.0.0a0...v5.0.0a1

v5.0.0a0

29 May 04:43

Choose a tag to compare

v5.0.0a0 Pre-release
Pre-release

What's Changed

  • Created new sfeos_helpers package to improve code organization and maintainability #376
  • Added introduction section - What is stac-fastapi-elasticsearch-opensearch? - to README #384
  • Refactored utility functions into dedicated modules within sfeos_helpers #376:
    • Created database package with specialized modules for index, document, and utility operations
    • Created aggregation package for Elasticsearch/OpenSearch-specific aggregation functionality
    • Moved shared logic from core module to helper functions for better code reuse
    • Separated utility functions from constant mappings for clearer code organization
  • Updated documentation to reflect recent code refactoring #376
  • Improved README documentation with consistent formatting and enhanced sections #381:
    • Added sfeos logo and banner
    • Added a comprehensive Quick Start guide
    • Reorganized sections for better navigation
    • Reformatted content with bullet points for improved readability
    • Added more detailed examples for API interaction

Full Changelog: v4.2.0...v5.0.0a0

v4.2.0

15 May 06:20
eec5f14

Choose a tag to compare

What's Changed

Added

  • Added dynamic queryables mapping for search and aggregations #375
  • Added configurable landing page ID STAC_FASTAPI_LANDING_PAGE_ID #352
  • Added support for S_CONTAINS, S_WITHIN, S_DISJOINT spatial filter operations #371
  • Introduced the DATABASE_REFRESH environment variable to control whether database operations refresh the index immediately after changes. If set to true, changes will be immediately searchable. If set to false, changes may not be immediately visible but can improve performance for bulk operations. If set to wait_for, changes will wait for the next refresh cycle to become visible. #370
  • Added the ENABLE_TRANSACTIONS_EXTENSIONS environment variable to enable or disable the Transactions and Bulk Transactions API extensions. When set to false, endpoints provided by TransactionsClient and BulkTransactionsClient are not available. This allows for flexible deployment scenarios and improved API control. #374

Changed

  • Refactored CRUD methods in TransactionsClient to use the validate_refresh helper method for consistent and reusable handling of the refresh parameter. #370

Fixed

  • Fixed an issue where some routes were not passing the refresh parameter from kwargs to the database logic, ensuring consistent behavior across all CRUD operations. #370

New Contributors

Full Changelog: v4.1.0...v4.2.0

v4.1.0

09 May 11:32
b8c83b4

Choose a tag to compare

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