Changelog
Astro version 0.8.0
This is the changelog for Astro version 0.8.0 released on October 3rd, 2021. For older changelogs please consult the release tag on GitHub
Please note that Elixir 1.11 or later is required.
Enhancements
Convert some identity functions to macros which improves runtime performance
Add additional specs and docs to
Astro.Math
module
Astro version 0.7.0
This is the changelog for Astro version 0.7.0 released on September 10th, 2021. For older changelogs please consult the release tag on GitHub
Please note that Elixir 1.11 or later is required.
Bug Fixes
- Revert
Astro
back to a pure library application. The supervisor forTzWorld
still needs to be started. This fix brings the code back into line with the README. Thanks to @dvic for the report. Closes #1.
Astro version 0.6.0
This is the changelog for Astro version 0.6.0 released on September 5th, 2021. For older changelogs please consult the release tag on GitHub
Please note that Elixir 1.11 or later is required.
Bug Fixes
Fix
Astro.Math.atan_r/2
Fix ephemeris calculation
Breaking changes
- Change
Time.date_time_{from, to}_iso_days/1
toTime.date_time_{from, to}_moment/1
Enhancements
Remove dependency on
ex_cldr_calendar
andjason
Astro version 0.5.0
This is the changelog for Astro version 0.5.0 released on August 26th, 2021. For older changelogs please consult the release tag on GitHub
Please note that Elixir 1.11 or later is required.
Bug Fixes
Updates documentation to be clear about installation and setup requirements for
tz_world
Fixes test data for São Paulo now that it no longer uses DST
Ensure
:astro
is started in test mode
Enhancements
This primary focus of this release is to add lunar calculations for moon phase.
Astro version 0.4.0
This is the changelog for Astro version 0.4.0 released on February 16th, 2020. For older changelogs please consult the release tag on GitHub
Breaking Change
- When no timezone is found the return is changed from
{:error, :timezone_not_found}
to{:error, :time_zone_not_found}
to be consistent with Elixir andTzData
.
Astro version 0.3.0
This is the changelog for Astro version 0.3.0 released on December 9th, 2019. For older changelogs please consult the release tag on GitHub
Change in behaviour
- Seconds are no longer truncated to zero when calculating datetimes and durations
Enhancements
Add
Astro.solar_noon/2
to return the true solar noon for a location and dateAdd
Astro.hours_of_daylight/2
to return hours, minutes and seconds as aTime.t()
representing the number of daylight hours for a give location and dateAdd
Astro.sun_apparent_longitude/1
to return the apparent solar longitude on a given date. The result, a number of degrees between 0 and 360, can be used to determine the seasons.
Astro version 0.2.0
This is the changelog for Astro version 0.2.0 released on December 6th, 2019. For older changelogs please consult the release tag on GitHub
Enhancements
Add
Astro.equinox/2
andAstro.solstice/2
to calculate solstices and equinoxes for a year. From these can be derived the seasons.
Astro version 0.1.0
This is the changelog for Astro version 0.1.0 released on December 5th, 2019. For older changelogs please consult the release tag on GitHub
Enhancements
- Initial release includes
Astro.sunrise/3
andAstro.sunset/3
. See the readme for further roadmap details.