Skip to content

v0.4.2

Choose a tag to compare

@dsisco11 dsisco11 released this 15 Jan 20:28
b6b23eb

Release Notes v0.4.2

Improvements

  • Improved source mapping for preprocessed output so merged offsets can be traced back to the correct original resource when using imports (including multiple imports and nested imports).

Testing / Reliability

  • Added an end-to-end integration test that validates source-map resolution across multiple imported resources.

Technical Notes

  • Source-map segments are now generated during the merge pipeline to avoid redundant tree walks.
  • Mapping boundaries account for SyntaxEditor.Replace(...) trivia transfer by splicing on the import directive’s token text span (so preserved trivia remains attributed to the importing file).