Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

docs(changelog): restore the GBFS rate-limit entry (#1184)

Said Turkseverb304fd4a3443
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0ad3a7368..f5d3a4842 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,15 @@
never derived: an aircraft that has not transmitted a rate reads as `null`
rather than a level-flight `0`.
+- Bound how often the GBFS proxy will relay. `/api/gbfs` already restricted
+ where it could go — https, an allowlisted host, a station feed path, no
+ redirects, a 12-second deadline and a 5 MB body cap — but nothing restricted
+ how often, so the dev server would make unlimited requests at a third-party
+ bikeshare operator on any caller's behalf. The route now admits 120
+ requests/minute per client address, refusing the rest with 429 and
+ `Retry-After` before any outbound fetch. The bikeshare layer needs about 15 a
+ minute with every catalogued system in range, so ordinary use is unchanged.
+
- Add nine Ontario transit feeds: TTC, MiWay, Hamilton HSR, Durham Region,
YRT/Viva, Guelph, Burlington, Barrie and Kingston, each carrying its own
licence quote and attribution. A feed can now name its own modes, so Toronto's