159 lines
10 KiB
Markdown
159 lines
10 KiB
Markdown
![]() |
# Release Notes
|
|||
|
|
|||
|
## Development
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.2...master)
|
|||
|
|
|||
|
## v2.2.2 - March 13th, 2016
|
|||
|
- [#102](https://github.com/kpdecker/jsdiff/issues/102) - diffJson with dates, returns empty curly braces ([@dr-dimitru](https://api.github.com/users/dr-dimitru))
|
|||
|
- [#97](https://github.com/kpdecker/jsdiff/issues/97) - Whitespaces & diffWords ([@faiwer](https://api.github.com/users/faiwer))
|
|||
|
- [#92](https://github.com/kpdecker/jsdiff/pull/92) - Fixes typo in the readme ([@bg451](https://api.github.com/users/bg451))
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.1...v2.2.2)
|
|||
|
|
|||
|
## v2.2.1 - November 12th, 2015
|
|||
|
- [#89](https://github.com/kpdecker/jsdiff/pull/89) - add in display selector to readme ([@FranDias](https://api.github.com/users/FranDias))
|
|||
|
- [#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))
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.0...v2.2.1)
|
|||
|
|
|||
|
## v2.2.0 - October 29th, 2015
|
|||
|
- [#80](https://github.com/kpdecker/jsdiff/pull/80) - Fix a typo: applyPath -> applyPatch ([@fluxxu](https://api.github.com/users/fluxxu))
|
|||
|
- [#83](https://github.com/kpdecker/jsdiff/pull/83) - Add basic fuzzy matching to applyPatch ([@piranna](https://github.com/piranna))
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.2.0...v2.2.0)
|
|||
|
|
|||
|
## v2.2.0 - October 29th, 2015
|
|||
|
- [#80](https://github.com/kpdecker/jsdiff/pull/80) - Fix a typo: applyPath -> applyPatch ([@fluxxu](https://api.github.com/users/fluxxu))
|
|||
|
- [#83](https://github.com/kpdecker/jsdiff/pull/83) - Add basic fuzzy matching to applyPatch ([@piranna](https://github.com/piranna))
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.1.3...v2.2.0)
|
|||
|
|
|||
|
## v2.1.3 - September 30th, 2015
|
|||
|
- [#78](https://github.com/kpdecker/jsdiff/pull/78) - fix: error throwing when apply patch to empty string ([@21paradox](https://api.github.com/users/21paradox))
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.1.2...v2.1.3)
|
|||
|
|
|||
|
## v2.1.2 - September 23rd, 2015
|
|||
|
- [#76](https://github.com/kpdecker/jsdiff/issues/76) - diff headers give error ([@piranna](https://api.github.com/users/piranna))
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.1.1...v2.1.2)
|
|||
|
|
|||
|
## v2.1.1 - September 9th, 2015
|
|||
|
- [#73](https://github.com/kpdecker/jsdiff/issues/73) - Is applyPatches() exposed in the API? ([@davidparsson](https://api.github.com/users/davidparsson))
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.1.0...v2.1.1)
|
|||
|
|
|||
|
## v2.1.0 - August 27th, 2015
|
|||
|
- [#72](https://github.com/kpdecker/jsdiff/issues/72) - Consider using options object API for flag permutations ([@kpdecker](https://api.github.com/users/kpdecker))
|
|||
|
- [#70](https://github.com/kpdecker/jsdiff/issues/70) - diffWords treats \n at the end as significant whitespace ([@nesQuick](https://api.github.com/users/nesQuick))
|
|||
|
- [#69](https://github.com/kpdecker/jsdiff/issues/69) - Missing count ([@wfalkwallace](https://api.github.com/users/wfalkwallace))
|
|||
|
- [#68](https://github.com/kpdecker/jsdiff/issues/68) - diffLines seems broken ([@wfalkwallace](https://api.github.com/users/wfalkwallace))
|
|||
|
- [#60](https://github.com/kpdecker/jsdiff/issues/60) - Support multiple diff hunks ([@piranna](https://api.github.com/users/piranna))
|
|||
|
- [#54](https://github.com/kpdecker/jsdiff/issues/54) - Feature Reuqest: 3-way merge ([@mog422](https://api.github.com/users/mog422))
|
|||
|
- [#42](https://github.com/kpdecker/jsdiff/issues/42) - Fuzz factor for applyPatch ([@stuartpb](https://api.github.com/users/stuartpb))
|
|||
|
- Move whitespace ignore out of equals method - 542063c
|
|||
|
- Include source maps in babel output - 7f7ab21
|
|||
|
- Merge diff/line and diff/patch implementations - 1597705
|
|||
|
- Drop map utility method - 1ddc939
|
|||
|
- Documentation for parsePatch and applyPatches - 27c4b77
|
|||
|
|
|||
|
Compatibility notes:
|
|||
|
- 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.
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.0.2...v2.1.0)
|
|||
|
|
|||
|
## v2.0.2 - August 8th, 2015
|
|||
|
- [#67](https://github.com/kpdecker/jsdiff/issues/67) - cannot require from npm module in node ([@commenthol](https://api.github.com/users/commenthol))
|
|||
|
- Convert to chai since we don’t support IE8 - a96bbad
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.0.1...v2.0.2)
|
|||
|
|
|||
|
## v2.0.1 - August 7th, 2015
|
|||
|
- Add release build at proper step - 57542fd
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v2.0.0...v2.0.1)
|
|||
|
|
|||
|
## v2.0.0 - August 7th, 2015
|
|||
|
- [#66](https://github.com/kpdecker/jsdiff/issues/66) - Add karma and sauce tests ([@kpdecker](https://api.github.com/users/kpdecker))
|
|||
|
- [#65](https://github.com/kpdecker/jsdiff/issues/65) - Create component repository for bower ([@kpdecker](https://api.github.com/users/kpdecker))
|
|||
|
- [#64](https://github.com/kpdecker/jsdiff/issues/64) - Automatically call removeEmpty for all tokenizer calls ([@kpdecker](https://api.github.com/users/kpdecker))
|
|||
|
- [#62](https://github.com/kpdecker/jsdiff/pull/62) - Allow access to structured object representation of patch data ([@bittrance](https://api.github.com/users/bittrance))
|
|||
|
- [#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))
|
|||
|
- [#29](https://github.com/kpdecker/jsdiff/issues/29) - word tokenizer works only for 7 bit ascii ([@plasmagunman](https://api.github.com/users/plasmagunman))
|
|||
|
|
|||
|
Compatibility notes:
|
|||
|
- `this.removeEmpty` is now called automatically for all instances. If this is not desired, this may be overriden on a per instance basis.
|
|||
|
- 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.
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.4.0...v2.0.0)
|
|||
|
|
|||
|
## v1.4.0 - May 6th, 2015
|
|||
|
- [#57](https://github.com/kpdecker/jsdiff/issues/57) - createPatch -> applyPatch failed. ([@mog422](https://api.github.com/users/mog422))
|
|||
|
- [#56](https://github.com/kpdecker/jsdiff/pull/56) - Two files patch ([@rgeissert](https://api.github.com/users/rgeissert))
|
|||
|
- [#14](https://github.com/kpdecker/jsdiff/issues/14) - Flip added and removed order? ([@jakesandlund](https://api.github.com/users/jakesandlund))
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.3.2...v1.4.0)
|
|||
|
|
|||
|
## v1.3.2 - March 30th, 2015
|
|||
|
- [#53](https://github.com/kpdecker/jsdiff/pull/53) - Updated README.MD with Bower installation instructions ([@ofbriggs](https://api.github.com/users/ofbriggs))
|
|||
|
- [#49](https://github.com/kpdecker/jsdiff/issues/49) - Cannot read property 'oldlines' of undefined ([@nwtn](https://api.github.com/users/nwtn))
|
|||
|
- [#44](https://github.com/kpdecker/jsdiff/issues/44) - invalid-meta jsdiff is missing "main" entry in bower.json
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.3.1...v1.3.2)
|
|||
|
|
|||
|
## v1.3.1 - March 13th, 2015
|
|||
|
- [#52](https://github.com/kpdecker/jsdiff/pull/52) - Fix for #51 Wrong result of JsDiff.diffLines ([@felicienfrancois](https://api.github.com/users/felicienfrancois))
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.3.0...v1.3.1)
|
|||
|
|
|||
|
## v1.3.0 - March 2nd, 2015
|
|||
|
- [#47](https://github.com/kpdecker/jsdiff/pull/47) - Adding Diff Trimmed Lines ([@JamesGould123](https://api.github.com/users/JamesGould123))
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.2.2...v1.3.0)
|
|||
|
|
|||
|
## v1.2.2 - January 26th, 2015
|
|||
|
- [#45](https://github.com/kpdecker/jsdiff/pull/45) - Fix AMD module loading ([@pedrocarrico](https://api.github.com/users/pedrocarrico))
|
|||
|
- [#43](https://github.com/kpdecker/jsdiff/pull/43) - added a bower file ([@nbrustein](https://api.github.com/users/nbrustein))
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.2.1...v1.2.2)
|
|||
|
|
|||
|
## v1.2.1 - December 26th, 2014
|
|||
|
- [#41](https://github.com/kpdecker/jsdiff/pull/41) - change condition of using node export system. ([@ironhee](https://api.github.com/users/ironhee))
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.2.0...v1.2.1)
|
|||
|
|
|||
|
## v1.2.0 - November 29th, 2014
|
|||
|
- [#37](https://github.com/kpdecker/jsdiff/pull/37) - Add support for sentences. ([@vmariano](https://api.github.com/users/vmariano))
|
|||
|
- [#28](https://github.com/kpdecker/jsdiff/pull/28) - Implemented diffJson ([@papandreou](https://api.github.com/users/papandreou))
|
|||
|
- [#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))
|
|||
|
- Allow for optional async diffing - 19385b9
|
|||
|
- Fix diffChars implementation - eaa44ed
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.1.0...v1.2.0)
|
|||
|
|
|||
|
## v1.1.0 - November 25th, 2014
|
|||
|
- [#33](https://github.com/kpdecker/jsdiff/pull/33) - AMD and global exports ([@ovcharik](https://api.github.com/users/ovcharik))
|
|||
|
- [#32](https://github.com/kpdecker/jsdiff/pull/32) - Add support for component ([@vmariano](https://api.github.com/users/vmariano))
|
|||
|
- [#31](https://github.com/kpdecker/jsdiff/pull/31) - Don't rely on Array.prototype.map ([@papandreou](https://api.github.com/users/papandreou))
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.0.8...v1.1.0)
|
|||
|
|
|||
|
## v1.0.8 - December 22nd, 2013
|
|||
|
- [#24](https://github.com/kpdecker/jsdiff/pull/24) - Handle windows newlines on non windows machines. ([@benogle](https://api.github.com/users/benogle))
|
|||
|
- [#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))
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.0.7...v1.0.8)
|
|||
|
|
|||
|
## v1.0.7 - September 11th, 2013
|
|||
|
|
|||
|
- [#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)
|
|||
|
|
|||
|
- Add 0.10 to travis tests - 243a526
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.0.6...v1.0.7)
|
|||
|
|
|||
|
## v1.0.6 - August 30th, 2013
|
|||
|
|
|||
|
- [#19](https://github.com/kpdecker/jsdiff/pull/19) - Explicitly define contents of npm package ([@sindresorhus](https://api.github.com/users/sindresorhus)
|
|||
|
|
|||
|
[Commits](https://github.com/kpdecker/jsdiff/compare/v1.0.5...v1.0.6)
|