Releases: stac-utils/pystac-client
Releases · stac-utils/pystac-client
v0.3.4
v0.3.3
v0.3.3 - 2022-04-28
Added
- Add
--filter-lang
parameter to allow specifying other filter language to be used within the--filter
parameter #140 - CI checks against minimum versions of all dependencies and any pre-release versions of PySTAC #144
Changed
New Contributors
- @DrTodd13 made their first contribution in #145
- @torse made their first contribution in #140
- @mneagul made their first contribution in #142
Full Changelog: v0.3.2...v0.3.3
v0.3.2
[v0.3.2] - 2022-01-11
Added
Client.search
accepts an optionalfilter_lang
argument forfilter
requests #128
Fixed
- Values from
parameters
andheaders
arguments toClient.open
andClient.from_file
are now also used in requests made fromCollectionClient
instances
fetched from the same API (#126) - The tests folder is no longer installed as a package.
v0.3.1
[0.3.1] - 2021-11-17
Changed
- Update min PySTAC version to 1.2
- Default page size limit set to 100 rather than relying on the server default
- Fetch single collection directly from endpoint in API rather than iterating through children (Issue #114)[https://github.com//issues/114]
Added
- Adds
--block-network
option to all test commands to ensure no network requests are made during unit tests
#119 parameters
argument toStacApiIO
,Client.open
, andClient.from_file
to allow query string parameters to be passed to all requests
#118
Fixed
Client.get_collections
raised an exception when API did not publish/collections
conformance class instead of falling back to using child links
#120
v0.3.0
[0.3.0] - 2021-09-28
Added
- Jupyter Notebook tutorials
- Basic CQL-JSON filtering #100
Changed
- Improved performance when constructing
pystac.ItemCollection
objects. - Relax
requests
dependency #87 - Use regular expressions for checking conformance classes #97
- Reorganized documentation, updated all docs
Fixed
v0.3.0-beta.1
[0.3.0-beta.1] - 2021-09-22
Added
- Jupyter Notebook tutorials
- Basic CQL-JSON filtering #100
Changed
- Improved performance when constructing
pystac.ItemCollection
objects. - Relax
requests
dependency #87 - Use regular expressions for checking conformance classes #97
- Reorganized documentation, updated all docs
Fixed
v0.2.0
[v0.2.0] - 2021-08-04
Added
Client.open
falls back to theSTAC_URL
environment variable if no url is provided as an argument #48- New Search.get_pages() iterator function to retrieve pages as raw JSON, not as ItemCollections
StacApiIO
class added, subclass from PySTACStacIO
. AStacApiIO
instance is used for all IO for a Client instance, and all requests
are in a single HTTP session, handle pagination and respects conformanceconformance.CONFORMANCE_CLASSES
dictionary added containing all STAC API Capabilities from stac-api-speccollections
subcommand to CLI, for saving all Collections in catalog as JSONClient.get_collections
overrides Catalog to use /collections endpoint if API conformsClient.get_collection(<collection_id>)
for getting specific collectionClient.get_items
andClient.get_all_items
override Catalog functions to use search endpoint instead of traversing catalog
Changed
- Update to use PySTAC 1.1.0
- IO changed to use PySTAC's new StacIO base class.
Search.item_collections()
renamed toSearch.get_item_collections()
Search.item_collections()
renamed toSearch.get_items()
- Conformance is checked by each individual function that requires a particular conformance
- STAC API testing URLs changed to updated APIs
ItemSearch.get_pages()
function moved to StacApiIO class for general use- Logging is now enabled in the CLI in all cases.
If data are being printed to stdout, logging goes to stderr.
#79 - Improved logging for GET requests (prints encoded URL)
Fixed
- Running
stac-client
with no arguments no longer raises a confusing exception #52 Client.get_collections_list
#44- The regular expression used for datetime parsing #59
Client.from_file
now works as expected, usingClient.open
is not required, although it will fetch STAC_URL from an envvar
Removed
get_pages
andsimple_stac_resolver
functions frompystac_client.stac_io
(The new StacApiIO class understandsLink
objects)Client.search()
no longer accepts anext_resolver
argument- pystac.extensions modules, which were based on PySTAC's previous extension implementation, replaced in 1.0.0
stac_api_object.StacApiObjectMixin
, replaced with conformance checking inStacApiIO
- PySTAC Collection objects can no longer be passed in as
collections
arguments to theItemSearch
class (just pass ids) Catalog.get_collection_list
(was alias toget_child_links
) because made assumption about this being an API only. Also redundant withCatalog.get_collections
Search.item_collections()
Search.items()
- STAC_URL environment variable in Client.open(). url parameter in Client is now required
- STAC_URL environment variable in CLI. CLI now has a required positional argument for the URL
0.1.1
0.1.0
Initial release