v0.7.0
New Features
- Support PMtiles files
- Support MBtiles files
- Support multiple Postgres database connections
- Many new options to auto-discover Postgres tables and views
- Support Postgres functions with
z,x,y
andzoom,x,y
arguments - Support record-returning Postgres functions
- Support key-based SSL connections to Postgres
- Support new environment variables
Breaking changes
- Require PostGIS 3+, PostGIS 3.1+ is recommended
- Significant changes to the configuration file format. You may want to auto-generate a new config using
--save-config <path>
and then copy over your customizations. - Significant changes to the URL path structure:
GET /
-- a placeholder for the future home pageGET /catalog
-- get a list of available sources, as a list of json blobs.
[{id, name, description, attribution, vector_layer}, ...]
(some fields might be missing)GET /<id>
-- get tilejson for the given source, or a combination of sources. No .json extensionGET /<id>/<z>/<x>/<y>
-- get a tile. No format extension.GET /health
-- healthcheck
Important fixes
- Fix unable to connect to a database due to SSL handshake, which was shown as a timeout error - #496
- Big thank you goes to all those patiently helping to debug this issue: @IceMan1910 @CarlosZiegler @carlosrziegler @ItsCoolOnMars @dwweb0309
What's Changed
- Multi-source support, new path structure by @nyurik in #456
- Clean up error wrapping by @nyurik in #495
- Require PostGIS 3 and use ST_TileEnvelope by @nyurik in #497
- Update minimal legacy db by @nyurik in #500
- Support z,x,y and record-returning funcs, table rework by @nyurik in #380
- Allow auto discovery per schema by @nyurik in #510
- Strongly-type errors, fix bounds escaping by @nyurik in #516
- Fix handling for null-returning PG queries by @nyurik in #521
- Restrict IDs, optimize single-source req by @nyurik in #522
- Enable clippy pedantic, fix lints by @nyurik in #525
- Fix incorrect dup info reporting by @nyurik in #524
- Implement multi-sourced postgres by @nyurik in #511
- Improve Coverage tooling by @nyurik in #535
- Fix readme, bump deps by @nyurik in #545
- Fix legacy DB, add CI tests by @nyurik in #547
- Implement postgres auto-publish by @nyurik in #546
- Refactorings, content-type/enc, cli parsing, tests, minor fixes by @nyurik in #548
- Add .pmtiles file support by @nyurik in #517
- Add .mbtiles support by @nyurik in #549
- tests, report unknown cfg, rm catalog vector flds by @nyurik in #551
- update lock, clippy lint by @nyurik in #560
- Create SECURITY_POLICY.txt by @maxammann in #489
- Improve SSL support by @nyurik in #567
- Issue 540 - missing index warnings by @cthiange in #569
- Views handling by @cthiange in #571
- Switch bb8 to DeadPool by @nyurik in #570
New Contributors
- @maxammann made their first contribution in #489
- @cthiange made their first contribution in #569
Full Changelog: v0.6.2...v0.7.0