Skip to content

Releases

stkcraft-time v0.2.1

Choose a tag to compare

@github-actions github-actions released this 13 Nov 06:39

stkcraft-time 0.2.1

This documentation maintenance release corrects the Python and JavaScript
support matrix for native partition-aware SCLK and WebGeocalc GPS week/TOW
methods. It also distinguishes WGC MCP tools that accept an LSK from legacy
GPS tools that do not. The calculation code and its numerical contracts are
unchanged. A regression check detects the two previously misleading claims.

The Rust crate and language adapter release metadata are synchronized to
0.2.1. See the support matrix for artifact and publication
status and the API guide for the exercised numerical scope.

stkcraft-time v0.2.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 18:15

stkcraft-time 0.2.0

Release date: 2026-11-13

This release adds explicit WebGeocalc-shaped GPS week/TOW input, GPS seconds
conversion and calendar output in Rust, Python, JavaScript and MCP. It also
adds native-style partitioned SCLK string/ET methods that preserve tested
native error symbols, and prevents unrepresentable SCLK-to-TAI results from
panicking. Captured NASA responses and independent CSPICE N0067 fixtures
record the tested values, kernel hashes, output bits and limits.

Migration

This is a breaking 0.x minor release. Rust code exhaustively matching
WgcGpsError must handle InvalidFormat. MCP et_to_sclk now respects
single-partition metadata, including its partition prefix, and reports
native conversion errors instead of returning an absent clock string.
Downstream Cargo dependencies must explicitly accept version 0.2. Raw Rust
native SCLK-to-ET may return a non-finite value observed from CSPICE; checked
Python and JavaScript ET wrappers reject non-finite values.

The recorded inputs are finite samples and do not establish complete
WebGeocalc or cross-platform parity. Generic WGC request dispatch, CUSTOM
pictures and other unsupported formats remain documented limitations.
See tests/reference/wgc-gps-input/README.md and
tests/reference/sclk-partition/README.md for provenance and reproduction.

stkcraft-time v0.1.34

Choose a tag to compare

@github-actions github-actions released this 12 Nov 15:22

stkcraft-time 0.1.34

Release date: 2026-11-12

This release adds wgc_gps::gps_seconds_to_week_tow and its Python binding
for the exercised WebGeocalc GPS-seconds-to-week/TOW display path. It uses
an explicit LSK and the observed N0067 TAI→TDB→TAI binary64 operation order.
The displayed week saturates whole GPS seconds to i32 before integer division;
the full remainder uses shortest-decimal half-away rounding to six places,
including signed zero and a rounded 604800-second remainder without carry.
Python rejects integers that would silently lose precision in binary64.
The tested non-finite GPS inputs return the WGC display string 0, NaN;
it is not a valid numeric epoch.

The reference corpus contains 1,289 WGC2 output cases, a second 22-request
replay with 1,325 rows, and independent CSPICE intermediate-bit captures.
These results cover selected inputs and a server-managed kernel set; they do
not establish exhaustive WebGeocalc, kernel or cross-platform parity. GPS
week-string input, other WGC time formats, and the corresponding JavaScript
binding remain open. See tests/reference/wgc-gps/README.md for hashes,
raw-response limitations and reproduction instructions.

stkcraft-time v0.1.33

Choose a tag to compare

@github-actions github-actions released this 12 Nov 13:58

stkcraft-time 0.1.33

Release date: 2026-11-12

This release adds native-style type-1 partitioned SCLK string conversion
and fixes selected N0067 discrete tick and partition-boundary behavior. Rust,
MCP and Python use the same core paths. An explicit SclkStringContext
retains native component-parser history; a fresh context starts a separate
history. MCP retains it per stdio session.

Time-conversion bounds round accumulated raw partition durations. String
encoding follows SCENCD endpoint rounding, so the two domains can differ.
Legacy field-vector helpers retain their existing partition restrictions.
For a partitioned MCP ET query, ticks is null when continuous conversion
fails but the discrete string conversion succeeds; clock_string can also
be null if decoding fails.

