Skip to content

v1.7.0

Compare
Choose a tag to compare
@gadomski gadomski released this 06 Mar 21:19
· 313 commits to main since this release
v1.7.0

Summary

Many bug fixes and feature additions. Some changes/additions of note:

Issues and pull requests are grouped into the Github milestone.

Changelog

Added

  • Additional util methods now_in_utc and now_to_rfc3339_str (#760)
  • media_type and role filtering to Item and Collection get_assets() method (#936)
  • Asset.has_role (#936)
  • Enum MediaType entry for flatgeobuf (discussion) (#938)
  • Custom header support to DefaultStacIO (#889)
  • Python 3.11 checks in CI (#908)
  • Ability to only update resolved links when using Catalog.normalize_hrefs and Catalog.normalize_and_save, via a new skip_unresolved argument (#900)
  • Optional argument timespec to utils.datetime_to_str (#929)
  • isort (#961)
  • AsIsLayoutStrategy (#919)
  • __geo_interface__ for items (#885)
  • Optional strategy parameter to catalog.add_items() (#967)
  • start_datetime and end_datetime arguments to the Item constructor (#918)
  • RetryStacIO (#986)
  • STACObject.remove_hierarchical_links and Link.is_hierarchical (#999)
  • extra_fields to AssetDefinition in the item assets extension (#1003)
  • Catalog.fully_resolve (#1001)
  • A DeprecatedWarning when deserializing an Item or Collection to a STAC object via the from_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 annotations for type signatures (#962)
  • Use TypeVar for alternate constructors (#983)
  • Behavior when required fields are missing in Item.from_dict (#994)
  • By default, ItemCollection now clones items in iterator (clone_items=True) (#1016)

Deprecated

  • TemplateError in layout.py deprecated in favor of duplicate in errors.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_type in get_links() and get_single_link() (#966)
  • Missing hrefs and duplicate Item fields in html generated by _repr_html_() (#975)
  • Allow subclasses in a few more clone methods (#983)
  • Pass href from Item.from_dict to constructor (#984)
  • Serializing the table extension (#992)

New Contributors