Skip to content

Latest commit

 

History

History
172 lines (113 loc) · 5.93 KB

CHANGELOG.md

File metadata and controls

172 lines (113 loc) · 5.93 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • Add method Query.results for returning results as an iterator instead of sequence (#37)

Changed

  • Deprecate methods Query.get and Query.get_all in favor of the new Query.results method. These deprecated methods will likely be removed for the 1.0.0 release. (#37)

Added

  • Support STAC format output (#81)
  • Add Query method option for setting parameter options as described both in CMR Search API Parameter Options and in other sections of the CMR Search API documentation, thus supporting other parameter options that are not covered in that particular section of the documentation. (#74)
  • Support multi-point searches (#72)
  • Support processing_level_id in CollectionQuery (#76)
  • Support platform in CollectionQuery (#77)
  • Support searching by instance format for VariableQuery (#59)

Fixed

  • Setup vcrpy for new revision_date unit tests (#70)

Added

  • Support searching for cloud-hosted collections (#54)
  • Option to search for collections and granules by revision_date (#67)

Fixed

  • Do not clobber other headers when a query's Authorization header is set via the bearer_token or token method. However, if multiple calls are made to the bearer_token and/or token methods, later calls overwrite the Authorization setting of prior calls (i.e., the last call wins). (#48)
  • Export DayNightFlag type alias (#51)

Changed

  • issues/35 Eliminated accommodation for Python versions older than 3.8 and updated CI build to test against Python versions 3.8 through 3.12. Also, fixed all flake8 warnings.

Added

Fixed

  • issues/42 Fixed bug where a KeyError was thrown from Query.get when the query format was a supported format other than "json". Further, in such cases, too many items would be fetched from the CMR due to a bug in how items were counted. Now, no more than limit items are fetched.

Changed

  • issues/29 Date parsing has been improved to accept more ISO-8601 string formats as well as timezone-aware datetime objects

Added

Fixed

  • pull/27 Fixed bug with constructing the options sent to CMR which was causing filters to not get applied correctly.
  • pull/28 Fixed bug where KeyError was thrown if search result contained 0 hits

Added

  • pull/17 New feature that allows sort_keys to be passed into this Api up to the CMR. Used the valid sort_keys as of July 2023

Changed

  • Updated dependency versions

Added

  • pull/15: New feature added to filter by granules within the circle around lat/lon
  • pull/12: Added environments to module level to simplify imports to from cmr import CMR_UAT

Changed

  • Changed token url to being tokens in authorization headers.
  • Add in bearer token function for use of EDL bearer token in authorization headers.

Added

  • New workflow that runs lint and test
  • New function Query.token to add an auth token to the request sent to CMR

Changed

Added

  • New support for querying variables (UMM-V)

Changed

  • Can now import ToolQuery ServiceQuery VariableQuery straight from cmr module (e.g., from cmr import ToolQuery).

Added

  • New support for querying tools (UMM-T) and services (UMM-S)
  • CodeQL Analysis on pushes and pull requests

Changed

  • Moved to github.com/nasa/python_cmr