From 7401ba1f9fcc4ed3b0a78cba1ad83da88cf36cdf Mon Sep 17 00:00:00 2001 From: Riccardo Attilio Galli Date: Mon, 1 Jan 2024 16:39:23 -0800 Subject: [PATCH] Release version 1.2.0 --- CHANGELOG.md | 13 +++++++++++-- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 2 +- doc/tuc.1 | 2 +- doc/tuc.1.md | 4 ++-- 6 files changed, 17 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b7a26a..455addd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## [1.2.0] - 2024-01-01 + - feat: new option --json to format output as JSON array -- fix: field formatting is now applied to field 1 even if it's the only - one present and with no delimiters around +- feat: -r can be used when cutting --characters. It replaces + the (empty) delimiter between characters with whatever you provided +- feat: exit early when some combinations of fields cannot be used together +- feat: updated dependencies. In particular the regex crate which offers new + functionalities (word boundary assertions) +- fix: field formatting is now applied to field 1 even if no delimiters + are found (similar to how we print the unformatted field 1) +- doc: many error messages have been rewritten for better clarity +- doc: new svg demo in the README ## [1.1.0] - 2023-12-02 diff --git a/Cargo.lock b/Cargo.lock index b02b672..6221ea0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -178,7 +178,7 @@ checksum = "a7f741b240f1a48843f9b8e0444fb55fb2a4ff67293b50a9179dfd5ea67f8d41" [[package]] name = "tuc" -version = "1.1.0" +version = "1.2.0" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index 2eb76a2..6dfa226 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tuc" description = "When cut doesn't cut it" -version = "1.1.0" +version = "1.2.0" authors = ["Riccardo Attilio Galli "] edition = "2018" homepage = "https://github.com/riquito/tuc" diff --git a/README.md b/README.md index 534d0c6..e2813ac 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ No time to install it? Play with a webassembly version online, the [tuc playgrou ## Help ``` -tuc 1.1.0 +tuc 1.2.0 Cut text (or bytes) where a delimiter matches, then keep the desired parts. The data is read from standard input. diff --git a/doc/tuc.1 b/doc/tuc.1 index 04a170b..0601746 100644 --- a/doc/tuc.1 +++ b/doc/tuc.1 @@ -14,7 +14,7 @@ . ftr VB CB . ftr VBI CBI .\} -.TH "tuc" "1" "Dec 02, 2023" "Tuc 1.1.0" "Tuc Manual" +.TH "tuc" "1" "Jan 01, 2024" "Tuc 1.2.0" "Tuc Manual" .hy .SH NAME .PP diff --git a/doc/tuc.1.md b/doc/tuc.1.md index 82a2ee0..1e6bdc7 100644 --- a/doc/tuc.1.md +++ b/doc/tuc.1.md @@ -1,6 +1,6 @@ -% tuc(1) Tuc 1.1.0 | Tuc Manual +% tuc(1) Tuc 1.2.0 | Tuc Manual % -% Dec 02, 2023 +% Jan 01, 2024 NAME ====