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 support for local asset paths using file URIs (#254)
0.4.7 - 2025-06-18
- Handle OAuth2 support via middleware of the HTTP client instead of a subclass (252)
0.4.6 - 2024-11-05
0.4.5 - 2024-10-29
- Added logic to select
EarthdataClientwhen appropriate (#235)
0.4.4 - 2024-10-23
streamcan now beNone, with each client deciding what its preferred mode is (#226)- Warn, don't error, on content type issues (#227)
- Python 3.9 (#224)
0.4.3 - 2024-07-29
- Support for non-streaming downloads and the corresponding
--no-streamflag to the CLI (#208)
0.4.2 - 2024-07-28
--http-timeoutoption to the CLI (#196)- More info to CLI error reporting (#200)
--max-concurrent-downloadsoption to the CLI (#204)
- Expand the list of exceptions on which we should retry for HTTP (#195)
SkipAssetDownloaddocstring (#199)- Fast failing when we hit
max_concurrent_downloads(#204) - Id+key reporting in CLI (#206)
0.4.1 - 2024-07-17
0.4.0 - 2024-06-19
- Support for configuring a custom endpoint URL for
S3Client(#184) - More
HttpClientattributes toConfig(#177) derived_fromlink (#178)- Option for templated paths when downloading item collections (#181)
0.3.3 - 2024-05-28
0.3.2 - 2024-05-20
- Limit the number of concurrent downloads (#167)
0.3.1 - 2024-05-13
- More information to
DownloadError's string representation (#160)
0.3.0 - 2024-04-24
- Python 3.8 is no longer supported (#154)
- Directory for writing Item JSON is always created (#152)
0.2.4 - 2024-04-02
open_href(#123)
0.2.3 - 2023-10-20
keep_non_downloaded(#116)
0.2.2 - 2023-09-18
read_hrefandblocking.read_href(#107)
0.2.1 - 2023-09-05
0.2.0 - 2023-08-23
- Use multiple clients when downloading (#46)
--alternate-assetsoption to the CLI (#46)- Content-type checking (#46, #60)
Client.from_configandClient.close(#46)- Retry configuration for S3 (#47)
Collectiondownload (#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 infoCLI subcommand (#82)
- Use
Configinstead of standalone arguments (#45, #67) - Re-use the same client for an entire item collection (#59)
- If
includeorexcludeis used, the un-included assets are removed from the source object (#70)
0.1.1 - 2023-07-12
- 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
- Behavior of the item file name in
Client.download_item()(#20)
0.0.3 - 2023-05-31
- Warnings instead of errors if assets are missing
- Ability to save assets with their key as their file name
- Earthdata client
download_itemreturns the modified item
- All relative hrefs are made absolute on item download
- Clean up local files on download error
open_assetanddownload_asset
0.0.2 - 2023-05-25
stac_asset.download_item_from_href- Requester-pays support to the s3 client
- Cleaning up connections is easier thanks to
__aexit__implementations
0.0.1 - 2023-05-24
Initial release.