Skip to content

Latest commit

 

History

History
274 lines (274 loc) · 26 KB

CHANGES.md

File metadata and controls

274 lines (274 loc) · 26 KB
- If the executable/symlink name is `tsvtk` the `-t` option for tab input is set.
  • csvtk v0.22.0 Github Releases (by Release)
    • csvtk: global flag -t does not overide -D anymore. #114
    • csvtk cut: support range format 2- to choose 2nd column to the end. #106
  • csvtk v0.21.0 Github Releases (by Release)
    • new command: csvtk nrow/ncol for printing number of rows or columns.
    • new command: round to round float to n decimal places. #112
    • csvtk headers: file name and column index is optional outputted with new flag -v/--verbose.
    • csvtk dim: new flags --tabluar, --cols, --rows, -n/--no-files.
    • csvtk dim/ncol/nrow: can handle empty files now. #108
    • csvtk csv2json #104:
      • new flag -b/--blank: do not convert "", "na", "n/a", "none", "null", "." to null
      • new flag -n/--parse-num: parse numeric values for nth column(s), multiple values are supported and "a"/"all" for all columns.
    • csvtk xlsx2csv: fix output for ragged table. #110
    • csvtk join: fix bug for joining >2 files.
    • csvtk uniq: new flag -n/--keep-n for keeping first N records of every key.
    • csvtk cut: support repeatedly selecting columns. #106
  • csvtk v0.20.0 Github Releases (by Release)
    • new command csvtk comb: compute combinations of items at every row.
    • new command csvtk sep: separate column into multiple columns. #96
    • csvtk:
      • list lines' number of illegal (-I) and empty (-E) rows. #97
      • new flag --infile-list for giving file of input files list (one file per line), if given, they are appended to files from cli arguments
    • csvtk join:
      • reenable flag -i/--ignore-case. #99
      • outer join is supported. #23
      • new flag -L/--left-join: left join, equals to -k/--keep-unmatched, exclusive with --outer-join
      • new flag -O/--outer-join: outer join, exclusive with --left-join
      • rename flag --fill to --na.
    • csvtk filter2: fix bug when column names start with digits, e.g., 1000g2015aug. Thank @VorontsovIE (#44)
    • csvtk concat: allow one input file. #98
    • csvtk mutate: new flag -R/--remove for removing input column.
  • csvtk v0.19.1 Github Releases (by Release)
    • csvtk:
      • fix checking file existence.
      • show friendly error message when giving empty field like csvtk cut -f a, b.
    • csvtk summary: fix err of q1 and q3. #90
    • csvtk version: making checking update optional.
  • csvtk v0.19.0 Github Releases (by Release)
    • new commands by @bsipos:
      • watch: online monitoring and histogram of selected field.
      • corr: calculate Pearson correlation between numeric columns.
      • cat: stream file and report progress.
    • csvtk split: fix bug of repeatedly output header line when number of output files exceed value of --buf-groups. #83
    • csvtk plot hist: new option --percentiles to add percentiles to histogram x label. #88
  • csvtk v0.18.2 Github Releases (by Release)
    • csvtk replace/rename2/splitxlsx: fix flag conflicts with global flag -I since v0.18.0.
    • csvtk replace/rename2: removing shorthand flag -I for --key-capt-idx.
    • csvtk splitxlsx: changing shorthand flag of --sheet-index from -I to -N.
  • csvtk v0.18.1 Github Releases (by Release)
    • csvtk sort: fix mutiple-key-sort containing natural order sorting. #79
    • csvtk xlsx2csv: reacts to global flags -t, -T, -D and -E. #78
  • csvtk v0.18.0 Github Releases (by Release)
    • csvtk: add new flag --ignore-illegal-row to skip illegal rows. #72
    • csvtk summary: add more textual/numeric operations. #64
    • csvtk sort: fix bug for sorting by columns with empty values. #70
    • csvtk grep: add new flag --delete-matched to delete a pattern right after being matched, this keeps the firstly matched data and speedups when using regular expressions. #77
  • csvtk v0.17.0 Github Releases (by Release)
    • new command: csvtk add-header and csvtk del-header for adding/deleting column names. #62
  • csvtk v0.16.0 Github Releases (by Release)
    • new command: csvtk csv2json: convert CSV to JSON format.
    • remove comand: csvtk stats2.
    • new command csvtk summary: summary statistics of selected digital fields (groupby group fields), usage and examples. #59
    • csvtk replace: add flag --nr-width: minimum width for {nr} in flag -r/--replacement. e.g., formating "1" to "001" by --nr-width 3 (default 1)
    • csvtk rename2/replace: add flag -A, --kv-file-all-left-columns-as-value, for treating all columns except 1th one as value for kv-file with more than 2 columns. #56
  • csvtk v0.15.0 Github Releases (by Release)
    • csvtk: add global flag -E/--ignore-empty-row to skip empty row. #50
    • csvtk mutate2: add flag -s/--digits-as-string for not converting big digits into scientific notation. #46
    • csvtk sort: add support for sorting in natural order. #49
  • csvtk v0.14.0 Github Releases (by Release)
    • csvtk: supporting multi-line fields by replacing multicorecsv with standard library encoding/csv, while losing support for metaline which was supported since v0.7.0. It also gain a little speedup.
    • csvtk sample: add flag -n/--line-number to print line number as the first column ("n")
    • csvtk filter2: fix bug when column names start with digits, e.g., 1000g2015aug (#44)
    • csvtk rename2: add support for similar repalecement symbols {kv} and {nr} in csvtk replace
  • csvtk v0.13.0 Github Releases (by Release)
    • new command concat for concatenating CSV/TSV files by rows #38
    • csvtk: add support for environment variables for frequently used global flags #39
      • CSVTK_T for flag -t/--tabs
      • CSVTK_H for flag -H/--no-header-row
    • mutate2: add support for eval expression WITHOUT column index symbol, so we can add some string constants #37
    • pretty: better support for files with duplicated column names
  • csvtk v0.12.0 Github Releases (by Release)
    • new command collapse: collapsing one field with selected fields as keys
    • freq: keeping orignal order of keys by default
    • split:
      • performance improvement
      • add option -G/--out-gzip for forcing output gzipped file
  • csvtk v0.11.0 Github Releases (by Release)
    • add command split to split CSV/TSV into multiple files according to column values
    • add command splitxlxs to split XLSX sheet into multiple sheets according to column values
    • csvtk, automatically check BOM (byte-order mark) and discard it
  • csvtk v0.10.0 Github Releases (by Release)
    • add subcommand xlsx2csv to convert XLSX to CSV format
    • grep, filter, filter2: add flag -n/--line-number to print line-number as the first column
    • cut: add flag -i/--ignore-case to ignore case of column name
  • csvtk v0.9.1 Github Releases (by Release)
    • csvtk replace: fix bug when replacing with key-value pairs brought in v0.8.0
  • csvtk v0.9.0 Github Releases (by Release)
    • add subcommand csvtk mutate2: create new column from selected fields by awk-like artithmetic/string expressions
    • add new command genautocomplete to generate shell autocompletion script!
  • csvtk v0.8.0 Github Releases (by Release)
    • new command csvtk gather for gathering columns into key-value pairs.
    • csvtk sort: support sorting by user-defined order.
    • fix bug of unselecting field: wrongly reporting error of fields not existing. affected commands: cut, filter, fitler2, freq, grep, inter, mutate, rename, rename2, replace, stats2, uniq.
    • update help message of flag -F/--fuzzy-fields.
    • update help message of global flag -t, which overrides both -d and -D. If you want other delimiter for tabular input, use -t $'\t' -D "delimiter".
  • csvtk v0.7.1 Github Releases (by Release)
    • csvtk plot box and csvtk plot line: fix bugs for special cases of input
    • compile with go1.8.1
  • csvtk v0.7.0 Github Releases (by Release)
    • fig bug of "stricter field checking" in v0.6.0 and v0.6.1 when using flag -F/--fuzzy-fields
    • csvtk pretty and csvtk csv2md: add attention that these commands treat the first row as header line and require them to be unique.
    • csvtk stat renamed to csvtk stats, old name is still available as an alias.
    • csvtk stat2 renamed to csvtk stats2, old name is still available as an alias.
    • issues/13 seamlessly support for data with meta line of separator declaration used by MS Excel.
  • csvtk v0.6.1 Github Releases (by Release)
    • csvtk cut: minor bug: panic when no fields given. i.e., csvtk cut. All relevant commands have been fixed.
  • csvtk v0.6.0 Github Releases (by Release)
    • csvtk grep: large performance improvement by discarding goroutine (multiple threads), and keeping output in order of input.
    • Better column name checking and stricter field checking, fields out of range are not ignored now. Affected commands include cut, filter, freq, grep, inter, mutate, rename, rename2, replace, stat2, and uniq.
    • New command: csvtk filter2, filtering rows by artithmetic/string expressions like awk.
  • csvtk v0.5.0 Github Releases (by Release)
    • csvtk cut: delete flag -n/--names, move it to a new command csvtk headers
    • new command: csvtk headers
    • new command: csvtk head
    • new command: csvtk sample
  • csvtk v0.4.6 Github Releases (by Release)
    • csvtk grep: fix result highlight when flag -v is on.
  • csvtk v0.4.5 Github Releases (by Release)
    • csvtk join: support the 2nd or later files with entries with same ID.
  • csvtk v0.4.4 Github Releases (by Release)
    • add command csvtk freq: frequencies of selected fields
    • add lots of examples in usage page
  • csvtk v0.4.3 Github Releases (by Release)
    • improvement of using experience: flag -n is not required anymore when flag -H in csvtk mutate
  • csvtk v0.4.2 Github Releases (by Release)
    • fix highlight bug of csvtk grep: if the pattern matches multiple parts, the text will be wrongly edited.
    • changes: disable highlight when pattern file given.
    • change the default output of all ploting commands to STDOUT, now you can pipe the image to "display" command of Imagemagic.
  • csvtk v0.4.1 Github Releases (by Release)
    • Nothing changed. Just fix the links due to inappropriate deployment of v0.4.0
  • csvtk v0.4.0 Github Releases (by Release)
    • add flag for csvtk replace: -K (--keep-key) keep the key as value when no value found for the key. This is open in default in previous versions.
  • csvtk v0.3.9 Github Releases (by Release)
    • fix bug: header row incomplete in csvtk sort result
  • csvtk v0.3.8.1 Github Releases (by Release)
    • fix bug of flag parsing library pflag, detail. The bug affected the csvtk grep -r -p, when value of -p contain "[" and "]" at the beginning or end, they are wrongly parsed.
  • csvtk v0.3.8 Github Releases (by Release)
    • new feature: csvtk cut supports ordered fields output. e.g., csvtk cut -f 2,1 outputs the 2nd column in front of 1th column.
    • new commands: csvtk plot can plot three types of plots by subcommands:
      • csvtk plot hist: histogram
      • csvtk plot box: boxplot
      • csvtk plot line: line plot and scatter plot
  • csvtk v0.3.7 Github Releases (by Release)
    • fix a serious bug of using negative field of column name, e.g. -f "-id"
  • csvtk v0.3.6 Github Releases (by Release)
    • csvtk replace support replacement symbols {nr} (record number) and {kv} (corresponding value of the key ($1) by key-value file)
  • csvtk v0.3.5.2 Github Releases (by Release)
    • add flag --fill for csvtk join, so we can fill the unmatched data
    • fix typo
  • csvtk v0.3.5.1 Github Releases (by Release)
    • fix minor bug of reading lines ending with \r\n from a dependency package
  • csvtk v0.3.5 Github Releases (by Release)
    • fix minor bug of csv2md
    • add subcommand version which could check for update
  • csvtk v0.3.4 Github Releases (by Release)
    • fix bug of csvtk replace that head row should not be edited.
  • csvtk v0.3.3 Github Releases (by Release)
    • fix bug of csvtk grep -t -P
  • csvtk v0.3.2 Github Releases (by Release)
    • fix bug of inter
  • csvtk v0.3.1 Github Releases (by Release)
    • add support of search multiple fields for grep
  • csvtk v0.3 Github Releases (by Release)
    • add subcommand csv2md
  • csvtk v0.2.9 Github Releases (by Release)
    • add more flags to subcommand pretty
    • fix bug of csvtk cut -n
    • add subcommand filter
  • csvtk v0.2.8 Github Releases (by Release)
    • add subcommand pretty -- convert CSV to readable aligned table
  • csvtk v0.2.7 Github Releases (by Release)
    • fix highlight failing in windows
  • csvtk v0.2.6 Github Releases (by Release)
    • fix one error message of grep
    • highlight matched fields in result of grep
  • csvtk v0.2.5 Github Releases (by Release)
    • fix bug of stat that failed to considerate files with header row
    • add subcommand stat2 - summary of selected number fields
    • make the output of stat prettier
  • csvtk v0.2.4 Github Releases (by Release)
    • fix bug of handling comment lines
    • add some notes before using csvtk
  • csvtk v0.2.3 Github Releases (by Release)
    • add flag --colnames to cut
    • flag -f (--fields) of join supports single value now
  • csvtk v0.2.2 Github Releases (by Release)
    • add flag --keep-unmathed to join
  • csvtk v0.2 Github Releases (by Release)
    • finish almost functions
  • csvtk v0.2.1 Github Releases (by Release)
    • fix bug of mutate