LanternUI.Deprecated (LanternUI v0.9.0)

Copy Markdown View Source

Deprecation registry for overlapping LanternUI APIs.

deprecated/0 lists components that still render but are removed in 0.9.0 (each call site also warns via warn/2). confusables/0 lists names that never existed but models guess anyway, with the evidence that proves the confusion is real. Both feed mix lantern.lint hints and the generated llms.txt, so there is one source of truth for "use X instead of Y".

Summary

Functions

Guessed-but-nonexistent names: {guess, suggestion, evidence}.

Deprecated components: {name, replacement, evidence}.

Emit a deprecation warning once per BEAM node per component name.

Functions

confusables()

Guessed-but-nonexistent names: {guess, suggestion, evidence}.

The guesses come from the step-1 eval baseline (eval/results/baseline-2026-10-03.md run notes): models wrote these names from HexDocs alone, so the lint gives a precise "did you mean" instead of a compile error.

deprecated()

Deprecated components: {name, replacement, evidence}.

Every entry has a @deprecated annotation on the component itself and warns through warn/2 at render time. Lint flags call sites; nothing is removed before 0.9.0.

warn(component, replacement)

Emit a deprecation warning once per BEAM node per component name.