Skip to content

v2.0.0

Latest

Choose a tag to compare

@trasch trasch released this 07 Jul 08:55

Features

  • Supports MLT (MapLibre Tiles).
  • Tile format selection — data(forTile:format:options:) now requires an explicit format: TileOutputFormat parameter (.mvt or .mlt), with no default. The old mvtData() and mvt(forTile:) APIs are removed.
  • Per-instance configuration — MVTPostgisConfiguration is now captured at init time. Each MVTPostgis instance can have its own configuration, eliminating the race-prone global singleton pattern. Pass an explicit configuration parameter to init, or let it default from the global.
  • Datasource bounding box check — Layers outside their datasource's bounding box are skipped during tile creation, improving performance for sources with many layers.
  • JSON layer allowlist filtering — layerAllowlist now works for JSON sources (previously only YML and XML).
  • C++ interop mode — Package now enables C++ interop for the CMLT bridge.
  • Full DocC documentation — All public API surfaces are documented.

Compatibility

  • Swift 6.3+ required (macOS 15+, Linux)