The independent CSPICE N0067 reference corpus includes MRO and synthetic
kernels, parser history, fractional endpoints, discrete ET boundaries,
metadata errors, 6,008 large-field, 1,004 large-offset and 80 width cases.
Reference artifacts and checksums are in tests/reference/sclk-partition.
These are finite platform/kernel samples, not proof of exhaustive SCLK or
WebGeocalc parity. JavaScript native partition-aware strings remain
unavailable and are identified as such in the binding inventory.

The WASM adapter updates the esbuild development dependency to 0.28.2 to
address GHSA-g7r4-m6w7-qqqr. The adapter browser test uses esbuild as a
bundler; it does not start the affected esbuild development server.

stkcraft-time v0.1.32

Choose a tag to compare

@github-actions github-actions released this 12 Nov 13:14

stkcraft-time 0.1.32

Release date: 2026-11-12

This release adds nominal BeiDou time and complete Python and
WASM/JavaScript/TypeScript adapter packages around the existing Rust core.
The core dependency graph, Rust 1.75/no_std contract and existing public
TimeScale enum are preserved. A normalized source comparison confirms that
all 29 pre-existing Rust implementation files other than lib.rs are unchanged;
lib.rs only adds the Bdt module/export. Existing Geocalc calls are preserved.

BeiDou coordinates

The additive Bdt type stores exact integer seconds/nanoseconds from
2006-01-01 00:00:00 UTC. It supports checked construction, full signed weeks,
TAI Epoch, UTC with supplied LSK/policy and checked NAIF ET. Independent
ERFA fixtures cover the origin, leap labels and fractional boundaries.
Nominal TAI/BDT and GPS/BDT calendar offsets are distinguished from elapsed
counts with different origins. Physical satellite/broadcast clock corrections
are not implemented or inferred from integer storage precision.

Language interfaces

Independent binding workspaces provide owned immutable kernels and time
objects, explicit NaifEt versus scientific IauTdb, exact Python int / JS bigint
transport, EOP/UT1, SCLK, formatting, model functions, batches, serialization
and lazy series. Public inventories classify 231 declarations, including
nested public raw NAIF context types. Compatibility namespaces delegate
literal legacy Rust routes; checked TimeContext remains the recommended
geometry entry point.

Foreign input guards reject oversized integers before narrowing, finite
inputs whose evaluation overflows, non-finite results, unsafe civil-year
narrowing, calendar carry, invalid schemas, disposed handles and invalid
model combinations. Batches preserve scalar error semantics and identify the
failing index. Adapter-specific conservative bounds and unsupported runtime
claims are documented rather than silently broadening the scientific model.

See language support and validation, per-package inventories
and verification records. The npm name @stkcraft/time remains conditional on
registry namespace ownership. Registry installation is only available after
successful registry publication; absence of PyPI/npm credentials is reported
as a publication blocker. GitHub Release artifacts remain independently
installable without assuming registry availability.

Verification

  • All twelve native release commands passed: 184 default tests, 197 with MCP,
    and 201 release-mode tests including doctests; Clippy, rustdoc, Rust1.75,
    wasm32 and thumbv7em no_std builds passed.
  • All 14 BDT tests passed with and without default features; 28 reference rows
    regenerate from independent ERFA. Checked civil range and active-offset
    arithmetic guards were independently reviewed.
  • All 253 Python installed-wheel and external rebuilt-sdist tests pass, covering
    the existing CSPICE/ERFA corpora, exact integer limits, hostile custom data, model/error
    contracts and all declaration mappings. Types, licenses and bundled core
    source identities are verified; strict mypy checks the installed interface.
  • Actual WASM runs in Node and Chromium pass 79,520 assertions each, including
    910 checked UTC and 10,871 SCLK rows bit for bit, plus ERFA models, boundary
    errors, 60,000 Date labels,
    950 ERFA coordinate rows, module Workers, TypeScript, bundling and an
    independently installed tarball. Coordinate reference differences remain
    below the existing gates (TCG < 5e-7 seconds, TT/TDB/TCB < 1e-6 seconds);
    the measured maximum is 2.384185791015625e-7 seconds.
  • Isolated Geocalc validation passes all 42 same-ET/UTC/numeric-TAI state rows
    with zero measured ET, position and velocity differences in that sample.
    Its six CK tests also pass: 32,622 encoded-pointing queries, 420 frame rows,
    42 time/tick references and scalar-clock acceptance.
  • The Cortex-M4 example passes three host CSPICE bit checks and three civil
    roundtrips and links a complete ARM firmware. Its DWT harness has not been
    executed on a board; no hardware cycle/latency measurement is claimed.

