Skip to content

Add the Micrate API card for amber-lsp lookup - #97

Merged
crimson-knight merged 2 commits into
masterfrom
lsp/api-card
Oct 6, 2026
Merged

crimson-knight merged 2 commits into
masterfrom
lsp/api-card

Conversation

@crimson-knight

Copy link
Copy Markdown
Member

Adds an amber-lsp API card for this library (.amber-lsp/api/micrate.yml), along with compile probes that check every note against the real API. The card carries:

  • notes that amber-lsp lookup prints next to a method's signature;
  • error hints keyed to compiler messages, which amber-lsp hint adds to build output;
  • docs flags and docs entries, so the layered index covers the whole public API.

Part of the Amber CLI 2.0.7 lookup work (amberframework/amber_cli#44). This library needs no runtime change: projects that don't use amber-lsp ignore .amber-lsp/.

Also pins crystal-db to 0.14.0 in shard.yml. shard.lock already recorded that version with its sha256 checksum.

shard.lock already records 0.14.0 with its sha256 checksum; the manifest
now names the exact version so installs cannot float.
@crimson-knight
crimson-knight merged commit f1e06c4 into master Oct 6, 2026
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