1.14.3 (2026-01-08)
- /vsi* paths are always absolute (#1625) (60eef08)
- doc string fixes (#1613) (61c3e14)
- typo nework --> network in test_summaries.py (#1624) (7a5e734)
- use broader iterable type (#1614) (b9422d8)
- use supertype parameter name (#1616) (0d2ec09)
1.14.2 (2025-12-17)
- Remove unused pystac.validation import (#1583)
- clone extra_fields for Item (#1601) (6ba7da1)
- make release-please two separate jobs (#1607) (bb6d289)
- Make
extentnot required forVerticalSpatialDimension(#1596) Asset.get_absolute_href()now properly resolves root relative hrefs (#1599)- Clone extra fields on
Item(#1601)
v1.14.1 - 2025-09-18
- Support older versions of urllib3 (#1580)
v1.14.0 - 2025-09-11
- Added to pystac.MediaType values VND_APACHE_PARQUET and VND_ZARR with the current standard media type value for these types and new media types COPC and VND_PMTILES (#1554)
- Pass "User-Agent": "pystac/3.13.0" in request headers to work around urllib's default "User-Agent" being blocked by readthedocs (#1576)
- Include a plain text repr in notebooks so untrusted notebooks look better (#1577)
- More permissive collection extent deserialization (#1559)
- Type of
proj:codesetter (#1560) - Use
urllib3to fix parsing non-ascii in urls (#1566) - Some return types and other mypy nits (#1569)
v1.13.0 - 2025-04-15
- Projection extension: migrate Assets and Item-Assets (#1549)
Collection.from_itemsfor creating apystac.Collectionfrom anItemCollection(#1522)extensions.mlmfor supporting the MLM extension (#1542)
proj:epsgmigration whenNone(#1544)- fixed missing parameter "title" in pystac.extensions.classification.Classification (#1539)
v1.12.2 - 2025-02-19
- Make sure that
VersionRangehasVersionIDs rather than strings (#1512)
v1.12.1 - 2025-01-27
migrate=Trueis now the default infrom_dict(#1509)
v1.12.0 - 2025-01-23
- Top-level
item_assetsdict onCollections (#1476) - Render Extension (#1465)
- Filter by links by list of media_types
- Write STAC v1.1.0 (#1427)
- Use uv for development dependencies and docs (#1439)
- Correctly detect absolute file path ref on windows, reflecting change in python 3.13 (#1475) (only effects python 3.13)
- Deprecated
ItemAssetExtension(#1476) - Update Projection Extension to version 2 - proj:epsg -> proj:code (#1287)
- Update migrate code to handle license changes in STAC spec 1.1.0 (#1491)
- Allow links to have
file://prefix - but don't write them that way by default (#1489) - For
get_root_link,get_child_links,get_item_links: Ensure json media types (#1497) - Raise
STACErrorwith message when a link is expected to resolve to a STAC object but doesn't (#1500) - Raise an error on APILayoutStrategy when root_href is non-url (#1498)
- Use
application/geo+jsonforitemlinks (#1495) - Includes the scientific extension in Item's ext interface (#1496)
- Fixes all broken documentation links and adds check to CI (#1499)
v1.11.0 - 2024-09-26
- Add netCDF to pystac.media_type (#1386)
- Add convenience method for accessing pystac_client (#1365)
- Fix field ordering when saving
Items (#1423) - Add keywords to common metadata (#1443)
- Add roles to common metadata (#1444)
- Allow object ID as input for getting APILayoutStrategy hrefs and add
items,collections,search,conformance,service_descandservice_dochref methods (#1335) - Updated classification extension to v2.0.0 (#1359)
- Update docstring of
nameargument toClassification.applyandClassification.createto agree with extension specification (#1356) - Add example of custom
StacIOfor Azure Blob Storage to docs (#1372) - Noted that collection links can be used in non-item objects in STAC v1.1.0 (#1393)
- Move test, docs, and bench requirements out of pyproject.toml (#1407)
- Clarify inclusive datetime ranges, update default license, and ensure description is not empty (#1445)
- Make
get_all_collectionsproperly recursive (#1361) - Set
Item::collectiontoNonewhen there is no collection (#1400) - Recursion error when
namenot set oneo:bands(#1406)
v1.10.1 - 2024-05-03
- Don't transform hrefs in
Item.__getstate__(#1337)
v1.10.0 - 2024-03-28
- Add
validatorinput toSTACObject.validatefor inline reference of the validator to use (#1320) - Add APILayoutStrategy (#1294)
- Allow setting a default layout strategy for Catalog (#1295)
- Update css for HTML display (#1311)
- Made item pickles smaller by changing how nested links are stored(#1285)
- Updated documentation code examples that use AWS S3 for file storage (#1308)
- No longer use the
datetime.utcnowmethod that has been deprecated in Python 3.12 (#1283)
v1.9.0 - 2023-10-23
- Simpler extension interface (#1243)
- More permissive schema_uri matching to allow future versions of extension schemas (#1231)
- Better error messages from jsonschema validation (#1233)
validate_all_dictreplaces the previous implementation ofvalidate_all(i.e.,validate_allwas renamed tovalidate_all_dict, andvalidate_allwas changed as described below) (#1246)- Python 3.12 (#1260)
validate_allnow accepts aSTACObject(in addition to accepting a dict, which is now deprecated), but prohibits supplying a value forhref, which must be supplied only when supplying an object as a dict. Oncevalidate_allremoves support for an object as a dict, thehrefparameter will also be removed. (#1246)- Report
hrefwhen schema url resolution fails (#1263) - Version extension updated to v1.2.0 (#1262)
- Datacube extension updated to v2.2.0 (#1269)
- Typing of
hrefarguments (#1234) - Interactions between pytest-recording and the validator schema cache (#1242)
- Call
registrywhen instantiatingDraft7Validator(#1240) - Migration for the classification, datacube, table, and timestamps extensions (#1258)
- Handling of
bboxesandintervalsarguments toSpatialExtentandTemporalExtent, respectively (#1268)
- Python 3.8 support (#1236)
ExtensionManagementMixin.validate_has_extensionis replaced withExtensionManagementMixin.ensure_has_extension. CallingExtensionManagementMixin.validate_has_extensionwill raise aDeprecationWarningand callExtensionManagementMixin.ensure_has_extension(#1248)validate_allfor dicts; usevalidate_all_dictinstead (#1246)Labelextension (#1270)
v1.8.4 - 2023-09-22
- Permissive deserialization of Collection temporal extents (#1222)
- Update usage of jsonschema (#1215)
pystac.validation.local_validator.LocalValidator(#1215)
v1.8.3 - 2023-07-12
- Allow to pass a Dict with field names and summary strategies to the
fieldsparameter in theSummarizerconstructor (#1195)
- Pin jsonschema version to <4.18 until regresssions are fixed
- Fix the documentation rendering of the
fieldsparameter in theSummarizerconstructor (#1195)
v1.8.2 - 2023-07-12
v1.8.1 - 2023-06-30
- Include jsonschemas in package (#1181)
v1.8.0 - 2023-06-27
sort_links_by_idto Catalogget_child()andmodify_linkstoget_stac_objects()(#1064)*idsto Catalog and Collectionget_items()for only including the provided ids in the iterator (#1075)recursiveto Catalog and Collectionget_items()to walk the sub-catalogs and sub-collections (#1075)- MGRS Extension (#1088)
- All HTTP requests are logged when level is set to
logging.DEBUG(#1096) set_parentto Catalogadd_itemandadd_childto avoid overriding existing parents (#1117, #1155)ownerattribute toAssetDefinitionin the item-assets extension (#1110)- Windows
\\path delimiters are converted to POSIX style/delimiters (#1125) - Updated raster extension to work with the item_assets extension's AssetDefinition objects (#1110)
- Classification extension (#1093), with support for adding classification information to item_assets'
AssetDefinitions and raster'sRasterBandobjects. get_derived_from,add_derived_fromandremove_derived_fromto Items (#1136)ItemEOExtension.get_assetsfor getting assets filtered on bandnameorcommon_name(#1140)max_itemsandrecursivetoCatalog.validate_all(#1141)KMLas a built in media type (#1127)move/copy/deleteoperations for local Assets (#1158)- Latest core STAC spec jsonshemas are included in pytstac and used for validation (#1165)
- Xarray Assets Extension class (#1161)
- Include a copy of the
fields.jsonfile (for summaries) with each distribution of PySTAC (#1045) - Make Catalog, Collection
.get_assets()return a deepcopy (#1087) - Removed documentation references to
to_dictmethods returning JSON (#1074) - Expand support for previous extension schema URIs (#1091)
- Use
pyproject.tomlinstead ofsetup.py(#1100) DefaultStacIOnow raises an error if it tries to write to a non-local url (#1107)- Allow instantiation of pystac objects even with
"stac_extensions": null(#1109) - Make
Link.to_dict()only contain strings (#1114) - Updated raster extension to work with the item_assets extension's AssetDefinition objects (#1110)
- Return all validation errors from validation methods of
JsonSchemaSTACValidator(#1120) - EO extension updated to v1.1.0 (#1131)
- Use
idin STACTypeError instead of entire dict (#1126) - Make sure that
get_itemsis backwards compatible (#1139) - Make
_repr_html_look like_repr_json_output (#1142) - Improved error message when
.extis called on a Collection (#1157) add_childandadd_itemreturn a Link object instead of None (#1160)add_childrenandadd_itemsreturn a list of Link objects instead of None (#1160)- Include collection assets in
make_all_asset_hrefs_relative/absolute(#1168) - Use cassettes for all tests that pull files from remote (#1162)
- Landsat tutorial notebook updated to collection 2 sources (#1152)
- Include the item's root when resolving its collection link (#1171)
pystac.summaries.FIELDS_JSON_URL(#1045)- Catalog
get_item(). Useget_items(id)instead (#1075) - Catalog and Collection
get_all_items. Useget_items(recursive=True)instead (#1075)
- Duplicate
selflinks in Items (#1103)
- Projection extension v1.0.0 support (#1081)
- Use ruff instead of isort and flake8 (#1034)
- Update links in doc notebooks to not point to specific versions (#1039)
- Item
__geo_interface__now correctly returns a Feature, rather than only the Geometry (#1049)
- 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)
- 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)
TemplateErrorinlayout.pydeprecated in favor of duplicate inerrors.py(#1018)
- 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)
- Pins
jsonschemato >=4.0.1 to avoid aRefResolutionErrorwhen validating some extensions (#857) - Fixed bug in custom StacIO example in documentation (#879)
- Support for Python 3.7 (#853)
- Enum MediaType entry for PDF documents (#758)
- Enum MediaType entry for HTML documents (#816)
- Updated Link to obtain stac_io from owner root (#762)
- Replace test.com with special-use domain name. (#769)
- Updated AssetDefinition to have create, apply methods (#768)
- Add Grid Extension support (#799)
- Rich HTML representations for Jupyter Notebook display (#743)
- Add
assetsargument toItemandCollectioninit methods to allow adding Assets during object initialization (#834)
- Updated Raster Extension from v1.0.0 to v1.1.0 (#809)
- Mutating
Asset.extra_fieldson a clonedAssetalso mutated the original asset (#826) - "How to create STAC catalogs" tutorial (#775)
- Add a
variablesargument, to accompanydimensions, for theapplymethod of stac objects extended with datacube (#782) - Deepcopy collection properties on clone. Implement
clonemethod forSummaries(#794) - Collection assets are now preserved when using
Collection.clone(#834) - Docstrings for
StacIO.read_textandStacIO.write_textnow match the type annotations for thesourceargument. (#835) - UTC timestamps now always have
tzutctimezone even when system timezone is set to UTC. (#848)
- Experimental support for Python 3.11 (#731)
- Accept PathLike objects in
StacIOI/O methods,pystac.read_fileandpystac.write_file(#728) - Support for Storage Extension (#745)
- Optional
StacIOinstance as argument toCatalog.save/Catalog.normalize_and_save(#751) - More thorough docstrings for
pystac.utilsfunctions and classes (#735)
- Label Extension version updated to
v1.0.1(#726) - Option to filter by
media_typeinSTACObject.get_linksandSTACObject.get_single_link(#704)
- Self links no longer included in Items for "relative published" catalogs (#725)
- Adding New and Custom Extensions tutorial now up-to-date with new extensions API (#724)
- Clarify error message when using
PropertyExtension.ext(..., add_if_missing=True)on anAssetwith no owner (#746) - Type errors when initializing
TemporalExtentusing a list ofdatetimeobjects (#744)
- Type annotations for instance attributes on all classes (#705)
extensions.datacube.Variable.to_dictmethod (#699])- Clarification of possible errors when using
.extto extend an object (#701) - Downloadable documentation as zipped HTML (#715)
- Downloadable documentation in ePub format (#715)
- Reorganize docs and switch to PyData theme (#687)
- Quickstart tutorial is now up-to-date with all package changes (#674)
- Creating absolute URLs from absolute URLs (#697])
- Serialization error when using
pystac.extensions.file.MappingObject(#700) - Use
PropertiesExtension._get_propertyto properly set return type inTableExtension(#712) DatacubeExtension.variablesnow has a setter (#699])- Landsat STAC tutorial is now up-to-date with all package changes (#692)
- Paths to sub-catalog files when using
Catalog.save(#714) - Link to PySTAC Introduction tutorial in tutorials index page (#719)
- Added Table-extension (#646)
- Stable support for Python 3.10 (#656)
.python-versionfiles are now ignored by Git (#647)- Added a flag to allow users to skip transforming hierarchical link HREFs based on root catalog type (#663)
- Exclude
testsfrom package distribution. This should make the package lighter (#604)
- Enable strict
mode
for
mypy(#591) - Links will get their
titlefrom their target if notitleis provided (#607) - Relax typing on
LabelClassesfromListtoSequence(#627) - Upgraded datacube-extension to version 2.0.0 (#645)
- By default, ItemCollections will not modify Item HREFs based on root catalog type to avoid performance costs of root link reads (#663)
generate_subcatalogscan include multiple template values in a single subfolder layer (#595)- Avoid implicit re-exports (#591)
- Fix issue that caused incorrect root links when constructing multi-leveled catalogs (#658)
- Regression where string
Enumvalues were not serialized properly in methods likeLink.to_dict(#654)
- Include type information during packaging for use with e.g.
mypy(#579) - Optional
dest_hrefargument toCatalog.saveto allow savingCataloginstances to locations other than theirselfhref (#565)
- Pin the rustc version in Continuous Integration to work around rust-lang/cargo#9727 (#581)
- HREFs in
Linkobjects withrel == "self"are converted to absolute HREFs (#574)
ProjectionExtension.crs_stringto provide a single string to describe the coordinate reference system (CRS). Useful because projections can be defined by EPSG code, WKT, or projjson. (#548)- SAR Extension summaries(#556)
- Migration for
sar:type->sar:product_typeandsar:polarization->sar:polarizationsfor pre-0.9 catalogs (#556) - Migration from
eo:epsg->proj:epsgfor pre-0.9 catalogs (#557) - Collection summaries for Point Cloud Extension (#558)
PhenomenologyTypeenum for recommended values ofpc:type&SchemaTypeenum for valid values oftypein Point Cloud Schema Objects (#548)to_dictand equality definition forextensions.item_asset.AssetDefinition(#564)Asset.common_metadataproperty (#563)
- The
from_dictmethod on STACObjects will set the object's root link when arootparameter is present. An ItemCollectionfrom_dictwith a root parameter will set the root on each of it's Items. (#549) - Calling
ExtensionManagementMixin.validate_has_extensionwithadd_if_missing = Trueon an ownerlessAssetwill raise aSTACError(#554) PointcloudSchema->Schema,PointcloudStatistic->Statisticfor consistency with naming convention in other extensions (#548)RequiredPropertyMissingalways raised when trying to get a required property that isNone(STACErrororKeyErrorwas previously being raised in some cases) (#561)
- Added
Collectionsas a type that can be extended for extensions whose fields can appear in collection summaries (#547) - Allow resolved self links when getting an object's self href (#555)
- Fixed type annotation on SummariesLabelExtension.label_properties setter (#562)
- Allow comparable types with alternate parameter naming of lt method to pass structural type linting for RangeSummary (#562)
- (Experimental) support for Python 3.10 (#473)
LabelTaskenum inpystac.extensions.labelwith recommended values for"label:tasks"field (#484)LabelMethodenum inpystac.extensions.labelwith recommended values for"label:methods"field (#484)- Label Extension summaries (#484)
- Timestamps Extension summaries (#513)
- Define equality and
__repr__ofRangeSummaryinstances based onto_dictrepresentation (#513) - Sat Extension summaries (#509)
Catalog.get_collectionsfor getting all childCollectionsfor a catalog, andCatalog.get_all_collectionsfor recursively getting all childCollectionsfor a catalog and its children (#511)
- Renamed
Asset.properties->Asset.extra_fieldsandLink.properties->Link.extra_fieldsfor consistency with other STAC objects (#510)
- Bug in
pystac.serialization.identify_stac_object_typewhere invalid objects withstac_version == 1.0.0were incorrectly identified as Catalogs (#487) Linkconstructor classes (e.g.Link.from_dict,Link.canonical, etc.) now return the calling class instead of always returning theLinkclass (#512)- Sat extension now includes all fields defined in v1.0.0 (#509)
STAC_IOclass in favor ofStacIO. This was deprecated in v1.0.0-beta.1 and has been removed in this release. (#490)- Support for Python 3.6 (#500)
- Add a
preserve_dictparameter toItemCollection.from_dictand set it to False when usingItemCollection.from_file. (#468) StacIO.json_dumpsandStacIO.json_loadsmethods for JSON serialization/deserialization. These were "private" methods, but are now "public" and documented (#471)
pystac.stac_io.DuplicateObjectKeyErrormoved topystac.DuplicateObjectKeyError(#471)
- License file included in distribution (#409)
- Links to Issues, Discussions, and documentation sites (#409)
- Python minimum version set to
>=3.6(#409) - Code of Conduct (#399)
ItemCollectionclass for working with GeoJSON FeatureCollections containing only STAC Items (#430)- Support for Python 3.9 (#420)
- Migration for pre-1.0.0-rc.1 Stats Objects (renamed to Range Objects in 1.0.0-rc.3) (#447)
- Attempting to extend a
STACObjectthat does not contain the extension's schema URI instac_extensionsraises newExtensionNotImplementedError(#450) STACObject.from_dictnow takes apreserve_dictparameter, which if False will avoid a call to deepcopy on the passed in dict and can result in performance gains (defaults to True. Reading from a file will use preserve_dict=False resulting in better performance. (#454)
- Package author to
stac-utils, email tostac@radiant.earth, url to this repo (#409) StacIO.read_jsonpasses arbitrary positional and keyword arguments toStacIO.read_text(#433)FileExtensionupdated to work with File Info Extension v2.0.0 (#442)FileExtensiononly operates onpystac.Assetinstances (#442)*Extension.extmethods now have an optionaladd_if_missingargument, which will add the extension schema URI to the object'sstac_extensionslist if it is not present (#450)from_fileandfrom_dictmethods onSTACObjectsub-classes always return instance of calling class (#451)
EOExtension.get_bandsreturnsNonefor asset without EO bands (#406)identify_stac_object_typereturnsNoneandidentify_stac_objectraisesSTACTypeErrorfor non-STAC objects (#402)ExtensionManagementMixin.add_tois now idempotent (only adds schema URI tostac_extensionsonce perItemregardless of the number of calls) (#419)- Version check for when extensions changed from short links to schema URIs (#455)
- Schema URI base for STAC 1.0.0-beta.1 (#455)
- Summaries for View Geometry, Projection, and Scientific extensions (#372)
- Raster extension support (#364)
- solar_illumination field in eo extension (#356)
- Added
Link.canonicalstatic method for creating links with "canonical" rel type (#351) - Added
RelTypeenum containing commonrelvalues (#351) - Added support for summaries (#264)
- Links to STAC Spec point to latest supported version (#368)
- Links to STAC Extension pages point to repos in
stac-extensionsGitHub org (#368) - Collection assets (#373)
- Two v0.6.0 examples from the test suite (#373)
- Split
DefaultStacIO's reading and writing into two methods to allow subclasses to use the default link resolution behavior (#354) - Increased test coverage for the pointcloud extension (#352)
- Reading json without orjson (#348)
- Removed type information from docstrings, since it is redundant with function type annotations (#342)
- Added type annotations across the library (#309)
- Added assets to collections (#309)
item_assetsextension (#309)datacubeextension (#309)- Added specific errors:
ExtensionAlreadyExistsError,ExtensionTypeError, andRequiredPropertyMissing; moved custom exceptions topystac.errors(#309)
- Validation checks in a few tests (#346)
- API change: The extension API changed significantly. See (#309) for more details.
- API change: Refactored the global STAC_IO object to an instance-specific
StacIOimplementation. (#309) - Asset.get_absolute_href returns None if no absolute href can be inferred (previously the relative href that was passed in was returned) (#309)
- Removed
propertiesfrom Collections (#309) - Removed
LinkMixin, and implemented those methods onSTACObjectdirectly. STACObject was the only class using LinkMixin and this should not effect users (#309 - Removed
single-file-stacextension; this extension is being removed in favor of ItemCollection usage (#309
- Deprecated
STAC_IOin favor of newStacIOclass.STAC_IOwill be removed in v1.0.0. (#309)
- HIERARCHICAL_LINKS array constant of all the types of hierarchical links (self is not included) (#290)
- Fixed error when accessing the statistics attribute of the pointcloud extension when no statistics were defined (#282)
- Fixed exception being thrown when calling set_self_href on items with assets that have relative hrefs (#291)
- Link behavior - link URLs can be either relative or absolute. Hierarchical (e.g., parent, child) links are made relative or absolute based on the value of the root catalog's
catalog_typefield (#290) - Internal self hrefs are set automatically when adding Items or Children to an existing catalog. This removes the need to call
normalize_hrefsor manual setting of the hrefs for newly added STAC objects (#294) - Catalog.generate_subcatalogs is an order of magnitude faster (#295)
- Removed LinkType class and the
link_typefield from links (#290)
- Added support for STAC file extension (#270)
- Fix handling of optional properties when using apply on view extension (#259)
- Fixed issue with setting None into projection extension fields that are not required breaking validation (#269)
- Subclass relevant classes from
enum.Enum. This allows iterating over the class' contents. The__str__method is overwritten so this should not break backwards compatibility. (#261) - Extract method to correctly handle setting properties in Item/Asset for ItemExtensions (#272)
- Fix unexpected behaviour of
generate_subcatalogs(#241) - Get eo bands defined in assets only (#243)
- Collection TemporalExtent can be open ended (#247)
- Make asset HREFs relative or absolute based on CatalogType during save (#251)
- Be more strict with CatalogType in
Catalog.save(#244)
- Added support for the pointcloud extension (#176)
- Added support for the version extension (#193)
- Added support for the SAR extension (#203)
- Added the capability to more flexibly organize STACs using
normalize_hrefs(#219) - Added a 'generate_subcatalogs' to Catalog to allow for subcatalogs to be created by using item properties via a template string (#219)
- Added 'from_items' method to Extent (#223)
- Added a
catalog_typeproperty to track the CatalogType of read in or previously saved catalogs (#224) - Added a tutorial for creating Landsat 8 STACs (#181)
- Added codespell to CI (#206)
- Added more testing to Links (#211)
- Fixed issue that can cause infinite recursion during full resolve (#204)
- Fixed issue that required label_classes in label items (#201)
- Fixed issue that caused geometries and bboxes produced by Shapely to fail PySTAC's validator (#201)
- Allow for path prefixes like /vsitar/ (#208)
- Fix Item set_self_href to ensure item asset locations do not break (#226)
- Fixed an incorrect exception being thrown from Link.get_href() if there is no target_href (#201)
- Fixed issue where 0.9.0 items were executing the commons extension logic when they shouldn't (#221)
- Fixed issue where cloned assets did not have their owning Items set (#228)
- Fixed issue that caused make_asset_hrefs_relative to produce incorrect HREFs when asset HREFs were already relative (#229)
- Improve error handling when accidentally importing a Collection with Catalog (#186)
- Fixed spacenet tutorial bbox issue (#201)
- Fix formatting of error message in stac_validator (#190)
- Fixed typos (#192, #195)
- Refactor caching to utilize HREFs and parent IDs. STAC objects now no longer need unique IDs to work with PySTAC (#214, #160)
- Allow a user to pass a single list as bbox and interval for
SpatialExtentandTemporalExtent(#201, fixes #198)
Thank you to all the new contributors that contributed during STAC Sprint 6!
- Added support for the timestamps extension(#161)
update_extent_from_itemsmethod to Collection for updating Extent objects within a collection based on the contained items. (#168)validate_allmethod to Catalogs (and by inheritance collections) for validating all catalogs, collections and items contained in that catalog (#162)validate_allmethod to pystac.validdation for validating all catalogs, collections and items contained in STAC JSON dicts across STAC versions. (#162)- Additional test coverage. (#165, #171)
- Added codecov to CI (#163)
- Fix bug that caused get_children to miss some links. (#172)
- Fixed bug in ExtensionIndex that was causing errors when trying to read help() for that object (#159)
- Remove spaces in CBERS test library (#157)
- Changed some unit test assertions for better error messages (#158)
- Moved PySTAC to the stac-utils GitHub organization.
- A tutorial for creating extensions (#150)
- Added support for the Projection extension(#125)
- Add support for Item Asset properties (#127)
- Added support for dynamically changing the STAC version via
pystac.set_stac_versionandpystac.get_stac_version(#130) - Added support for prerelease versions in version comparisons for the
pystac.serialization.identifypackage (#138) - Added validation for PySTAC STACObjects as well as arbitrary STAC JSON (#139)
- Added the ability to read HTTP and HTTPS uris by default (#139)
- Clarification on null geometries, making bbox not required if a null geometry is used. (#123)
- Multiple extents (bounding boxes / intervals) are allowed per Collection (#123)
- Moved eo:gsd from eo extension to core gsd field in Item common metadata (#123) asset extension renamed to item-assets and renamed assets field in Collections to item_assets (#123)
get_asset_bandsandset_asset_bandswere renamedget_bandsandset_bandsand follow the new item asset property access pattern.- Modified the
single-file-stacextension to extendCatalog(#128)
- ItemCollection was removed. (#123)
- The commons extension was removed. Collection properties will still be merged for pre-1.0.0-beta.1 items where appropriate (#129)
- Removed
pystac.STAC_VERSION. See addition ofget_stac_versionabove. (#130)
The two major changes for this release are:
- Upgrade to STAC 0.9.0
- Refactor the extensions API to accommodate items that implement multiple extensions (e.g.
eoandview)
See the stac-spec 0.9.0 changelog and issue #65 for more information.
These are the major API changes that will have to be accounted for when upgrading PySTAC:
This change affects the two extensions that were implemented for Item - EOItem and LabelItem
have become EOItemExt and LabelItemExt, and no longer inherit from Item.
This change was motivated by the 0.9 change that split some properties out from eo into
the view extension. If we kept an inheritance-based extension architecture, we would not
be able to account well for these new items that implemented both the eo and view extensions.
See the Extensions section in the documentation for more information on the new way to use extensions.
pystac.label->pystac.extensions.labelpystac.eo->pystac.extensions.eopystac.single_file_stac->pystac.extensions.single_file_stac
pystac.read_fileas a convenience function for reading in a STACObject from a file at a URI which delegates toSTACObject.from_file.pystac.read_fileas a convenience function for reading in a STACObject from a file at a URI.- Added support for the view extension.
- Added support for the commons extension.
-
Migrated CI workflows from Travis CI to GitHub Actions #108
-
Dropped support for Python 3.5 #108
-
Extension classes for label, eo and single-file-stac were moved to the
pystac.extensionspackage. -
the eo and label extensions changed from being a subclass of Item to wrapping items. Note: This is a major change in the API for dealing with extensions. See the note below for more information.
-
Renamed the class that enumerates extension names from
ExtensiontoExtensions -
Asset properties always return a dict instead of being None for Assets that have non-core properties.
-
The
Bandconstructor in the EO extension changed to taking a dict. To create a band from property values, useBand.create
v0.3.4 - 2020-06-20
- Further narrow version for SAR extension #85
- Fixed issue with reading ItemCollections directly. #86
- Fix bug in
make_absolute_href#94 - Fixed issues with
fully_resolve#98 - Fixed a bug when root link was not set #100
v0.3.3 - 2020-02-05
- Allow for backwards compatibility for reading STAC #77
- Fix issue with multiple collection reads per item #79
- Fix issue with iteration of children in
catalog.walk#78 - Allow v0.7.0 sar items to fit in version range #80
v0.3.2 - 2020-01-28
- Add functionality for identifying STAC JSON information #50
- Documentation improvements #44
- Updated MediaTypes to reflect correct GeoTIFF and COG names #66
- Fix utils to work with windows paths. #68
- Modified output datetime strings to ISO8601. #69
- Respect tzinfo in the provided datetime #70
- Set asset owner to item when reading in items.#71
- Fixed catalog and collection clone logic to avoid duplication of root link #72
v0.3.1 - 2019-11-04
- Add methods for removing single items and children from catalogs.
- Add methods for removing objects from the ResolvedObjectCache.
- Fixed issue where cleared items and children were still in the root object cache.
- Moved STAC version to 0.8.1
- LabelItem reduced validation as there is some confusion on how segmentation classes
v0.3.0 - 2019-10-31
Initial release.