Skip to content

Latest commit

 

History

History
223 lines (138 loc) · 8.58 KB

CHANGELOG.md

File metadata and controls

223 lines (138 loc) · 8.58 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.

Changed

  • stream can now be None, with each client deciding what its preferred mode is (#226)

Removed

0.4.3 - 2024-07-29

Added

  • Support for non-streaming downloads and the corresponding --no-stream flag to the CLI (#208)

0.4.2 - 2024-07-28

Added

  • --http-timeout option to the CLI (#196)
  • More info to CLI error reporting (#200)
  • --max-concurrent-downloads option to the CLI (#204)

Fixed

  • Expand the list of exceptions on which we should retry for HTTP (#195)
  • SkipAssetDownload docstring (#199)
  • Fast failing when we hit max_concurrent_downloads (#204)
  • Id+key reporting in CLI (#206)

0.4.1 - 2024-07-17

Added

  • OAuth2 support (#180)
  • Retry configuration for HTTP (#192)

0.4.0 - 2024-06-19

Added

  • Support for configuring a custom endpoint URL for S3Client (#184)
  • More HttpClient attributes to Config (#177)
  • derived_from link (#178)
  • Option for templated paths when downloading item collections (#181)

Removed

  • EarthdataClient.login (#177)
  • Default value for HttpClient's check_content_type (#177)

0.3.3 - 2024-05-28

Added

  • download_file (#122)
  • allow text/xml and application/xml to be used interchangeably (#173)

0.3.2 - 2024-05-20

Added

  • Timeout configuration for HttpClient (#163)
  • pytest-recording and vcr marks to a couple tests (#166)

Fixed

  • Limit the number of concurrent downloads (#167)

0.3.1 - 2024-05-13

Added

  • More information to DownloadError's string representation (#160)

0.3.0 - 2024-04-24

Removed

  • Python 3.8 is no longer supported (#154)

Fixed

  • Directory for writing Item JSON is always created (#152)

0.2.4 - 2024-04-02

Added

0.2.3 - 2023-10-20

Added

  • keep_non_downloaded (#116)

0.2.2 - 2023-09-18

Added

  • read_href and blocking.read_href (#107)

0.2.1 - 2023-09-05

Fixed

  • Use absolute paths for item collection downloads (#96, #97)

0.2.0 - 2023-08-23

Added

  • Use multiple clients when downloading (#46)
  • --alternate-assets option to the CLI (#46)
  • Content-type checking (#46, #60)
  • Client.from_config and Client.close (#46)
  • Retry configuration for S3 (#47)
  • Collection download (#50)
  • Progress reporting (#55, #69)
  • ErrorStrategy (#69)
  • fail_fast (#69)
  • assert_asset_exists, asset_exists, Client.assert_href_exists, Client.href_exists (#81, #85)
  • Blocking interface (#86)
  • stac-asset info CLI subcommand (#82)

Changed

  • Use Config instead of standalone arguments (#45, #67)
  • Re-use the same client for an entire item collection (#59)
  • If include or exclude is used, the un-included assets are removed from the source object (#70)

Removed

  • USGS EROS client (#37)
  • Client.default (#46)
  • Client.download_asset (#68)

0.1.1 - 2023-07-12

Fixed

  • Add py.typed (#35)

0.1.0 - 2023-07-12

First release at the new location, https://github.com/stac-utils/stac-asset. Used to be https://github.com/gadomski/stac-asset.

0.0.4 - 2023-06-09

Added

  • Client.download_item_collection() (#20)
  • Command-line interface (#22, #23)

Changed

  • Behavior of the item file name in Client.download_item() (#20)

0.0.3 - 2023-05-31

Added

  • Warnings instead of errors if assets are missing
  • Ability to save assets with their key as their file name
  • Earthdata client

Changed

  • download_item returns the modified item

Fixed

  • All relative hrefs are made absolute on item download
  • Clean up local files on download error

Removed

  • open_asset and download_asset

0.0.2 - 2023-05-25

Added

  • stac_asset.download_item_from_href
  • Requester-pays support to the s3 client

Fixed

  • Cleaning up connections is easier thanks to __aexit__ implementations

0.0.1 - 2023-05-24

Initial release.