Skip to content

v1.0.0-rc.1

Compare
Choose a tag to compare
@duckontheweb duckontheweb released this 18 Jun 02:21

Added

  • 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)
  • ItemCollection class 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 STACObject that does not contain the extension's schema URI in
    stac_extensions raises new ExtensionNotImplementedError (#450)
  • STACObject.from_dict now takes a preserve_dict parameter, 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)

Changed

  • Package author to stac-utils, email to [email protected], url to this repo (#409)
  • StacIO.read_json passes arbitrary positional and keyword arguments to
    StacIO.read_text (#433)
  • FileExtension updated to work with File Info Extension v2.0.0 (#442)
  • FileExtension only operates on pystac.Asset instances (#442)
  • *Extension.ext methods now have an optional add_if_missing argument, which will
    add the extension schema URI to the object's stac_extensions list if it is not
    present (#450)
  • from_file and from_dict methods on STACObject sub-classes always return instance
    of calling class (#451)

Fixed

  • EOExtension.get_bands returns None for asset without EO bands (#406)
  • identify_stac_object_type returns None and identify_stac_object raises STACTypeError for non-STAC objects
    (#402)
  • ExtensionManagementMixin.add_to is now idempotent (only adds schema URI to
    stac_extensions once per Item regardless 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)