Repository navigation
v0.14.0
Breaking Changes
TileJSON only trusts forwarding headers from trusted proxies. X-Forwarded-Proto, X-Forwarded-Host and X-Forwarded-Prefix are only used to build the tiles URLs when the request comes from a proxy listed in the new server.forwarded.trusted. Private, loopback and link-local addresses are trusted by default. If your proxy has a public address, add it to trusted or set baseurls in the TileJSON configuration, otherwise the URLs are built from the request tilegroxy received.
The client IP now comes from X-Forwarded-For when the request is from a trusted proxy. Logs and analytics used to always record the address of the connection, so a proxy on a private network was recorded instead of the client.
Highlights
Rate limiting. A new top-level ratelimit section caps how many tiles can be requested in a period, from a burst over a few seconds to a quota over a calendar month. Limits can apply per user, per tenant, per IP address, per layer, or any combination, with counters held in memory, Redis or PostgreSQL. Policies can extend each other, and each layer can pick a policy with ratelimit or opt out with skipratelimit. Rejections get their own error image, audit log event and metrics, and the rate limit headers are exposed through CORS automatically. Off by default.
Rate limit commands. ratelimit status, ratelimit reset and ratelimit list inspect and clear counters without going through the HTTP server.
Forwarded configuration. server.forwarded configures which proxies in front of tilegroxy are trusted and which headers they report the original request in, for example CF-Connecting-IP behind Cloudflare.
Upgrading guide. The docs have a new upgrading page summarizing the breaking changes and highlights of every release, along with an alternatives page, a dedicated configuration overview, and a logo.
What's Changed
Features
- Add rate limiting with memory, Redis and PostgreSQL stores by @Michad in #1137
- Add
ratelimit status,ratelimit resetandratelimit listcommands by @Michad in #1137 - Add a dedicated error image, audit log event and metrics for rate limit rejections by @Michad in #1137
- Add
server.forwardedfor configuring trusted proxies and forwarding headers by @Michad in #1137 - Record the client IP from the forwarding header of a trusted proxy by @Michad in #1137
- Serve a default favicon when
productionisfalseby @Michad in #1165
Fixes
- Only use
X-Forwarded-*headers in TileJSON when they come from a trusted proxy by @Michad in #1137 - Serve TileJSON documents for any name a
patternlayer matches, as documented, instead of only itsexamplesby @Michad in #1152
Internal
- Add a
make examplestarget for updating Overture release versions in the example configs by @Michad in #1153 - Suppress a false positive CVE report by @Michad in #1129
- Update the Helm chart
appVersionto 0.14.0
Documentation
- Add an upgrading page and re-order the navigation by @Michad in #1144
- Add an alternatives page by @Michad in #1143
- Document handling forwarded headers and upstream proxies by @Michad in #1143
- Split the configuration overview into a dedicated page and clean up callouts by @Michad in #1124 and #1126
- Tweak the security docs by @Michad in #1144
- Add a logo and icon by @Michad in #1165
- Miscellaneous documentation fixes by @Michad in #1153 and #1165
Dependencies
- security(go): bump golang from 1.26.6 to 1.26.10 by @Michad in #1127 and #1141
- security(docker): bump golang from 1.26-alpine3.23 to 1.26-alpine3.24 by @Michad in #1127
- security(go): bump github.com/aws/aws-sdk-go-v2 from 1.47.2 to 1.47.3 by @Michad in #1129
- security(go): bump github.com/aws/aws-sdk-go-v2/config from 1.33.6 to 1.33.9 by @Michad in #1129
- security(go): bump github.com/aws/aws-sdk-go-v2/credentials from 1.20.6 to 1.20.9 by @Michad in #1129
- security(go): bump github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager from 0.4.13 to 0.4.16 by @Michad in #1129
- security(go): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.114.0 to 1.114.3 by @dependabot[bot] in #1117 and @Michad in #1129
- security(go): bump github.com/aws/aws-sdk-go-v2/service/secretsmanager from 1.50.1 to 1.50.4 by @Michad in #1129
- security(go): bump github.com/ClickHouse/clickhouse-go/v2 from 2.48.0 to 2.49.0 by @dependabot[bot] in #1118
- security(go): bump github.com/redis/go-redis/v9 from 9.22.0 to 9.23.0 by @dependabot[bot] in #1115
- security(go): bump go.opentelemetry.io/otel/sdk from 1.46.0 to 1.47.0 by @dependabot[bot] in #1119
- security(go): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp from 1.46.0 to 1.47.0 by @dependabot[bot] in #1114
- security(go): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.46.0 to 1.47.0 by @Michad in #1129
- security(go): bump go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp from 0.22.0 to 0.23.0 by @Michad in #1129
- security(go): bump go.opentelemetry.io/otel/sdk/log from 0.22.0 to 1.47.0 by @Michad in #1129
- security(go): bump go.opentelemetry.io/contrib/bridges/otelslog from 0.20.1 to 0.21.0 by @Michad in #1129
- security(go): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.71.0 to 0.72.0 by @Michad in #1129
- security(go): bump golang.org/x/crypto from 0.57.0 to 0.58.0 by @Michad in #1129
- security(go): bump golang.org/x/sync from 0.23.0 to 0.24.0 by @Michad in #1129
- security(node): bump antora from 3.2.0 to 3.2.1 by @Michad in #1129
- security(actions): bump github/codeql-action (init, autobuild, analyze, upload-sarif) to 4.39.0 by @dependabot[bot] in #1116, #1120, #1121, #1132, #1136, #1138 and #1139
- security(actions): bump reviewdog/action-suggester from 1.26.1 to 1.26.3 by @dependabot[bot] in #1122 and #1135
- security(actions): bump goreleaser/goreleaser-action from 7.2.3 to 7.3.0 by @dependabot[bot] in #1134
- security(actions): bump ossf/scorecard-action from 2.4.4 to 2.5.0 by @dependabot[bot] in #1133
- security(actions): bump ruby/setup-ruby from 1.327.0 to 1.331.0 by @dependabot[bot] in #1140
- security(actions): bump actions/setup-node from 7.0.0 to 7.1.0 by @dependabot[bot] in #1123
- security(actions): bump actions/upload-artifact from 7.0.1 to 7.0.2 by @dependabot[bot] in #1125
Full Changelog: v0.13.0...v0.14.0