Releases: stac-utils/pystac
Releases · stac-utils/pystac
v1.0.0-beta.1
Added
- Added type annotations across the library (#309)
- Added assets to collections (#309)
item_assets
extension (#309)datacube
extension (#309)- Added specific errors:
ExtensionAlreadyExistsError
,ExtensionTypeError
, andRequiredPropertyMissing
; moved custom exceptions topystac.errors
(#309)
Fixed
- Validation checks in a few tests (#346)
Changed
- API change: The extension API changed significantly. See (#309) for more details.
- API change: Refactored the global STAC_IO object to an instance-specific
StacIO
implementation. STAC_IO is deprecated and will be removed next release. (#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
- Removed
properties
from Collections (#309) - Removed
LinkMixin
, and implemented those methods onSTACObject
directly. STACObject was the only class using LinkMixin and this should not effect users (#309 - Removed
single-file-stac
extension; this extension is being removed in favor of ItemCollection usage (#309
Version 0.5.6
Added
- HIERARCHICAL_LINKS array constant of all the types of hierarchical links (self is not included) (#290)
Fixed
- 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)
Changed
- 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_type
field (#290) - Internal self hrefs are set automatically when adding Items or Children to an existing catalog. This removes the need to call
normalize_hrefs
or manual setting of the hrefs for newly added STAC objects (#294) - Catalog.generate_subcatalogs is an order of magnitude faster (#295)
Removed
- Removed LinkType class and the
link_type
field from links (#290)
Version 0.5.5
Added
- Added support for STAC file extension (#270)
Fixed
- 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)
- Remove unnecessary
deepcopy
calls into_dict
methods to avoid costly overhead (#273)