Repository navigation
chore: bump every port to 1.7.0 - #135
Merged
Merged
Conversation
The scheduled live runs of the three packages went red on 2026-11-09: FlightRadar24 redesigned its data pages. - `/_json/airports.php`, the one-payload airports feed, is gone (404). Airports are now listed on Inertia pages: `/data/airports` names every country and declares the asset version, `/data/airports/<country>` lists the airports, or the states for the largest countries, and `/data/airports/<country>/<state>` lists those. `get_airports()` now reads the index and crawls one page per country and state, `max_workers` at a time, asking for the page JSON with the Inertia headers and falling back to the HTML (whose data-page attribute carries the same object) on a 409. The listing no longer carries coordinates or altitude: those fields are None, and `get_airport(code)` has them. - `/data/airlines` is no longer a table: airlines are list entries with the name in a titled element, the codes as badges and the fleet size only under "Largest fleets". The parser follows the new markup and merges an airline the page lists in several sections. The offline fixtures model the new pages (shared by the three ports), the parser tests mirror each other, and a new offline suite pins the crawl: request order, version header, 409 fallback, grouping by country, deduplication and the unknown-country warning. The Python live tests also retry on HTTP 429, which the shared CI runners trip on the feed.
- nodejs: the live airports suite crawls one page per country and state and ran past mocha's 10 second default on Node 18 and 20; it now gets 60 seconds, like the Go live tests. - go: govulncheck flags github.com/andybalholm/brotli v1.2.2 (GO-2026-6888); bumped to v1.2.7, which fixes it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Minor release carrying #134. FlightRadar24 redesigned its data pages and the published 1.6.3 fails on two public calls:
get_airports()gets a 404 from the retired/_json/airports.php, andget_airlines()returns an empty list. The fix changes what callers get back, so this is a minor rather than a patch:get_airports()come without latitude, longitude or altitude; FR24 no longer publishes them in the listing.get_airport(code)still has them.n_aircraftsis unset for most airlines; the page only prints a fleet size for the largest ones.Core.airports_json_url(Python),airportsJsonUrl(Node) andendpoints.airportsJSON(Go) are gone with the URL.get_airports()is now one request per country and state instead of one request in total.What
python/FlightRadarAPI/__init__.py:__version__1.6.3 → 1.7.0go/flightradarapi/doc.go:Version1.6.3 → 1.7.0nodejs/package.jsonandpackage-lock.json: 1.6.3 → 1.7.0, vianpm versionso the lock stays in step with the manifestOrder
Merge #134 first, then this. The branch is cut from #134 so its CI runs against the fixed code; it is rebased onto
mainonce #134 lands.After merge
Publish the GitHub release
v1.7.0frommain. That triggers the publish workflow for PyPI, npm and thego/v1.7.0module tag.