Skip to content

Releases: rhannequin/astronoby

v0.9.0

31 Oct 10:07
8d0575d

Choose a tag to compare

0.9.0 - 2025-10-31

If you are upgrading: please see UPGRADING.md.

Features

  • Add #approaching_primary? and #receding_from_primary? to solar system bodies (#211)
  • Calculate apoapsis and periapsis events (#213)
  • Improve precision of ΔT (#219)
  • Deep Sky Object: Compute astrometric position (#217)
  • Deep Sky Object: Compute apparent position (#220)
  • Deep Sky Object: Handle velocities properly (#222)
  • Deep Sky Object: Compute topocentric position (#226)
  • Deep Sky Object: difference between the body and the position (#227)
  • Deep Sky Object: Add support for RiseTransitSetCalculator (#228)

Improvements

Backward-incompatible changes

  • Drop Astronoby::Apparent#angular_diameter (#221)
  • Use local apparent instead of local mean sidereal time for hour angle (#225)

Full Changelog: v0.8.0...v0.9.0

v0.8.0

01 Sep 08:01
9a03262

Choose a tag to compare

0.8.0 - 2025-09-01

If you are upgrading: please see UPGRADING.md.

Bug fixes

  • Fix UPGRADING documentation (#178)
  • Fix possible division by zero in RTS (#185)

Features

  • Introduce performance benchmark (#183)
  • Cache positions in RTS calculator (#182)
  • Internal global LRU cache (#186)
  • Global configuration (#187)
  • Compute the constellation a body is in (#199)
  • Add #phase_angle and #illuminated_fraction to planets (#200)
  • Apparent magnitude (#201)
  • Add #events_between to TwilightCalculator with better accuracy (#204)
  • #angular_diameter on Solar System bodies (#207)
  • Fix constellation boundaries near 24h right ascension (#209)

Improvements

Backward-incompatible changes

  • Epoch refactoring into JulianDate (#197)
  • #angular_diameter on Solar System bodies (#207)
  • Rename "epoch" (#208)

Closed issues

  • Consider adding typical usage/deployment info (#179)
  • Performance degradation in v0.7 (#180)

Full Changelog: v0.7.0...v0.8.0

v0.7.0

12 May 10:17
4f352eb

Choose a tag to compare

0.7.0 - 2025-05-12

If you are upgrading: please see UPGRADING.md.

Bug fixes

Features

  • Add Instant value object (#121)
  • Introduce barycentric position of Solar System major bodies (#127)
  • Introduce Astrometric position for planets (#129)
  • Rename Barycentric into Geometric (#130)
  • Rename IRCF and remove module Position (#131)
  • Geometric and Astrometric reference frames with coordinates (#132)
  • Ecliptic coordinates for Geometric and Astrometric reference frames (#134)
  • Add Geometric and Astrometric positions for Sun and Moon (#135)
  • Implement new aberration correction (#136)
  • Precession matrix for 2006 P03 model (#137)
  • Introduce MeanOfDate reference frame (#138)
  • New nutation model (#141)
  • Light deflection correction (#142)
  • Introduce Apparent reference frame (#143)
  • Introduce Topocentric reference frame (#145)
  • Improve Vector integration with value objects (#146)
  • Handle refracted topocentric horizontal coordinates (#147)
  • Add #angular_diameter to apparent and topocentric reference frames (#149)
  • Introduce new calculator for rising, transit and setting times (#148)
  • Clean code after Ephem refactoring (#152)
  • Improve RisingTransitSettingEventsCalculator (#155)
  • Simplify RisingTransitSettingEventsCalculator (#156)
  • Lazy-load reference frames (#157)
  • Overall performance improvements (#163)
  • Add support for IMCCE INPOP by @JoelQ and @rhannequin (#166)
  • Update INPOP excerpt in spec data (#167)
  • Introduce a better rise/transit/set calculator (#168)
  • Drop Astronoby::Observer#observe (#174)

Improvements

  • Bump standard from 1.42.1 to 1.49.0 by @dependabot (#123, #128, #150, #165)
  • Bump rubyzip from 2.3.2 to 2.4.1 by @dependabot (#120)
  • Add more tests for Julian Date conversion (#122)
  • Upgrade main Ruby version and supported ones (#125)
  • Update email address and gem description (#126)
  • Increase precision of mean obliquity (#133)
  • Add supported Rubies (#139)
  • Set Ruby 3.4.2 as default version (#140)
  • Fix dependency secutiry patch (#151)
  • Improve HMS/DMS formats (#153)
  • Use excerpts ephemerides for specs of Sun and Moon (#154)
  • Add link to deprecated documentation (#160)
  • Default Ruby 3.4.3 and support recent rubies (#169)
  • Better Moon phases test coverage (#172)
  • Optimize Observer with GMST from Instant (#173)
  • Update README about documentation location (#175)
  • Add GitHub Actions permissions (#176)

New Contributors

Full Changelog: v0.6.0...v0.7.0

v0.6.0

10 Dec 13:39
70089a4

Choose a tag to compare

What's Changed

If you are upgrading: please see UPGRADING.md.

Bug fixes

  • Fix ObservationEvents infinite loop in (#110)
  • Fix observation events times with local time dates in (#105)
  • Fix IncompatibleArgumentsError on Moon's observation events in (#111)

Features

  • Add Astronoby::Moon#current_phase_fraction in (#115)
  • Add sources and results for comparison in (#114)

Improvements

  • Bump standard from 1.36.0 to 1.39.2 by @dependabot in (#95)
  • Bump standard from 1.39.2 to 1.40.0 by @dependabot in (#96)
  • Bump dependencies in (#100)
  • Move dependencies to development ones in (#99)
  • Bump standard from 1.40.0 to 1.41.1 by @dependabot in (#104)
  • Bump standard from 1.41.1 to 1.42.0 by @dependabot in (#107)
  • Bump standard from 1.42.0 to 1.42.1 by @dependabot in (#108)
  • Bump dependencies in (#116)
  • Add supported Ruby versions in (#117)

Full Changelog: v0.5.0...v0.6.0

v0.5.0

11 Jun 12:58
20e65ff

Choose a tag to compare

What's Changed

If you are upgrading: please see UPGRADING.md.

Features

  • Make Sun#mean_anomaly public (#72)
  • Moon ecliptic coordinates (#73)
  • Moon apparent geocentric equatorial coordinates (#75)
  • Moon horizontal coordinates (#76)
  • Assume Moon's equatorial coordinates are geocentric (#77)
  • Use observer object for geocentric parallax (#79)
  • Moon's phase angle and illuminated fraction (#80)
  • Monthly Moon phases (#82)
  • Rationalize negative degree angles (#83)
  • Factorize Moon phases periodic terms (#85)
  • Introduce observation events for Moon (#86)

Improvements

  • Create FUNDING.yml (#70)
  • Bump standard from 1.35.1 to 1.36.0 (#71)
  • Bump rexml from 3.2.6 to 3.2.8 (#74)
  • Expand the number of tested Ruby versions (#84)
  • Add Ruby 3.1.6 and 3.3.2 coverage (#88)
  • Improve and update documentation (#87)
  • Update UPGRADING.md (#89)

Backward-incompatible changes

  • Use Observer in Horizontal coordinates (#69)
  • Introduce Astronoby::Distance value object (#78)

Full Changelog: v0.4.0...v0.5.0

v0.4.0

29 Apr 09:23
2944787

Choose a tag to compare

What's Changed

If you are upgrading: please see UPGRADING.md.

Bug fixes

  • Fix ecliptic to equatorial epoch (#56)

Features

  • Add twilight times (#49)
  • Add interpolation method (#52)
  • Add decimal_hour_to_time util (#53)
  • Calculate leap seconds for an instant (#54)
  • Add Angle#-@ (#55)
  • Enable equivalence and hash equality to Observer (#57)
  • Twilight events dedicated class (#61)

Improvements

  • Upgrade bundler from 2.3.11 to 2.5.7 by @dorianmariecom (#45)
  • Drop BigDecimal (#46)
  • Bump rake from 13.1.0 to 13.2.0 (#47)
  • Increase Ruby versions support (#48)
  • Bump rake from 13.2.0 to 13.2.1 (#51)
  • Dedicated constants class (#62)
  • Improve accuracy of equation of time (#63)
  • Twilight times better accuracy (#65)
  • Update UPGRADING.md (#66)
  • release: Bump version to 0.4.0 (#67)

Backward-incompatible changes

  • More accurate rising, transit and setting times (#50)
  • Observation events dedicated and centralized class (#60)
  • Change Astronoby::Sun constructor (#64)

Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

29 Mar 16:33

Choose a tag to compare

0.3.0 - 2024-03-29

If you are upgrading: please see [UPGRADING.md].

Improvements

  • Drop Angle#== (#42)
  • Improved accuracy with Sun's location predictions (#41)

Breaking changes

  • breaking: Difference between true and apparent ecliptic and equatorial coordinates (#41)
  • breaking: Rename Angle::as_* into Angle::from_* (#43)