Skip to content

v0.3.7 - Source map interop and offset lookup helpers

Choose a tag to compare

@BartWaardenburg BartWaardenburg released this 01 Jun 14:03
· 297 commits to main since this release
v0.3.7
7ed6167

Features

  • Added SourceMap::from_parts and SourceMap::from_parts_with_extensions for building source maps directly from decoded components. This helps Rust integrations and bundler pipelines avoid serializing intermediate source-map JSON just to parse it again before lookup or remapping.
  • Added GeneratedOffsetLookup, a reusable helper for converting generated UTF-8 byte offsets, such as V8 coverage ranges, into source-map line and UTF-16 column positions. It works with eager and lazy source maps through the shared lookup trait.

Performance

  • Added benchmark coverage around parsing from decoded parts and offset-based source-map lookups.

Bug Fixes

  • Restored CI compatibility on stable Rust by avoiding the reserved gen keyword in examples.
  • Pinned the fallow CI dependency to keep repository checks reproducible.

Infrastructure / CI

  • Updated Rust, Node.js, and GitHub Action dependencies, including napi, sonic-rs, ureq, criterion, simd-json, and release workflow actions.
  • Released all Rust crates and npm packages at 0.3.7.

Breaking Changes

  • None.

Full Changelog: v0.3.6...v0.3.7