• v0.1.0-dev.34 7669e0647f

    v0.1.0-dev.34
    All checks were successful
    Corn CI / release-check-1 (push) Successful in 2s
    Corn CI / release-check (push) Successful in 0s
    Corn Release / release-1 (push) Successful in 5s
    Corn Release / release (push) Successful in 0s
    Corn CI / test (push) Successful in 2m41s
    Corn CI / release (push) Successful in 9s
    Pre-release

    john released this 2026-11-21 07:59:30 +00:00 | 119 commits to main since this release

    v0.1.0-dev.34 — Universal offset pagination (pre-release)

    Every list-returning operation now takes the same offset and limit parameters,
    with limit defaulting 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_offset is null on the last page. Pass it back as offset for the next page.

    Operation (MCP tool) List Max limit
    listConnections connections 50
    nswFuelHistoryMonths months 100
    nswFuelHistoryMonth (nsw_fuel_history_month) stations 100
    nswFuelPrices (nsw_fuel_prices/search/nearby) stations 50
    protonCalendarEvents (proton_calendar_events) events 100
    pricingLookup (pricing_lookup) prices 10
    nswTransitStopFinder (nsw_transit_stop_finder) locations 50
    nswTransitDepartures (nsw_transit_departures) stopEvents 50
    nswTransitAlerts (nsw_transit_service_alerts) infos.current 50
    nswTransitRealtime (nsw_transit_realtime) entities 100
    nswTransitPlan (nsw_transit_plan_trip) journeys 50
    nswTransitNearby (nsw_transit_nearby) locations 50
    shoppingSearch (shopping_search) products 20
    nswTransitLive (nsw_transit_live) vehicles 100

    Behaviour changes

    • Results that were unbounded now return the first 10 items by default. Request more
      with limit, or page with offset.
    • 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).
      Shopping offset must be a multiple of limit.
    • The Corn console calls services directly and is unaffected.
    • Item contents are unchanged (no compaction).

    Source commit 7669e0647f912a154c9c93fa6d3eb255bacde029.

    Downloads