- 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_version
andpystac.get_stac_version
(#130) - Added support for prerelease versions in version comparisions for the
pystac.serialization.identify
package (#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_bands
andset_asset_bands
were renamedget_bands
andset_bands
and follow the new item asset property access pattern.- Modified the
single-file-stac
extension 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_version
above. (#130)
The two major changes for this release are:
- Upgrade to STAC 0.9.0
- Refactor the extensions API to accomidate items that implement multiple extesions (e.g.
eo
andview
)
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 inheret 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.label
pystac.eo
->pystac.extensions.eo
pystac.single_file_stac
->pystac.extensions.single_file_stac
pystac.read_file
as a convenience function for reading in a STACObject from a file at a URI which delegates toSTACObject.from_file
.pystac.read_file
as 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.extensions
package. -
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
Extension
toExtensions
-
Asset properties always return a dict instead of being None for Assets that have non-core properties.
-
The
Band
constructor in the EO extension changed to taking a dict. To create a band from property values, useBand.create
- 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
- Allow for backwards compatibilty 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
- 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 dupliction root link #72
- 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
Initial release.