Skip to content

v0.8.0

Choose a tag to compare

@lynnswap lynnswap released this 25 May 01:30
· 291 commits to main since this release

SyntaxEditorUI v0.8.0

Breaking Changes

  • Remove SyntaxEditorColorTheme.xcode. Use SyntaxEditorColorTheme.default, shorthand .default, or SyntaxEditorColorTheme.preset(_:) instead.
  • Change SyntaxEditorColorTheme.id from UUID to String. Apps that store or compare theme IDs should migrate those values to strings.

New Features

  • Add bundled editor color presets with appearance-aware light/dark resolution and token font styles.
  • Add Xcode-aligned semantic highlighting for Swift and Objective-C, including Swift file-local symbol overlays and Objective-C reference token handling.
  • Add canonical highlight queries across the built-in languages so CSS, HTML, JavaScript, JSON, Objective-C, Swift, TOML, and XML resolve through the same editor syntax families.

Bug Fixes

  • Keep semantic highlight refresh ranges local to edits and reset stale highlight state when the source or language changes.
  • Preserve fallback token font families and apply bundled base fonts consistently.
  • Reduce syntax highlight flicker and stabilize macOS selection repainting.

Documentation

  • Add v0.8.0 migration notes for the breaking theme API changes.
  • Add Xcode highlighting research and alignment notes for Swift and Objective-C behavior.

Compatibility

  • Update ObservationBridge to 0.9.1.
  • Pin tree-sitter-swift to the lynnswap/tree-sitter-swift revision used for the Swift semantic highlighting work.

Full Changelog: v0.7.0...v0.8.0