Skip to content

Commit 7dbf2ea

Browse files
committed
Update release notes for 5.0.0
1 parent c64d178 commit 7dbf2ea

File tree

1 file changed

+49
-7
lines changed

1 file changed

+49
-7
lines changed

release-notes.md

+49-7
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,24 @@
22

33
## Development
44

5-
[Commits](https://github.com/kpdecker/jsdiff/compare/v4.0.1...master)
5+
[Commits](https://github.com/kpdecker/jsdiff/compare/v5.0.0...master)
6+
7+
## v5.0.0
8+
9+
- Breaking: UMD export renamed from `JsDiff` to `Diff`.
10+
- Breaking: Newlines separated into separate tokens for word diff.
11+
- Breaking: Unified diffs now match ["quirks"](https://www.artima.com/weblogs/viewpost.jsp?thread=164293)
12+
13+
[Commits](https://github.com/kpdecker/jsdiff/compare/v4.0.1...v5.0.0)
614

715
## v4.0.1 - January 6th, 2019
16+
817
- Fix main reference path - b826104
918

1019
[Commits](https://github.com/kpdecker/jsdiff/compare/v4.0.0...v4.0.1)
1120

1221
## v4.0.0 - January 5th, 2019
22+
1323
- [#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))
1424
- [#227](https://github.com/kpdecker/jsdiff/issues/227) - Licence
1525
- [#199](https://github.com/kpdecker/jsdiff/issues/199) - Import statement for jsdiff
@@ -22,12 +32,13 @@
2232
- Add yarn.lock to .npmignore - 29466d8
2333

2434
Compatibility notes:
25-
- Bower and Component packages no longer supported
2635

36+
- Bower and Component packages no longer supported
2737

2838
[Commits](https://github.com/kpdecker/jsdiff/compare/v3.5.0...v4.0.0)
2939

3040
## v3.5.0 - March 4th, 2018
41+
3142
- Omit redundant slice in join method of diffArrays - 1023590
3243
- Support patches with empty lines - fb0f208
3344
- Accept a custom JSON replacer function for JSON diffing - 69c7f0a
@@ -37,6 +48,7 @@ Compatibility notes:
3748
[Commits](https://github.com/kpdecker/jsdiff/compare/v3.4.0...v3.5.0)
3849

3950
## v3.4.0 - October 7th, 2017
51+
4052
- [#183](https://github.com/kpdecker/jsdiff/issues/183) - Feature request: ability to specify a custom equality checker for `diffArrays`
4153
- [#173](https://github.com/kpdecker/jsdiff/issues/173) - Bug: diffArrays gives wrong result on array of booleans
4254
- [#158](https://github.com/kpdecker/jsdiff/issues/158) - diffArrays will not compare the empty string in array?
@@ -48,13 +60,15 @@ Compatibility notes:
4860
[Commits](https://github.com/kpdecker/jsdiff/compare/v3.3.1...v3.4.0)
4961

5062
## v3.3.1 - September 3rd, 2017
63+
5164
- [#141](https://github.com/kpdecker/jsdiff/issues/141) - Cannot apply patch because my file delimiter is "/r/n" instead of "/n"
5265
- [#192](https://github.com/kpdecker/jsdiff/pull/192) - Fix: Bad merge when adding new files (#189)
5366
- correct spelling mistake - 21fa478
5467

5568
[Commits](https://github.com/kpdecker/jsdiff/compare/v3.3.0...v3.3.1)
5669

5770
## v3.3.0 - July 5th, 2017
71+
5872
- [#114](https://github.com/kpdecker/jsdiff/issues/114) - /patch/merge not exported
5973
- Gracefully accept invalid newStart in hunks, same as patch(1) does. - d8a3635
6074
- Use regex rather than starts/ends with for parsePatch - 6cab62c
@@ -70,82 +84,96 @@ Compatibility notes:
7084
[Commits](https://github.com/kpdecker/jsdiff/compare/v3.2.0...v3.3.0)
7185

7286
## v3.2.0 - December 26th, 2016
87+
7388
- [#156](https://github.com/kpdecker/jsdiff/pull/156) - Add `undefinedReplacement` option to `diffJson` ([@ewnd9](https://api.github.com/users/ewnd9))
7489
- [#154](https://github.com/kpdecker/jsdiff/pull/154) - Add `examples` and `images` to `.npmignore`. ([@wtgtybhertgeghgtwtg](https://api.github.com/users/wtgtybhertgeghgtwtg))
7590
- [#153](https://github.com/kpdecker/jsdiff/pull/153) - feat(structuredPatch): Pass options to diffLines ([@Kiougar](https://api.github.com/users/Kiougar))
7691

7792
[Commits](https://github.com/kpdecker/jsdiff/compare/v3.1.0...v3.2.0)
7893

7994
## v3.1.0 - November 27th, 2016
95+
8096
- [#146](https://github.com/kpdecker/jsdiff/pull/146) - JsDiff.diffArrays to compare arrays ([@wvanderdeijl](https://api.github.com/users/wvanderdeijl))
8197
- [#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))
8298

8399
[Commits](https://github.com/kpdecker/jsdiff/compare/v3.0.1...v3.1.0)
84100

85101
## v3.0.1 - October 9th, 2016
102+
86103
- [#139](https://github.com/kpdecker/jsdiff/pull/139) - Make README.md look nicer in npmjs.com ([@takenspc](https://api.github.com/users/takenspc))
87104
- [#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))
88105
- [#124](https://github.com/kpdecker/jsdiff/issues/124) - IE7/IE8 failure since 2.0.0 ([@boneskull](https://api.github.com/users/boneskull))
89106

90107
[Commits](https://github.com/kpdecker/jsdiff/compare/v3.0.0...v3.0.1)
91108

92109
## v3.0.0 - August 23rd, 2016
110+
93111
- [#130](https://github.com/kpdecker/jsdiff/pull/130) - Add callback argument to applyPatches `patched` option ([@piranna](https://api.github.com/users/piranna))
94112
- [#120](https://github.com/kpdecker/jsdiff/pull/120) - Correctly handle file names containing spaces ([@adius](https://api.github.com/users/adius))
95113
- [#119](https://github.com/kpdecker/jsdiff/pull/119) - Do single reflow ([@wifiextender](https://api.github.com/users/wifiextender))
96114
- [#117](https://github.com/kpdecker/jsdiff/pull/117) - Make more usable with long strings. ([@abnbgist](https://api.github.com/users/abnbgist))
97115

98116
Compatibility notes:
117+
99118
- applyPatches patch callback now is async and requires the callback be called to continue operation
100119

101120
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.3...v3.0.0)
102121

103122
## v2.2.3 - May 31st, 2016
123+
104124
- [#118](https://github.com/kpdecker/jsdiff/pull/118) - Add a fix for applying 0-length destination patches ([@chaaz](https://api.github.com/users/chaaz))
105125
- [#115](https://github.com/kpdecker/jsdiff/pull/115) - Fixed grammar in README ([@krizalys](https://api.github.com/users/krizalys))
106126
- [#113](https://github.com/kpdecker/jsdiff/pull/113) - fix typo ([@vmazare](https://api.github.com/users/vmazare))
107127

108128
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.2...v2.2.3)
109129

110130
## v2.2.2 - March 13th, 2016
111-
- [#102](https://github.com/kpdecker/jsdiff/issues/102) - diffJson with dates, returns empty curly braces ([@dr-dimitru](https://api.github.com/users/dr-dimitru))
131+
132+
- [#102](https://github.com/kpdecker/jsdiff/issues/102) - diffJson with dates, returns empty curly braces ([@dr-dimitru](https://api.github.com/users/dr-dimitru))
112133
- [#97](https://github.com/kpdecker/jsdiff/issues/97) - Whitespaces & diffWords ([@faiwer](https://api.github.com/users/faiwer))
113134
- [#92](https://github.com/kpdecker/jsdiff/pull/92) - Fixes typo in the readme ([@bg451](https://api.github.com/users/bg451))
114135

115136
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.1...v2.2.2)
116137

117138
## v2.2.1 - November 12th, 2015
139+
118140
- [#89](https://github.com/kpdecker/jsdiff/pull/89) - add in display selector to readme ([@FranDias](https://api.github.com/users/FranDias))
119141
- [#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))
120142

121143
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.0...v2.2.1)
122144

123145
## v2.2.0 - October 29th, 2015
124-
- [#80](https://github.com/kpdecker/jsdiff/pull/80) - Fix a typo: applyPath -> applyPatch ([@fluxxu](https://api.github.com/users/fluxxu))
146+
147+
- [#80](https://github.com/kpdecker/jsdiff/pull/80) - Fix a typo: applyPath -> applyPatch ([@fluxxu](https://api.github.com/users/fluxxu))
125148
- [#83](https://github.com/kpdecker/jsdiff/pull/83) - Add basic fuzzy matching to applyPatch ([@piranna](https://github.com/piranna))
126-
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.0...v2.2.0)
149+
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.0...v2.2.0)
127150

128151
## v2.2.0 - October 29th, 2015
129-
- [#80](https://github.com/kpdecker/jsdiff/pull/80) - Fix a typo: applyPath -> applyPatch ([@fluxxu](https://api.github.com/users/fluxxu))
152+
153+
- [#80](https://github.com/kpdecker/jsdiff/pull/80) - Fix a typo: applyPath -> applyPatch ([@fluxxu](https://api.github.com/users/fluxxu))
130154
- [#83](https://github.com/kpdecker/jsdiff/pull/83) - Add basic fuzzy matching to applyPatch ([@piranna](https://github.com/piranna))
131-
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.1.3...v2.2.0)
155+
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.1.3...v2.2.0)
132156

133157
## v2.1.3 - September 30th, 2015
158+
134159
- [#78](https://github.com/kpdecker/jsdiff/pull/78) - fix: error throwing when apply patch to empty string ([@21paradox](https://api.github.com/users/21paradox))
135160

136161
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.1.2...v2.1.3)
137162

138163
## v2.1.2 - September 23rd, 2015
164+
139165
- [#76](https://github.com/kpdecker/jsdiff/issues/76) - diff headers give error ([@piranna](https://api.github.com/users/piranna))
140166

141167
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.1.1...v2.1.2)
142168

143169
## v2.1.1 - September 9th, 2015
170+
144171
- [#73](https://github.com/kpdecker/jsdiff/issues/73) - Is applyPatches() exposed in the API? ([@davidparsson](https://api.github.com/users/davidparsson))
145172

146173
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.1.0...v2.1.1)
147174

148175
## v2.1.0 - August 27th, 2015
176+
149177
- [#72](https://github.com/kpdecker/jsdiff/issues/72) - Consider using options object API for flag permutations ([@kpdecker](https://api.github.com/users/kpdecker))
150178
- [#70](https://github.com/kpdecker/jsdiff/issues/70) - diffWords treats \n at the end as significant whitespace ([@nesQuick](https://api.github.com/users/nesQuick))
151179
- [#69](https://github.com/kpdecker/jsdiff/issues/69) - Missing count ([@wfalkwallace](https://api.github.com/users/wfalkwallace))
@@ -160,22 +188,26 @@ Compatibility notes:
160188
- Documentation for parsePatch and applyPatches - 27c4b77
161189

162190
Compatibility notes:
191+
163192
- 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.
164193

165194
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.0.2...v2.1.0)
166195

167196
## v2.0.2 - August 8th, 2015
197+
168198
- [#67](https://github.com/kpdecker/jsdiff/issues/67) - cannot require from npm module in node ([@commenthol](https://api.github.com/users/commenthol))
169199
- Convert to chai since we don’t support IE8 - a96bbad
170200

171201
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.0.1...v2.0.2)
172202

173203
## v2.0.1 - August 7th, 2015
204+
174205
- Add release build at proper step - 57542fd
175206

176207
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.0.0...v2.0.1)
177208

178209
## v2.0.0 - August 7th, 2015
210+
179211
- [#66](https://github.com/kpdecker/jsdiff/issues/66) - Add karma and sauce tests ([@kpdecker](https://api.github.com/users/kpdecker))
180212
- [#65](https://github.com/kpdecker/jsdiff/issues/65) - Create component repository for bower ([@kpdecker](https://api.github.com/users/kpdecker))
181213
- [#64](https://github.com/kpdecker/jsdiff/issues/64) - Automatically call removeEmpty for all tokenizer calls ([@kpdecker](https://api.github.com/users/kpdecker))
@@ -184,47 +216,55 @@ Compatibility notes:
184216
- [#29](https://github.com/kpdecker/jsdiff/issues/29) - word tokenizer works only for 7 bit ascii ([@plasmagunman](https://api.github.com/users/plasmagunman))
185217

186218
Compatibility notes:
219+
187220
- `this.removeEmpty` is now called automatically for all instances. If this is not desired, this may be overridden on a per instance basis.
188221
- 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.
189222

190223
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.4.0...v2.0.0)
191224

192225
## v1.4.0 - May 6th, 2015
226+
193227
- [#57](https://github.com/kpdecker/jsdiff/issues/57) - createPatch -> applyPatch failed. ([@mog422](https://api.github.com/users/mog422))
194228
- [#56](https://github.com/kpdecker/jsdiff/pull/56) - Two files patch ([@rgeissert](https://api.github.com/users/rgeissert))
195229
- [#14](https://github.com/kpdecker/jsdiff/issues/14) - Flip added and removed order? ([@jakesandlund](https://api.github.com/users/jakesandlund))
196230

197231
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.3.2...v1.4.0)
198232

199233
## v1.3.2 - March 30th, 2015
234+
200235
- [#53](https://github.com/kpdecker/jsdiff/pull/53) - Updated README.MD with Bower installation instructions ([@ofbriggs](https://api.github.com/users/ofbriggs))
201236
- [#49](https://github.com/kpdecker/jsdiff/issues/49) - Cannot read property 'oldlines' of undefined ([@nwtn](https://api.github.com/users/nwtn))
202237
- [#44](https://github.com/kpdecker/jsdiff/issues/44) - invalid-meta jsdiff is missing "main" entry in bower.json
203238

204239
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.3.1...v1.3.2)
205240

206241
## v1.3.1 - March 13th, 2015
242+
207243
- [#52](https://github.com/kpdecker/jsdiff/pull/52) - Fix for #51 Wrong result of JsDiff.diffLines ([@felicienfrancois](https://api.github.com/users/felicienfrancois))
208244

209245
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.3.0...v1.3.1)
210246

211247
## v1.3.0 - March 2nd, 2015
248+
212249
- [#47](https://github.com/kpdecker/jsdiff/pull/47) - Adding Diff Trimmed Lines ([@JamesGould123](https://api.github.com/users/JamesGould123))
213250

214251
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.2.2...v1.3.0)
215252

216253
## v1.2.2 - January 26th, 2015
254+
217255
- [#45](https://github.com/kpdecker/jsdiff/pull/45) - Fix AMD module loading ([@pedrocarrico](https://api.github.com/users/pedrocarrico))
218256
- [#43](https://github.com/kpdecker/jsdiff/pull/43) - added a bower file ([@nbrustein](https://api.github.com/users/nbrustein))
219257

220258
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.2.1...v1.2.2)
221259

222260
## v1.2.1 - December 26th, 2014
261+
223262
- [#41](https://github.com/kpdecker/jsdiff/pull/41) - change condition of using node export system. ([@ironhee](https://api.github.com/users/ironhee))
224263

225264
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.2.0...v1.2.1)
226265

227266
## v1.2.0 - November 29th, 2014
267+
228268
- [#37](https://github.com/kpdecker/jsdiff/pull/37) - Add support for sentences. ([@vmariano](https://api.github.com/users/vmariano))
229269
- [#28](https://github.com/kpdecker/jsdiff/pull/28) - Implemented diffJson ([@papandreou](https://api.github.com/users/papandreou))
230270
- [#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))
@@ -234,13 +274,15 @@ Compatibility notes:
234274
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.1.0...v1.2.0)
235275

236276
## v1.1.0 - November 25th, 2014
277+
237278
- [#33](https://github.com/kpdecker/jsdiff/pull/33) - AMD and global exports ([@ovcharik](https://api.github.com/users/ovcharik))
238279
- [#32](https://github.com/kpdecker/jsdiff/pull/32) - Add support for component ([@vmariano](https://api.github.com/users/vmariano))
239280
- [#31](https://github.com/kpdecker/jsdiff/pull/31) - Don't rely on Array.prototype.map ([@papandreou](https://api.github.com/users/papandreou))
240281

241282
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.0.8...v1.1.0)
242283

243284
## v1.0.8 - December 22nd, 2013
285+
244286
- [#24](https://github.com/kpdecker/jsdiff/pull/24) - Handle windows newlines on non windows machines. ([@benogle](https://api.github.com/users/benogle))
245287
- [#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))
246288

0 commit comments

Comments
 (0)