@zodiacs/engine 2.0.0-rc.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +519 -0
- package/LICENSING.md +55 -16
- package/NOTICE +28 -10
- package/README.md +192 -53
- package/dist/{api-C_SVd9BJ.d.ts → api-G8RVGizH.d.ts} +1 -1
- package/dist/{ayanamsa-Clgkekhh.d.ts → ayanamsa-C4-pYjzm.d.ts} +2 -2
- package/dist/calc.d.ts +4 -4
- package/dist/calc.js +13 -9
- package/dist/{chunk-WONTOC5W.js → chunk-4RCOOAGI.js} +1 -1
- package/dist/{chunk-NX4PHQBL.js → chunk-JY2LU4VC.js} +61 -80
- package/dist/{chunk-B5LKF437.js → chunk-M65JXRFN.js} +40 -0
- package/dist/{chunk-FVGA776A.js → chunk-PSZAKTDL.js} +2 -2
- package/dist/{chunk-T6F4FYYS.js → chunk-SCBK24HR.js} +1 -1
- package/dist/{chunk-PNXIA7MI.js → chunk-X5ANRWDK.js} +18 -7
- package/dist/{chunk-I3L4POY7.js → chunk-XO7MHH32.js} +2 -1
- package/dist/{chunk-N4UQLCBN.js → chunk-ZL74QHBE.js} +1 -1
- package/dist/{chunk-IXFUYEUF.js → chunk-ZPHWUFTZ.js} +20 -4
- package/dist/core.d.ts +21 -0
- package/dist/core.js +2960 -0
- package/dist/crossings.d.ts +2 -2
- package/dist/de440-pack.d.ts +2 -2
- package/dist/de440.d.ts +2 -2
- package/dist/{ephemeris-D1lM832F.d.ts → ephemeris-Bnmowcsk.d.ts} +1 -1
- package/dist/esm-only.cjs +3 -0
- package/dist/geo.d.ts +74 -16
- package/dist/geo.js +139 -5
- package/dist/{houses-icK01yXi.d.ts → houses-CAiYEICK.d.ts} +1 -1
- package/dist/houses-extra.d.ts +3 -3
- package/dist/index.d.ts +8 -8
- package/dist/index.js +6 -6
- package/dist/{internal-math-BGX23p4h.d.ts → internal-math-rq6do9IR.d.ts} +2 -2
- package/dist/internal-math.d.ts +4 -4
- package/dist/internal-math.js +1 -1
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +3 -3
- package/dist/receipt.d.ts +3 -3
- package/dist/receipt.js +65 -26
- package/dist/{rulers-CpS9qkvu.d.ts → rulers-CFGiWJza.d.ts} +1 -1
- package/dist/sky.d.ts +4 -4
- package/dist/sky.js +3 -3
- package/dist/techniques.d.ts +4 -4
- package/dist/techniques.js +9 -9
- package/dist/{time-bands-CZA9AlLg.d.ts → time-bands-BCmfa8FR.d.ts} +5 -4
- package/dist/{time-scale-DIFNa0gz.d.ts → time-scale-9vmKQPCn.d.ts} +14 -4
- package/dist/time.d.ts +3 -3
- package/dist/time.js +2 -2
- package/dist/timing.d.ts +5 -5
- package/dist/timing.js +6 -6
- package/dist/{types-BCnyWBQZ.d.ts → types-CkuiCcsV.d.ts} +7 -4
- package/dist/{tzdb-2025c-00-6GVG6RYL.js → tzdb-2026f-00-RAB4YONA.js} +4 -4
- package/dist/{tzdb-2025c-01-CEYMG3LE.js → tzdb-2026f-01-SWR7EW5U.js} +4 -4
- package/dist/{tzdb-2025c-02-NWQJCVUU.js → tzdb-2026f-02-SOLHCLDL.js} +3 -3
- package/dist/{tzdb-2025c-03-PLHP6VH4.js → tzdb-2026f-03-LYLMCVL7.js} +3 -3
- package/dist/{tzdb-2025c-04-MEKUJA6M.js → tzdb-2026f-04-XTKMZPKX.js} +4 -4
- package/dist/{tzdb-2025c-05-3K5YKZBL.js → tzdb-2026f-05-EOKCMY5O.js} +4 -4
- package/dist/{tzdb-2025c-06-L2VV5XJV.js → tzdb-2026f-06-O4LQW2N6.js} +4 -4
- package/dist/{tzdb-2025c-07-H3GLGJGY.js → tzdb-2026f-07-2FDJ5OJ7.js} +4 -4
- package/dist/{tzdb-2025c-08-DA7QQIGD.js → tzdb-2026f-08-OKEWSMIX.js} +4 -4
- package/dist/{tzdb-2025c-09-MTXIO3QL.js → tzdb-2026f-09-5GB7FKLF.js} +4 -4
- package/dist/{tzdb-2025c-10-ASL4UW5C.js → tzdb-2026f-10-GXHCIASR.js} +4 -4
- package/dist/{tzdb-2025c-11-EQEOANYB.js → tzdb-2026f-11-66EMKXFG.js} +4 -4
- package/dist/{tzdb-2025c-12-NKCCXJ5G.js → tzdb-2026f-12-YK3CZCIY.js} +3 -3
- package/dist/{tzdb-2025c-13-DYTF3UC7.js → tzdb-2026f-13-UNZD3QIH.js} +4 -4
- package/dist/{tzdb-2025c-14-C25H45R5.js → tzdb-2026f-14-4FQNGNZM.js} +4 -4
- package/dist/{tzdb-2025c-15-7OYYZWRY.js → tzdb-2026f-15-5TA3B2WI.js} +4 -4
- package/dist/vedic.d.ts +4 -4
- package/dist/vedic.js +6 -6
- package/dist/window.d.ts +2 -2
- package/dist/window.js +8 -5
- package/dist/{zone-history-0XzMGx9V.d.ts → zone-history-2UYUKA43.d.ts} +26 -9
- package/package.json +47 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,524 @@
|
|
|
1
1
|
# Engine changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.0 (cut 2026-11-21)
|
|
4
|
+
|
|
5
|
+
A major release: 2.0.0-rc.6 with the version changed, cut on 2026-11-21.
|
|
6
|
+
Checks: `docs/evidence/2.0.0-20261121/`. Callers moving from 1.1.0 should
|
|
7
|
+
read `docs/migrating-to-2.md` (held by `src/migration-2.0.test.ts`).
|
|
8
|
+
|
|
9
|
+
- **No code or value changes from 2.0.0-rc.6.** The only change under `src/`
|
|
10
|
+
is the version string (`ENGINE_VERSION`, the two tests and the fixture that
|
|
11
|
+
hold it), and `dist/` is 2.0.0-rc.6's but for that string
|
|
12
|
+
(`docs/evidence/2.0.0-20261121/results/dist-vs-rc6.txt`, 95 files).
|
|
13
|
+
- **What 2.0.0 is over 1.1.0.** The entries below, 2.0.0-rc.1 to 2.0.0-rc.6,
|
|
14
|
+
are its history:
|
|
15
|
+
- **Input refusals (breaking):** a birth given as a calendar date with no
|
|
16
|
+
time is refused unless `timeKnown` is `false` (2.0.0-rc.1); common
|
|
17
|
+
near-miss birth keys such as `lat`, `lng`, `houses` and `scale` are
|
|
18
|
+
refused instead of ignored (2.0.0-rc.3).
|
|
19
|
+
- **UTC after 2027-10-02:** unpinned UTC input after the shipped IERS UT1
|
|
20
|
+
table uses the continuous-UTC rule, `TT = UTC + 69.184 s`, with
|
|
21
|
+
`TimeScale.basis: "continuous-utc"` and `ut1MinusUtc.source: "model"`
|
|
22
|
+
(2.0.0-rc.3).
|
|
23
|
+
- **Zone histories before 1970:** updated from tzdata 2025c to tzdata 2026f
|
|
24
|
+
with `America/Yellowknife` held at 2025c by the owner's decision
|
|
25
|
+
(2.0.0-rc.3).
|
|
26
|
+
- **Flags:** three new `ChartFlag` values (`polar-angles` and
|
|
27
|
+
`calendar-unknown` in 2.0.0-rc.1; `host-zone-data-differs` in 2.0.0-rc.3,
|
|
28
|
+
with tzdata 2025c added beside 2021a as a host-probe baseline in
|
|
29
|
+
2.0.0-rc.6 across 705 spans in 77 names), plus `flags` on `positions()`
|
|
30
|
+
rows (2.0.0-rc.1).
|
|
31
|
+
- **New entry and geo helpers:** `@zodiacs/engine/core` (the root API
|
|
32
|
+
without the DE440 pack, 2.0.0-rc.3), and `julianDayNumber`,
|
|
33
|
+
`dateOfJulianDayNumber` and `localMeanTimeOffset` in `@zodiacs/engine/geo`
|
|
34
|
+
(2.0.0-rc.3).
|
|
35
|
+
- **Errors:** `require()` of any entry point throws `ERR_ZODIACS_ESM_ONLY`
|
|
36
|
+
(2.0.0-rc.4), and an unknown body name throws `RangeError` on every
|
|
37
|
+
source including root crossing searches (2.0.0-rc.4, 2.0.0-rc.5).
|
|
38
|
+
- **Nothing deprecated is removed.** All seven `@deprecated` names remain:
|
|
39
|
+
`docs/versioning.md` requires twelve months after the deprecating release,
|
|
40
|
+
and 1.0.0 is from 2026-10-11.
|
|
41
|
+
- **Records.** 2.0.0 reads every natal record written by 0.1.1-rc.7 through
|
|
42
|
+
2.0.0-rc.6 (`docs/evidence/records-2.0.0-20261120/`). 1.1.0 refuses
|
|
43
|
+
2.0.0's continuous-UTC records as `unsupported_feature`; 2.0.0-rc.3 and
|
|
44
|
+
2.0.0-rc.6 read 2.0.0's envelopes
|
|
45
|
+
(`docs/evidence/2.0.0-20261121/results/earlier-readers.json`).
|
|
46
|
+
- **Conformance.** Measured on this build with Node 22.22.2 against suite
|
|
47
|
+
0.3.0 (640 vectors; `conformance/RESULTS.md`,
|
|
48
|
+
`conformance/results/zodiacs-engine.json`,
|
|
49
|
+
`conformance/results/zodiacs-engine-astronomy-engine.json`): default DE440
|
|
50
|
+
source **569 pass, 0 fail, 71 unsupported, 0 error** (L1 240/240, L2
|
|
51
|
+
150/150, L3 109/110 with 1 unsupported, L4 70/140 with 70 unsupported);
|
|
52
|
+
`astronomy-engine` 2.1.19 fallback **341 pass, 228 fail, 71 unsupported, 0
|
|
53
|
+
error** (L1 48 pass / 192 fail, L2 150/150, L3 109/110 with 1 unsupported,
|
|
54
|
+
L4 34 pass / 36 fail / 70 unsupported). Every verdict equals 2.0.0-rc.6's.
|
|
55
|
+
The 71 unsupported vectors are 1 leap-second instant in L3, 30 stations in
|
|
56
|
+
L4 and 40 lunations in L4 (the engine has no public station or lunation
|
|
57
|
+
search API).
|
|
58
|
+
- **Runtimes.** Measured on this build across six runtimes on Linux x64
|
|
59
|
+
(`docs/evidence/runtime-conformance-2.0.0-20261121/`, suite 0.3.0): all 569
|
|
60
|
+
supported verdicts on both root and `@zodiacs/engine/core` agree with Node
|
|
61
|
+
22.22.2 in Bun 1.4.4, Deno 2.9.6, Chromium 156.0.8078.4, Firefox 157.0 and
|
|
62
|
+
WebKit 27.2 (verdict counts equal 2.0.0-rc.6's). Outputs are not
|
|
63
|
+
bit-identical in every runtime (root: 458 of 569 identical to Node in Bun,
|
|
64
|
+
Deno, Chromium and WebKit, 569 of 569 in Firefox; core: 468 in Bun and
|
|
65
|
+
WebKit, 485 in Deno and Chromium, 540 in Firefox), and synthetic receipt
|
|
66
|
+
digests differ from Node's where outputs differ.
|
|
67
|
+
- **Licence.** Ships with the four open licence questions noted (IERS EOP 20
|
|
68
|
+
C04, CDS commercial use, Reid and Brunthaler, and ESA's non-commercial
|
|
69
|
+
Hipparcos terms as a fourth), per the owner's decision of 2026-11-20 11:16
|
|
70
|
+
Asia/Bangkok (`LICENSING.md`, `NOTICE`). No VSOP2013 series is shipped
|
|
71
|
+
(`docs/evidence/2.0.0-20261121/results/vsop2013-check.log`).
|
|
72
|
+
- **Sizes and cap.** Measured on this build
|
|
73
|
+
(`docs/evidence/2.0.0-20261121/results/package-contents.log`): all 20
|
|
74
|
+
entry-point import graphs remain inside their 2.0.0-rc.6 budgets (no entry
|
|
75
|
+
budget is raised). The package beside the DE440 pack is 1,462,688 bytes
|
|
76
|
+
unpacked in 101 files; `TOTAL_CAP` is raised from 1,459,000 to 1,463,000
|
|
77
|
+
(rounded up to the next 1,000 bytes), approved under the owner's delegation
|
|
78
|
+
of 2026-11-21 15:06 Asia/Bangkok (`scripts/verify-package-contents.mjs`).
|
|
79
|
+
|
|
80
|
+
## 2.0.0-rc.6 (candidate, cut 2026-11-21)
|
|
81
|
+
|
|
82
|
+
The sixth candidate for **2.0.0**, a major release, on 2.0.0-rc.5 (main at
|
|
83
|
+
`ed8be41`, after pull request 140), merging pull request 128 (`f8a7e7e`) with
|
|
84
|
+
a merge commit. A candidate is published only by the owner;
|
|
85
|
+
`artifacts/README.md` in the repository records what happened to it. Callers
|
|
86
|
+
moving from 1.1.0 should read `docs/migrating-to-2.md`. Everything earlier
|
|
87
|
+
2.0.0 candidate entries say holds for rc.6 except where this entry says
|
|
88
|
+
otherwise.
|
|
89
|
+
|
|
90
|
+
### Fixed
|
|
91
|
+
|
|
92
|
+
- **Host time zone probe table (pull request 128, ZOD-340).** Adds IANA
|
|
93
|
+
tzdata 2025c (SHA-256
|
|
94
|
+
`4aa79e4effee53fc4029ffe5f6ebe97937282ebcdf386d5d2da91ce84142f957`) as a
|
|
95
|
+
second baseline beside tzdata 2021a when comparing against tzdata 2026f.
|
|
96
|
+
The compiled probe table in `src/geo/host-probes-data.ts` now holds 705
|
|
97
|
+
spans across 77 zone names (up from 703 spans in 77 names, +9 bytes in
|
|
98
|
+
`dist/geo.js`), adding the 1979-05-25T20:30Z to 1979-05-26T20:30Z span for
|
|
99
|
+
`Asia/Tehran` and its link `Iran`, where tzdata 2025c gives UTC+03:30 and
|
|
100
|
+
both 2021a and 2026f give UTC+04:30. A host on tzdata 2025c (including Node
|
|
101
|
+
22.22.2, ICU 78.2) is now flagged `host-zone-data-differs` at 1979-05-26
|
|
102
|
+
12:00 in both names instead of passing unchecked. Held by
|
|
103
|
+
`src/geo/host-zone-check.test.ts` and
|
|
104
|
+
`docs/evidence/host-zone-probes-20261118/`.
|
|
105
|
+
|
|
106
|
+
### Documentation
|
|
107
|
+
|
|
108
|
+
- `LICENSING.md` and `NOTICE` (ZOD-341, pull requests 138 and 139): name
|
|
109
|
+
tzdata 2021a, 2025c and 2026f with their SHA-256 digests as the probe
|
|
110
|
+
table's sources; credit ESA (`Credit: ESA`) for the Hipparcos observations
|
|
111
|
+
behind VizieR I/311; and record the owner's 2026-11-20 11:16 Asia/Bangkok
|
|
112
|
+
decision to ship 2.0.0 with the four open licence questions noted (IERS EOP
|
|
113
|
+
20 C04, CDS commercial use, Reid and Brunthaler, and ESA's non-commercial
|
|
114
|
+
Hipparcos terms as a fourth).
|
|
115
|
+
- `README.md`: updates the public entry-point count to eighteen (with
|
|
116
|
+
`@zodiacs/engine/core`), updates the Node 20 line from "a 1.x minor release"
|
|
117
|
+
to "a 2.x minor release", updates the host-probe descriptions to name both
|
|
118
|
+
tzdata 2021a and 2025c, points callers moving from 1.1.0 to
|
|
119
|
+
`docs/migrating-to-2.md`, and adds a summary of six-runtime conformance.
|
|
120
|
+
The span ends were measured again on this build (`span-ends.mjs`:
|
|
121
|
+
`natalChart` last UTC 3998-09-03T05:58:50.816Z, `calc` last UTC
|
|
122
|
+
2199-12-31T23:58:50.815Z). Bundle sizes remain 2.0.0-rc.3's and say so.
|
|
123
|
+
- Unpacked repository documentation updated before this cut (not packed):
|
|
124
|
+
`docs/migrating-to-2.md` with per-break tests in `src/migration-2.0.test.ts`
|
|
125
|
+
(ZOD-338, pull request 133), `docs/versioning.md`, `SECURITY.md`,
|
|
126
|
+
`artifacts/README.md` and `tools/cli/README.md` for 2.x (ZOD-342, pull
|
|
127
|
+
request 137), records-across-the-major evidence in
|
|
128
|
+
`docs/evidence/records-2.0.0-20261120/` (ZOD-337, pull request 132), and
|
|
129
|
+
draft v1.1.0 release notes and tag commands in `docs/releases/` (ZOD-343
|
|
130
|
+
Part A, pull request 135).
|
|
131
|
+
|
|
132
|
+
### Conformance
|
|
133
|
+
|
|
134
|
+
- Regenerated on this build with Node 22.22.2 against conformance suite 0.3.0
|
|
135
|
+
(640 vectors; `conformance/RESULTS.md`,
|
|
136
|
+
`conformance/results/zodiacs-engine.json`,
|
|
137
|
+
`conformance/results/zodiacs-engine-astronomy-engine.json`):
|
|
138
|
+
- Default source (shipped DE440 pack): **569 pass, 0 fail, 71 unsupported,
|
|
139
|
+
0 error** (L1 240/240, L2 150/150, L3 109/110 with 1 unsupported, L4
|
|
140
|
+
70/140 with 70 unsupported). Every verdict matches `main`.
|
|
141
|
+
- Fallback source (`astronomy-engine` 2.1.19): **341 pass, 228 fail, 71
|
|
142
|
+
unsupported, 0 error** (L1 48 pass / 192 fail, L2 150/150, L3 109/110
|
|
143
|
+
with 1 unsupported, L4 34 pass / 36 fail / 70 unsupported). Every verdict
|
|
144
|
+
matches `main`.
|
|
145
|
+
- The 71 unsupported vectors are 1 leap-second instant in L3 (not
|
|
146
|
+
expressible as a JavaScript Date), 30 station vectors in L4 and 40
|
|
147
|
+
lunation vectors in L4: the engine has no public station or lunation
|
|
148
|
+
search API.
|
|
149
|
+
|
|
150
|
+
### Runtimes
|
|
151
|
+
|
|
152
|
+
- Measured on this candidate's build across six runtimes on Linux x64
|
|
153
|
+
(`docs/evidence/runtime-conformance-20261121/`, suite 0.3.0): all 569
|
|
154
|
+
supported verdicts on both root and `@zodiacs/engine/core` agreed with Node
|
|
155
|
+
22.22.2 in Bun 1.4.4, Deno 2.9.6, Chromium 156.0.8078.4, Firefox 157.0 and
|
|
156
|
+
WebKit 27.2 (71 unsupported: 1 leap second, 30 stations, 40 lunations).
|
|
157
|
+
Outputs are not bit-identical in every runtime (root: 458 of 569 identical
|
|
158
|
+
to Node in Bun, Deno, Chromium and WebKit, 569 of 569 in Firefox; core: 468
|
|
159
|
+
in Bun and WebKit, 485 in Deno and Chromium, 540 in Firefox), and synthetic
|
|
160
|
+
receipt digests differ from Node's where outputs differ.
|
|
161
|
+
|
|
162
|
+
### Corrections
|
|
163
|
+
|
|
164
|
+
Carried from `docs/changelog-corrections.md` (item 18; items 15 to 17 were
|
|
165
|
+
carried into 2.0.0-rc.4's `### Corrections`). The 2.0.0-rc.3 entry is left as
|
|
166
|
+
written.
|
|
167
|
+
|
|
168
|
+
- 2.0.0-rc.3, `CHANGELOG.md` lines 44 to 45 ("each nearby span in which
|
|
169
|
+
tzdata 2021a and 2026f differ (703 spans in 77 names)") and lines 118 to
|
|
170
|
+
119 ("the host-probe table compares tzdata 2021a with 2026f"): pull request
|
|
171
|
+
128 adds tzdata 2025c beside 2021a (705 spans in 77 names), flagging a
|
|
172
|
+
2025c host at `Asia/Tehran` and `Iran` on 1979-05-26
|
|
173
|
+
(`docs/evidence/host-zone-probes-20261118/README.md`). `README.md`,
|
|
174
|
+
`NOTICE` and `LICENSING.md` are updated in this candidate.
|
|
175
|
+
|
|
176
|
+
### Sizes and budgets
|
|
177
|
+
|
|
178
|
+
- Measured on this candidate's build
|
|
179
|
+
(`docs/evidence/2.0.0-rc.6-20261121/results/package-contents.log`): all 20
|
|
180
|
+
entry-point import graphs remain inside their 2.0.0-rc.5 budgets (`./geo`
|
|
181
|
+
grew by 9 bytes, from 47,715 to 47,724 of 47,800, for pull request 128's
|
|
182
|
+
Tehran probe). The package beside the DE440 pack is 1,458,962 bytes
|
|
183
|
+
unpacked in 101 files, over the 2.0.0-rc.5 cap of 1,450,000 because of this
|
|
184
|
+
entry, the README updates, `LICENSING.md`, `NOTICE` and the 9-byte probe
|
|
185
|
+
addition. Cap raised to 1,459,000 (the measurement rounded up to the next
|
|
186
|
+
1,000 bytes), for the owner to decide with this candidate
|
|
187
|
+
(`scripts/verify-package-contents.mjs`).
|
|
188
|
+
|
|
189
|
+
## 2.0.0-rc.5 (unreleased candidate)
|
|
190
|
+
|
|
191
|
+
The fifth candidate for **2.0.0**, a major release, on 2.0.0-rc.4 (pull
|
|
192
|
+
request 140, after the rc.4 source commit `4c2bd2c` and the unknown-body
|
|
193
|
+
crossing fix `11960941d`). It is not to be published on npm until the
|
|
194
|
+
owner approves it.
|
|
195
|
+
|
|
196
|
+
rc.4's archive is carried; the crossing fix reaches `dist/`, so by the
|
|
197
|
+
rule in `artifacts/README.md` the package takes a new number and rc.4's
|
|
198
|
+
archive stays, unchanged. The owner approved this candidate on 21 November
|
|
199
|
+
2026. Everything rc.4's entry says holds for rc.5 except where this entry
|
|
200
|
+
says otherwise.
|
|
201
|
+
|
|
202
|
+
### Changed
|
|
203
|
+
|
|
204
|
+
- `searchLongitudeCrossings` and `findLongitudeCrossings` refuse a name
|
|
205
|
+
that is not a body with `RangeError("Unknown body: <name>")` before
|
|
206
|
+
they search, by calling `assertKnownBody` (exported from
|
|
207
|
+
`src/ephemeris.ts`, the check `longitudeOn` and `speedAt` already run).
|
|
208
|
+
Up to rc.4, the wrappers refused the name only when the solver asked a
|
|
209
|
+
longitude, so a zero-length window returned an empty result and a
|
|
210
|
+
search over its sample budget returned the refusal. A known body on
|
|
211
|
+
those same windows is unchanged: a zero-length window is complete and
|
|
212
|
+
empty, and a search over its sample budget is refused for
|
|
213
|
+
`sample-budget`. The DE440 entry's own unknown-body stays a
|
|
214
|
+
`De440Error`. Held by `src/ephemeris-unknown-body.test.ts`. The source
|
|
215
|
+
commit of the fix is `11960941d`.
|
|
216
|
+
|
|
217
|
+
### Documentation
|
|
218
|
+
|
|
219
|
+
- README.md: this candidate's paragraph, archive and install path. The
|
|
220
|
+
span's ends and the README's bundle sizes were not measured again;
|
|
221
|
+
they remain rc.4's and rc.3's respectively, and say so.
|
|
222
|
+
|
|
223
|
+
### Sizes and budgets
|
|
224
|
+
|
|
225
|
+
- Measured on this candidate's build, seven import graphs were over their
|
|
226
|
+
budgets, each by the crossing-search body check (`assertKnownBody` in
|
|
227
|
+
the root wrappers, and its export). Each budget is raised to the
|
|
228
|
+
measurement, rounded up to the next 100 bytes, and no further (old
|
|
229
|
+
budget, rc.4's measurement, this candidate's, new budget):
|
|
230
|
+
|
|
231
|
+
| Entry | Old budget | rc.4 | rc.5 | New budget | Why |
|
|
232
|
+
| --- | ---: | ---: | ---: | ---: | --- |
|
|
233
|
+
| `.` | 154,400 | 154,316 | 154,422 | 154,500 | the crossing-search body check (106) |
|
|
234
|
+
| `./calc` | 205,500 | 205,477 | 205,514 | 205,600 | the crossing-search body check (37) |
|
|
235
|
+
| `./sky` | 140,000 | 139,978 | 140,015 | 140,100 | the crossing-search body check (37) |
|
|
236
|
+
| `./techniques` | 207,800 | 207,704 | 207,810 | 207,900 | the crossing-search body check (106) |
|
|
237
|
+
| `./timing` | 173,700 | 173,619 | 173,725 | 173,800 | the crossing-search body check (106) |
|
|
238
|
+
| `./vedic` | 189,400 | 189,351 | 189,457 | 189,500 | the crossing-search body check (106) |
|
|
239
|
+
| `./window` | 152,900 | 152,874 | 152,911 | 153,000 | the crossing-search body check (37) |
|
|
240
|
+
|
|
241
|
+
Every other graph is inside its budget, unchanged (`./internal`
|
|
242
|
+
112,561 of 112,600; `./core` 110,976 of 111,000). The package beside
|
|
243
|
+
the pack is 1,449,915 bytes unpacked in 101 files, over the cap of
|
|
244
|
+
1,446,200: the body check, this entry and the README's lines. Raised
|
|
245
|
+
to 1,450,000, the measurement rounded up to the next 100 bytes. The
|
|
246
|
+
budgets and the cap are for the owner to decide with the candidate
|
|
247
|
+
(`scripts/verify-package-contents.mjs`).
|
|
248
|
+
|
|
249
|
+
## 2.0.0-rc.4 (unreleased candidate)
|
|
250
|
+
|
|
251
|
+
The fourth candidate for **2.0.0**, a major release, on 2.0.0-rc.3 (main at
|
|
252
|
+
`900455f`, after pull request 139), with three fixes. It is not to be
|
|
253
|
+
published on npm until the owner approves it. Checks:
|
|
254
|
+
`docs/evidence/2.0.0-rc.4-20261120/`.
|
|
255
|
+
|
|
256
|
+
rc.3's archive is carried, and npm has carried rc.3 under `next` since
|
|
257
|
+
2026-11-17 (not tagged); these fixes reach `dist/` and the packed README, so
|
|
258
|
+
by the rule in `artifacts/README.md` the package takes a new number and
|
|
259
|
+
rc.3's archive stays, unchanged. The owner approved the fixes and this
|
|
260
|
+
candidate on 20 November 2026. Everything rc.1's, rc.2's and rc.3's entries
|
|
261
|
+
say holds for rc.4 except where this entry says otherwise.
|
|
262
|
+
|
|
263
|
+
### Changed
|
|
264
|
+
|
|
265
|
+
- `require()` of `@zodiacs/engine` or of any of its entry points throws an
|
|
266
|
+
`Error` with code `ERR_ZODIACS_ESM_ONLY`, whose message says to use
|
|
267
|
+
`import`, or `await import("@zodiacs/engine")` from CommonJS. Up to rc.3
|
|
268
|
+
Node threw its own `ERR_PACKAGE_PATH_NOT_EXPORTED` ("No "exports" main
|
|
269
|
+
defined"). Each of the 20 entries in `exports` gains a `"require"`
|
|
270
|
+
condition, after `"import"`, that points at `dist/esm-only.cjs`, a file
|
|
271
|
+
that throws that error and does nothing else; `files` packs it. There is
|
|
272
|
+
still no CommonJS build and no `"default"` condition. A tool that resolves
|
|
273
|
+
with the `require` condition (Jest in CommonJS mode, a bundler compiling
|
|
274
|
+
`require()` calls) now gets this error in place of Node's: both fail, and
|
|
275
|
+
this one says what to do. Held by `scripts/esm-only.test.mjs`, the export
|
|
276
|
+
smoke test and the packed-consumer check, which requires every entry point
|
|
277
|
+
from CommonJS and loads the package with `import()` from CommonJS.
|
|
278
|
+
- A name that is not a body is a `RangeError` on the default source. The
|
|
279
|
+
root refuses it with `RangeError("Unknown body: <name>")` before any
|
|
280
|
+
source is asked, in `searchLongitudeCrossings` and
|
|
281
|
+
`findLongitudeCrossings`, and in `./internal`'s `bodyLongitude`,
|
|
282
|
+
`longitudeSpeed` and their `...Detailed` forms, whether the source is the
|
|
283
|
+
shipped DE440 pack, astronomy-engine or a caller's pack given with
|
|
284
|
+
`withEphemeris`. Up to rc.3, on the default source, the DE440 reader's
|
|
285
|
+
`De440Error` (code `unknown-body`) reached the caller, which a caller that
|
|
286
|
+
catches only `RangeError` did not catch; nothing was computed either way.
|
|
287
|
+
`@zodiacs/engine/de440`'s own source keeps `De440Error` for a body it does
|
|
288
|
+
not place. Held by `src/ephemeris-unknown-body.test.ts`; the adversarial
|
|
289
|
+
case BAD-56 now expects `RangeError`.
|
|
290
|
+
|
|
291
|
+
### Documentation
|
|
292
|
+
|
|
293
|
+
- README.md: the *Configurable aspects* and *Declinations and parallels*
|
|
294
|
+
examples import `natalChart` and build their own chart, so they run as
|
|
295
|
+
pasted; `src/readme-snippets.test.ts` runs both. The install notes say
|
|
296
|
+
what `require()` does. This candidate's paragraph, archive and evidence
|
|
297
|
+
folder. The span's ends were measured again on this build with
|
|
298
|
+
`docs/evidence/continuous-utc-20261117/span-ends.mjs` and are the same to
|
|
299
|
+
the millisecond as on rc.3 (natalChart's last UTC
|
|
300
|
+
3998-09-03T05:58:50.816Z, calc's 2199-12-31T23:58:50.815Z;
|
|
301
|
+
`docs/evidence/2.0.0-rc.4-20261120/results/span-ends.json`).
|
|
302
|
+
- The README's bundle sizes are rc.3's, measured on rc.3's archive, and say
|
|
303
|
+
so; they were not measured again for this candidate.
|
|
304
|
+
|
|
305
|
+
### Corrections
|
|
306
|
+
|
|
307
|
+
Carried from `docs/changelog-corrections.md` (items 15 to 17). The entries
|
|
308
|
+
they correct are left as written.
|
|
309
|
+
|
|
310
|
+
- 2.0.0-rc.3, the heading "unreleased candidate" and "It is a draft for the
|
|
311
|
+
owner's review": rc.3 was published to npm on 2026-11-17 under `next`,
|
|
312
|
+
with 1.1.0 still under `latest`; it has no git tag and no GitHub release
|
|
313
|
+
(`docs/evidence/changelog-corrections-20261118/records.md`). True when
|
|
314
|
+
written. The rest of that sentence, "and is not to be published on npm
|
|
315
|
+
until the owner approves it", stands. The README's rc.3 paragraph said
|
|
316
|
+
the same ("is a draft for the owner's review and is not published to
|
|
317
|
+
npm"); this candidate's paragraph replaces it.
|
|
318
|
+
- 2.0.0-rc.3, pull request 121 (`@zodiacs/engine/core`): "the root is
|
|
319
|
+
unchanged". The root's results, names and types are unchanged; its import
|
|
320
|
+
graph grew by 109 bytes because the shared ephemeris chunk grew by that
|
|
321
|
+
amount, as the same entry's size table says for `.`, `./calc`,
|
|
322
|
+
`./internal`, `./sky`, `./timing`, `./vedic` and `./window`.
|
|
323
|
+
|
|
324
|
+
### Sizes and budgets
|
|
325
|
+
|
|
326
|
+
- Measured on this candidate's build
|
|
327
|
+
(`docs/evidence/2.0.0-rc.4-20261120/results/package-contents.log`), nine
|
|
328
|
+
import graphs were over their budgets, each by the 143 bytes the body
|
|
329
|
+
check adds to every graph that holds `src/ephemeris.ts`; the root had 27
|
|
330
|
+
bytes to spare. Each budget is raised to the measurement, rounded up to
|
|
331
|
+
the next 100 bytes, and no further (old budget, rc.3's measurement, this
|
|
332
|
+
candidate's, new budget):
|
|
333
|
+
|
|
334
|
+
| Entry | Old budget | rc.3 | rc.4 | New budget | Why |
|
|
335
|
+
| --- | ---: | ---: | ---: | ---: | --- |
|
|
336
|
+
| `.` | 154,200 | 154,173 | 154,316 | 154,400 | the body check (143) |
|
|
337
|
+
| `./calc` | 205,400 | 205,334 | 205,477 | 205,500 | the body check (143) |
|
|
338
|
+
| `./core` | 110,800 | 110,765 | 110,908 | 111,000 | the body check (143) |
|
|
339
|
+
| `./internal` | 112,400 | 112,381 | 112,524 | 112,600 | the body check (143) |
|
|
340
|
+
| `./sky` | 139,900 | 139,835 | 139,978 | 140,000 | the body check (143) |
|
|
341
|
+
| `./techniques` | 207,600 | 207,561 | 207,704 | 207,800 | the body check (143) |
|
|
342
|
+
| `./timing` | 173,500 | 173,476 | 173,619 | 173,700 | the body check (143) |
|
|
343
|
+
| `./vedic` | 189,300 | 189,208 | 189,351 | 189,400 | the body check (143) |
|
|
344
|
+
| `./window` | 152,800 | 152,731 | 152,874 | 152,900 | the body check (143) |
|
|
345
|
+
|
|
346
|
+
Every other graph is inside its budget, unchanged. The package beside the
|
|
347
|
+
pack is 1,446,177 bytes unpacked in 101 files, over the cap of 1,438,000:
|
|
348
|
+
the body check, `dist/esm-only.cjs`, the 20 `"require"` conditions in
|
|
349
|
+
`package.json`, this entry and the README's lines. Raised to 1,446,200,
|
|
350
|
+
the measurement rounded up to the next 100 bytes. The budgets and the cap
|
|
351
|
+
are for the owner to decide with the candidate
|
|
352
|
+
(`scripts/verify-package-contents.mjs`).
|
|
353
|
+
|
|
354
|
+
## 2.0.0-rc.3 (unreleased candidate)
|
|
355
|
+
|
|
356
|
+
The third candidate for **2.0.0**, a major release, on 2.0.0-rc.2 (main at
|
|
357
|
+
`373ceda`, where pull request 112 merged rc.2). It is a draft for the
|
|
358
|
+
owner's review and is not to be published on npm until the owner approves
|
|
359
|
+
it. Checks: `docs/evidence/2.0.0-rc.3-20261117/`.
|
|
360
|
+
|
|
361
|
+
rc.2's archive is carried and its version was never tagged or published;
|
|
362
|
+
these changes reach `dist/`, so by the rule in `artifacts/README.md` the
|
|
363
|
+
package takes a new number and rc.2's archive stays, unchanged. rc.3 is
|
|
364
|
+
rc.2 with six pull requests merged into it, each with a merge commit, in
|
|
365
|
+
this order: 114, 115, 117, 118, 119 and 121. The owner chose this set on
|
|
366
|
+
17 November 2026 ("Yes, minus Yellowknife"): pull request 118 ships with
|
|
367
|
+
America/Yellowknife held at tzdata 2025c, and pull requests 120 and 122 are
|
|
368
|
+
not in it. Everything rc.1's and rc.2's entries say holds for rc.3 except
|
|
369
|
+
where this entry says otherwise.
|
|
370
|
+
|
|
371
|
+
### Breaking
|
|
372
|
+
|
|
373
|
+
- **Birth input refuses common near-miss names for a field** (pull
|
|
374
|
+
request 115). Birth input now refuses, with a `RangeError` that names the
|
|
375
|
+
field to use, these common names for a field, in any letter case: `lat`
|
|
376
|
+
(use `latitude`); `lng`, `lon`, `long` (`longitude`); `house`, `houses`,
|
|
377
|
+
`hsys`, `housesystem` (`houseSystem`); `scale`, `time_scale`
|
|
378
|
+
(`timeScale`); `delta_t` (`deltaT`); `time_known`, `unknownTime`
|
|
379
|
+
(`timeKnown`). They were ignored, so `{ utc, lat, lng }` gave a chart with
|
|
380
|
+
no angles and no error. Other unknown keys are still ignored. A call that
|
|
381
|
+
returned a chart before now throws.
|
|
382
|
+
|
|
383
|
+
### Added
|
|
384
|
+
|
|
385
|
+
- **Julian Day Numbers and local mean time** (pull request 114). Added:
|
|
386
|
+
`julianDayNumber`, `dateOfJulianDayNumber` and `localMeanTimeOffset` in
|
|
387
|
+
`@zodiacs/engine/geo`, the Julian Day Number of a Julian or proleptic
|
|
388
|
+
Gregorian date and its inverse for years -100000 to 100000, and a
|
|
389
|
+
longitude's local mean time in seconds east of Greenwich; the conformance
|
|
390
|
+
suite's 35 calendar vectors and 5 local mean time vectors now pass. The
|
|
391
|
+
`./geo` budget rises to fit them.
|
|
392
|
+
- **`host-zone-data-differs`** (pull request 117, ZOD-283). From 1970 on a
|
|
393
|
+
wall time is read on the device's own time zone data; `resolveLocalToUtc`
|
|
394
|
+
and the birth resolvers now ask that data for its offset at one instant
|
|
395
|
+
inside each nearby span in which tzdata 2021a and 2026f differ (703 spans
|
|
396
|
+
in 77 names, from 1970 to 2029-10-27, and not past it), and where it
|
|
397
|
+
disagrees with 2026f the result, the birth, the chart and a receipt carry
|
|
398
|
+
the new `ChartFlag` value `"host-zone-data-differs"` and `zone.hostCheck`
|
|
399
|
+
gives both offsets; the instant is still the device's, so code that
|
|
400
|
+
switches exhaustively over `ChartFlag` needs a case for it
|
|
401
|
+
(`docs/time.md`, *Host time zone data*;
|
|
402
|
+
`docs/evidence/host-zone-probes-20261117/`). A span is checked from 36
|
|
403
|
+
hours before it begins, inclusive, to 36 hours after it ends, exclusive,
|
|
404
|
+
so an instant exactly 36 hours past the end, or 36 hours or more after
|
|
405
|
+
2029-10-27T00:00Z, is not checked; `docs/time.md` said "more than" 36
|
|
406
|
+
hours, and now follows the code (the review's note on pull request 117).
|
|
407
|
+
- **`@zodiacs/engine/core`** (pull request 121, ZOD-292). Adds
|
|
408
|
+
`@zodiacs/engine/core`, the root's functions computed on astronomy-engine
|
|
409
|
+
without the DE440 pack: a page that uses `natalChart` from it bundles
|
|
410
|
+
77,042 to 80,192 bytes instead of 3,416,191 to 3,418,817
|
|
411
|
+
(`docs/evidence/2.0.0-rc.3-20261117/results/bundle-weight/`, measured on
|
|
412
|
+
this candidate's archive; pull request 121 measured 75,937 to 79,084 and
|
|
413
|
+
3,415,068 to 3,417,703, `docs/evidence/bundle-weight-20261117/`), and its
|
|
414
|
+
positions pass 48 of the 240 L1 position tests where the root's pass 240;
|
|
415
|
+
the root is unchanged. Raises the package's total cap for the entry's
|
|
416
|
+
second copy of the root's code, with the owner's approval of 17 Nov 2026
|
|
417
|
+
(*Sizes and budgets*, below).
|
|
418
|
+
|
|
419
|
+
### Changed
|
|
420
|
+
|
|
421
|
+
- **UTC after the IERS UT1 table** (pull request 119, ZOD-281). After the
|
|
422
|
+
IERS UT1 table (2027-10-02), UTC is read on the continuous-UTC rule:
|
|
423
|
+
TT = UTC + 69.184 s, UT1 from the ΔT model; time basis `continuous-utc`,
|
|
424
|
+
UT1 − UTC source `model`, new natal conventions sets requiring
|
|
425
|
+
`time-basis-continuous-utc`. Results move for every unpinned UTC instant
|
|
426
|
+
after 2027-10-02 (positions, angles, houses, returns, windows). Records
|
|
427
|
+
with the new sets are refused by 1.1.0 and 2.0.0-rc.2 as
|
|
428
|
+
`unsupported_feature`; `CONTINUOUS_UTC_RELEASE` in `src/receipt.ts`, the
|
|
429
|
+
first engine version a continuous-UTC set is accepted from, is
|
|
430
|
+
`2.0.0-rc.3`, this candidate. On UTC input after the table calc's
|
|
431
|
+
geocentric bounds and `events()`' timing bound no longer widen (on the DE440
|
|
432
|
+
pack the Moon at 2199 is 0.51″ from JPL Horizons, was 28.26″). The last UTC instant
|
|
433
|
+
`natalChart` accepts moves from 3998-09-03T02:01:41.309Z to
|
|
434
|
+
3998-09-03T05:58:50.816Z, and calc's from 2199-12-31T23:57:53.752Z to
|
|
435
|
+
2199-12-31T23:58:50.815Z, measured again on this candidate's archive
|
|
436
|
+
(`docs/evidence/2.0.0-rc.3-20261117/results/span-ends.json`). Speeds
|
|
437
|
+
within 6 hours of 2027-10-02 move by up to 3.6e-7 °/day (the
|
|
438
|
+
astronomy-engine node 3.8e-6) against rc.2, and the 146 ms after the table
|
|
439
|
+
on UTC input read the predicted ΔT segment, unflagged
|
|
440
|
+
(`docs/evidence/continuous-utc-20261117/`).
|
|
441
|
+
- **Zone histories from tzdata 2026f** (pull request 118). The zone history
|
|
442
|
+
shipped for wall times before 1970 is now tzdata 2026f, not 2025c, except
|
|
443
|
+
America/Yellowknife, held at tzdata 2025c by the owner's decision because
|
|
444
|
+
no tzdb NEWS entry or other official announcement explains 2026f's change
|
|
445
|
+
to it. Offsets change in 23 zone names: Europe/Dublin and Eire read +0:00,
|
|
446
|
+
not +1:00, from 1925-09-20T02:00Z to 1925-10-04T02:00Z (336 hours); 21
|
|
447
|
+
Brazilian names keep daylight saving one hour longer on 1965-03-31 (24
|
|
448
|
+
hours) and 1966-03-01 (1 hour). EST5EDT, CST6CDT, MST7MDT and PST8PDT name
|
|
449
|
+
1942 to 1945 summer time EDT, CDT, MDT and PDT and no longer record a
|
|
450
|
+
transition on 1945-08-14; Europe/Uzhgorod and Europe/Zaporozhye follow
|
|
451
|
+
Kyiv's local mean time era and report dataForm main+backzone; Morocco's
|
|
452
|
+
and Western Sahara's 2026-09-20 move to +00 reads as a legal change on
|
|
453
|
+
hosts that know it (`docs/evidence/tzdb-2026f-20261117/`).
|
|
454
|
+
America/Yellowknife's results before 1970 equal rc.2's, but its
|
|
455
|
+
`tzdbVersion` field reads `2026f`, as every zone's does, though its data
|
|
456
|
+
is tzdata 2025c's (`scripts/tzdb-held/`).
|
|
457
|
+
|
|
458
|
+
### Documentation
|
|
459
|
+
|
|
460
|
+
- README.md: this candidate's paragraph, archive and evidence folder; the
|
|
461
|
+
three new `geo` functions; *Birth settings* on the refused near-miss
|
|
462
|
+
names; *Input flag compatibility*, all twelve `ChartFlag` values, with
|
|
463
|
+
`host-zone-data-differs` among the five caller assertions; the time basis
|
|
464
|
+
after 2027-10-02, the window seam there (TT runs on, UT1 steps about
|
|
465
|
+
2 ms), the bands and the span's ends; the zone histories on tzdata 2026f
|
|
466
|
+
with America/Yellowknife held, and the host check; *Bundle size in a web
|
|
467
|
+
page*, measured again on this candidate's archive.
|
|
468
|
+
- NOTICE and LICENSING.md: the zone histories are tzdata 2026f's, with
|
|
469
|
+
America/Yellowknife from tzdata 2025c, and the host-probe table compares
|
|
470
|
+
tzdata 2021a with 2026f; each with its archive's SHA-256.
|
|
471
|
+
- `docs/time.md`: the host check's 36-hour window, inclusive at its start and
|
|
472
|
+
exclusive at its end, as above. `docs/calc.md`, `docs/time.md` and
|
|
473
|
+
`src/types.ts` name 2.0.0-rc.3 or 2.0.0 where they said "the release
|
|
474
|
+
after 2.0.0-rc.2" or "the release after 1.1.0".
|
|
475
|
+
- Conformance: this engine's results (`conformance/results/`, `RESULTS.md`)
|
|
476
|
+
were regenerated with the harness on Node 22.22.2 and name 2.0.0-rc.3 and
|
|
477
|
+
tzdb 2026f. Default source: 499 pass, 0 fail, 1 unsupported (the leap
|
|
478
|
+
second instant, which a JavaScript date cannot express); on
|
|
479
|
+
astronomy-engine 307 pass, 192 fail, 1 unsupported, 48 of the 240
|
|
480
|
+
positions passing. No verdict differs from the pull requests' own runs.
|
|
481
|
+
- The offline CLI consumer check (`tools/cli/`) held the carried 1.0.0-rc.2
|
|
482
|
+
archive's verdicts to this engine's astronomy-engine results, which now
|
|
483
|
+
pass the 40 vectors that archive cannot answer. It now reads its own
|
|
484
|
+
pinned baseline, `tools/cli/baselines/engine-1.0.0-rc.2-node-22.22.2.json`,
|
|
485
|
+
the 500 verdicts of that file at `373ceda` (267 pass, 192 fail, 41
|
|
486
|
+
unsupported), as pull request 114 asked the candidate to settle.
|
|
487
|
+
|
|
488
|
+
### Sizes and budgets
|
|
489
|
+
|
|
490
|
+
- Measured on this candidate's build
|
|
491
|
+
(`docs/evidence/2.0.0-rc.3-20261117/results/package-contents.log`), twelve
|
|
492
|
+
import graphs were over their budgets. Each budget is raised to the
|
|
493
|
+
measurement, rounded up to the next 100 bytes, and no further (old budget,
|
|
494
|
+
rc.2's measurement, this candidate's, new budget):
|
|
495
|
+
|
|
496
|
+
| Entry | Old budget | rc.2 | rc.3 | New budget | Why |
|
|
497
|
+
| --- | ---: | ---: | ---: | ---: | --- |
|
|
498
|
+
| `.` | 151,700 | 151,563 | 154,173 | 154,200 | 115 (565), 117 (26), 119 (1,910), 121 (109) |
|
|
499
|
+
| `./calc` | 204,100 | 203,138 | 205,334 | 205,400 | 119 (2,061), 117 (26), 121 (109) |
|
|
500
|
+
| `./core` | 109,600 | (none) | 110,765 | 110,800 | 121's entry, now with 115, 117 and 119 |
|
|
501
|
+
| `./geo` | 36,500 | 36,178 | 47,715 | 47,800 | 117's probe table and check, 114's functions |
|
|
502
|
+
| `./internal` | 110,900 | 110,362 | 112,381 | 112,400 | 119 (1,910), 121 (109) |
|
|
503
|
+
| `./receipt` | 77,400 | 76,845 | 81,110 | 81,200 | 119's conventions sets (3,926), 117's flag (339) |
|
|
504
|
+
| `./sky` | 138,600 | 137,816 | 139,835 | 139,900 | 119 (1,910), 121 (109) |
|
|
505
|
+
| `./techniques` | 207,300 | 205,247 | 207,561 | 207,600 | 119, 114, 115 and 121; 117 moved the probe table out (−1,393) |
|
|
506
|
+
| `./time` | 42,600 | 42,530 | 44,485 | 44,500 | 119 (1,955) |
|
|
507
|
+
| `./timing` | 171,200 | 170,866 | 173,476 | 173,500 | 119 (1,910), 115 (565), 121 (109), 117 (26) |
|
|
508
|
+
| `./vedic` | 187,100 | 186,598 | 189,208 | 189,300 | 119 (1,910), 115 (565), 121 (109), 117 (26) |
|
|
509
|
+
| `./window` | 151,500 | 150,577 | 152,731 | 152,800 | 119 (2,019), 121 (109), 117 (26) |
|
|
510
|
+
|
|
511
|
+
Every other graph is inside its budget, unchanged; the zone histories are
|
|
512
|
+
188,964 bytes of their 200,000. The package beside the pack is
|
|
513
|
+
1,437,512 bytes unpacked in 100 files, over the cap of 1,289,000:
|
|
514
|
+
the second copy of the root's code in `dist/core.js` and its declarations
|
|
515
|
+
(pull request 121), the other five pull requests' code and declarations,
|
|
516
|
+
this entry and the README's, NOTICE's and LICENSING.md's lines. Raised to
|
|
517
|
+
1,438,000, the measurement rounded up to the next 1,000 bytes; the owner
|
|
518
|
+
approved raising the cap for the core entry on 17 November 2026. The
|
|
519
|
+
entry budgets are for the owner to decide with the candidate
|
|
520
|
+
(`scripts/verify-package-contents.mjs`).
|
|
521
|
+
|
|
3
522
|
## 2.0.0-rc.2 (unreleased candidate)
|
|
4
523
|
|
|
5
524
|
The second candidate for **2.0.0**, a major release, on 1.1.0 (main at
|
package/LICENSING.md
CHANGED
|
@@ -8,22 +8,28 @@ NAIF's rules permit redistributing its kernels unmodified but do not speak of
|
|
|
8
8
|
data refitted from one, so shipping the pack rests on the owner's reading and
|
|
9
9
|
not on a statement of JPL's or NAIF's. On 2026-11-16 the owner answered, in
|
|
10
10
|
writing, the question "Do you accept shipping the NASA DE440 data in 1.1.0?"
|
|
11
|
-
with "Yes. I delegate these decisions to you." (*DE440 pack*).
|
|
12
|
-
questions are left open for the owner
|
|
13
|
-
|
|
14
|
-
repository carries
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
with "Yes. I delegate these decisions to you." (*DE440 pack*). Four
|
|
12
|
+
questions are left open for the owner. As they were at 1.1.0, the terms for
|
|
13
|
+
IERS EOP 20 C04 redistribution remain unconfirmed for both the 367 rows the
|
|
14
|
+
repository carries and the values the package derives from them (*IERS
|
|
15
|
+
data*), the CDS's terms leave commercial use of the 20 star values it
|
|
16
|
+
supplies unresolved, and no terms were read for the two values from Reid
|
|
17
|
+
and Brunthaler. The fourth question is whether ESA's non-commercial
|
|
18
|
+
terms reach the 15 values from the Hipparcos new reduction through VizieR
|
|
19
|
+
(*Timing and Vedic values*). On 2026-11-20 at 10:37 Asia/Bangkok, the owner
|
|
20
|
+
answered "Re-accept the licence questions and add Hipparcos as a 4th."
|
|
21
|
+
The decision record gives the superseding answer at 11:16 Asia/Bangkok:
|
|
22
|
+
"ship 2.0.0 with the open licence questions NOTED, not settled and NOT
|
|
23
|
+
recorded as re-accepted: IERS, CDS, Reid and Brunthaler, plus ESA's
|
|
24
|
+
non-commercial Hipparcos terms noted as a fourth."
|
|
20
25
|
|
|
21
26
|
SPDX licence expression: `MIT AND CC-BY-4.0`. The code is MIT (`LICENSE`). The
|
|
22
27
|
package's ΔT module, exported as `@zodiacs/engine/deltat`, carries 32 values
|
|
23
28
|
of Table S15 of Stephenson, Morrison & Hohenkerk 2016, which are CC BY 4.0
|
|
24
29
|
(see *ΔT data* below), with their attribution in `NOTICE`. The build places
|
|
25
30
|
that module in a shared chunk under `dist/`, which `dist/deltat.js`
|
|
26
|
-
re-exports
|
|
31
|
+
re-exports, and a copy of it in `dist/core.js`, the file of
|
|
32
|
+
`@zodiacs/engine/core`. Both licences apply to the package as distributed. From
|
|
27
33
|
0.1.1-rc.8, which added those values, to 0.1.1-rc.13, `package.json` declared
|
|
28
34
|
`MIT` alone; 0.1.1-rc.14 corrected it.
|
|
29
35
|
|
|
@@ -123,6 +129,8 @@ equator of date, its sidereal time or its observer functions (`ObserverVector`,
|
|
|
123
129
|
(`precession_rot`, from J2000.0) line for line, and `src/calc-reduce.ts` its
|
|
124
130
|
observer on the ellipsoid (`terra`), under the same MIT notice, which `NOTICE`
|
|
125
131
|
carries, and the nutation is the engine's own (*Nutation* below).
|
|
132
|
+
`dist/core.js`, the file of `@zodiacs/engine/core`, carries its own copy of
|
|
133
|
+
`src/frame.ts`, and so of `precession_rot`.
|
|
126
134
|
|
|
127
135
|
Repository and dependency searches found no Swiss Ephemeris runtime import,
|
|
128
136
|
package dependency, vendored source, or generated lookup table in this npm
|
|
@@ -284,7 +292,8 @@ terms. The build places them in a shared chunk under `dist/` that the
|
|
|
284
292
|
ephemeris chunk, `dist/time.js` and `dist/de440.js` import, so the graphs of
|
|
285
293
|
the root, `./calc`, `./de440`, `./internal`, `./sky`, `./techniques`,
|
|
286
294
|
`./time`, `./timing`, `./vedic` and `./window` load them, and so does that
|
|
287
|
-
of `./de440/pack`, which opens its pack with `./de440
|
|
295
|
+
of `./de440/pack`, which opens its pack with `./de440`. `dist/core.js`, the
|
|
296
|
+
file of `@zodiacs/engine/core`, carries its own copy of them.
|
|
288
297
|
`@zodiacs/engine/de440` sums the same terms in the order the research
|
|
289
298
|
runtime of zodiacs.org sums them. The model is D. D.
|
|
290
299
|
McCarthy and B. J. Luzum, "An abridged model of the precession-nutation of
|
|
@@ -324,16 +333,33 @@ which are CC BY 4.0. Downstream users who host or redistribute that data are
|
|
|
324
333
|
instructed to retain `NOTICE`. The country names in the Gregorian adoption
|
|
325
334
|
table come from tzdata, not from GeoNames (next section but one).
|
|
326
335
|
|
|
327
|
-
Its zone histories before 1970 (`dist/tzdb-
|
|
328
|
-
`
|
|
336
|
+
Its zone histories before 1970 (`dist/tzdb-2026f-*.js`, from 2.0.0-rc.3;
|
|
337
|
+
`dist/tzdb-2025c-*.js` through 2.0.0-rc.2) are compiled by
|
|
338
|
+
`scripts/build-tz-shards.mjs` from tzdata 2026f with backzone, which the tz
|
|
329
339
|
project places in the public domain; the script checks the archive's SHA-256.
|
|
330
|
-
|
|
340
|
+
America/Yellowknife's history is compiled from tzdata 2025c's four backzone
|
|
341
|
+
lines that define it, held there by the owner's decision and committed in
|
|
342
|
+
`scripts/tzdb-held/yellowknife-2025c.zi`, whose SHA-256 the script also
|
|
343
|
+
checks; that release is in the public domain too.
|
|
344
|
+
From 1970 conversion uses the host's `Intl`/ICU data, which `./geo` checks
|
|
345
|
+
against a table of the spans in which tzdata 2021a or 2025c gives a different
|
|
346
|
+
offset from 2026f (`src/geo/host-probes-data.ts`).
|
|
347
|
+
`scripts/build-host-zone-probes.mjs` compiles the table from these
|
|
348
|
+
public-domain releases and checks their SHA-256 digests:
|
|
349
|
+
|
|
350
|
+
- `tzdata2021a.tar.gz` (SHA-256
|
|
351
|
+
`39e7d2ba08c68cbaefc8de3227aab0dec2521be8042cf56855f7dc3a9fb14e08`)
|
|
352
|
+
- `tzdata2025c.tar.gz` (SHA-256
|
|
353
|
+
`4aa79e4effee53fc4029ffe5f6ebe97937282ebcdf386d5d2da91ce84142f957`)
|
|
354
|
+
- `tzdata2026f.tar.gz` (SHA-256
|
|
355
|
+
`01b4a91cec5167ed48c11e8ab78f2048cead78ce94b0cafcad0ae8c5a3044d3d`)
|
|
331
356
|
|
|
332
357
|
## Leap-second and UT1 data
|
|
333
358
|
|
|
334
359
|
`src/time-scale-data.ts` holds the time basis's two IERS tables, which the
|
|
335
360
|
import graphs of the root entry and of `@zodiacs/engine/time` under `dist/`
|
|
336
|
-
carry
|
|
361
|
+
carry, and so does `dist/core.js`, the file of `@zodiacs/engine/core`.
|
|
362
|
+
`scripts/build-time-scales.mjs`
|
|
337
363
|
builds it from inputs committed in `scripts/time-scale-sources/` and checks
|
|
338
364
|
each one's SHA-256:
|
|
339
365
|
|
|
@@ -430,7 +456,7 @@ under `dist/` that `dist/geo.js` and `dist/techniques.js` import. Its dates
|
|
|
430
456
|
and names come from public-domain sources only:
|
|
431
457
|
|
|
432
458
|
- the `calendars` file of tzdata 2025c (the archive whose SHA-256 the zone
|
|
433
|
-
histories
|
|
459
|
+
histories pinned through 2.0.0-rc.2), which says of itself "This file is in the public domain",
|
|
434
460
|
and whose list quotes H. Grotefend, *Taschenbuch der Zeitrechnung des
|
|
435
461
|
deutschen Mittelalters und der Neuzeit*, edited by O. Grotefend (Hannover:
|
|
436
462
|
Hahnsche Buchhandlung, 1941), pp. 26–28;
|
|
@@ -487,6 +513,19 @@ for them were read. The attribution in `NOTICE` meets the CDS citation terms;
|
|
|
487
513
|
whether a commercial use needs more than attribution is not settled by these
|
|
488
514
|
sources.
|
|
489
515
|
|
|
516
|
+
ESA distributes its 1997 Hipparcos and Tycho Catalogues under CC BY-NC 3.0
|
|
517
|
+
IGO. The package takes its Hipparcos values from F. van Leeuwen's 2007 new
|
|
518
|
+
reduction (VizieR I/311). ESA hosts a copy of that VizieR catalogue in its
|
|
519
|
+
legacy archive and distributes data hosted in its Space Science Archives
|
|
520
|
+
under CC BY-NC 3.0 IGO. Those archive terms call for authorisation before
|
|
521
|
+
commercial use and give the Hipparcos credit line as "Credit: ESA".
|
|
522
|
+
Whether those terms reach the 15 individual values obtained through VizieR
|
|
523
|
+
is open. `NOTICE` credits ESA as the origin of the mission data.
|
|
524
|
+
ESA pages read 2026-11-20:
|
|
525
|
+
<https://www.cosmos.esa.int/web/hipparcos/catalogues>,
|
|
526
|
+
<https://www.cosmos.esa.int/web/hipparcos/hipparcos-2> and
|
|
527
|
+
<https://www.cosmos.esa.int/web/esdc/terms-and-conditions#TC1>.
|
|
528
|
+
|
|
490
529
|
## Calculation entry values
|
|
491
530
|
|
|
492
531
|
`@zodiacs/engine/calc` (`dist/calc.js` and the chunks it imports) carries the
|