github software-mansion/scarb v2.17.0

22 hours ago

Cairo release notes ➡️

Welcome to the release notes for Scarb v2.17.0!

This release brings improvements to manifest error diagnostics for language server integration.

Manifest Diagnostic Anchors

Scarb's manifest validation now produces structured, location-aware diagnostics. When a Scarb.toml error is detected - whether it's a bad dependency specification, an unknown profile, a malformed patch entry, or a duplicate target - it is now enriched with precise source locations pointing to the offending line and column.

This is most visible when working inside an editor with CairoLS: instead of a generic error message, you'll see an inline squiggle directly under the problematic field.

Cairo Version

This version of Scarb comes with Cairo v2.17.0.

What's Changed

  • Bump Cairo to 2.17.0 and cairo-runner to 1.2.2
  • feat: introduce ManifestDiagnosticAnchor infrastructure by @Arcticae in #3047
  • feat: extend anchor data with related diagnostic locations by @Arcticae in #3047
  • feat: anchor profile validation errors by @Arcticae in #3048
  • feat: anchor dependency validation errors by @Arcticae in #3049
  • feat: anchor patch validation errors by @Arcticae in #3050
  • feat: anchor target duplicate and file-path errors by @Arcticae in #3051

Full Changelog: v2.17.0-rc.4...v2.17.0

Don't miss a new scarb release

NewReleases is sending notifications on new releases.