Skip to content

Release Notes

What shipped in the v5.0.x line of @remotex-labs/xmap.

🗄️ Archived version

These are the notes for an archived version. See the current release notes for the supported line.

v5.0.0

A rewrite of the mapping internals, plus three new public modules: path helpers, source-map segments, and stack-frame resolution.

ts
import { SourceService, Bias, resolveError } from '@remotex-labs/xmap';
  • Added: resolve.service: resolveError, stackEntry, stackSourceEntry, and formatStackLine map a parsed stack back to original sources and render it as terminal-ready text.
  • Added: path.component: POSIX-normalizing toPosix, normalize, join, resolve, dirname, relative, and basename.
  • Added: segment.component: segment encoding and decoding, and the Bias enum used by every lookup. See Bias.
  • Added: SourceService.assign concatenates several maps into one service while keeping name and source indices correct.
  • Changed: Bias moved from source.service to segment.component. It is still re-exported from the package root, so import { Bias } from '@remotex-labs/xmap' keeps working. See Bias.
  • Changed: The internal mapping.provider was replaced by a mapping.service. SourceService is the supported entry point for querying a map. See API Reference.
  • Changed: Path handling across the library returns POSIX-style paths on every platform.

Earlier releases

  • v4.0.x - stack parser fixes and getStackWithoutMessage (archived docs).

See also

Released under the Mozilla Public License 2.0