Skip to content

Bump @openwaters/almanac from 0.7.0 to 0.10.0 - #220

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/openwaters/almanac-0.10.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/openwaters/almanac-0.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 21, 2026

Copy link
Copy Markdown
Contributor

Bumps @openwaters/almanac from 0.7.0 to 0.10.0.

Release notes

Sourced from @​openwaters/almanac's releases.

Requires Swift 6

Almanac 0.10.0 uses Swift 6 language mode and requires a Swift 6 or newer toolchain.

  • Swift's compiler checks the package and its tests under Swift 6 concurrency rules. Immutable event specifications have a checked Sendable conformance.
  • The public astronomy API and calculations are unchanged. TypeScript and Kotlin consumers use the same API as 0.9.0.
  • Slackwater's iOS consumer validation passed Debug and unsigned Release builds for the phone, watch, and both widget extensions, including watch hardware's arm64_32 architecture. All 170 selected sun, moon, eclipse, alert, and timeline integration tests passed.
npm install @openwaters/almanac@0.10.0
.package(url: "https://github.com/openwatersio/almanac.git", exact: "0.10.0")

Kotlin consumers can pin the v0.10.0 source checkout using the installation guide. No Maven artifact is published.

Swift 6 migration: #78. Release preparation: #79.

Full changelog.

Check whether the Sun is up

Almanac 0.9.0 provides an instantaneous sunrise-based day/night decision in TypeScript, Swift, and Kotlin.

  • sunIsUp(time, observer, heightAboveGroundM = 0) returns whether the Sun’s upper limb clears the modeled horizon. It uses the same changing solar radius, standard refraction convention, topocentric geometry, and optional horizon dip as sunEvents sunrise and sunset.
  • Polar day and night work without an event search or a calendar-day choice. The helper preserves the existing date, observer, and eye-height validation. Exact equality with the horizon target returns false.
  • The cookbook shows display-mode recipes in all three languages, explains eye height versus elevation, and leaves refresh timing and missing-position handling to the application. The astronomical model does not account for terrain, clouds, or eclipses.

Tests cover independent USNO sunrise/set evidence, midnight sun, polar night, raised horizons, and a grazing polar sunrise where a fixed threshold on refracted altitude reports night. Cross-port parity checks the boolean exactly. The release workflow verifies all three suites, Kotlin coverage and source consumption, and independent SwiftPM and packed npm consumers before publishing with provenance.

npm install @openwaters/almanac@0.9.0
import { sunIsUp } from '@openwaters/almanac';
const mode = sunIsUp(new Date(), observer) ? 'day' : 'night';
.package(url: "https://github.com/openwatersio/almanac.git", exact: "0.9.0")

Kotlin consumers can pin the v0.9.0 source checkout using the installation guide. No Maven artifact is published.

Day/night helper and cookbook: #75. Release preparation: #76.

Full changelog.

Kotlin port, angle helpers, and tested migration guides

... (truncated)

Commits
  • ef9e2ef Release Almanac 0.10.0
  • 3e10f3a Release Almanac 0.9.0
  • a8990b9 Add instantaneous sunrise-based day and night detection
  • 6fa8854 Release Almanac 0.8.1
  • 5c27be4 fix: reject angle conversion overflow
  • 21ddcce feat: add angle conversions across all three ports
  • e3ebdc7 docs: test SunCalc and Astronomy Engine migrations
  • bd079e9 Add equinoxes and solstices, lunar perigee and apogee, and the equation of time
  • f9ce6b5 Release Almanac 0.8.0
  • f09cad5 Search SunCalc's solar day when the migration adapters get no utcOffset
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@openwaters/almanac](https://github.com/openwatersio/almanac/tree/HEAD/typescript) from 0.7.0 to 0.10.0.
- [Release notes](https://github.com/openwatersio/almanac/releases)
- [Commits](https://github.com/openwatersio/almanac/commits/v0.10.0/typescript)

---
updated-dependencies:
- dependency-name: "@openwaters/almanac"
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 21, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Roadmap Oct 21, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #223.

@dependabot dependabot Bot closed this Oct 28, 2026
@github-project-automation github-project-automation Bot moved this from Todo to Done in Roadmap Oct 28, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/openwaters/almanac-0.10.0 branch October 28, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

0 participants