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, andformatStackLinemap a parsed stack back to original sources and render it as terminal-ready text. - Added:
path.component: POSIX-normalizingtoPosix,normalize,join,resolve,dirname,relative, andbasename. - Added:
segment.component: segment encoding and decoding, and theBiasenum used by every lookup. See Bias. - Added:
SourceService.assignconcatenates several maps into one service while keeping name and source indices correct. - Changed:
Biasmoved fromsource.servicetosegment.component. It is still re-exported from the package root, soimport { Bias } from '@remotex-labs/xmap'keeps working. See Bias. - Changed: The internal
mapping.providerwas replaced by amapping.service.SourceServiceis 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).
