|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project are documented here. |
| 4 | +Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). |
| 5 | + |
| 6 | +--- |
| 7 | + |
| 8 | +## [Unreleased] |
| 9 | + |
| 10 | +### Added |
| 11 | +- Interactive dashboard landing page with live Chart.js visualisations |
| 12 | +- `CHANGELOG.md` β this file |
| 13 | + |
| 14 | +--- |
| 15 | + |
| 16 | +## [1.1.0] β 2026-03-12 |
| 17 | + |
| 18 | +Seven pull requests submitted. All backward-compatible β existing routes, |
| 19 | +wrapper keys, and record counts are unchanged. |
| 20 | + |
| 21 | +### Added β Data |
| 22 | +- `data/spacecraft_missions.json` β normalised to a consistent 17-field schema: |
| 23 | + - ISO 8601 dates (was: 15+ ad-hoc formats) |
| 24 | + - Numeric `mass_kg` (was: 9+ field name variants) |
| 25 | + - Numeric `power_watts` extracted from complex strings |
| 26 | + - `orbit_type` classification: LEO / SSO / GEO / Lunar / Interplanetary / Failed |
| 27 | + - `status` inferred from launch date + mission life: active / decommissioned / failed / unknown |
| 28 | +- `data/spacecrafts.json` β 73 of 113 records enriched from missions cross-reference |
| 29 | + (was: only `id` + `name`) |
| 30 | +- `data/launchers.json` β `vehicle_family` added: SLV / ASLV / PSLV / GSLV / LVM-3 / RLV / Scramjet-TD |
| 31 | +- `data/customer_satellites.json` β ISO dates, numeric mass, normalised country names |
| 32 | +- `data/centres.json` β consistent lowercase field names (`place`, `state`) |
| 33 | +- `scripts/normalize_data.py` β idempotent Python normalisation pipeline |
| 34 | +- `isro_scrape/isro_spacecrafts_scraper_output.json` β fresh scraper output merged into data |
| 35 | + |
| 36 | +### Added β API endpoints |
| 37 | +- `GET /api/stats` β aggregate analytics: counts, orbit/status distributions, |
| 38 | + country breakdown, vehicle family counts; all computed at runtime ([PR #66](https://github.com/isro/api/pull/66)) |
| 39 | +- `GET /api/spacecrafts/:id` β individual spacecraft lookup ([PR #67](https://github.com/isro/api/pull/67)) |
| 40 | +- `GET /api/launchers/:id` β individual launcher lookup ([PR #67](https://github.com/isro/api/pull/67)) |
| 41 | +- `GET /api/customer_satellites/:id` β individual customer satellite lookup ([PR #67](https://github.com/isro/api/pull/67)) |
| 42 | +- `GET /api/centres/:id` β individual centre lookup ([PR #67](https://github.com/isro/api/pull/67)) |
| 43 | +- `GET /api/spacecraft_missions/:id` β individual mission lookup ([PR #67](https://github.com/isro/api/pull/67)) |
| 44 | +- Query parameter filtering on all collection endpoints ([PR #68](https://github.com/isro/api/pull/68)): |
| 45 | + - `/api/spacecrafts?status=active&orbit_type=GEO` |
| 46 | + - `/api/spacecraft_missions?mission_type=Remote+Sensing&orbit_type=SSO` |
| 47 | + - `/api/customer_satellites?country=Germany` |
| 48 | + - `/api/launchers?vehicle_family=PSLV` |
| 49 | + - `/api/centres?state=Karnataka` |
| 50 | +- `_links` object on `/api/spacecrafts/:id` and `/api/spacecraft_missions/:id` |
| 51 | + with `self` and cross-reference URLs ([PR #69](https://github.com/isro/api/pull/69)) |
| 52 | +- `schemas/` β JSON Schema definitions for all five data files ([PR #70](https://github.com/isro/api/pull/70)) |
| 53 | +- `scripts/validate_schemas.js` β local schema validation (`npm run validate`) ([PR #70](https://github.com/isro/api/pull/70)) |
| 54 | +- `.github/workflows/validate_data.yml` β CI validation on PRs touching `data/` ([PR #70](https://github.com/isro/api/pull/70)) |
| 55 | +- `tests/` β Jest test suite: 58 tests across API handlers, ID endpoints, stats, |
| 56 | + and data integrity ([PR #71](https://github.com/isro/api/pull/71)) |
| 57 | +- `.github/workflows/test.yml` β CI test workflow on every PR ([PR #71](https://github.com/isro/api/pull/71)) |
| 58 | + |
| 59 | +### Fixed β API handlers ([PR #65](https://github.com/isro/api/pull/65)) |
| 60 | +- Removed unused `fs` import from all 6 handlers |
| 61 | +- Fixed misleading variable names (`launchers` β `customerSatellites`, `spacecraftMissions`) |
| 62 | +- Added `Content-Type: application/json` header to all responses |
| 63 | +- Sanitised error responses (no longer leak internal objects) |
| 64 | +- `GET /api` now returns a JSON endpoint directory instead of an HTML string |
| 65 | + |
| 66 | +### Fixed β Landing page ([PR #65](https://github.com/isro/api/pull/65)) |
| 67 | +- Added missing `/api/spacecraft_missions` endpoint link |
| 68 | +- Removed hotlinked external images |
| 69 | + |
| 70 | +### Changed |
| 71 | +- `README.md` rewritten: endpoint table with record counts, full schema |
| 72 | + documentation, data pipeline instructions, contributing guide |
| 73 | + |
| 74 | +--- |
| 75 | + |
| 76 | +## [1.0.0] β 2021 (initial release) |
| 77 | + |
| 78 | +Original API with five static JSON endpoints: |
| 79 | +`/api/spacecrafts`, `/api/launchers`, `/api/customer_satellites`, |
| 80 | +`/api/centres`, `/api/spacecraft_missions`. |
0 commit comments