diff --git a/CHANGELOG.md b/CHANGELOG.md
index 73e49d9..32e1ea6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,7 @@
- [csvtk v0.27.1](https://github.com/shenwei356/csvtk/releases/tag/v0.27.1)
[![Github Releases (by Release)](https://img.shields.io/github/downloads/shenwei356/csvtk/v0.27.1/total.svg)](https://github.com/shenwei356/csvtk/releases/tag/v0.27.1)
- `csvtk filter2/mutate2`:
- - fix the bug when selecting with field numbers. [#242](https://github.com/shenwei356/csvtk/issues/242)
+ - fix the bug of selecting with field numbers. [#242](https://github.com/shenwei356/csvtk/issues/242)
- [csvtk v0.27.0](https://github.com/shenwei356/csvtk/releases/tag/v0.27.0)
[![Github Releases (by Release)](https://img.shields.io/github/downloads/shenwei356/csvtk/v0.27.0/total.svg)](https://github.com/shenwei356/csvtk/releases/tag/v0.27.0)
- `csvtk`:
diff --git a/csvtk/cmd/version.go b/csvtk/cmd/version.go
index efe2c08..e59c78d 100644
--- a/csvtk/cmd/version.go
+++ b/csvtk/cmd/version.go
@@ -29,7 +29,7 @@ import (
)
// VERSION of csvtk
-const VERSION = "0.27.0"
+const VERSION = "0.27.1"
// versionCmd represents the version command
var versionCmd = &cobra.Command{
diff --git a/doc/docs/download.md b/doc/docs/download.md
index 1f744dc..c369af1 100644
--- a/doc/docs/download.md
+++ b/doc/docs/download.md
@@ -6,44 +6,23 @@
## Current Version
-- [csvtk v0.27.0](https://github.com/shenwei356/csvtk/releases/tag/v0.27.0)
-[![Github Releases (by Release)](https://img.shields.io/github/downloads/shenwei356/csvtk/v0.27.0/total.svg)](https://github.com/shenwei356/csvtk/releases/tag/v0.27.0)
- - `csvtk`:
- - code refactoring and simplifying code, with 16% less code.
- - **most commands support open column range syntax**, e.g., `csvtk grep -f 2-`. [#120](https://github.com/shenwei356/csvtk/issues/120)
- - **only selected column names are not allowed to be duplicated in the input data**: box, corr, filter, filter2, fold, freq, gather, historysort, inter, join, line, mutate, mutate2, rename, replace, sep, split, summary, unfold, uniq, watch. Other commands do not have the restriction. [#235](https://github.com/shenwei356/csvtk/issues/235)
- - add a new global flag `-Z/--show-row-number`, supported commands: cut, csv2tab, csv2xlsx, tab2csv, pretty.
- - the colum name of row number changes from "n" to "row": csv2xlsx, csv2tab, cut, filter, filter2, grep, pretty, sample, tab2csv.
- - **new command**:
- - **`csvtk spread`: spread a key-value pair across multiple columns, like tidyr::spread/pivot_wider**.
- [#91](https://github.com/shenwei356/csvtk/issues/91), [#236](https://github.com/shenwei356/csvtk/issues/236), [#239](https://github.com/shenwei356/csvtk/issues/239)
- - `csvtk mutate/mutate2`:
- - **new flags `--at`, `--before`, `--after` for specifying the position of the new column**. [#193](https://github.com/shenwei356/csvtk/issues/193)
- - `csvtk cut`:
- - fix unselect range error. [#234](https://github.com/shenwei356/csvtk/issues/234)
- - fix `-i/--ignore-case`.
- - `csvtk pretty`:
- - **allow align-center and align-right for specific columns**. [#240](https://github.com/shenwei356/csvtk/issues/240)
- - `csvtk round`:
- - fix bug of failing to round scientific notation with value small than one, e.g., `7.1E-1`.
- - `csvtk summary`:
- - fix duplicated columns.
- - fix result error when multiple stats applied to the same column.
- - `csvtk corr/watch`:
- - rewrite and fix bug, support choosing fields with column names.
+- [csvtk v0.27.1](https://github.com/shenwei356/csvtk/releases/tag/v0.27.1)
+[![Github Releases (by Release)](https://img.shields.io/github/downloads/shenwei356/csvtk/v0.27.1/total.svg)](https://github.com/shenwei356/csvtk/releases/tag/v0.27.1)
+ - `csvtk filter2/mutate2`:
+ - fix the bug of selecting with field numbers. [#242](https://github.com/shenwei356/csvtk/issues/242)
### Links
OS |Arch |File, 中国镜像 |Download Count
:------|:---------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-Linux |32-bit |[csvtk_linux_386.tar.gz](https://github.com/shenwei356/csvtk/releases/download/v0.27.0/csvtk_linux_386.tar.gz),
[中国镜像](http://app.shenwei.me/data/csvtk/csvtk_linux_386.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_linux_386.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/csvtk/releases/download/v0.27.0/csvtk_linux_386.tar.gz)
-Linux |**64-bit**|[**csvtk_linux_amd64.tar.gz**](https://github.com/shenwei356/csvtk/releases/download/v0.27.0/csvtk_linux_amd64.tar.gz),
[中国镜像](http://app.shenwei.me/data/csvtk/csvtk_linux_amd64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_linux_amd64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/csvtk/releases/download/v0.27.0/csvtk_linux_amd64.tar.gz)
-Linux |**64-bit**|[**csvtk_linux_arm64.tar.gz**](https://github.com/shenwei356/csvtk/releases/download/v0.27.0/csvtk_linux_arm64.tar.gz),
[中国镜像](http://app.shenwei.me/data/csvtk/csvtk_linux_arm64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_linux_arm64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/csvtk/releases/download/v0.27.0/csvtk_linux_arm64.tar.gz)
-macOS |**64-bit**|[**csvtk_darwin_amd64.tar.gz**](https://github.com/shenwei356/csvtk/releases/download/v0.27.0/csvtk_darwin_amd64.tar.gz),
[中国镜像](http://app.shenwei.me/data/csvtk/csvtk_darwin_amd64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_darwin_amd64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/csvtk/releases/download/v0.27.0/csvtk_darwin_amd64.tar.gz)
-macOS |**arm64** |[**csvtk_darwin_arm64.tar.gz**](https://github.com/shenwei356/csvtk/releases/download/v0.27.0/csvtk_darwin_arm64.tar.gz),
[中国镜像](http://app.shenwei.me/data/csvtk/csvtk_darwin_arm64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_darwin_arm64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/csvtk/releases/download/v0.27.0/csvtk_darwin_arm64.tar.gz)
-Windows|32-bit |[csvtk_windows_386.exe.tar.gz](https://github.com/shenwei356/csvtk/releases/download/v0.27.0/csvtk_windows_386.exe.tar.gz),
[中国镜像](http://app.shenwei.me/data/csvtk/csvtk_windows_386.exe.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_windows_386.exe.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/csvtk/releases/download/v0.27.0/csvtk_windows_386.exe.tar.gz)
-Windows|**64-bit**|[**csvtk_windows_amd64.exe.tar.gz**](https://github.com/shenwei356/csvtk/releases/download/v0.27.0/csvtk_windows_amd64.exe.tar.gz),
[中国镜像](http://app.shenwei.me/data/csvtk/csvtk_windows_amd64.exe.tar.gz)|[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_windows_amd64.exe.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/csvtk/releases/download/v0.27.0/csvtk_windows_amd64.exe.tar.gz)
+Linux |32-bit |[csvtk_linux_386.tar.gz](https://github.com/shenwei356/csvtk/releases/download/v0.27.1/csvtk_linux_386.tar.gz),
[中国镜像](http://app.shenwei.me/data/csvtk/csvtk_linux_386.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_linux_386.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/csvtk/releases/download/v0.27.1/csvtk_linux_386.tar.gz)
+Linux |**64-bit**|[**csvtk_linux_amd64.tar.gz**](https://github.com/shenwei356/csvtk/releases/download/v0.27.1/csvtk_linux_amd64.tar.gz),
[中国镜像](http://app.shenwei.me/data/csvtk/csvtk_linux_amd64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_linux_amd64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/csvtk/releases/download/v0.27.1/csvtk_linux_amd64.tar.gz)
+Linux |**64-bit**|[**csvtk_linux_arm64.tar.gz**](https://github.com/shenwei356/csvtk/releases/download/v0.27.1/csvtk_linux_arm64.tar.gz),
[中国镜像](http://app.shenwei.me/data/csvtk/csvtk_linux_arm64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_linux_arm64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/csvtk/releases/download/v0.27.1/csvtk_linux_arm64.tar.gz)
+macOS |**64-bit**|[**csvtk_darwin_amd64.tar.gz**](https://github.com/shenwei356/csvtk/releases/download/v0.27.1/csvtk_darwin_amd64.tar.gz),
[中国镜像](http://app.shenwei.me/data/csvtk/csvtk_darwin_amd64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_darwin_amd64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/csvtk/releases/download/v0.27.1/csvtk_darwin_amd64.tar.gz)
+macOS |**arm64** |[**csvtk_darwin_arm64.tar.gz**](https://github.com/shenwei356/csvtk/releases/download/v0.27.1/csvtk_darwin_arm64.tar.gz),
[中国镜像](http://app.shenwei.me/data/csvtk/csvtk_darwin_arm64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_darwin_arm64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/csvtk/releases/download/v0.27.1/csvtk_darwin_arm64.tar.gz)
+Windows|32-bit |[csvtk_windows_386.exe.tar.gz](https://github.com/shenwei356/csvtk/releases/download/v0.27.1/csvtk_windows_386.exe.tar.gz),
[中国镜像](http://app.shenwei.me/data/csvtk/csvtk_windows_386.exe.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_windows_386.exe.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/csvtk/releases/download/v0.27.1/csvtk_windows_386.exe.tar.gz)
+Windows|**64-bit**|[**csvtk_windows_amd64.exe.tar.gz**](https://github.com/shenwei356/csvtk/releases/download/v0.27.1/csvtk_windows_amd64.exe.tar.gz),
[中国镜像](http://app.shenwei.me/data/csvtk/csvtk_windows_amd64.exe.tar.gz)|[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/csvtk/latest/csvtk_windows_amd64.exe.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/csvtk/releases/download/v0.27.1/csvtk_windows_amd64.exe.tar.gz)
**Notes**
@@ -158,6 +137,31 @@ fish:
## Release history
+- [csvtk v0.27.0](https://github.com/shenwei356/csvtk/releases/tag/v0.27.0)
+[![Github Releases (by Release)](https://img.shields.io/github/downloads/shenwei356/csvtk/v0.27.0/total.svg)](https://github.com/shenwei356/csvtk/releases/tag/v0.27.0)
+ - `csvtk`:
+ - code refactoring and simplifying code, with 16% less code.
+ - **most commands support open column range syntax**, e.g., `csvtk grep -f 2-`. [#120](https://github.com/shenwei356/csvtk/issues/120)
+ - **only selected column names are not allowed to be duplicated in the input data**: box, corr, filter, filter2, fold, freq, gather, historysort, inter, join, line, mutate, mutate2, rename, replace, sep, split, summary, unfold, uniq, watch. Other commands do not have the restriction. [#235](https://github.com/shenwei356/csvtk/issues/235)
+ - add a new global flag `-Z/--show-row-number`, supported commands: cut, csv2tab, csv2xlsx, tab2csv, pretty.
+ - the colum name of row number changes from "n" to "row": csv2xlsx, csv2tab, cut, filter, filter2, grep, pretty, sample, tab2csv.
+ - **new command**:
+ - **`csvtk spread`: spread a key-value pair across multiple columns, like tidyr::spread/pivot_wider**.
+ [#91](https://github.com/shenwei356/csvtk/issues/91), [#236](https://github.com/shenwei356/csvtk/issues/236), [#239](https://github.com/shenwei356/csvtk/issues/239)
+ - `csvtk mutate/mutate2`:
+ - **new flags `--at`, `--before`, `--after` for specifying the position of the new column**. [#193](https://github.com/shenwei356/csvtk/issues/193)
+ - `csvtk cut`:
+ - fix unselect range error. [#234](https://github.com/shenwei356/csvtk/issues/234)
+ - fix `-i/--ignore-case`.
+ - `csvtk pretty`:
+ - **allow align-center and align-right for specific columns**. [#240](https://github.com/shenwei356/csvtk/issues/240)
+ - `csvtk round`:
+ - fix bug of failing to round scientific notation with value small than one, e.g., `7.1E-1`.
+ - `csvtk summary`:
+ - fix duplicated columns.
+ - fix result error when multiple stats applied to the same column.
+ - `csvtk corr/watch`:
+ - rewrite and fix bug, support choosing fields with column names.
- [csvtk v0.26.0](https://github.com/shenwei356/csvtk/releases/tag/v0.26.0)
[![Github Releases (by Release)](https://img.shields.io/github/downloads/shenwei356/csvtk/v0.26.0/total.svg)](https://github.com/shenwei356/csvtk/releases/tag/v0.26.0)
- `csvtk`:
diff --git a/doc/docs/usage.md b/doc/docs/usage.md
index 33afde4..e7dc956 100644
--- a/doc/docs/usage.md
+++ b/doc/docs/usage.md
@@ -100,7 +100,7 @@ Usage
```text
csvtk -- a cross-platform, efficient and practical CSV/TSV toolkit
-Version: 0.27.0
+Version: 0.27.1
Author: Wei Shen