Skip to content

SunKit 2.8.0

Compare
Choose a tag to compare
@davideilmito davideilmito released this 13 Jan 08:23
· 8 commits to main since this release
9179216
  • 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.