- TypeScript support is added via new TypeScript definitions file (#71).
- Rollup and some other dependencies are upgraded.
- Node.js 12 support is added. Node.js 6 and Node.js 8 support is dropped (breaking change).
- Mocha, Chai and Istanbul are replaced by Jest.
- Dependencies are upgraded.
- Unnecessary calculations in
sgp4
function are reduced (#47). vkmpersec
calculation is moved to constants (#50).degreesToRadians
function is used in docs instead ofdeg2rad
constant (#53).- Typos' fixes (#54).
- Node.js 4 support is dropped (breaking change).
- Deprecated functions
gstimeFromJday
andgstimeFromDate
are removed (breaking change). - New transformation functions are added:
radiansToDegrees
,degreesToRadians
,radiansLat
,radiansLong
.
satrec
object is not cloned insgp4
andsgp4init
functions due to performance reasons.
- Wrong predictions for Molniya 3-47 orbits are fixed. Special thanks to @nhamer.
sgp4
function's call result is used insgp4init
.- Longitude of
eciToGeodetic
result is in [-PI; PI] range now.
- Library became ES and Common.js compatible.
- Source code is reorganized to match original Python library.
degreesLat
anddegreesLong
don't adjust input radians value and throwRangeError
if it's out of bounds (breaking change).invjday
function is added.- Julian day calculations take account of milliseconds (#38).
- Incorrect position and velocity bug for times not close to TLE epoch is fixed (#37).
- Continuous integration and test coverage are provided.
- Bower support is dropped.