Releases: stac-utils/pystac
Releases · stac-utils/pystac
v1.8.4
What's Changed
- Use three digits for ~= v0.* deps by @gadomski in #1211
- Remove references to
RefResolverby @jsignell in #1215 - Capitalize project.urls by @gadomski in #1220
- Permissively deserialize temporal extents by @gadomski in #1222
- Release v1.8.4 by @gadomski in #1223
Full Changelog: v1.8.3...v1.8.4
v1.8.3
What's Changed
- pin jsonschema to <4.18 in validation and test by @philvarner in #1192
- Allow to pass a dict for the summarized fields, fix the doc rendering by @m-mohr in #1195
- Fix warning message from get_all_items deprecation by @gadomski in #1203
- Bump pytest-recording, remove vcrpy pin by @gadomski in #1201
- Release v1.8.3 by @gadomski in #1204
Full Changelog: v1.8.2...v1.8.3
v1.8.2
What's Changed
- Allow a DeprecationWarning from jsonschema by @gadomski in #1187
- Explicitly re-export href by @gadomski in #1182
- set upper bound for jsonschema version by @vincentsarago in #1189
- Include fields-normalized.json in build by @gadomski in #1188
Full Changelog: v1.8.1...v1.8.2
v1.8.1
v1.8.0
What's Changed
- Pull FIELDS_JSON_URL into the codebase on release by @jsignell in #1045
- Speed up
get_childby first checking links that have id in them by @jsignell in #1064 - Fix heading in changelog by @gadomski in #1076
- Expand
get_items- deprecateget_all_itemsandCatalog.get_itemby @jsignell in #1075 - Remove text around to_dict and JSON by @gadomski in #1074
- Return deepcopy of
assetsfromget_assetsby @jsignell in #1087 - Expand support for multiple extension uris by @jsignell in #1091
- Add MGRS Extension from code in stactools-package for sentinel2 by @jsignell in #1088
- Add debug logging on GET by @jsignell in #1096
- Use pyproject.toml instead of setup.py by @gadomski in #1100
- Raise error if writing to url by @gadomski in #1107
- Allow nullable
stac_extensionsby @jsignell in #1109 Link.to_dict()should only contain strings by @jsignell in #1114- Add keep_parent parameter to add_child and add_item #1116 by @m-mohr in #1117
- Support item_assets extension's AssetDefinition in raster extension by @jpolchlo in #1110
- Fix benchmarks to build w/ pyproject.toml by @gadomski in #1122
- return all validation issues by @ircwaves in #1120
- Ruff import sorting by @ircwaves in #1132
- Update EO extension to v1.1.0 by @jsignell in #1131
- change STACTypeError to create short informative message by @ircwaves in #1126
- Always write
/-delimited paths by @pjhartzell in #1125 - Add classification extension by @jpolchlo in #1093
- Add
get/add/remove_derived_fromto pystac.Item by @jsignell in #1136 - Don't convert stac_extensions to set by @jsignell in #1133
- Make sure that get_items is backwards compatible by @jsignell in #1139
- Get assets by eo:bands common_name or name by @jsignell in #1140
- Make
_repr_html_look like_repr_json_output by @jsignell in #1142 - Add optional jinja2 dependency by @jsignell in #1144
- Remove
tutorials/example-catalogby @jsignell in #1145 - Ensure that
add_if_missingis always be optional and defaults to False by @jsignell in #1147 - Add a tutorial showing how to read data using xpystac by @jsignell in #1146
- Unclutter autodoc slightly by @jsignell in #1137
- Allow more configuration with
Catalog.validate_allby @jsignell in #1150 - Feat/add kml by @wildintellect in #1151
- Add docs and hint about extension summaries by @jsignell in #1157
- Add a bit more test coverage for datacube ext by @jsignell in #1143
- Add move/copy/delete methods on Asset by @jsignell in #1158
- Change
keep_parenttoset_parentand add flag on obj indicating parent override of href by @jsignell in #1155 - Return Link Object after adding a child or item #1159 by @m-mohr in #1160
- Remove faulty mypy annotation by @jpolchlo in #1166
- Include some json schemas within pystac by @jsignell in #1165
- Include collection assets in
make_all_asset_hrefs_relative/absoluteby @jsignell in #1168 - Xarray Assets Extension class by @jsignell in #1161
- Tests don't depend on external files by @jsignell in #1162
- Fix internal usage of deprecated function by @gadomski in #1172
- Collection link should be resolved with root by @gadomski in #1171
- Make tests fail on warning by @jsignell in #1173
- Update landsat tutorial notebook by @jpolchlo in #1152
- Ceil vcrpy by @gadomski in #1175
- Let non-hierarchical links to hierachical elements be relative paths for self-contained catalogs by @jpolchlo in #1169
- Release v1.8.0 by @gadomski in #1176
New Contributors
- @jpolchlo made their first contribution in #1110
- @ircwaves made their first contribution in #1120
- @wildintellect made their first contribution in #1151
Full Changelog: v1.7.3...v1.8.0
v1.7.3
v1.7.2
v1.7.1
This is a bugfix release for #1048 which corrects Item's __geo_interface__ property to return the whole feature, not just the geometry. This also includes some linting and infrastructure fixups.
What's Changed
- Fix up releasing workflow and docs by @gadomski in #1032
- Use black to format notebooks by @jsignell in #1041
- Update PR template since precommit runs on the diff by default by @jsignell in #1042
- Replace flake8 and isort with ruff by @gadomski in #1034
- Update notebook links to not point to specific versions by @jsignell in #1039
- Fix
__geo_interface__by @gadomski in #1049 - Release v1.7.1 by @gadomski in #1057
Full Changelog: v1.7.0...v1.7.1
v1.7.0
Summary
Many bug fixes and feature additions. Some changes/additions of note:
ItemCollectionnow clones its items by default (#1016).Itemnow implements__geo_interface__(#885). For more about__geo_interface__, see https://gist.github.com/sgillies/2217756.- We now have a benchmark suite (#748).
- We now use pytest (#939).
Issues and pull requests are grouped into the Github milestone.
Changelog
Added
- Additional util methods
now_in_utcandnow_to_rfc3339_str(#760) media_typeandrolefiltering to Item and Collectionget_assets()method (#936)Asset.has_role(#936)- Enum MediaType entry for flatgeobuf (discussion) (#938)
- Custom
headersupport toDefaultStacIO(#889) - Python 3.11 checks in CI (#908)
- Ability to only update resolved links when using
Catalog.normalize_hrefsandCatalog.normalize_and_save, via a newskip_unresolvedargument (#900) - Optional argument
timespectoutils.datetime_to_str(#929) isort(#961)AsIsLayoutStrategy(#919)__geo_interface__for items (#885)- Optional
strategyparameter tocatalog.add_items()(#967) start_datetimeandend_datetimearguments to theItemconstructor (#918)RetryStacIO(#986)STACObject.remove_hierarchical_linksandLink.is_hierarchical(#999)extra_fieldstoAssetDefinitionin the item assets extension (#1003)Catalog.fully_resolve(#1001)- A
DeprecatedWarningwhen deserializing an Item or Collection to a STAC object via thefrom_dict()method (1006) - Support for relative stac extension paths via
make_absolute_href(#884)
Changed
- Projection extension updated to use v1.1.0 (#989).
- Update Grid Extension support to v1.1.0 and fix issue with grid:code prefix validation (#925)
- Switch to pytest (#939)
- Use
from __future__ import annotationsfor type signatures (#962) - Use
TypeVarfor alternate constructors (#983) - Behavior when required fields are missing in
Item.from_dict(#994) - By default,
ItemCollectionnow clones items in iterator (clone_items=True) (#1016)
Deprecated
TemplateErrorinlayout.pydeprecated in favor of duplicate inerrors.py(#1018)
Fixed
- Creating dictionaries from Catalogs and Collections without root hrefs now creates valid STAC (#896)
- Dependency resolution when installing
requirements-dev.txt(#897) - Serializing optional Collection attributes (#916)
- A couple non-running tests (#912)
- Filtering on
media_typeinget_links()andget_single_link()(#966) - Missing hrefs and duplicate Item fields in html generated by
_repr_html_()(#975) - Allow subclasses in a few more
clonemethods (#983) - Pass
hreffromItem.from_dictto constructor (#984) - Serializing the table extension (#992)
New Contributors
- @remicres made their first contribution in #888
- @john-dupuy made their first contribution in #889
- @martinfleis made their first contribution in #879
- @dlebauer made their first contribution in #915
- @giswqs made their first contribution in #926
- @luca-digrazia made their first contribution in #878
- @imanshafiei540 made their first contribution in #929
- @jsignell made their first contribution in #950
v1.6.1
Fixed
- Pins
jsonschemato >=4.0.1 to avoid aRefResolutionErrorwhen validating some extensions (#857)
What's Changed
- Bump jsonschema minimum version to avoid RefResolutionError by @duckontheweb in #857
- Bump package to v1.6.1 by @duckontheweb in #858
Full Changelog: v1.6.0...v1.6.1