Skip to content

Releases: Sunlitt/SunKit

2.8.1

23 Jun 09:36
086d345
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.8.0...2.8.1

SunKit 2.8.0

13 Jan 08:23
9179216
Compare
Choose a tag to compare
  • Sun is now a struct: users can no longer use Sun as a reference type. However, immutability is not enforced and functions like setDate and setLocation are now defined as mutating.

  • Sun initializer now accepts a Date parameter (defaults to Date()).

  • Sun now conforms to Identifiable, Equatable, Hashable, and Sendable protocols.

  • Utilities such as Angle, DMS, EclipticCoordinates, EquatorialCoordinates, HMS, and HorizonCoordinates now conform to Equatable, Hashable, Sendable, and Codable protocols.

SunKit 2.7.0

09 Jul 08:45
1e2325d
Compare
Choose a tag to compare
  • Solar Midnight
  • Ecliptic and Equatorial coordinates

SunKit 2.6.5

13 May 17:09
2d2857c
Compare
Choose a tag to compare

If sunrise or morning twilight events: blue hour start/end, astronomical start/end, nautical start/end are below 1 AM, they will take back to 00:00 because irrelevant.

SunKit.2.6.4

03 May 13:46
c3c4001
Compare
Choose a tag to compare
Dusk and dawn were inverted  (#41)

2.6.3

27 Apr 06:50
df215d2
Compare
Choose a tag to compare

Minor changes to isNight variable. isAlwaysLight is now isAlwaysDay.

2.6.2

25 Apr 18:09
2f02378
Compare
Choose a tag to compare

Fixed typos

SunKit 2.6.1

22 Apr 18:17
cce6e9d
Compare
Choose a tag to compare
Changed names (#36)

SunKit 2.5.0

15 Apr 15:44
16359a3
Compare
Choose a tag to compare

Removed 'useSameTimeZone' dependency.

SunKit 2.4.6

15 Apr 10:55
78a451c
Compare
Choose a tag to compare
Added Blue Hour (#29)