From 51715a89977788c976fbeb2bd0e0032b789b3f11 Mon Sep 17 00:00:00 2001 From: Luis Borjas Reyes Date: Mon, 14 Sep 2020 22:23:36 -0400 Subject: [PATCH] Update changelog, import semigroup for older haskells in CI. --- ChangeLog.md | 12 ++++++++++++ src/SwissEphemeris.hs | 1 + 2 files changed, 13 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index a8b121f..a6f3191 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,17 @@ # Changelog for swiss-ephemeris +## v1.2.0.0 (2020-09-14) + +**BREAKING CHANGE:** `splitDegrees` now takes options that reflect the options in the underlying library. + +* Constructors for `JulianTime` and `SiderealTime` are now exposed. +* Introduce `SplitDegreesOption` enum for all options one can split degrees with; amends `splitDegrees` to take + said options as the first argument. +* `splitDegreesZodiac` is unchanged, though a mere veneer for the now more powerful `splitDegrees`. +* Since `splitDegreesZodiac` goes the extra enum-mile to provide human-readable zodiac names, and the underlying + library can also split on Nakshatras, we now include the `NakshatraName` enum. Names are from wikipedia + and I saw some variants, so please forgive any mispellings! + ## v1.1.0.0 (2020-09-12) **BREAKING CHANGE:** the `Coordinates` type has been retired, in favor of the more specific diff --git a/src/SwissEphemeris.hs b/src/SwissEphemeris.hs index 4ee981e..7f88155 100644 --- a/src/SwissEphemeris.hs +++ b/src/SwissEphemeris.hs @@ -69,6 +69,7 @@ module SwissEphemeris where import Control.Exception (bracket_) +import Data.Semigroup ((<>)) import Foreign import Foreign.C.String import Foreign.SwissEphemeris