web 3d图形渲染器
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.

307 lines
8.8 KiB

  1. # Change Log
  2. All notable changes to this project will be documented in this file.
  3. The format is based on [Keep a Changelog](http://keepachangelog.com/)
  4. and this project adheres to [Semantic Versioning](http://semver.org/).
  5. ## [Unreleased]
  6. ## [3.8.0] - 2019-02-05
  7. ### Added
  8. - Add option to avoid adding a match-all rule. See PR [#73](https://github.com/dividab/tsconfig-paths/pull/73) and issue [72](https://github.com/dividab/tsconfig-paths/issues/72). Thanks to [@Swatinem](https://github.com/Swatinem) for this addition!
  9. ## [3.7.0] - 2018-11-11
  10. ### Added
  11. - Allow cleanup of register(). See PR [#64](https://github.com/dividab/tsconfig-paths/pull/64) and issue [63](https://github.com/dividab/tsconfig-paths/issues/63). Thanks to [@TylorS](https://github.com/TylorS) for this addition!
  12. ## [3.6.0] - 2018-09-10
  13. ### Added
  14. - Prefer Node's core modules over file modules. See PR [#60](https://github.com/dividab/tsconfig-paths/pull/60) and issue [56](https://github.com/dividab/tsconfig-paths/issues/56). Thanks to @ljani for this addition!
  15. ## [3.5.0] - 2018-07-28
  16. ### Added
  17. - Add support for trailing commas in tsconfig.json (use JSON5 to parse). See issue [#48](https://github.com/dividab/tsconfig-paths/issues/48), and PR [#58](https://github.com/dividab/tsconfig-paths/pull/58). Thanks to [@jshado1](https://github.com/jshado1) for this addition!
  18. ## [3.4.2] - 2018-06-30
  19. ### Fixed
  20. - Do not resolve directories, only files, sse issue [#51](https://github.com/dividab/tsconfig-paths/issues/51).
  21. ## [3.4.1] - 2018-06-24
  22. ### Fixed
  23. - Ignore field name mappings in package.json files that are not paths of existing files [#46](https://github.com/dividab/tsconfig-paths/pull/45). Thanks to [@christoffer](https://github.com/christoffer) for this fix!
  24. ## [3.4.0] - 2018-06-12
  25. ### Added
  26. - Add support for providing a list of field names to try instead of just using "main", [#45](https://github.com/dividab/tsconfig-paths/pull/45). Thanks to [@christoffer-dropbox](https://github.com/christoffer-dropbox) for this addition!
  27. ## [3.3.2] - 2018-05-07
  28. ### Fixed
  29. - Adding json file extention to extends property, [#40](https://github.com/dividab/tsconfig-paths/pull/40). Thanks to [@cwhite-connectfirst](https://github.com/cwhite-connectfirst) for this fixing this!
  30. ## [3.3.1] - 2018-04-17
  31. ### Fixed
  32. - Fix project undefined error when calling register, [#37](https://github.com/dividab/tsconfig-paths/issues/37). Thanks to [@natedanner](https://github.com/natedanner) for this fixing this!
  33. ## [3.3.0] - 2018-04-14
  34. ### Added
  35. - Add possibility to indicate explicitly tsconfig location, [#35](https://github.com/dividab/tsconfig-paths/issues/35). Thanks to [@procopenco](https://github.com/procopenco) for this adding this!
  36. ## [3.2.0] - 2018-03-31
  37. ### Added
  38. - Added support for passing a filename as cwd, see issue [#31](https://github.com/dividab/tsconfig-paths/issues/31) and PR [#32](https://github.com/dividab/tsconfig-paths/pull/32). Thanks to [@amodm](https://github.com/amodm) for this adding this!
  39. ## [3.1.3] - 2018-03-14
  40. ### Fixed
  41. - Fix async recursion, see [#30](https://github.com/dividab/tsconfig-paths/pull/30). Thanks to [@Nayni](https://github.com/Nayni) for this fix!
  42. ## [3.1.2] - 2018-03-13
  43. ### Fixed
  44. - Fix a forgotten return when doneCallback is invoked, see [#29](https://github.com/dividab/tsconfig-paths/pull/29). Thanks to [@Nayni](https://github.com/Nayni) for this fix!
  45. ## [3.1.1] - 2018-01-13
  46. ### Fixed
  47. - Fix read json async when it does not exist
  48. ## [3.1.0] - 2018-01-13
  49. ### Added
  50. - Implement default async json reader function.
  51. ## [3.0.0] - 2018-01-13
  52. ### Changed
  53. - Remove parameter `absoluteSourceFileName` from the `MatchPath` and `matchFromAbsolutePaths` functions. It was not used internally.
  54. - `matchFromAbsolutePaths` now accepts a pre-sorted array of `MappingEntry`s instead of a dictionary. This was done so the sorting could be done once which should give better performance.
  55. ### Added
  56. - `createMatchPathAsync`, creates an async version of the `MatchPath` function. Can be used for example by webpack plugins.
  57. - `matchFromAbsolutePathsAsync`, async version of `matchFromAbsolutePaths`.
  58. ## [2.7.3]
  59. ### Fixed
  60. - Only resolve path if tsconfig present [#25](https://github.com/dividab/tsconfig-paths/pull/25). Thanks to @nicoschoenmaker for the PR.
  61. ## [2.7.2]
  62. ### Fixed
  63. - Return absolute path to tsconfig.json.
  64. ## [2.7.1]
  65. ### Fixed
  66. - Remove left over console.log.
  67. ## [2.7.0]
  68. ### Added
  69. - Support `baseUrl` to exist in base tsconfig.json when using `extends`, see [#23](https://github.com/dividab/tsconfig-paths/issues/23).
  70. ## [2.6.0]
  71. ### Added
  72. - Add `baseUrl` and `configFileAbsolutePath` to the result of `loadConfig`.
  73. ## [2.5.0]
  74. ### Added
  75. - New function in Programmatic API `loadConfig`.
  76. ## [2.4.3]
  77. ### Fixed
  78. - Export MatchPth typing.
  79. ## [2.4.2]
  80. ### Fixed
  81. - Add missing types field in package.json.
  82. ## [2.4.1]
  83. ### Fixed
  84. - Include declaration files. Fixes [#22](https://github.com/dividab/tsconfig-paths/issues/22).
  85. ## [2.4.0]
  86. ### Changed
  87. - Removed dependency for package `tsconfig`.
  88. ### Fixed
  89. - Support for config inheritance with `extends`. Fixes [#17](https://github.com/dividab/tsconfig-paths/issues/17).
  90. ## [2.2.0]
  91. ### Fixed
  92. - Fixed issue [#7](https://github.com/dividab/tsconfig-paths/issues/7).
  93. ## [2.1.2]
  94. ### Fixed
  95. - Fixed issue [#6](https://github.com/dividab/tsconfig-paths/issues/6).
  96. ## [2.1.1]
  97. ### Fixed
  98. - Fixed issue [#4](https://github.com/dividab/tsconfig-paths/issues/4)
  99. ## [2.1.0]
  100. ### Fixed
  101. - Fixed issue [#3](https://github.com/dividab/tsconfig-paths/issues/3)
  102. ## [2.0.0]
  103. ### Added
  104. - We now look at `process.env.TS_NODE_PROJECT`
  105. - Functionality to bootstrap tsconfig-paths. Documentation in [README](https://github.com/dividab/tsconfig-paths/blob/master/README.md)
  106. ### Changed
  107. - Changed signature for `createMatchPath`. Now only takes absoluteUrl and paths.
  108. ## [1.1.0]
  109. ### Added
  110. - More explanation to readme.
  111. - Match all extensions in require.extensions.
  112. - Match longest pattern prefix first as typesript does.
  113. - Match file in main field of package.json.
  114. - Check for index files explicitly.
  115. ## [1.0.0] - 2016-12-30
  116. - First stable release.
  117. ## [0.4.0] - 2016-12-30
  118. ### Changed
  119. - Renamed project to `tsocnfig-paths`.
  120. ## [0.3.0] - 2016-12-30
  121. ### Added
  122. - API documentation.
  123. - `createMatchPath` function.
  124. - `matchFromAbsolutePaths` function.
  125. ### Removed
  126. - `findPath` function.
  127. ## [0.2.1] - 2016-12-29
  128. ### Fixed
  129. - `tsconfig-paths/register` was not available.
  130. ## [0.2.0] - 2016-12-29
  131. ### Fixed
  132. - Paths for files in sub-dirs.
  133. ### Added
  134. - Programmatic use.
  135. ## [0.1.2] - 2016-12-28
  136. ### Fixed
  137. - Fixed wrong name of the package in README.
  138. - Add missing files on publish.
  139. ## [0.1.1] - 2016-12-28
  140. ### Added
  141. - Loading of tsconfig.
  142. - Example.
  143. - Publish scripts.
  144. ## [0.1.0] - 2016-12-28
  145. - Initial version.
  146. [unreleased]: https://github.com/dividab/tsconfig-paths/compare/3.8.0...master
  147. [3.8.0]: https://github.com/dividab/tsconfig-paths/compare/3.7.0...3.8.0
  148. [3.7.0]: https://github.com/dividab/tsconfig-paths/compare/3.6.0...3.7.0
  149. [3.6.0]: https://github.com/dividab/tsconfig-paths/compare/3.5.0...3.6.0
  150. [3.5.0]: https://github.com/dividab/tsconfig-paths/compare/3.4.2...3.5.0
  151. [3.4.2]: https://github.com/dividab/tsconfig-paths/compare/3.4.1...3.4.2
  152. [3.4.1]: https://github.com/dividab/tsconfig-paths/compare/3.4.0...3.4.1
  153. [3.4.0]: https://github.com/dividab/tsconfig-paths/compare/3.3.2...3.4.0
  154. [3.3.2]: https://github.com/dividab/tsconfig-paths/compare/3.3.1...3.3.2
  155. [3.3.1]: https://github.com/dividab/tsconfig-paths/compare/3.3.0...3.3.1
  156. [3.3.0]: https://github.com/dividab/tsconfig-paths/compare/3.2.0...3.3.0
  157. [3.2.0]: https://github.com/dividab/tsconfig-paths/compare/3.1.3...3.2.0
  158. [3.1.3]: https://github.com/dividab/tsconfig-paths/compare/3.1.2...3.1.3
  159. [3.1.2]: https://github.com/dividab/tsconfig-paths/compare/3.1.1...3.1.2
  160. [3.1.1]: https://github.com/dividab/tsconfig-paths/compare/3.1.0...3.1.1
  161. [3.1.0]: https://github.com/dividab/tsconfig-paths/compare/3.0.0...3.1.0
  162. [3.0.0]: https://github.com/dividab/tsconfig-paths/compare/2.7.3...3.0.0
  163. [2.7.3]: https://github.com/dividab/tsconfig-paths/compare/2.7.2...2.7.3
  164. [2.7.2]: https://github.com/dividab/tsconfig-paths/compare/2.7.1...2.7.2
  165. [2.7.1]: https://github.com/dividab/tsconfig-paths/compare/2.7.0...2.7.1
  166. [2.7.0]: https://github.com/dividab/tsconfig-paths/compare/2.6.0...2.7.0
  167. [2.6.0]: https://github.com/dividab/tsconfig-paths/compare/2.5.0...2.6.0
  168. [2.5.0]: https://github.com/dividab/tsconfig-paths/compare/2.4.3...2.5.0
  169. [2.4.3]: https://github.com/dividab/tsconfig-paths/compare/2.4.2...2.4.3
  170. [2.4.2]: https://github.com/dividab/tsconfig-paths/compare/2.4.1...2.4.2
  171. [2.4.1]: https://github.com/dividab/tsconfig-paths/compare/2.4.0...2.4.1
  172. [2.4.0]: https://github.com/dividab/tsconfig-paths/compare/2.2.0...2.4.0
  173. [2.2.0]: https://github.com/dividab/tsconfig-paths/compare/2.1.2...2.2.0
  174. [2.1.2]: https://github.com/dividab/tsconfig-paths/compare/2.1.1...2.1.2
  175. [2.1.1]: https://github.com/dividab/tsconfig-paths/compare/2.1.0...2.1.1