-
v0.1.0-dev.34
Pre-releaseAll checks were successfulCorn CI / release-check-1 (push) Successful in 2sCorn CI / release-check (push) Successful in 0sCorn Release / release-1 (push) Successful in 5sCorn Release / release (push) Successful in 0sCorn CI / test (push) Successful in 2m41sCorn CI / release (push) Successful in 9sreleased this
2026-11-21 07:59:30 +00:00 | 119 commits to main since this releasev0.1.0-dev.34 — Universal offset pagination (pre-release)
Every list-returning operation now takes the same
offsetandlimitparameters,
withlimitdefaulting to 10, identically on the REST API and MCP (MCP tools run
through the same typed REST adapter). Responses keep their list where it was and add:"page": {"items": "events", "offset": 0, "limit": 10, "returned": 10, "total": 23, "next_offset": 10}next_offsetisnullon the last page. Pass it back asoffsetfor the next page.Operation (MCP tool) List Max limit listConnections connections50 nswFuelHistoryMonths months100 nswFuelHistoryMonth ( nsw_fuel_history_month)stations100 nswFuelPrices ( nsw_fuel_prices/search/nearby)stations50 protonCalendarEvents ( proton_calendar_events)events100 pricingLookup ( pricing_lookup)prices10 nswTransitStopFinder ( nsw_transit_stop_finder)locations50 nswTransitDepartures ( nsw_transit_departures)stopEvents50 nswTransitAlerts ( nsw_transit_service_alerts)infos.current50 nswTransitRealtime ( nsw_transit_realtime)entities100 nswTransitPlan ( nsw_transit_plan_trip)journeys50 nswTransitNearby ( nsw_transit_nearby)locations50 shoppingSearch ( shopping_search)products20 nswTransitLive ( nsw_transit_live)vehicles100 Behaviour changes
- Results that were unbounded now return the first 10 items by default. Request more
withlimit, or page withoffset. - Changed defaults: fuel history month 50 → 10, pricing 5 → 10, shopping search 12 → 10.
- Deprecated aliases, still accepted for one release:
max_results(stop finder,
=limit),page/page_size(shopping search; page N = offset (N-1)×size).
Shoppingoffsetmust be a multiple oflimit. - The Corn console calls services directly and is unaffected.
- Item contents are unchanged (no compaction).
Source commit
7669e0647f912a154c9c93fa6d3eb255bacde029.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Results that were unbounded now return the first 10 items by default. Request more