Spacex-py

Latest version: v1.0.0

Safety actively analyzes 619181 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2.8.0

**TLDR**
* Migrated from east U.S. Heroku to central U.S. Linode
* New orbital, distance, and speed data on FH roadster
* More background details added to Dragon 1/2
* Faster logging
* Docs moved from wiki to repo

**Features & Fixes**

* Changed `koa-logger` to `koa-pino-logger` for a **~20%** reduction in high volume response latency
* Fixed query builders where entire Koa request object was being passed to builders instead of just the object containing querystrings
* Fixed bug showing incorrect order for all launches when sorting in descending order 107
* Fixed bug preventing users from using the `flight_number` correctly with the all launches endpoint 109
* Fixed bug in invalid date tests where the dates tested weren't actually invalid
* Fixed bug that allowed caching in dev environments by default
* Added new mongo connection param to remove URL parser deprecation warnings
* Added new endpoint to house Falcon Heavy Roadster data `/info/roadster`
* Added script to update roadster orbital data every 10 min
* Added new PowerShell wrapper link to readme
* Moved docs from wiki to docs folder for portability & versioning

**Server Changes**
* The API has migrated to a central U.S. [Linode](https://www.linode.com/) server instead of the north Virginia [Heroku](https://www.heroku.com/) server, now latency should be balanced from coast to coast.
* The same development pipeline will be used, and successful [Travis CI](https://travis-ci.org/) builds on master will automatically deploy changes and restart [PM2](http://pm2.keymetrics.io/)

**Database Changes**
* Added new info on the Falcon Heavy Tesla Roadster's orbital parameters, speed, and distance from earth/mars
* Combined `Dragon 2` and `Crew Dragon` into a single `Dragon 2` object
* Added `original_launch_unix` fields for all cores and capsules
* Added `rocketid` to rockets with an arbitrary number id, see 1 for discussion
* Added `padid` to launchpads with an arbitrary number id, see 1 for discussion
* Added `description` and `wikipedia` to capsules for Dragon 1 + 2
* Added `norad_id` to all launch payloads if available
* Added `nationality` to all launch payloads
* Added `manufacturer` to all launch payloads

2.7.0

**Features & Fixes**
* Mission patch PNG size reduced 70-80% using compression (thanks garyjacobs)
* Added detailed orbital parameters for every payload
* Fixed typo preventing cores from being sorted by number of ASDS launches
* Added list of community made API clients to the readme
* Added `second_stage_block` querystring to allow launch sorting by second stage block number
* Fixed typo preventing travis ci from running tests sequentially, causing long build times
* Readme header updated to only use HTML instead of an HTML/Markdown mix that caused issues on certain viewing platforms
* Added gitlab mirrored repository as a backup
* Added `limit` querystring to limit number of documents returned
* Consolidated past, upcoming, and all launch tests into a single test (DRY)
* Increased jest timeout length from 5sec to 10sec for longer running tests

**Database Changes**
* Added `orbit_params` object to every payload of every past and upcoming launch
* Added `block` number to all second stage objects for hybrid launches
* Added `event_date_unix` to all history milestones for easier date parsing

2.6.0

**Features & Fixes**
* Added yarn caching for faster Travis builds
* Updated mongo connection syntax to use `async / await`
* Added endpoint for next upcoming launch (thanks pascoemitch)
* Increased mongo driver connection pool size to prevent traffic surge bottlenecks
* Decreased caching time for launches to 30sec to reduce database query load
* All rocket data now sorted by original launch data instead of rocket id
* Added `/v2/info/history` endpoint with important company milestones
* Added tentative BFR data to rocket endpoints

**Database Changes**
* Added `mission_name` field for easier access to common mission names
* Added `wikipedia` field in `links` for easy access to Wikipedia summaries on launches
* History collection added
* BFR added to list of rockets

2.5.0

**Features & Fixes**
* Redis route caching times adjusted for quicker launch updates
* Added date format parsing in 80 to allow for any standardized date formats in query strings
* Tests now lint first, allowing for earlier syntax error checks
* Added sorting to rocket endpoints for consistent ordering
* Switched from NPM to Yarn for faster dependency management
* Removed jest cli option blocking multi worker testing pools
* Moved query logic out of routes and into controllers
* Made all query builders anonymous functions by default

**Database Changes**
* Added `mission_patch_small` filed with links to smaller image versions

2.4.0

**Features & Fixes**
* Migration from Express to Koa in 78
* Reduced Docker image size by **~30%** to **19MB**
* Added Redis route caching, reduced average response time from **>250ms** to **<90ms**
* Added Docker-Compose file for easy App + Redis deployment
* Updated all tests to use async/await
* Cap and Core sorting changed to launch date instead of serial in 89ac881
* Reduced npm dependencies by **~10%**

2.3.0

**Features & Fixes**
* Tests added for query builders in b0b0ad3, f09b3b1, 21c8425 which brings test coverage to 98%
* Abstraction added for fetching upcoming/past launches from a single function e75731e. (Rafael Ramalho)
* Added querystring option to show unique mongo document id's 93610a5
* Added querystring option to filter launches and cores by block number ddd24c7
* Added querystring option to pretty print JSON output for debugging 188cf22
* Added jsdoc for builders and helper functions 3a5d25d

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.