You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

301 lines
7.7 KiB

  1. # Change Log
  2. ## 0.5.6
  3. * Fix for regression when people were using numbers as names in source maps. See
  4. #236.
  5. ## 0.5.5
  6. * Fix "regression" of unsupported, implementation behavior that half the world
  7. happens to have come to depend on. See #235.
  8. * Fix regression involving function hoisting in SpiderMonkey. See #233.
  9. ## 0.5.4
  10. * Large performance improvements to source-map serialization. See #228 and #229.
  11. ## 0.5.3
  12. * Do not include unnecessary distribution files. See
  13. commit ef7006f8d1647e0a83fdc60f04f5a7ca54886f86.
  14. ## 0.5.2
  15. * Include browser distributions of the library in package.json's `files`. See
  16. issue #212.
  17. ## 0.5.1
  18. * Fix latent bugs in IndexedSourceMapConsumer.prototype._parseMappings. See
  19. ff05274becc9e6e1295ed60f3ea090d31d843379.
  20. ## 0.5.0
  21. * Node 0.8 is no longer supported.
  22. * Use webpack instead of dryice for bundling.
  23. * Big speedups serializing source maps. See pull request #203.
  24. * Fix a bug with `SourceMapConsumer.prototype.sourceContentFor` and sources that
  25. explicitly start with the source root. See issue #199.
  26. ## 0.4.4
  27. * Fix an issue where using a `SourceMapGenerator` after having created a
  28. `SourceMapConsumer` from it via `SourceMapConsumer.fromSourceMap` failed. See
  29. issue #191.
  30. * Fix an issue with where `SourceMapGenerator` would mistakenly consider
  31. different mappings as duplicates of each other and avoid generating them. See
  32. issue #192.
  33. ## 0.4.3
  34. * A very large number of performance improvements, particularly when parsing
  35. source maps. Collectively about 75% of time shaved off of the source map
  36. parsing benchmark!
  37. * Fix a bug in `SourceMapConsumer.prototype.allGeneratedPositionsFor` and fuzzy
  38. searching in the presence of a column option. See issue #177.
  39. * Fix a bug with joining a source and its source root when the source is above
  40. the root. See issue #182.
  41. * Add the `SourceMapConsumer.prototype.hasContentsOfAllSources` method to
  42. determine when all sources' contents are inlined into the source map. See
  43. issue #190.
  44. ## 0.4.2
  45. * Add an `.npmignore` file so that the benchmarks aren't pulled down by
  46. dependent projects. Issue #169.
  47. * Add an optional `column` argument to
  48. `SourceMapConsumer.prototype.allGeneratedPositionsFor` and better handle lines
  49. with no mappings. Issues #172 and #173.
  50. ## 0.4.1
  51. * Fix accidentally defining a global variable. #170.
  52. ## 0.4.0
  53. * The default direction for fuzzy searching was changed back to its original
  54. direction. See #164.
  55. * There is now a `bias` option you can supply to `SourceMapConsumer` to control
  56. the fuzzy searching direction. See #167.
  57. * About an 8% speed up in parsing source maps. See #159.
  58. * Added a benchmark for parsing and generating source maps.
  59. ## 0.3.0
  60. * Change the default direction that searching for positions fuzzes when there is
  61. not an exact match. See #154.
  62. * Support for environments using json2.js for JSON serialization. See #156.
  63. ## 0.2.0
  64. * Support for consuming "indexed" source maps which do not have any remote
  65. sections. See pull request #127. This introduces a minor backwards
  66. incompatibility if you are monkey patching `SourceMapConsumer.prototype`
  67. methods.
  68. ## 0.1.43
  69. * Performance improvements for `SourceMapGenerator` and `SourceNode`. See issue
  70. #148 for some discussion and issues #150, #151, and #152 for implementations.
  71. ## 0.1.42
  72. * Fix an issue where `SourceNode`s from different versions of the source-map
  73. library couldn't be used in conjunction with each other. See issue #142.
  74. ## 0.1.41
  75. * Fix a bug with getting the source content of relative sources with a "./"
  76. prefix. See issue #145 and [Bug 1090768](bugzil.la/1090768).
  77. * Add the `SourceMapConsumer.prototype.computeColumnSpans` method to compute the
  78. column span of each mapping.
  79. * Add the `SourceMapConsumer.prototype.allGeneratedPositionsFor` method to find
  80. all generated positions associated with a given original source and line.
  81. ## 0.1.40
  82. * Performance improvements for parsing source maps in SourceMapConsumer.
  83. ## 0.1.39
  84. * Fix a bug where setting a source's contents to null before any source content
  85. had been set before threw a TypeError. See issue #131.
  86. ## 0.1.38
  87. * Fix a bug where finding relative paths from an empty path were creating
  88. absolute paths. See issue #129.
  89. ## 0.1.37
  90. * Fix a bug where if the source root was an empty string, relative source paths
  91. would turn into absolute source paths. Issue #124.
  92. ## 0.1.36
  93. * Allow the `names` mapping property to be an empty string. Issue #121.
  94. ## 0.1.35
  95. * A third optional parameter was added to `SourceNode.fromStringWithSourceMap`
  96. to specify a path that relative sources in the second parameter should be
  97. relative to. Issue #105.
  98. * If no file property is given to a `SourceMapGenerator`, then the resulting
  99. source map will no longer have a `null` file property. The property will
  100. simply not exist. Issue #104.
  101. * Fixed a bug where consecutive newlines were ignored in `SourceNode`s.
  102. Issue #116.
  103. ## 0.1.34
  104. * Make `SourceNode` work with windows style ("\r\n") newlines. Issue #103.
  105. * Fix bug involving source contents and the
  106. `SourceMapGenerator.prototype.applySourceMap`. Issue #100.
  107. ## 0.1.33
  108. * Fix some edge cases surrounding path joining and URL resolution.
  109. * Add a third parameter for relative path to
  110. `SourceMapGenerator.prototype.applySourceMap`.
  111. * Fix issues with mappings and EOLs.
  112. ## 0.1.32
  113. * Fixed a bug where SourceMapConsumer couldn't handle negative relative columns
  114. (issue 92).
  115. * Fixed test runner to actually report number of failed tests as its process
  116. exit code.
  117. * Fixed a typo when reporting bad mappings (issue 87).
  118. ## 0.1.31
  119. * Delay parsing the mappings in SourceMapConsumer until queried for a source
  120. location.
  121. * Support Sass source maps (which at the time of writing deviate from the spec
  122. in small ways) in SourceMapConsumer.
  123. ## 0.1.30
  124. * Do not join source root with a source, when the source is a data URI.
  125. * Extend the test runner to allow running single specific test files at a time.
  126. * Performance improvements in `SourceNode.prototype.walk` and
  127. `SourceMapConsumer.prototype.eachMapping`.
  128. * Source map browser builds will now work inside Workers.
  129. * Better error messages when attempting to add an invalid mapping to a
  130. `SourceMapGenerator`.
  131. ## 0.1.29
  132. * Allow duplicate entries in the `names` and `sources` arrays of source maps
  133. (usually from TypeScript) we are parsing. Fixes github issue 72.
  134. ## 0.1.28
  135. * Skip duplicate mappings when creating source maps from SourceNode; github
  136. issue 75.
  137. ## 0.1.27
  138. * Don't throw an error when the `file` property is missing in SourceMapConsumer,
  139. we don't use it anyway.
  140. ## 0.1.26
  141. * Fix SourceNode.fromStringWithSourceMap for empty maps. Fixes github issue 70.
  142. ## 0.1.25
  143. * Make compatible with browserify
  144. ## 0.1.24
  145. * Fix issue with absolute paths and `file://` URIs. See
  146. https://bugzilla.mozilla.org/show_bug.cgi?id=885597
  147. ## 0.1.23
  148. * Fix issue with absolute paths and sourcesContent, github issue 64.
  149. ## 0.1.22
  150. * Ignore duplicate mappings in SourceMapGenerator. Fixes github issue 21.
  151. ## 0.1.21
  152. * Fixed handling of sources that start with a slash so that they are relative to
  153. the source root's host.
  154. ## 0.1.20
  155. * Fixed github issue #43: absolute URLs aren't joined with the source root
  156. anymore.
  157. ## 0.1.19
  158. * Using Travis CI to run tests.
  159. ## 0.1.18
  160. * Fixed a bug in the handling of sourceRoot.
  161. ## 0.1.17
  162. * Added SourceNode.fromStringWithSourceMap.
  163. ## 0.1.16
  164. * Added missing documentation.
  165. * Fixed the generating of empty mappings in SourceNode.
  166. ## 0.1.15
  167. * Added SourceMapGenerator.applySourceMap.
  168. ## 0.1.14
  169. * The sourceRoot is now handled consistently.
  170. ## 0.1.13
  171. * Added SourceMapGenerator.fromSourceMap.
  172. ## 0.1.12
  173. * SourceNode now generates empty mappings too.
  174. ## 0.1.11
  175. * Added name support to SourceNode.
  176. ## 0.1.10
  177. * Added sourcesContent support to the customer and generator.