Releases: observerly/astrometry
v0.38.0
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
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
- feat: add iers module to @observerly/astrometry. by @michealroberts in #183
- feat: add LEAP_SECONDS IANA table to iers module in @observerly/astrometry. by @michealroberts in #184
- chore: amend .vscode/settings.json with configurations in @observerly/astrometry. by @michealroberts in #185
- feat: add DateTime extends Date class to time module in @observerly/astrometry. by @michealroberts in #186
- feat: add EARTH_RADIUS constant to @observerly/astrometry. by @michealroberts in #189
- feat: add observer module to @observerly/astrometry. by @michealroberts in #190
- feat: add getLocalHorizon() to observer module in @observerly/astrometry. by @michealroberts in #191
Full Changelog: v0.36.0...v0.37.0
v0.36.0
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
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
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:
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
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
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
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
- docs: Amended README.md to include API references. by @michealroberts in #170
Full Changelog: v0.32.0...v0.33.0
v0.32.0
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
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