Skip to content

Releases: stac-utils/pystac

Version 0.5.6

29 Mar 18:17
22cffee
Compare
Choose a tag to compare

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

11 Mar 17:39
01b8ce6
Compare
Choose a tag to compare

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 in to_dict methods to avoid costly overhead (#273)

Changed

  • 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)