Skip to content

Releases: simonw/csv-diff

1.1

23 Feb 01:14
Compare
Choose a tag to compare
  • Tool now also works against inputs that are JSON files consisting of a list of objects with identical keys, using --format=json. #12

1.0

16 Oct 01:31
Compare
Choose a tag to compare
1.0
  • New --show-unchanged option for outputting the unchanged values of rows that had at least one change. #9
  • Fix for bug with column names that contained a . character. #7
  • Fix for error when no --key provided - thanks, @MainHanzo. #3
  • CSV delimiter sniffer now ; delimited files. #6

csv-diff 0.6

29 Feb 19:58
Compare
Choose a tag to compare
  • Support for TSV files. The tool will automatically detect if the input is CSV or TSV, or you can use the new --format=tsv or --format=csv options to over-ride the automatic detection. Thanks, Thomas Sibley for contributing this new feature. (#4)

csv-diff 0.5.1

27 Apr 18:30
Compare
Choose a tag to compare

Tweaked output formatting of added/removed columns for better consistency with added/removed/changed rows.

csv-diff 0.5

27 Apr 18:29
Compare
Choose a tag to compare

Handle columns being added and removed

My sf-tree-history project unexpectedly broke because the columns in the CSV file changed.

https://circleci.com/gh/simonw/sf-tree-history/110

csv-diff can now detect and handle this without crashing.

Example commit: simonw/sf-tree-history@781d7c4

csv-diff 0.4

27 Apr 18:27
Compare
Choose a tag to compare

--singular and --plural options, closes #2

csv-diff 0.3.1

07 Apr 19:46
Compare
Choose a tag to compare

Added and deleted rows now display in a more human-friendly format than raw JSON:

$ csv-diff one.csv two.csv --key=id
1 row changed, 1 row added, 1 row removed

1 row changed

  Row 1
    age: "4" => "5"

1 row added

  id: 3
  name: Bailey
  age: 1

1 row removed

  id: 2
  name: Pancakes
  age: 2

Example commit here: simonw/sf-tree-history@184efa - compare with simonw/sf-tree-history@dd08cc which demonstrates the previous behaviour.

csv-diff 0.2

13 Mar 05:09
Compare
Choose a tag to compare

Changed the order of the human text output: it's now changed, added, removed

I did this so that this commit message would be more interesting to read once GitHub truncated it.

csv-diff: first release

13 Mar 02:12
Compare
Choose a tag to compare
0.1

Added badges, ready to release 0.1