Skip to content

Version 3.0.0

Compare
Choose a tag to compare
@jakewmeyer jakewmeyer released this 28 Sep 21:55
· 1532 commits to master since this release
dff29a8

Features

  • Added ability to sort on any field where an endpoint returns an array - #129
  • Added array of links to official SpaceX flickr photos for rockets, dragon capsules, launches, and the tesla roadster
  • Added tentative_max_precision field for more information about partial dates in upcoming launches. Values can include hour, day, month, quarter, half, or year. This provides important context about how precise the future date is
  • Added link to api status page - 42aec55
  • Added reusable date parsing utility - 0d8ebc0
  • Added ability to pretty print json results with the pretty=true querystring - d8c51e6
  • Added ability to mask and filter specific json fields from the response to reduce JSON payload size - 9558453 - ( thanks @jhpratt )
  • Added script to update payload orbit params on an hourly basis - 03777f4
  • Added missions endpoint with additional data regarding groups of 2 or more launches by the same company
  • Added arg_of_pericenter and mean_anomaly to current orbital params for full Keplerian element support
  • Added automated update script to pull updated launch times from the r/SpaceX wiki manifest every 10 min
  • Added automated script to pull current orbital data from the SpaceTrack API every hour
  • Added automated script to pull current lat/long, status, course, and speed of SpaceX support ships from MarineTraffic.com every 10 min
  • Updated docker compose to use alpine redis to reduce image size - 3e70fd1
  • Updated production logger to strip private info from response object - d9b47c1
  • Switched from day.js to moment.js in update scripts for improved UTC support - bf596e5

Fixes

  • Fixed bug where duplicates might show up in payload endpoint - 5e608d5
  • Fixed bug where v3 rocket id was removed - 82c2568
  • Fixed bug where roadster epoch was displayed as a string instead of an int - 884c713

Docs Changes

  • Now using Postman for docs
  • A Postman collection with all the new endpoints is available here
  • Added link to community made apps/bots/clients here

Endpoint Changes

  • /v2/launches/all ----> /v3/launches
  • /v2/launches ----> /v3/launches/past
  • /v2/info/history ----> /v3/history
  • /v2/info/roadster ----> /v3/roadster
  • /v2/parts/cores ----> /v3/cores
  • /v2/parts/caps ----> /v3/capsules
  • /v2/capsules ----> /v3/dragons

Database Changes

  • Added flickr_images, landing_intent, arg_of_pericenter, mean_anomaly, fairings, ships, static_fire_date_unix, is_tentative, and tentative_max_precision to launches
  • Added reuse_count to capsules
  • Added reuse_count to cores
  • Added Ships collection
  • Added Missions collection
  • Updated rtls_attempts and asds_attempts in cores to be an int instead of boolean
  • In rockets, id is now rocket_id, rocketid is now id, and type is now rocket_type to bring the fields in line with the launch fields
  • In launchpads, id is now site_id, padid is now id, and full_name is now site_name_long to bring the fields in line with the launch fields
  • The reuse object is no longer included on v3 launches. Reuse information has been moved into each core, payload, and fairing object
  • capsules, cores, and ships endpoints now have a new array format for the missions array. The new format provides more context, and allows the flight number to be passed in easily as a query param to quickly get launch data: /launches/18
    • Old:
      "missions": [
          "CRS-4"
      ]
    • New:
      "missions": [
            {
              "name": "CRS-4",
              "flight": 18
            }
      ]