Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release version 1.2.0 #122

Merged
merged 1 commit into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
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 <[email protected]>"]
edition = "2018"
homepage = "https://github.com/riquito/tuc"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion doc/tuc.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
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
====
Expand Down
Loading