Tag publication requires the language CI matrix in addition to native
builds. Combined binaries, wheels, source distribution and npm tarball are
attached with SHA256SUMS.txt. Optional PyPI/npm publication requires its own
configured credentials and successful publication confirmation.

All numerical agreement statements concern the tested inputs and runtimes,
not physical clock accuracy, every possible kernel or flight qualification.
The developing Geocalc source and lockfile are not edited by this task.

stkcraft-time v0.1.31

Choose a tag to compare

@github-actions github-actions released this 12 Nov 06:45

STKCraft-time 0.1.31

Structured raw NAIF leap tables now have an explicit NaifUtcContext with
caller-supplied NaifDeltet constants. It preserves original entry order and
defers paired-table validation to native ET-to-JDUTC calculation. This resolves
issue #4's 185 constructor-blocked SPICE(BADLEAPSECONDS) cases without changing
the scientific/civil LeapSecondTable constructor.

An independent expanded regression precedes the repair. All 26,831 records
match: 22,292 unrounded binary64 outputs and 4,539 exact native error symbols.
The four additional profiles exercise ordering, duplicate dates and invalid
entries inside/outside native's first-140-entry selection. Original captures,
inputs and expectations remain unchanged; the old typed adapter's 8,153
discrepancies and the repaired results are retained.

The existing TimeContext API shares the same native arithmetic and retains
its model guards. This additive API accepts structured integral dates/whole
offsets, not arbitrary raw variables or a new MCP input schema. Complete time
or WebGeocalc parity is not claimed. See
the precise contract and evidence.

stkcraft-time v0.1.30

Choose a tag to compare

@github-actions github-actions released this 12 Nov 05:00

STKCraft-time 0.1.30

Adds an explicit N0067 ET-to-JDUTC path for native consumers such as
historical SPK type-10 initialization. TimeContext::et_to_spice_julian_utc
returns NaifJulianUtc without an integer Epoch or civil-calendar round trip.
Existing strict civil/scientific APIs keep their model and coverage choices.

Independent C captures precede implementation. All 13 original historical
integration inputs match; the expanded matrix checks 18,493 unrounded native
values and 185 exact native error symbols. Another 185 malformed-table
records are retained as earlier typed-constructor rejections, without
claiming native symbol equivalence. See
the exact scope.

The new method preserves native pre-first-entry extrapolation, leap-second
formal-date behavior, operation order and 140-entry selection. It rejects
SOFA/frozen models rather than silently changing conventions. Production
remains pure Rust with no CSPICE dependency. Complete TTRANS/WebGeocalc
conformance and end-to-end historical SPK10 geometry are not claimed.

stkcraft-time v0.1.29

Choose a tag to compare

@github-actions github-actions released this 12 Nov 04:05

stkcraft-time 0.1.29

Release date: 2026-11-12

Documentation-alignment release. There is no library, kernel-format or
numerical change; the parser, public signatures and every accepted value
are identical to 0.1.28.

Why this release exists

Several documents still described the pre-0.1.28 behaviour. This release
makes the written contract match the shipped code.

