Skip to content

Releases: observerly/astrometry

v0.38.0

31 May 16:31
Compare
Choose a tag to compare

What's Changed

🌐 This release adds to ability to convert from HorizontalCoordinate to EquatorialCoordinate.

Features

  • feat: add convertHorizontalToEquatorial() to coordinates module in @observerly/astrometry. by @michealroberts in #192

Full Changelog: v0.37.0...v0.38.0

v0.37.0

28 May 14:46
Compare
Choose a tag to compare

What's Changed

This minor release adds inference for a new DateTime() class that extends the native JavaScript Date object with added functionality around handling leap seconds, as well as adding support for calculating refraction adjusted local horizon dips for an observer.

Features

Full Changelog: v0.36.0...v0.37.0

v0.36.0

24 Apr 16:09
Compare
Choose a tag to compare

What's Changed

🔭 This release fixes an important bug found within the getGreenwhichSiderealTime() which returns inaccurate astrometry at the second and millisecond precision.

Features

  • feat: add Maybe = NonNullable | undefined to common module in @observerly/astrometry. by @michealroberts in #181

Fixes

  • fix: amend getGreenwhichSiderealTime() utility to be accurate up to ms in @observerly/astrometry. by @michealroberts in #180

Full Changelog: v0.35.0...v0.36.0

v0.35.0

20 Apr 11:31
Compare
Choose a tag to compare

What's Changed

Features

  • feat: amend usage of isBodyVisible() to use maximum culmination in @observerly/astrometry. by @michealroberts in #179

Full Changelog: v0.34.0...v0.35.0

v0.34.0

07 Apr 13:29
Compare
Choose a tag to compare

What's Changed

isBodyVisible(), which determines if an object is visible if it is ever above the observer's horizon, will now use different logic to determine this which is now more stable for both northern and southern hemisphere stars.

e.g., The maximum altitude a celestial object will reach above the horizon is dependent on the observer's latitude and the object's declination. The formula for this is now:

Screenshot 2024-04-07 at 14 27 22

Improvements

  • refactor: amend isBodyVisible() calculation in transit module in @observerly/astrometry. by @michealroberts in #176

Full Changelog: v0.33.2...v0.34.0

v0.33.2

07 Apr 12:48
Compare
Choose a tag to compare

What's Changed

This patch release fixes a regression introduced in ^v0.32.0 whereby imports we're reporting the following TS error:

Cannot find module '@observerly/*' or its corresponding type declarations. [TS2307]

Fixes

  • fix: amend package.json for better esmodule interop support in @observerly/astrometry. by @michealroberts in #175

Full Changelog: v0.33.1...v0.33.2

v0.33.1

07 Apr 12:38
Compare
Choose a tag to compare

What's Changed

This patch release fixes a regression introduced in v0.32.0 whereby imports we're reporting the following TS error:

Cannot find module '@observerly/*' or its corresponding type declarations. [TS2307]

Fixes

  • fix: amend package.json for better esmodule interop support in @observerly/astrometry. by @michealroberts in #174

Full Changelog: v0.33.0...v0.33.1

v0.33.0

07 Apr 11:50
Compare
Choose a tag to compare

What's Changed

getBodyNextRise() now either returns the TransitInstance or false, regardless of whether it is circumpolar (i.e., is in the observer's night sky, but never rises or never sets) or if it doesn't rise or set for the particular observer's location. This introduces a breaking change if you were expecting this to return "true" at any point in your code.

Improvements [BREAKING CHANGE]

  • refactor!: amend getBodyNextRise() logic to always be falsey in @observerly/astrometry. by @michealroberts in #172

Documentation

Full Changelog: v0.32.0...v0.33.0

v0.32.0

18 Jan 17:38
Compare
Choose a tag to compare

What's Changed

This MR introduces the foundations for the eclipse module, although eclipses still cannot be calculated yet.

The package can now import from specific sub-modules for tree-shaking, e.g.,:

import { isNewMoon } from '@observerly/astrometry/moon'

Features

  • feat: Added eclipse module to @observerly/astrometry. by @michealroberts in #160
  • feat: Added isNewMoon() utility to moon module in @observerly/astrometry. by @michealroberts in #161
  • feat: Added isFullMoon() utility to moon module in @observerly/astrometry. by @michealroberts in #163
  • feat: Added getLunarArgumentOfLatitude() to moon module in @observerly/astrometry. by @michealroberts in #164

Fixes

  • fix: Amended getLunarAngularDiameter() in moon module in @observerly/astrometry. by @michealroberts in #162

Chores

  • chore: Amended workspace package.json to allow for subset divisions in imports from @observerly/astrometry. by @michealroberts in #165

Full Changelog: v0.31.0...v0.32.0

v0.31.0

09 Dec 11:04
Compare
Choose a tag to compare

What's Changed

Fixes

  • fix: Amend getLunarPhase() in moon module in @observerly/astrometry. by @michealroberts in #159

Full Changelog: v0.30.0...v0.31.0