sourcemap
Basic sourcemap handling for Rust
9.3.2
35M downloads/mo
#1543 most downloaded on crates.io
getsentry/rust-sourcemap
What this package is like to depend on
Last release 7 months ago
20 Jan 2026
Release timing varies
gaps range from 1 weeks to 6 months
Some releases are documented
notes for 28 of 69 stable releases
1 version withdrawn
withdrawn after publishing
10 years old
70 releases · first in 2016
3 releases in the last 12 months
see the full history below
Release timeline
70 releases · Jun 2016 to Jan 2026Releases
latest 60 of 70-
9.3.220 Jan 2026Release notes
Open source →Release notes
Open source →- strip_identifier can cause a panic with cjk identifiers by @mznet in #138
-
9.3.109 Dec 2025 -
9.3.004 Dec 2025Release notes
Open source →New Features ✨
- feat(debugId): Serialize source maps with
debugId, notdebug_idby @szokeasaurusrex in #134
Build / dependencies / internal 🔧
- chore: Fix 1.88.0 clippy lints by @loewenheim in #130
Other
- Store SourceView linecache as offsets rather than pointers by @coolreader18 in #133
Release notes
Open source →New Features ✨
- feat(debugId): Serialize source maps with
debugId, notdebug_idby @szokeasaurusrex in #134
Build / dependencies / internal 🔧
- chore: Fix 1.88.0 clippy lints by @loewenheim in #130
Other
- Store SourceView linecache as offsets rather than pointers by @coolreader18 in #133
- feat(debugId): Serialize source maps with
-
9.2.202 Jun 2025Release notes
Open source →Various fixes & improvements
- fix: Correctly interpret missing line/column numbers (#129) by @loewenheim
- ref: Remove fail macro (#128) by @loewenheim
- perf: Make
adjust_mappingsfaster by reducing the type size (#124) by @kdy1 - perf: Optimize
flatten()even more (#122) by @kdy1
Release notes
Open source →Various fixes & improvements
- fix: Correctly interpret missing line/column numbers (#129) by @loewenheim
- ref: Remove fail macro (#128) by @loewenheim
- perf: Make
adjust_mappingsfaster by reducing the type size (#124) by @kdy1 - perf: Optimize
flatten()even more (#122) by @kdy1
-
9.2.116 May 2025Release notes
Open source →Release notes
Open source →Various fixes & improvements
- perf: Make
SourceMapIndex::flattenmore efficient (#121) by @kdy1
- perf: Make
-
9.2.029 Apr 2025Release notes
Open source →Various fixes & improvements
- feat: Add ability to adjust SourceMapIndex offset rows (#119) by @szokeasaurusrex
- feat: Enable getting/setting debug ID on DecodedMap (#118) by @szokeasaurusrex
- build: upgrade dependencies (#107) by @paolobarbolini
- build: drop unused
rustc_versiondependency (#108) by @paolobarbolini - feat: Add
debug_idfield toSourceMapIndex(#117) by @szokeasaurusrex - ref(tests): Move tests under
cfg(test)(#115) by @szokeasaurusrex - ref(utils): Fix clippy lint (#116) by @szokeasaurusrex
- fix(Hermes): Use 1-based indexing for lines (#106) by @pablomatiasgomez
Release notes
Open source →Various fixes & improvements
- feat: Add ability to adjust SourceMapIndex offset rows (#119) by @szokeasaurusrex
- feat: Enable getting/setting debug ID on DecodedMap (#118) by @szokeasaurusrex
- build: upgrade dependencies (#107) by @paolobarbolini
- build: drop unused
rustc_versiondependency (#108) by @paolobarbolini - feat: Add
debug_idfield toSourceMapIndex(#117) by @szokeasaurusrex - ref(tests): Move tests under
cfg(test)(#115) by @szokeasaurusrex - ref(utils): Fix clippy lint (#116) by @szokeasaurusrex
- fix(Hermes): Use 1-based indexing for lines (#106) by @pablomatiasgomez
-
9.1.226 Nov 2024Release notes
Open source →Various fixes & improvements
- Prefer
"debug_id"for sourcemap debug IDs (#101) by @loewenheim
Release notes
Open source →Various fixes & improvements
- Prefer
"debug_id"for sourcemap debug IDs (#101) by @loewenheim
- Prefer
-
9.1.126 Nov 2024Release notes
Open source →Various fixes & improvements
- Fixed an error when deserializing sourcemaps with
both"debugId"and"debug_id"keys (#100) by @loewenheim
Release notes
Open source →Various fixes & improvements
- Fixed an error when deserializing sourcemaps with
both
"debugId"and"debug_id"keys (#100) by @loewenheim
- Fixed an error when deserializing sourcemaps with
-
9.1.013 Nov 2024Release notes
Open source →Various fixes & improvements
- Add support for ignoreList property (#93) by @wbinnssmith
Release notes
Open source →Various fixes & improvements
- Add support for ignoreList property (#93) by @wbinnssmith
-
9.0.106 Nov 2024Release notes
Open source →Various fixes and improvements
- Debug IDs can be read from the "debugId" field in addition to "debug_id" (#97) by @loewenheim.
Release notes
Open source →Various fixes and improvements
- Debug IDs can be read from the "debugId" field in addition to "debug_id" (#97) by @loewenheim.
-
9.0.002 Aug 2024Release notes
Open source →Various fixes and improvements
- ref: Tokens within a sourcemap are now always sorted by their position in the
minified file (#91) by @loewenheim.
Consequently:
- the type
IndexIterand the functionsget_index_size,index_iter, andidx_from_tokenhave been deleted; - the functionsourcemap_from_tokenhas been turned into the methodsourcemaponToken; - theidxparameter ofSourceMap::get_tokennow has the typeusize.
- ref: Tokens within a sourcemap are now always sorted by their position in the
minified file (#91) by @loewenheim.
Consequently:
- the type
-
8.0.102 Apr 2024Release notes
Open source →Various fixes & improvements
- feat: Skip encoding range mappings if it's empty (#86) by @kdy1
-
8.0.022 Mar 2024Release notes
Open source →Various fixes & improvements
- feat: Add support for range mappings proposal (#77) by @kdy1
- perf: using Arc<str> instead of String (#84) by @underfin
- perf: using FxHashMap instead of HashMap (#83) by @underfin
-
7.1.112 Mar 2024Release notes
Open source →Various fixes & improvements
- chore: remove unless change (#82) by @underfin
-
7.1.011 Mar 2024Release notes
Open source →Various fixes & improvements
- refactor: make SourceView implement Sync (#80) by @underfin
- feat: add SourceMap::to_data_url (#81) by @underfin
- feat: Replace
unicode-idcrate withunicode-id-start(#78) by @Boshen
-
7.0.113 Nov 2023Release notes
Open source →Various fixes and improvements
- fix: Fixed a bug in index sourcemap flattening (#74) by @loewenheim
-
7.0.007 Sep 2023Release notes
Open source →Various fixes and improvements
- ref: SourceMap::adjust_mappings now works in place (#70) by @loewenheim
-
6.4.110 Aug 2023Release notes
Open source →Various fixes & improvements
- fix: Do not set source_contents if it already exists (#68) by @kamilogorek
-
6.4.001 Aug 2023Release notes
Open source →Various fixes and improvements
- feat: Implement sourcemap composition(#67) by @loewenheim
-
6.3.019 Jul 2023Release notes
Open source →Various fixes & improvements
- feat: Sourcemaps now support debug ids (#66) by @loewenheim
-
6.2.306 Mar 2023Release notes
Open source →Various fixes & improvements
- fix: Correctly handle protocol-only sourceRoot values (#61) by @kamilogorek
-
6.2.224 Feb 2023Release notes
Open source →Various fixes & improvements
- Ensure greatest_lower_bound returns lowest match index (#60) by @jridgewell
- feat: Switch to data-encoding for base64 (#59) by @mitsuhiko
-
6.2.109 Jan 2023Release notes
Open source →Various fixes & improvements
- ref: Update CI definitions (#58) by @Swatinem
- fix: Correctly rewrite SourceMapHermes (#56) by @Swatinem
- Remove regex dependency for faster runtime, and compile (#55) by @willstott101
- Jridgewell index (#54) by @Swatinem
-
6.2.029 Sep 2022Release notes
Open source →Features:
- Add
source_rootsupport forSourceMapandSourceMapBuilder, with respective getters/setters and de/serialization. (#51)
- Add
-
6.1.017 Aug 2022Release notes
Open source →Features:
- Add a new
get_scope_for_tokenmethod toSourceMapHermesas a more flexible alternative toget_original_function_name. (#48)
- Add a new
-
6.0.204 May 2022Release notes
Open source →Fixes:
- Improve parsing performance by reusing a temporary allocation. #40
-
6.0.121 Jul 2020 -
6.0.015 Jun 2020Release notes
Open source →Breaking Changes:
- The
SourceMapRef::Missingvariant was removed in favor of explicitOptions. - The
locate_sourcemap_reference_sliceandlocate_sourcemap_referencefunctions now return aOption. SourceMapRef::get_urldoes not return anOptionanymore.
Features:
- Added missing
CloneandDebugimpls to a lot of types. - A lot of new convenience API, including a
DecodedMap::get_original_function_namemethod that works across all supported SourceMap types.
- The
-
5.0.005 Feb 2020Nothing published for this version
-
4.1.110 Sep 2019Nothing published for this version
-
4.1.014 May 2019Nothing published for this version
-
4.0.103 May 2019Nothing published for this version
-
4.0.003 May 2019 withdrawnNothing published for this version
-
3.0.113 Mar 2019Nothing published for this version
-
3.0.022 Feb 2019Nothing published for this version
-
2.2.117 May 2018Nothing published for this version
-
2.2.017 Oct 2017Nothing published for this version
-
2.1.016 Oct 2017Nothing published for this version
-
2.0.016 Oct 2017Nothing published for this version
-
1.2.029 Aug 2017Nothing published for this version
-
1.1.129 Aug 2017Nothing published for this version
-
1.1.023 Aug 2017Nothing published for this version
-
1.0.112 May 2017Nothing published for this version
-
1.0.030 Mar 2017Nothing published for this version
-
0.15.114 Mar 2017Nothing published for this version
-
0.15.012 Mar 2017Nothing published for this version
-
0.14.009 Feb 2017Nothing published for this version
-
0.13.005 Jan 2017Nothing published for this version
-
0.12.004 Jan 2017Nothing published for this version
-
0.11.023 Dec 2016Nothing published for this version
-
0.10.121 Dec 2016Nothing published for this version
-
0.10.019 Dec 2016Nothing published for this version
-
0.9.118 Dec 2016Nothing published for this version
-
0.9.018 Dec 2016Nothing published for this version
-
0.8.025 Oct 2016Nothing published for this version
-
0.7.120 Oct 2016Nothing published for this version
-
0.7.017 Oct 2016Nothing published for this version
-
0.6.416 Oct 2016Nothing published for this version
-
0.6.316 Oct 2016Nothing published for this version
-
0.6.215 Oct 2016Nothing published for this version