- Add optional
numberMatched
andnumberReturned
toapi.collections.Collections
model to match the OGC Common part2 specification
- Add more MimeTypes (geojsonseq, pbf, mvt, ndjson, openapi_yaml, pdf, csv, parquet)
- Cache remote JSON schemas for extensions (#155, @avbentem)
- add
requests
andjsonschema
in a validation optional dependencies (#156, @vincentsarago)
- Allow extra fields in Links (#144, @jonhealy1)
- Remove the deprecated
Context
extension (#138, @vincentsarago) - Rename
stac_pydantic.api.conformance.ConformanceClasses
tostac_pydantic.api.conformance.Conformance
- Update pre-commit configuration and switch to astral-sh/ruff for linter and formater
- Add official support for python 3.12
- Enforce required
type
key forCollection
andCatalog
models - Add queryables link relation type (#123, @constantinius)
- Fix STAC API Query Extension operator names from ne->neq, le->lte, and ge->gte (#120, @philvarner)
- Better datetime parsing/validation by using Pydantic native types and remove
ciso8601
requirement (#131, @eseglem) - move datetime validation in
StacCommonMetadata
model definition (#131, @eseglem) - use
StacBaseModel
as base model forAsset
model (#148, @vincentsarago) - add
license
inStacCommonMetadata
model (#147, @vincentsarago) - make
limit
optional inapi.Search
model (#150, @vincentsarago) - set
start/end datetime
to the datetime value when passing only one value inapi.Search
(#152, @vincentsarago)
- Support pydantic>2.0 (@huard)
- Allow item bbox to be null if item geometry is null (#108, @yellowcap)
- Include 'children' link relation (#112, @moradology)
- Remove fields added by STAC API search extensions (#100, @rsmith013 & @moradology)
- Add ExtendedSearch class with fields from STAC API search extensions (#100, @rsmith013 & @moradology)
- Allow for non-ellipsis open temporal windows (#103, @moradology)
- Add the canonical and service-doc relation types (#104, @moradology)
- Add bbox validator to STAC search (#95, @geospatialjeff)
- Fix LandPage to make valid STAC 1.0 catalog (#96, @lossyrob)
- Add Collections model (#81, @moradology)
- Update to stac version 1.0.0 (#86, @moradology)
- Remove models for STAC spec extensions (#86, @moradology)
- Add conformsTo to LandingPage (#90, @moradology)
- Add id to landing page, making it a valid catalog (#43, @lossyrob)
- Make
item_assets
(item assets extension) a dictionary of assets (#47, @kylebarron) - Add pre-commit to CI (#48, @kylebarron)
- Add a
Links
model with custom root type to represent a list of links (#52) - Move link related models to their own file (#53)
- Add link factories for generating inferred links (#55)
- Switch from relative to absolute imports (#61)
- Serialize date type fields to
datetime.datetime
upon model creation (#62)
- Add id to landing page, making it a valid catalog (#43, @lossyrob)
- Make
item_assets
(item assets extension) a dictionary of assets (#47, @kylebarron) - Add pre-commit to CI (#48, @kylebarron)
- Add a
Links
model with custom root type to represent a list of links (#52) - Move link related models to their own file (#53)
- Add link factories for generating inferred links (#55)
- Switch from relative to absolute imports (#61)
- Serialize date type fields to
datetime.datetime
upon model creation (#62)
- Remove enum restriction for asset roles (#39).
- Remove enum restriction for band common name (#40).
- Rename
proj
extension toprojection
(#34). - Remove
stac_extensions
enum requirement (#35).
- Publish mypy type hints (#30)
- Correct Cloud Optimized GeoTiff mime type (#31)
- Add
created
andupdated
to stac common metadata, fix aliases. (#28)
- Update to stac version 1.0.0-beta.2 (#26)
- Update to stac version 1.0.0-beta.1 (#24)
- Fix multiple inheritance of stac extensions (#20)
- Properly instantiate lru_cache (found by @francbartoli, #21)
- Add item model factory (#13)
- Add pre-commit hooks (#14)
- Add CLI for validating items (#15)
- Add option to skip validation of remote extensions (#16)
- Add helper function for item validation (#17)
- Bugfixes (#10)
- Add rel types enum (#11)
- Add models for the STAC API spec (#7)
- Allow extra asset-level fields (#1)
- Fix population by field name model config, allowing model creation without extension namespaces (#2)
- Add enum of commonly used asset media types (#3)
- Move geojson models to
geojson-pydantic
library (#4)