Skip to content

v0.1.2: extension time validation and list_visible bug fixes

Choose a tag to compare

@cyanheads cyanheads released this 28 Jun 04:17
v0.1.2
db53b51

extension time validation and list_visible bug fixes

Four bug fixes across the gated extension tools and astronomy_list_visible.

Fixed:

  • astronomy_get_ephemeris: topocentric (observer) calls returned distance_au NaN; the Horizons request now adds azimuth/elevation (QUANTITIES '1,4,9,20') for an observer so the CSV columns align (#1)
  • astronomy_get_ephemeris / astronomy_get_satellite_passes: an unparseable start now rejects with invalid_time (InvalidParams) before any network call, instead of a generic error or a silently empty pass list; satellite passes also enforces the SGP4 1900-2100 span (#5)
  • astronomy_list_visible: the default list is naked-eye only; telescopic Uranus, Neptune, and Pluto no longer appear (#4)
  • astronomy_list_visible: sky_condition, sun_altitude_degrees, and total_count now ride the output and lead the content[] text, so content[]-only clients see the sky-condition gate (#2)

110 tests pass; bun run devcheck clean.