Skip to content

Upgrade to Calcit 0.14.17 and complete strict migration - #53

Merged
tiye merged 3 commits into
mainfrom
chore/calcit-0.14.16-format
Sep 15, 2026
Merged

tiye merged 3 commits into
mainfrom
chore/calcit-0.14.16-format

Conversation

@tiye

@tiye tiye commented Sep 13, 2026 •

Copy link
Copy Markdown
Member

Upgrade Calcit and @calcit/procs to 0.14.17, refresh all Calcit modules, and complete the default strict-type migration.

Key changes:

  • replace direct highlight.js calls with typed host adapters
  • model the app store and Reel boundary explicitly
  • replace raw DOM traversal, localStorage, window listeners, timers, and speech synthesis access with typed browser adapters
  • remove the legacy optional parameter from persistence
  • reduce quality debt: type-none 12 → 0, schema Dynamic 16 → 1, unsafe-coerce 9 → 5
  • keep dynamic method dispatch at 0

Validated locally:

  • caps --strict
  • caps verify --toolchain
  • yarn install --immutable
  • calcit calcit.cirru --check-only
  • calcit calcit.cirru analyze dynamic-methods --max 0
  • calcit calcit.cirru analyze deprecated --summary-only
  • calcit calcit.cirru analyze quality --baseline config/calcit-quality.cirru
  • calcit calcit.cirru js
  • Vite production build with Node 24

The single remaining Dynamic schema position is the legacy Reel map boundary and is ratcheted by the existing per-definition quality baseline.

@tiye tiye changed the title Reformat with Calcit 0.14.16 / 使用 Calcit 0.14.16 重新格式化 Upgrade to Calcit 0.14.17 and complete strict migration Sep 15, 2026
@tiye
tiye merged commit 19f1696 into main Sep 15, 2026
1 check passed
@tiye
tiye deleted the chore/calcit-0.14.16-format branch September 15, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant