Skip to content

v0.2.0

Choose a tag to compare

@ciathefed ciathefed released this 05 Jul 18:30
· 46 commits to main since this release

✨ Features

  • feat: replace SourceLoc with Position and SourceRange for range support
  • Diagnostics now support multi-character ranges using ~ underlines
  • Single-character errors still use ^, both styled with severity color

💥 Breaking Changes

  • Replaced SourceLoc with Position and SourceRange types
  • .withLocation(SourceLoc) replaced by .withLocation(file, line, column) or .withRange(SourceRange)

🖼 Visuals

  • Caret (^) and tilde (~) now use the same color as the diagnostic severity
  • Updated example.png to showcase new highlighting style

📝 Documentation

  • Updated README examples and API reference to reflect new range-based API
  • Clarified migration examples from v0.1.0 to current version