Skip to content

v8.0.0

Choose a tag to compare

@mrhyde mrhyde released this 11 May 03:56
· 48 commits to master since this release

Breaking Changes

  • Requires Node 26+ (was 20).

Added (API Client)

  • airports.getSchedulesByRoute(from, to) returns a Schedule.
  • airports.getSchedulesByPeriod(from, to, year, month) returns a MonthlySchedule.
  • Booking-link helpers under helpers: generateBookingLink, generateOneWayBookingLink, generateReturnBookingLink.
  • Proxy support via hpagent (HTTP_PROXY / HTTPS_PROXY env vars).
  • RYANAIR_CLIENT_VERSION env var to override the client-version header when Ryanair retires the bundled value. See README.
  • Live integration test for flights.getAvailable against the booking API.

Changed (API Client)

  • flights.getAvailable self-issues a fr-correlation-id cookie per process and sends a client-version header. The cookie that shipped in 7.1.2 had expired, so every call was returning 409 Availability declined.
  • got 13 -> 15 (default import only; the runtime named export is gone), zod 3 -> 4, date-fns 3 -> 4.
  • Build stack: swc + tsc + prettier + eslint -> tsdown + oxlint + oxfmt. No public-API impact.
  • Package manager: npm -> pnpm.

Fixed (API Client)

  • flights.getAvailable() returns flight data instead of 409 Availability declined.

Removed (API Client)

  • tough-cookie dependency (never imported).
  • Hardcoded session cookie from client/index.ts.

Added (MCP)

First public release of @2bad/ryanair-mcp. Bin: ryanair-mcp, transport: stdio.

Tools:

  • Airports: get_active_airports, get_active_airports_v3, get_airport_info, get_airport_destinations, get_closest_airport, get_nearby_airports, calculate_distance, find_routes, get_airport_schedules, get_schedules_by_route, get_schedules_by_period.
  • Flights: get_available_flights, get_available_flight_dates.
  • Fares: get_cheapest_fares_per_day, find_daily_fares_in_range, find_cheapest_round_trip.
  • Booking: generate_booking_link.

Fixed (MCP)

  • Tool type inference works under @modelcontextprotocol/sdk 1.26+.