This post covers Kit v2026.4.7. The detailed notes below come from the project changelog.
Kit 2026.4.7 is a correctness release for projects that rely on imports, package-local
libraries, and inferred types across module boundaries. The changelog is compact, but most of the work
lands in code paths that matter once a project grows beyond a single file.
The release improves first-party package library resolution, tightens several inference paths, fixes a
parity-check issue around imported Option payload matching, and removes noisy W004 warnings
for type-only imports. It also trims some CI friction by skipping stdin tests in automated runs.
Release Snapshot
- Release: v2026.4.7
- Date: April 7, 2026
- Changelog entries: 10
- Primary areas: Imports, package resolution, inference, parity checks, automation
What Changed
The package-resolution changes are the headline here. Kit now prefers scoped first-party package libraries and resolved first-party package libraries more consistently, which should reduce ambiguity during package development and make imported code behave more predictably.
The rest of the release reinforces the type checker and compiler around imported values. Top-level polymorphic function generalization is fixed, imported record-access lambdas infer more tightly, Result payload inference now survives imports correctly, and auth import re-export tracking has been corrected in codegen.
Release Highlights
- Fix false-positive W004 warnings for type-only imports.
- Improve first-party package library resolution in scoped and resolved cases.
- Tighten inference for polymorphic functions, imported record-access lambdas, and imported Result payloads.
- Fix imported Option payload matching during parity checks.
Exact Changelog
The list below matches the 2026.4.7 changelog entry, with each short SHA linked to the
corresponding GitLab commit in kit-lang.
- Fix W004 false positives for type-only imports (307a259)
- Prefer scoped first-party package libraries (bb95df0)
- Prefer resolved first-party package libraries (ebb9115)
- Fix top-level polymorphic function generalization (f9c8634)
- Fix auth import codegen re-export tracking (efd5663)
- Tighten imported record-access lambda inference (0991e8f)
- Fix Result payload type inference across imports (aa1a213)
- Fix checker regressions in first-party package dev (ee3fb09)
- Fix imported Option payload matching in parity checks (6cf913a)
- Skip stdin tests in automated runs (65fdd11)