Skip to content

Commit

Permalink
Release version 1.2.0
Browse files Browse the repository at this point in the history
riquito committed Jan 2, 2024
1 parent 7015d68 commit 7401ba1
Showing 6 changed files with 17 additions and 8 deletions.
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <riccardo@sideralis.org>"]
edition = "2018"
homepage = "https://github.com/riquito/tuc"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion doc/tuc.1
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions doc/tuc.1.md
Original file line number Diff line number Diff line change
@@ -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
====

0 comments on commit 7401ba1

Please sign in to comment.