Releases: observerly/astrometry
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
v0.30.0
What's Changed
🔭 This release looks to make major improvements to the accuracy of algorithms determining whether an object is above the horizon for a particular night's observation.
Features
- feat: Added getGeneralizedSolarTransit() to night module in @observerly/astrometry. by @michealroberts in #156
Refactors
- refactor: Amended isBodyVisibleForNight() in transit module in @observerly/astrometry. by @michealroberts in #155
-
- refactor: Amended getSolarTransit() in night module in @observerly/astrometry. by @michealroberts in #157
Documentation
- docs: Added CODE_OF_CONDUCT.md to workspace @observerly/astrometry. by @michealroberts in #152
- docs: Added CONTRIBUTING.md to workspace @observerly/astrometry. by @michealroberts in #153
Full Changelog: v0.29.0...v0.30.0
v0.29.0
What's Changed
This release is a smaller release, but fixes a major bug with calculating the getPlanetaryGeocentricEclipticCoordinate
, where a quadrant adjustment is not needed giving an incorrectly ecliptic latitude in some situations.
Features
- feat: Added all solar-system planets as exports in planets module in @observerly/astrometry. by @michealroberts in #150
Performance
- refactor: Amended to PlanetOrbitalParameters type usage for planets module in @observerly/astrometry. by @michealroberts in #149
Fixes
- fix: Corrected quadrant adjustment for { β } in getPlanetaryGeocentricEclipticCoordinate() in planets module in @observerly/astrometry. by @michealroberts in #151
Full Changelog: v0.28.0...v0.29.0
v0.28.0
What's Changed
This release provides the ability to convert from GalacticCoordinate
s to EquatorialCoordinate
s for any given J2000.0 epoch GalacticCoordinate
.
Features
- feat: Added GalacticCoordinate type to common module in @observerly/common. by @michealroberts in #145
- feat: Added convertGalacticToEquatorial() to coordinates module in @observerly/astrometry. by @michealroberts in #147
- feat: Added galactic module to @observerly/astrometry. by @michealroberts in #148
Full Changelog: v0.27.0...v0.28.0
v0.27.0
What's Changed
This release provides the ability to get the ecliptic plane (the path traversed by the Sun during a calendar year) for any given date, return an Array of EquatorialCoordinate
.
Features
- feat: Added ecliptic module to @observerly/astrometry. by @michealroberts in #143
- feat: Added getEclipticPlane() to constellations module in @observerly/astrometry. by @michealroberts in #144
Full Changelog: v0.26.0...v0.27.0
v0.26.0
What's Changed
This release provides the ability to look up a given constellation for a given EquatorialCoordinate
target.
Features
- feat: Added constellations module to @observerly/astrometry. by @michealroberts in #140
- feat: Added constellations new Map<string, Constellation> to constellations module in @observerly/astrometry. by @michealroberts in #141
- feat: Added getConstellation() to constellations module in @observerly/astrometry. by @michealroberts in #142
Full Changelog: v0.25.0...v0.26.0