版博士V2.0程序
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

release-notes.md 17 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. # Release Notes
  2. ## Development
  3. [Commits](https://github.com/kpdecker/jsdiff/compare/v5.0.0...master)
  4. ## v5.1.0
  5. - [#365](https://github.com/kpdecker/jsdiff/issues/365) Allow early termination to limit execution time with degenerate cases
  6. [Commits](https://github.com/kpdecker/jsdiff/compare/v5.0.0...v5.0.1)
  7. ## v5.0.0
  8. - Breaking: UMD export renamed from `JsDiff` to `Diff`.
  9. - Breaking: Newlines separated into separate tokens for word diff.
  10. - Breaking: Unified diffs now match ["quirks"](https://www.artima.com/weblogs/viewpost.jsp?thread=164293)
  11. [Commits](https://github.com/kpdecker/jsdiff/compare/v4.0.1...v5.0.0)
  12. ## v4.0.1 - January 6th, 2019
  13. - Fix main reference path - b826104
  14. [Commits](https://github.com/kpdecker/jsdiff/compare/v4.0.0...v4.0.1)
  15. ## v4.0.0 - January 5th, 2019
  16. - [#94](https://github.com/kpdecker/jsdiff/issues/94) - Missing "No newline at end of file" when comparing two texts that do not end in newlines ([@federicotdn](https://api.github.com/users/federicotdn))
  17. - [#227](https://github.com/kpdecker/jsdiff/issues/227) - Licence
  18. - [#199](https://github.com/kpdecker/jsdiff/issues/199) - Import statement for jsdiff
  19. - [#159](https://github.com/kpdecker/jsdiff/issues/159) - applyPatch affecting wrong line number with with new lines
  20. - [#8](https://github.com/kpdecker/jsdiff/issues/8) - A new state "replace"
  21. - Drop ie9 from karma targets - 79c31bd
  22. - Upgrade deps. Convert from webpack to rollup - 2c1a29c
  23. - Make ()[]"' as word boundaries between each other - f27b899
  24. - jsdiff: Replaced phantomJS by chrome - ec3114e
  25. - Add yarn.lock to .npmignore - 29466d8
  26. Compatibility notes:
  27. - Bower and Component packages no longer supported
  28. [Commits](https://github.com/kpdecker/jsdiff/compare/v3.5.0...v4.0.0)
  29. ## v3.5.0 - March 4th, 2018
  30. - Omit redundant slice in join method of diffArrays - 1023590
  31. - Support patches with empty lines - fb0f208
  32. - Accept a custom JSON replacer function for JSON diffing - 69c7f0a
  33. - Optimize parch header parser - 2aec429
  34. - Fix typos - e89c832
  35. [Commits](https://github.com/kpdecker/jsdiff/compare/v3.4.0...v3.5.0)
  36. ## v3.4.0 - October 7th, 2017
  37. - [#183](https://github.com/kpdecker/jsdiff/issues/183) - Feature request: ability to specify a custom equality checker for `diffArrays`
  38. - [#173](https://github.com/kpdecker/jsdiff/issues/173) - Bug: diffArrays gives wrong result on array of booleans
  39. - [#158](https://github.com/kpdecker/jsdiff/issues/158) - diffArrays will not compare the empty string in array?
  40. - comparator for custom equality checks - 30e141e
  41. - count oldLines and newLines when there are conflicts - 53bf384
  42. - Fix: diffArrays can compare falsey items - 9e24284
  43. - Docs: Replace grunt with npm test - 00e2f94
  44. [Commits](https://github.com/kpdecker/jsdiff/compare/v3.3.1...v3.4.0)
  45. ## v3.3.1 - September 3rd, 2017
  46. - [#141](https://github.com/kpdecker/jsdiff/issues/141) - Cannot apply patch because my file delimiter is "/r/n" instead of "/n"
  47. - [#192](https://github.com/kpdecker/jsdiff/pull/192) - Fix: Bad merge when adding new files (#189)
  48. - correct spelling mistake - 21fa478
  49. [Commits](https://github.com/kpdecker/jsdiff/compare/v3.3.0...v3.3.1)
  50. ## v3.3.0 - July 5th, 2017
  51. - [#114](https://github.com/kpdecker/jsdiff/issues/114) - /patch/merge not exported
  52. - Gracefully accept invalid newStart in hunks, same as patch(1) does. - d8a3635
  53. - Use regex rather than starts/ends with for parsePatch - 6cab62c
  54. - Add browser flag - e64f674
  55. - refactor: simplified code a bit more - 8f8e0f2
  56. - refactor: simplified code a bit - b094a6f
  57. - fix: some corrections re ignoreCase option - 3c78fd0
  58. - ignoreCase option - 3cbfbb5
  59. - Sanitize filename while parsing patches - 2fe8129
  60. - Added better installation methods - aced50b
  61. - Simple export of functionality - 8690f31
  62. [Commits](https://github.com/kpdecker/jsdiff/compare/v3.2.0...v3.3.0)
  63. ## v3.2.0 - December 26th, 2016
  64. - [#156](https://github.com/kpdecker/jsdiff/pull/156) - Add `undefinedReplacement` option to `diffJson` ([@ewnd9](https://api.github.com/users/ewnd9))
  65. - [#154](https://github.com/kpdecker/jsdiff/pull/154) - Add `examples` and `images` to `.npmignore`. ([@wtgtybhertgeghgtwtg](https://api.github.com/users/wtgtybhertgeghgtwtg))
  66. - [#153](https://github.com/kpdecker/jsdiff/pull/153) - feat(structuredPatch): Pass options to diffLines ([@Kiougar](https://api.github.com/users/Kiougar))
  67. [Commits](https://github.com/kpdecker/jsdiff/compare/v3.1.0...v3.2.0)
  68. ## v3.1.0 - November 27th, 2016
  69. - [#146](https://github.com/kpdecker/jsdiff/pull/146) - JsDiff.diffArrays to compare arrays ([@wvanderdeijl](https://api.github.com/users/wvanderdeijl))
  70. - [#144](https://github.com/kpdecker/jsdiff/pull/144) - Split file using all possible line delimiter instead of hard-coded "/n" and join lines back using the original delimiters ([@soulbeing](https://api.github.com/users/soulbeing))
  71. [Commits](https://github.com/kpdecker/jsdiff/compare/v3.0.1...v3.1.0)
  72. ## v3.0.1 - October 9th, 2016
  73. - [#139](https://github.com/kpdecker/jsdiff/pull/139) - Make README.md look nicer in npmjs.com ([@takenspc](https://api.github.com/users/takenspc))
  74. - [#135](https://github.com/kpdecker/jsdiff/issues/135) - parsePatch combines patches from multiple files into a single IUniDiff when there is no "Index" line ([@ramya-rao-a](https://api.github.com/users/ramya-rao-a))
  75. - [#124](https://github.com/kpdecker/jsdiff/issues/124) - IE7/IE8 failure since 2.0.0 ([@boneskull](https://api.github.com/users/boneskull))
  76. [Commits](https://github.com/kpdecker/jsdiff/compare/v3.0.0...v3.0.1)
  77. ## v3.0.0 - August 23rd, 2016
  78. - [#130](https://github.com/kpdecker/jsdiff/pull/130) - Add callback argument to applyPatches `patched` option ([@piranna](https://api.github.com/users/piranna))
  79. - [#120](https://github.com/kpdecker/jsdiff/pull/120) - Correctly handle file names containing spaces ([@adius](https://api.github.com/users/adius))
  80. - [#119](https://github.com/kpdecker/jsdiff/pull/119) - Do single reflow ([@wifiextender](https://api.github.com/users/wifiextender))
  81. - [#117](https://github.com/kpdecker/jsdiff/pull/117) - Make more usable with long strings. ([@abnbgist](https://api.github.com/users/abnbgist))
  82. Compatibility notes:
  83. - applyPatches patch callback now is async and requires the callback be called to continue operation
  84. [Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.3...v3.0.0)
  85. ## v2.2.3 - May 31st, 2016
  86. - [#118](https://github.com/kpdecker/jsdiff/pull/118) - Add a fix for applying 0-length destination patches ([@chaaz](https://api.github.com/users/chaaz))
  87. - [#115](https://github.com/kpdecker/jsdiff/pull/115) - Fixed grammar in README ([@krizalys](https://api.github.com/users/krizalys))
  88. - [#113](https://github.com/kpdecker/jsdiff/pull/113) - fix typo ([@vmazare](https://api.github.com/users/vmazare))
  89. [Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.2...v2.2.3)
  90. ## v2.2.2 - March 13th, 2016
  91. - [#102](https://github.com/kpdecker/jsdiff/issues/102) - diffJson with dates, returns empty curly braces ([@dr-dimitru](https://api.github.com/users/dr-dimitru))
  92. - [#97](https://github.com/kpdecker/jsdiff/issues/97) - Whitespaces & diffWords ([@faiwer](https://api.github.com/users/faiwer))
  93. - [#92](https://github.com/kpdecker/jsdiff/pull/92) - Fixes typo in the readme ([@bg451](https://api.github.com/users/bg451))
  94. [Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.1...v2.2.2)
  95. ## v2.2.1 - November 12th, 2015
  96. - [#89](https://github.com/kpdecker/jsdiff/pull/89) - add in display selector to readme ([@FranDias](https://api.github.com/users/FranDias))
  97. - [#88](https://github.com/kpdecker/jsdiff/pull/88) - Split diffs based on file headers instead of 'Index:' metadata ([@piranna](https://api.github.com/users/piranna))
  98. [Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.0...v2.2.1)
  99. ## v2.2.0 - October 29th, 2015
  100. - [#80](https://github.com/kpdecker/jsdiff/pull/80) - Fix a typo: applyPath -> applyPatch ([@fluxxu](https://api.github.com/users/fluxxu))
  101. - [#83](https://github.com/kpdecker/jsdiff/pull/83) - Add basic fuzzy matching to applyPatch ([@piranna](https://github.com/piranna))
  102. [Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.0...v2.2.0)
  103. ## v2.2.0 - October 29th, 2015
  104. - [#80](https://github.com/kpdecker/jsdiff/pull/80) - Fix a typo: applyPath -> applyPatch ([@fluxxu](https://api.github.com/users/fluxxu))
  105. - [#83](https://github.com/kpdecker/jsdiff/pull/83) - Add basic fuzzy matching to applyPatch ([@piranna](https://github.com/piranna))
  106. [Commits](https://github.com/kpdecker/jsdiff/compare/v2.1.3...v2.2.0)
  107. ## v2.1.3 - September 30th, 2015
  108. - [#78](https://github.com/kpdecker/jsdiff/pull/78) - fix: error throwing when apply patch to empty string ([@21paradox](https://api.github.com/users/21paradox))
  109. [Commits](https://github.com/kpdecker/jsdiff/compare/v2.1.2...v2.1.3)
  110. ## v2.1.2 - September 23rd, 2015
  111. - [#76](https://github.com/kpdecker/jsdiff/issues/76) - diff headers give error ([@piranna](https://api.github.com/users/piranna))
  112. [Commits](https://github.com/kpdecker/jsdiff/compare/v2.1.1...v2.1.2)
  113. ## v2.1.1 - September 9th, 2015
  114. - [#73](https://github.com/kpdecker/jsdiff/issues/73) - Is applyPatches() exposed in the API? ([@davidparsson](https://api.github.com/users/davidparsson))
  115. [Commits](https://github.com/kpdecker/jsdiff/compare/v2.1.0...v2.1.1)
  116. ## v2.1.0 - August 27th, 2015
  117. - [#72](https://github.com/kpdecker/jsdiff/issues/72) - Consider using options object API for flag permutations ([@kpdecker](https://api.github.com/users/kpdecker))
  118. - [#70](https://github.com/kpdecker/jsdiff/issues/70) - diffWords treats \n at the end as significant whitespace ([@nesQuick](https://api.github.com/users/nesQuick))
  119. - [#69](https://github.com/kpdecker/jsdiff/issues/69) - Missing count ([@wfalkwallace](https://api.github.com/users/wfalkwallace))
  120. - [#68](https://github.com/kpdecker/jsdiff/issues/68) - diffLines seems broken ([@wfalkwallace](https://api.github.com/users/wfalkwallace))
  121. - [#60](https://github.com/kpdecker/jsdiff/issues/60) - Support multiple diff hunks ([@piranna](https://api.github.com/users/piranna))
  122. - [#54](https://github.com/kpdecker/jsdiff/issues/54) - Feature Request: 3-way merge ([@mog422](https://api.github.com/users/mog422))
  123. - [#42](https://github.com/kpdecker/jsdiff/issues/42) - Fuzz factor for applyPatch ([@stuartpb](https://api.github.com/users/stuartpb))
  124. - Move whitespace ignore out of equals method - 542063c
  125. - Include source maps in babel output - 7f7ab21
  126. - Merge diff/line and diff/patch implementations - 1597705
  127. - Drop map utility method - 1ddc939
  128. - Documentation for parsePatch and applyPatches - 27c4b77
  129. Compatibility notes:
  130. - The undocumented ignoreWhitespace flag has been removed from the Diff equality check directly. This implementation may be copied to diff utilities if dependencies existed on this functionality.
  131. [Commits](https://github.com/kpdecker/jsdiff/compare/v2.0.2...v2.1.0)
  132. ## v2.0.2 - August 8th, 2015
  133. - [#67](https://github.com/kpdecker/jsdiff/issues/67) - cannot require from npm module in node ([@commenthol](https://api.github.com/users/commenthol))
  134. - Convert to chai since we don’t support IE8 - a96bbad
  135. [Commits](https://github.com/kpdecker/jsdiff/compare/v2.0.1...v2.0.2)
  136. ## v2.0.1 - August 7th, 2015
  137. - Add release build at proper step - 57542fd
  138. [Commits](https://github.com/kpdecker/jsdiff/compare/v2.0.0...v2.0.1)
  139. ## v2.0.0 - August 7th, 2015
  140. - [#66](https://github.com/kpdecker/jsdiff/issues/66) - Add karma and sauce tests ([@kpdecker](https://api.github.com/users/kpdecker))
  141. - [#65](https://github.com/kpdecker/jsdiff/issues/65) - Create component repository for bower ([@kpdecker](https://api.github.com/users/kpdecker))
  142. - [#64](https://github.com/kpdecker/jsdiff/issues/64) - Automatically call removeEmpty for all tokenizer calls ([@kpdecker](https://api.github.com/users/kpdecker))
  143. - [#62](https://github.com/kpdecker/jsdiff/pull/62) - Allow access to structured object representation of patch data ([@bittrance](https://api.github.com/users/bittrance))
  144. - [#61](https://github.com/kpdecker/jsdiff/pull/61) - Use svg instead of png to get better image quality ([@PeterDaveHello](https://api.github.com/users/PeterDaveHello))
  145. - [#29](https://github.com/kpdecker/jsdiff/issues/29) - word tokenizer works only for 7 bit ascii ([@plasmagunman](https://api.github.com/users/plasmagunman))
  146. Compatibility notes:
  147. - `this.removeEmpty` is now called automatically for all instances. If this is not desired, this may be overridden on a per instance basis.
  148. - The library has been refactored to use some ES6 features. The external APIs should remain the same, but bower projects that directly referenced the repository will now have to point to the [components/jsdiff](https://github.com/components/jsdiff) repository.
  149. [Commits](https://github.com/kpdecker/jsdiff/compare/v1.4.0...v2.0.0)
  150. ## v1.4.0 - May 6th, 2015
  151. - [#57](https://github.com/kpdecker/jsdiff/issues/57) - createPatch -> applyPatch failed. ([@mog422](https://api.github.com/users/mog422))
  152. - [#56](https://github.com/kpdecker/jsdiff/pull/56) - Two files patch ([@rgeissert](https://api.github.com/users/rgeissert))
  153. - [#14](https://github.com/kpdecker/jsdiff/issues/14) - Flip added and removed order? ([@jakesandlund](https://api.github.com/users/jakesandlund))
  154. [Commits](https://github.com/kpdecker/jsdiff/compare/v1.3.2...v1.4.0)
  155. ## v1.3.2 - March 30th, 2015
  156. - [#53](https://github.com/kpdecker/jsdiff/pull/53) - Updated README.MD with Bower installation instructions ([@ofbriggs](https://api.github.com/users/ofbriggs))
  157. - [#49](https://github.com/kpdecker/jsdiff/issues/49) - Cannot read property 'oldlines' of undefined ([@nwtn](https://api.github.com/users/nwtn))
  158. - [#44](https://github.com/kpdecker/jsdiff/issues/44) - invalid-meta jsdiff is missing "main" entry in bower.json
  159. [Commits](https://github.com/kpdecker/jsdiff/compare/v1.3.1...v1.3.2)
  160. ## v1.3.1 - March 13th, 2015
  161. - [#52](https://github.com/kpdecker/jsdiff/pull/52) - Fix for #51 Wrong result of JsDiff.diffLines ([@felicienfrancois](https://api.github.com/users/felicienfrancois))
  162. [Commits](https://github.com/kpdecker/jsdiff/compare/v1.3.0...v1.3.1)
  163. ## v1.3.0 - March 2nd, 2015
  164. - [#47](https://github.com/kpdecker/jsdiff/pull/47) - Adding Diff Trimmed Lines ([@JamesGould123](https://api.github.com/users/JamesGould123))
  165. [Commits](https://github.com/kpdecker/jsdiff/compare/v1.2.2...v1.3.0)
  166. ## v1.2.2 - January 26th, 2015
  167. - [#45](https://github.com/kpdecker/jsdiff/pull/45) - Fix AMD module loading ([@pedrocarrico](https://api.github.com/users/pedrocarrico))
  168. - [#43](https://github.com/kpdecker/jsdiff/pull/43) - added a bower file ([@nbrustein](https://api.github.com/users/nbrustein))
  169. [Commits](https://github.com/kpdecker/jsdiff/compare/v1.2.1...v1.2.2)
  170. ## v1.2.1 - December 26th, 2014
  171. - [#41](https://github.com/kpdecker/jsdiff/pull/41) - change condition of using node export system. ([@ironhee](https://api.github.com/users/ironhee))
  172. [Commits](https://github.com/kpdecker/jsdiff/compare/v1.2.0...v1.2.1)
  173. ## v1.2.0 - November 29th, 2014
  174. - [#37](https://github.com/kpdecker/jsdiff/pull/37) - Add support for sentences. ([@vmariano](https://api.github.com/users/vmariano))
  175. - [#28](https://github.com/kpdecker/jsdiff/pull/28) - Implemented diffJson ([@papandreou](https://api.github.com/users/papandreou))
  176. - [#27](https://github.com/kpdecker/jsdiff/issues/27) - Slow to execute over diffs with a large number of changes ([@termi](https://api.github.com/users/termi))
  177. - Allow for optional async diffing - 19385b9
  178. - Fix diffChars implementation - eaa44ed
  179. [Commits](https://github.com/kpdecker/jsdiff/compare/v1.1.0...v1.2.0)
  180. ## v1.1.0 - November 25th, 2014
  181. - [#33](https://github.com/kpdecker/jsdiff/pull/33) - AMD and global exports ([@ovcharik](https://api.github.com/users/ovcharik))
  182. - [#32](https://github.com/kpdecker/jsdiff/pull/32) - Add support for component ([@vmariano](https://api.github.com/users/vmariano))
  183. - [#31](https://github.com/kpdecker/jsdiff/pull/31) - Don't rely on Array.prototype.map ([@papandreou](https://api.github.com/users/papandreou))
  184. [Commits](https://github.com/kpdecker/jsdiff/compare/v1.0.8...v1.1.0)
  185. ## v1.0.8 - December 22nd, 2013
  186. - [#24](https://github.com/kpdecker/jsdiff/pull/24) - Handle windows newlines on non windows machines. ([@benogle](https://api.github.com/users/benogle))
  187. - [#23](https://github.com/kpdecker/jsdiff/pull/23) - Prettied up the API formatting a little, and added basic node and web examples ([@airportyh](https://api.github.com/users/airportyh))
  188. [Commits](https://github.com/kpdecker/jsdiff/compare/v1.0.7...v1.0.8)
  189. ## v1.0.7 - September 11th, 2013
  190. - [#22](https://github.com/kpdecker/jsdiff/pull/22) - Added variant of WordDiff that doesn't ignore whitespace differences ([@papandreou](https://api.github.com/users/papandreou)
  191. - Add 0.10 to travis tests - 243a526
  192. [Commits](https://github.com/kpdecker/jsdiff/compare/v1.0.6...v1.0.7)
  193. ## v1.0.6 - August 30th, 2013
  194. - [#19](https://github.com/kpdecker/jsdiff/pull/19) - Explicitly define contents of npm package ([@sindresorhus](https://api.github.com/users/sindresorhus)
  195. [Commits](https://github.com/kpdecker/jsdiff/compare/v1.0.5...v1.0.6)