Repository navigation
COMPATIBILITY_NOTES_6.8.0
TheDaniel166 edited this page Oct 15, 2026
·
3 revisions
Moira 6.8.0 preserves existing public Python function signatures and REST schemas while adding SBDB osculating asteroid classification and admitting small bodies to heliocentric orbital element routes.
-
orbit_classandorbit_classes_atare added to the public API undermoira.orbits,moira.predictive, andmoira.facade. - Asteroids and small bodies are admitted to
orbit_class. Non-small bodies (major planets, the Sun, the Moon, and barycenters) explicitly raiseOrbitalBodyNotSupportedError. -
osculating_elementscontinues to evaluate small bodies and planets identically.
-
POST /v1/orbits/elements: Existing consumers of the 9 historical planets receive unchanged, non-null response payloads. When small bodies with parabolic or hyperbolic orbits ($e \ge 1.0$ ) are requested, the open-conic fieldssemi_major_axis_au,aphelion_distance_au,orbital_period_days,mean_anomaly_deg, andmean_motion_deg_per_dayserialize asnull. -
POST /v1/orbits/distance-extremes: Admits small bodies. If an open conic lacks an apocenter or an extremum lies outside the evaluated search interval, the route returns HTTP 422 with categoryorbital_event_availability. - New endpoints
POST /v1/orbits/classandPOST /v1/orbits/class/batchare registered under theorbitsOpenAPI tag.