Skip to content

Releases: keylight-dev/keylight-rust

v0.3.0

25 Jun 01:39
5ecf2d0

Choose a tag to compare

v0.3.0 — Rust edition 2024 + MSRV 1.85

v0.2.0

16 Jun 11:39
b333c01

Choose a tag to compare

release: 0.2.0 (required sdk_key + clock-rollback guard) (#1)

Breaking changes:
- KeylightConfig::builder now takes sdk_key as a required third argument
  (was an optional .sdk_key() setter). The server requires the key, so an
  unset key only ever produced rejected requests; making it a construction
  argument removes that misconfiguration class. sdk_key is now String, not
  Option<String>, and the X-Keylight-SDK-Key header is sent when non-empty.

New behavior:
- state() now forces LicenseState::Invalid when the system clock has rolled
  back beyond tolerance since the last recorded contact (clock::clock_rolled_back),
  closing the offline vector for reviving an expired lease. The check is
  read-only and UTC-based (timezone changes don't trip it), excludes the
  forward/offline-ceiling case (that stays with max_offline_days), and
  self-heals once a successful validate() re-anchors last_seen.

Also: factored the three serde_json::to_string(lease).unwrap() call sites in
client.rs into store_lease() with a documented infallibility invariant, and
the CLI now surfaces errors instead of panicking on network failures.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

v0.1.3

11 Jun 04:49

Choose a tag to compare

keylight-rust v0.1.3

v0.1.2

10 Jun 16:52

Choose a tag to compare

keylight-rust v0.1.2

v0.1.1

10 Jun 15:52

Choose a tag to compare

keylight-rust v0.1.1

v0.1.0

10 Jun 15:04

Choose a tag to compare

keylight-rust v0.1.0 — initial release (library + CLI)