Location Previous text Corrected text
README.md, docs/API.md, docs/TIME_CONTRACT.md implied DD-MON-YY N0067 TPARTV token precedence
docs/API.md month = abbreviation or full name any prefix of at least three letters
docs/API.md HH:MM[:SS[.fff]] HH[:MM[:SS]], decimal only in the final component
docs/reference/KERNEL_DATE_EXACT.md 99 coverage failures "remain open" resolved by the 0.1.28 grammar repair
wiki Kernels two-digit years rejected short-year tokens expand over 1969--2068
wiki Troubleshooting no date parser exists kernel @date literals are resolved
wiki Home, Verification 0.1.26, 163/176 tests 0.1.29, 165/178 tests

The precision point

Year selection is not a DD-MON-YY reading. An integer token of at least
1000 is a year; a year token in 0..=99 expands over the native
1969--2068 window. Therefore:

  • @31-JAN-1987 is 1987-01-31;
  • @19-JAN-87 is 2019-03-28, because token 19 is the year and token
    87 is an out-of-range day that rolls forward.

That is how native SPICE resolves them, and the independent captures are
unchanged. Standalone @2000-060 remains a native rejection. Full TPARSE
grammar conformance is still not claimed; see
docs/reference/KERNEL_DATE_GRAMMAR.md.

Verification

  • 165 tests by default and 178 with the mcp feature, all passing.
  • cargo fmt --all -- --check, clippy with -D warnings for both feature
    sets, no_std, wasm32-unknown-unknown and thumbv7em-none-eabi
    builds.
  • release build and release tests, MSRV 1.75, and rustdoc with
    -D warnings.
  • tests/version_sync.rs confirms every documented version is 0.1.29,
    and tests/api_index.rs confirms the public API index is complete.

Compatibility

No API, behaviour or data change. Any code that compiled against 0.1.28
compiles unchanged and produces the same results.

stkcraft-time v0.1.28

Choose a tag to compare

@github-actions github-actions released this 12 Nov 03:03

stkcraft-time 0.1.28

Release date: 2026-11-12

The kernel-date resolver now accepts the 99 native-valid literals reported
in issue #2, including the mixed-delimiter epoch in the actual RSSD frame
kernel. It preserves N0067 year-token precedence, short-year expansion,
month prefixes, calendar/clock overflow, Julian dates and exercised ISO
ordinal forms. Bare @2000-060 remains a native rejection.

The independent native corpus has 416 unique inputs: 345 numeric results
and 71 rejected inputs. Every numeric result is compared by IEEE-754 bits;
all rejected inputs require KernelDateUnsupported. No original input or
native output is adjusted. The seven fractional-second counterexamples
and original eleven-literal checkpoint are retained.

Old tests incorrectly described eight native-valid forms as malformed.
Those same inputs are now checked against their independently captured
native values. A component grid additionally exposed and corrected seventeen
over-acceptance cases before release. Original red/green evidence is retained.

Public signatures are unchanged. Short-year interpretation follows native
token rules: @19-JAN-87 denotes 2019-03-28, not an inferred 1987 date.
No UTC/time-scale conversion, LSK fallback or scientific model is introduced.
See the exact scope.

Full TPARSE grammar conformance remains unclaimed. Era/zone modifiers and
mutable year-expansion contexts remain outside the resolver. All repository
verification and publication checks remain required before acceptance.

stkcraft-time v0.1.27

Choose a tag to compare

@github-actions github-actions released this 12 Nov 02:37

stkcraft-time 0.1.27

Release date: 2026-11-12

Kernel-date fractional seconds now follow N0067 TPARSE's exact arithmetic
order. The parser previously grouped the entire time of day before adding
the day offset, producing a one-ULP error for seven independently captured
inputs. Native day, hour, minute and second terms are now accumulated in
their original order. All public signatures remain unchanged.

The regression was observed failing for all seven values before the repair.
Original native binary64 expectations are retained without tolerances or
rounding. See the numerical evidence
and issue #1.

This arithmetic repair does not expand the literal grammar. The 99 native-valid
unsupported inputs in issue #2
remain an explicit integration gap. Complete TPARSE or WebGeocalc conformance
is not claimed. Unsupported input remains an error, never a default epoch.

The complete repository verification commands, main CI, tag CI, release
artifacts, crates.io and docs.rs must pass before publication is accepted.