Releases: stac-utils/pystac-client
Releases · stac-utils/pystac-client
v0.7.3
What's Changed
- Update signatures for pystac v1.8 by @gadomski in #559
- Add back viz notebook by @jsignell in #567
- Update docs on retries to retry POST requests by @TomAugspurger in #561
- Raise more informative errors from CLI by @jsignell in #554
- Add
Retry
type hint toStacApiIO
by @rubenbaer in #577 - Fix trove classifier for license by @avalentino in #578
- Fix
get_items
without ids by @gadomski in #579 - Release v0.7.3 by @gadomski in #580
New Contributors
- @rubenbaer made their first contribution in #577
- @avalentino made their first contribution in #578
Full Changelog: v0.7.2...v0.7.3
v0.7.2
v0.7.1
v0.7.0
What's Changed
- Swap out isort/flake8 in favor of ruff by @jpolchlo in #457
- Check the min requirements in CI by @gadomski in #459
- Convert DeprecationWarning to FutureWarning for item search API by @jpolchlo in #464
- Fix
query
in GET requests by @gadomski in #362 - Consolidate contributing docs into one place by @jsignell in #478
- [DOCS] Fix geometry object creation by @jsignell in #484
- Re-record cassettes, fix three tests by @gadomski in #491
- Add note re: cassettes to releasing docs by @gadomski in #493
- Push max items check down into paging by @gadomski in #492
- Add simple version of
get_queryables
by @jsignell in #477 - Add timeout option to Client by @jpolchlo in #463
- Fail on CI if tutorial notebooks raise errors by @jsignell in #497
- Use pyproject.toml instead of setup.py by @gadomski in #501
- Add some more doc dependencies by @gadomski in #507
- Temporarily pin urllib3 by @jsignell in #508
- Configurable warnings by @jsignell in #480
- Aggregation of queryables across select collections by @ircwaves in #511
- Add upstream job by @jsignell in #521
- Ruff import sorting by @ircwaves in #518
- Advertise v1.0.0 support by @gadomski in #528
- Don't unquote in url_with_parameters by @gadomski in #530
- Add more context to CLI error messages by @gadomski in #531
- Include Modifiable at the top-level by @gadomski in #534
- Enable retries by default by @gadomski in #532
- Tighten the Timeout type to non-optional by @gadomski in #538
- Release v0.7.0 by @gadomski in #537
New Contributors
Full Changelog: v0.6.1...v0.7.0
v0.6.1
What's Changed
- Bump isort in pre-commit by @gadomski in #417
- Fix fail when header has more than one equals by @ircwaves in #440
- Update stac_api_io w/ headers, etc by @gadomski in #439
- Bump pystac version, remove some type: ignores, and do some other linting by @gadomski in #449
- Release v0.6.1 by @gadomski in #445
New Contributors
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- Remove python 3.7 support, add Python 3.11 support by @gadomski in #347
- Fix intervals by @gadomski in #363
- Downgrade ipykernel by @gadomski in #368
- added
modifier
hook toStacApiIO
to enable AWS SigV4 signing by @greyskyy in #372 - Parse datetimes more strictly by @gadomski in #364
- Ensure client self hrefs don't end in '/' by @gadomski in #373
- Check dev and docs in the same environment by @gadomski in #333
- Smarter href construction for clients by @gadomski in #405
- Enable windoze and macos in CI by @gadomski in #378
- Autoupdate pre-commit by @gadomski in #408
- Terminate on empty page by @gadomski in #338
- Fall back on item search in CollectionClient by @gadomski in #379
- Add section on loading data to the usage docs by @gadomski in #411
- Add custom certificate documentation by @gadomski in #412
- Release v0.6.0 by @gadomski in #413
New Contributors
Full Changelog: v0.5.1...v0.6.0
v0.5.1
What's Changed
- build(deps-dev): update requests-mock requirement from ~=1.9.3 to ~=1.10.0 by @dependabot in #307
- build(deps-dev): update black requirement from ~=22.6.0 to ~=22.8.0 by @dependabot in #308
- Documentation updates by @TomAugspurger in #309
- Added ItemSearch.url_with_parameters by @wietzesuijker in #304
- build(deps-dev): update pytest requirement from ~=7.1.2 to ~=7.1.3 by @dependabot in #310
- build(deps): update ipython requirement from ~=8.4 to ~=8.5 by @dependabot in #311
- build(deps-dev): update types-requests requirement from ~=2.28.9 to ~=2.28.10 by @dependabot in #313
- build(deps): bump actions/checkout from 2 to 3 by @dependabot in #314
- Fix variable name in quickstart example by @fredliporace in #316
- Fix StacApiIO's write_text_to_href by @gadomski in #312
- Remove mention of STAC_URL in Client.open docstring by @weiji14 in #317
- build(deps): update matplotlib requirement from ~=3.5.3 to ~=3.6.0 by @dependabot in #318
- Release v0.5.1 by @gadomski in #319
New Contributors
- @wietzesuijker made their first contribution in #304
- @fredliporace made their first contribution in #316
- @weiji14 made their first contribution in #317
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
- Type fixes by @duckontheweb in #249
- Added ItemSearch.item_collection by @TomAugspurger in #277
- Restore default max_items behavior by @TomAugspurger in #273
- Add parameters to Client.search by @TomAugspurger in #283
- Add a post-init modifier keyword by @TomAugspurger in #286
- Implement new ItemSearch result consumers by @TomAugspurger in #284
- Removes duplicate text in usage documentation by @stark525 in #297
- Cleanup deprecation docs by @gadomski in #302
- Release v0.5.0 by @gadomski in #303
New Contributors
Full CHANGELOG: https://github.com/stac-utils/pystac-client/blob/main/CHANGELOG.md#v050---2022-08-19
Full Changes: v0.4.0...v0.5.0
Dependabot updates
- build(deps): bump actions/setup-python from 3 to 4 by @dependabot in #240
- build(deps): update ipykernel requirement from ~=6.13 to ~=6.14 by @dependabot in #242
- build(deps): update ipykernel requirement from ~=6.14 to ~=6.15 by @dependabot in #243
- build(deps-dev): update pytest-recording requirement from ~=0.12.0 to ~=0.12.1 by @dependabot in #246
- build(deps-dev): bump orjson from 3.7.2 to 3.7.3 by @dependabot in #248
- build(deps-dev): bump orjson from 3.7.3 to 3.7.5 by @dependabot in #252
- build(deps-dev): update black requirement from ~=22.3.0 to ~=22.6.0 by @dependabot in #251
- build(deps-dev): bump orjson from 3.7.5 to 3.7.7 by @dependabot in #256
- build(deps-dev): bump pre-commit from 2.19.0 to 2.20.0 by @dependabot in #262
- build(deps): bump requests from 2.25.0 to 2.28.1 by @dependabot in #254
- build(deps): update geopandas requirement from ~=0.10.2 to ~=0.11.0 by @dependabot in #247
- build(deps-dev): update types-requests requirement from ~=2.27.31 to ~=2.28.2 by @dependabot in #264
- build(deps-dev): update mypy requirement from ~=0.961 to ~=0.971 by @dependabot in #265
- build(deps-dev): update types-python-dateutil requirement from ~=2.8.18 to ~=2.8.19 by @dependabot in #266
- build(deps-dev): bump orjson from 3.7.7 to 3.7.8 by @dependabot in #267
- build(deps-dev): update types-requests requirement from ~=2.28.2 to ~=2.28.3 by @dependabot in #268
- build(deps): update geopandas requirement from ~=0.11.0 to ~=0.11.1 by @dependabot in #269
- build(deps-dev): update types-requests requirement from ~=2.28.3 to ~=2.28.4 by @dependabot in #274
- build(deps-dev): update types-requests requirement from ~=2.28.4 to ~=2.28.5 by @dependabot in #275
- build(deps-dev): update doc8 requirement from ~=0.11.2 to ~=1.0.0 by @dependabot in #280
- build(deps-dev): update flake8 requirement from ~=4.0.1 to ~=5.0.1 by @dependabot in #288
- build(deps-dev): bump orjson from 3.7.8 to 3.7.11 by @dependabot in #287
- build(deps-dev): update types-requests requirement from ~=2.28.5 to ~=2.28.6 by @dependabot in #289
- build(deps-dev): update flake8 requirement from ~=5.0.1 to ~=5.0.2 by @dependabot in #290
- build(deps-dev): update types-requests requirement from ~=2.28.6 to ~=2.28.7 by @dependabot in #292
- build(deps-dev): update flake8 requirement from ~=5.0.2 to ~=5.0.3 by @dependabot in #291
- build(deps-dev): update flake8 requirement from ~=5.0.3 to ~=5.0.4 by @dependabot in #293
- build(deps-dev): update types-requests requirement from ~=2.28.7 to ~=2.28.8 by @dependabot in #294
- build(deps): update matplotlib requirement from ~=3.5.2 to ~=3.5.3 by @dependabot in #296
- build(deps-dev): bump orjson from 3.7.11 to 3.7.12 by @dependabot in #298
- build(deps-dev): update types-requests requirement from ~=2.28.8 to ~=2.28.9 by @dependabot in #301
- build(deps-dev): update codespell requirement from ~=2.1.0 to ~=2.2.1 by @dependabot in #300
- build(deps): update hvplot requirement from ~=0.8.0 to ~=0.8.1 by @dependabot in #306
- build(deps-dev): bump orjson from 3.7.12 to 3.8.0 by @dependabot in #305
v0.4.0
[v0.4.0] - 2022-06-08
Added
- Significantly improved type hints
- lru_cache to several methods #167
- Direct item GET via ogcapi-features, if conformant #166
py.typed
for downstream type checking #163- Added tutorial for using various geometry objects (e.g., shapely, geojson) as an Item Search intersects argument #232
Changed
- Item Search no longer defaults to returning an unlimited number of result Items from
its "items" methods. Themax_items
parameter now defaults to 100 instead of None.
Since thelimit
parameter also defaults to 100, in an ideal situation, only one request
will be made to the server to retrieve all 100 items. Both of these parameters can be
carefully adjusted upwards to align with the server's capabilities and the expected
number of search results. #208 - Better error message when trying to search a non-item-search-conforming catalog #164
- Search
filter-lang
defaults tocql2-json
instead ofcql-json
#169 - Search
filter-lang
will be set tocql2-json
if thefilter
is a dict, orcql2-text
if it is a string #169 - Search parameter
intersects
is now typed to only accept a str, dict, or object that implements__geo_interface__
#169 - Better error message when trying to open a Collection with
Client.open
#222
Deprecated
- Item Search methods
get_items()
andget_item_collections()
have been renamed to
items()
anditem_collections()
. The original methods are now deprecated
and may be removed as early as v0.5.0. #206 - Item Search methods
get_all_items()
andget_all_items_as_dict()
are now deprecated,
and may be removed as early as v0.5.0.
These have been deprecated because they have the potential to perform a large number
of requests to the server and instantiate a large number of objects in memory.
To a user, this is only visible as a large delay in the method call and/or the
exhaustion of all available memory. The iterator methodsitems()
or
item_collections()
should be used instead. #206 - CLI parameter
-q
is now deprecated and may be removed as early as v0.5.0. Use--query
instead. #215
Removed
- Client parameter
require_geojson_link
has been removed. #169
Fixed
- Search query parameter now has correct typing and handles Query Extension JSON format. #220
- Search sortby parameter now has correct typing and handles both GET and POST JSON parameter formats. #175
- Search fields parameter now has correct typing and handles both GET and POST JSON parameter formats. #184
- Use pytest configuration to skip benchmarks by default (instead of a
skip
mark). #168 - Methods retrieving collections incorrectly checked the existence of the OAFeat OpenAPI 3.0 conformance class
(http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/oas30) instead of theSTAC API - Collections
(https://api.stacspec.org/v1.0.0-beta.1/collections) orSTAC API - Features
(https://api.stacspec.org/v1.0.0-beta.1/ogcapi-features) conformance classes. 223
What's Changed
- Add lru_caches by @gadomski in #167
- set filter-lang parameter correctly based on the filter parameter type by @philvarner in #169
- update CQL example notebook with latest CQL2 syntax by @philvarner in #170
- Added Table of Contents to ReadMe by @Tomiiwa in #153
- Check conformance before search links by @gadomski in #164
- clarify type requirements for search intersects parameter, update some documentation by @philvarner in #174
- fix sortby typing and format for POST by @philvarner in #175
- Release/0.3.5 by @philvarner in #182
- sync static analysis tooling with pystac and stactools by @philvarner in #183
- Bump jsonschema from 3.2.0 to 4.5.1 by @dependabot in #195
- Update ipython requirement from ~=7.27 to ~=8.4 by @dependabot in #194
- Update pytest-console-scripts requirement from ~=1.1.0 to ~=1.3.1 by @dependabot in #193
- Update pytest-cov requirement from ~=2.11.1 to ~=3.0.0 by @dependabot in #192
- Bump codecov/codecov-action from 1 to 3 by @dependabot in #190
- Bump requests from 2.25 to 2.27.1 by @dependabot in #191
- fix search fields parameter typing and behavior by @philvarner in #184
- docs updates, inc. sort extension by @philvarner in #188
- Add releasing notes by @gadomski in #181
- feat: use ogciapi-features for get_item by @gadomski in #166
- Make benchmarks easier to run by @gadomski in #168
- Add py.typed to enable downstream type usage by @gadomski in #163
- build(deps-dev): update coverage requirement from ~=6.3.2 to ~=6.4 by @dependabot in #197
- build(deps-dev): update pytest-recording requirement from ~=0.11.0 to ~=0.12.0 by @dependabot in #198
- build(deps-dev): update pytest requirement from ~=6.2.3 to ~=7.1.2 by @dependabot in #200
- build(deps-dev): update doc8 requirement from ~=0.11.1 to ~=0.11.2 by @dependabot in #199
- build(deps): update myst-parser requirement from ~=0.15.2 to ~=0.17.2 by @dependabot in #204
- add docs build to ci by @philvarner in #201
- build(deps): update ipykernel requirement from ~=6.2 to ~=6.13 by @dependabot in #205
- deprecate get_all_items_as_dict and get_all_items, add get_items_as_dicts by @philvarner in #206
- build(deps-dev): bump orjson from 3.6.8 to 3.6.9 by @dependabot in #209
- build(deps): bump jsonschema from 4.5.1 to 4.6.0 by @dependabot in #211
- default ItemSearch max_items to 100, and make its use more prominent by @philvarner in #208
- build(deps-dev): bump orjson from 3.6.9 to 3.7.0 by @dependabot in #217
- AOI example by @philvarner in #212
- deprecate -q parameter in CLI by @philvarner in #215
- Better error message when trying to open a Collection with Client.open by @gadomski in #222
- add neq as a supported parameter by @philvarner in #216
- build(deps-dev): bump orjson from 3.7.0 to 3.7.1 by @dependabot in #224
- Fix Query Extension JSON syntax by @philvarner in #220
- fix conformance class checking by @philvarner in #223
- typing improvements by @philvarner in #225
- build(deps-dev): update mypy requirement from ~=0.960 to ~=0.961 by @dependabot in #230
- use Iterator instead of Iterable consistently for type hints by @philvarner in #226
- fix datetime types in ItemSearch by @philvarner in #227
- fix item search types by @philvarner in #228
- build(deps-dev): bump orjson from 3.7.1 to 3.7.2 by @dependabot in #234
- build(deps): update myst-parser requirement from ~=0.17.2 to ~=0.18.0 by @dependabot in #233
- add tutorial about using geo_interface objects for search intersects by @philvarner in #232
- fix typing in StacApiIO by @philvarn...