Skip to content

Siderust v0.18.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 21:50
· 4 commits to main since this release
f110c81

[0.18.0]

Release preparation; no release date has been assigned.

Added

  • CenterShiftProvider::try_shift, CenterShiftError and
    transform::try_to_center_with for standard-center positions. Missing
    planetary capabilities and evaluation errors propagate through direct,
    reverse and composed shifts without substituting another model.
  • Ephemeris::try_pluto_barycentric and checked legacy runtime segment
    construction; unsupported Pluto returns an explicit body-center error.

Fixed

  • Normalize public VSOP87A/E positions and velocities, and post-Laskar ELP82B
    positions, to the canonical IAU 2006 J2000 ecliptic using their separate
    published FK5 ties. ELP evaluates its documented TDB time argument.
  • Planetary center translations consult the selected backend, including Pluto.
    Supported default-model calculations retain their existing model choices.
  • ICRF-only SPK loaders reject mixed frames and unsupported types consistently
    for raw and parsed input. A selected higher-priority segment with invalid
    coefficients or an unavailable center chain no longer exposes stale data.
  • Public J2000 frame-bias extensions share the transform pipeline's IAU 2006 matrix.

Changed

  • Analytical ephemeris numbers change while coordinate signatures remain
    backend-independent. FFI layouts remain unchanged; the ABI version reports 1800.
  • Consolidate the physical conventions in Frames and centers.
    Permanent Cargo reference tests/fixtures remain; development-only reports,
    comparison utilities and datasets are removed.

Breaking changes and migration

  • MoonIauMeanEarth and MoonPrincipalAxes are distinct types. Migrate
    analytical IAU_MOON coordinates/transforms to MoonIauMeanEarth. Actual
    principal-axes realizations require data-backed SPICE orientation.
  • Custom CenterShiftProvider implementations must implement try_shift
    returning Result. The existing shift and infallible coordinate transforms
    delegate to that implementation and panic on errors; use try_to_center_with
    or try_shift when missing capabilities or coverage must be handled.
  • Custom Pluto backends implement try_pluto_barycentric; overriding only the
    infallible wrapper no longer supplies a center transformation. Planetary
    capability failures never implicitly select VSOP87 or catalogue data.
  • ICRF-only SPK loaders now reject any unsupported frame/type, including unrelated
    segments; use frame-aware SPICE operations for kernels outside that contract.
    Runtime DE fixed-body chains reject alternate centers instead of ignoring them.