stac-utils / titiler-pgstac

TiTiler + PgSTAC
https://stac-utils.github.io/titiler-pgstac/
MIT License
80 stars 29 forks source link

Update titiler-core requirement from <0.19,>=0.18.0 to >=0.18.0,<0.20 #200

Open dependabot[bot] opened 1 week ago

dependabot[bot] commented 1 week ago

Updates the requirements on titiler-core to permit the latest version.

Release notes

Sourced from titiler-core's releases.

0.19.0

What's Changed

New Contributors

Full Changelog: https://github.com/developmentseed/titiler/compare/0.18.10...0.19.0

Changelog

Sourced from titiler-core's changelog.

0.19.0 (2024-11-07)

Misc

  • Remove default WebMercatorQuad tile matrix set in /tiles, /tilesjson.json, /map and /WMTSCapabilities.xml endpoints breaking change

    # Before
    /tiles/{z}/{x}/{y}
    /tilejson.json
    /map
    /WMTSCapabilities.xml
    

    Now

    /tiles/WebMercatorQuad/{z}/{x}/{y}
    /WebMercatorQuad/tilejson.json
    /WebMercatorQuad/map
    /WebMercatorQuad/WMTSCapabilities.xml

  • Use @attrs.define instead of dataclass for factories breaking change

  • Use @attrs.define instead of dataclass for factory extensions breaking change

  • Handle numpy types in JSON/GeoJSON response

  • In the map.html template, use the tilejson's minzoom and maxzoom to populate minNativeZoom and maxNativeZoom parameters in leaflet tileLayer instead of minZoom and maxZoom

titiler.core

  • Update rio-tiler dependency to >=7.0,<8.0

  • Update geojson-pydantic dependency to >=1.1.2,<2.0 which better handle antimeridian crossing dataset

  • handle antimeridian crossing bounds in /info.geojson endpoints (returning MultiPolygon instead of Polygon)

  • Improve XSS security for HTML templates (author @​jcary741, developmentseed/titiler#953)

  • Remove all default values to the dependencies breaking change

    • DatasetParams.unscale: False -> None (default to False in rio-tiler)
    • DatasetParams.resampling_method: nearest -> None (default to nearest in rio-tiler)
    • DatasetParams.reproject_method: nearest -> None (default to nearest in rio-tiler)
    • ImageRenderingParams.add_mask: True -> None (default to True in rio-tiler)
    • StatisticsParams.categorical: False -> None (default to False in rio-tiler)
  • Add as_dict(exclude_none=True/False) method to the DefaultDependency class.

    from typing import Optional
    from titiler.core.dependencies import DefaultDependency
    from dataclasses import dataclass
    

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)