Skip to content

Releases: oxc-project/oxc-sourcemap

v6.1.1

24 Mar 10:16
0ec5dfd

Choose a tag to compare

Fixed

  • escape file and sourceRoot fields (#294)

v6.1.0

20 Mar 13:42
81de55d

Choose a tag to compare

Added

  • omit sourcesContent if all of the values are null (#287)

Fixed

  • encode sourcesContent null as raw null instead of quoted string (#291)

Other

  • avoid temporary Vec in ConcatSourceMapBuilder::add_sourcemap (#290)
  • combine source_contents scans in encode_to_string (#289)
  • avoid double Arc allocation in add_source_and_content (#288)
  • apply cargo shear --fix (#285)

v6.0.2

08 Feb 15:05
bf77f68

Choose a tag to compare

Other

  • (decode) single-pass mapping parser (#268)
  • improve simple benchmark representativeness (#266)

v6.0.1

06 Nov 10:37
4b22b0d

Choose a tag to compare

Other

  • (deps) bump napi; bump msrv to 1.88.0 for napi (#213)

v6.0.0

15 Oct 05:19
41d2fdc

Choose a tag to compare

Other

  • loosen the type constraint on set_sources (#199)

v5.0.1

15 Oct 02:20
ee503c4

Choose a tag to compare

Fixed

  • remove debug_assert in sourcemap encoding (#197)

v5.0.0

14 Oct 02:42
16e16b0

Choose a tag to compare

Added

  • integrate tc39/source-map-tests for spec compliance testing (#190)

Other

  • bump json-escape-simd (#195)
  • (deps) lock file maintenance rust crates (#194)
  • remove token equality check from encoding hot loop (#189)
  • optimize VLQ decode and capacity estimation

v4.2.1

27 Sep 15:35
3ac6b3f

Choose a tag to compare

Other

  • reduce memory usage by replacing Vec with Box<[Token]>
  • replace !0 with INVALID_ID constant for better readability (#175)
  • remove outdated comment for TokenChunk

v4.2.0

26 Sep 18:15
20651db

Choose a tag to compare

Added

  • reduce peak memory usage with .shrink_to_fit() (#172)

v4.1.6

25 Sep 14:58
2e1d80b

Choose a tag to compare

Fixed

  • take ; into account when estimating mappings length (#167)

Other

  • tweak x_google_ignore_list comment and add assertion (#168)