From 9bc9a8c8d9d28abfc8da1d55f7b8a8f19af8ab6b Mon Sep 17 00:00:00 2001 From: Ayooluwa Isaiah Date: Wed, 9 Aug 2023 09:33:36 +0200 Subject: [PATCH] bump version to v1.9.1 --- CHANGELOG.md | 5 +++++ app.go | 2 +- f2_test/f2_test.go | 2 ++ testdata/help.golden | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9493267..e6b88cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.9.1 (2023-02-09) + +- Improve performance in dry-run mode (due to table rendering). +- Fix issue where files could be overwritten when `--fix-conflicts` is used. + ## 1.9.0 (2023-02-02) - Simple mode now prompts before executing. diff --git a/app.go b/app.go index a97779a..e3ad289 100644 --- a/app.go +++ b/app.go @@ -279,7 +279,7 @@ or: FIND [REPLACE] [PATHS TO FILES AND DIRECTORIES...]` }, Usage: "F2 is a command-line tool for batch renaming multiple files and directories quickly and safely.", UsageText: usageText, - Version: "v1.9.0", + Version: "v1.9.1", EnableBashCompletion: true, Flags: []cli.Flag{ &cli.StringFlag{ diff --git a/f2_test/f2_test.go b/f2_test/f2_test.go index f2ea1fb..6609a8f 100644 --- a/f2_test/f2_test.go +++ b/f2_test/f2_test.go @@ -531,6 +531,8 @@ func TestShortHelp(t *testing.T) { help := f2.ShortHelp(f2.NewApp()) if runtime.GOOS == internalos.Windows { + // TODO: due to line endings on Windows + // FIXME: Needs to be corrected instead of ignored t.SkipNow() } diff --git a/testdata/help.golden b/testdata/help.golden index 6805c69..0826d49 100644 --- a/testdata/help.golden +++ b/testdata/help.golden @@ -1,4 +1,4 @@ -F2 — Command-line bulk renaming tool [version v1.9.0] +F2 — Command-line bulk renaming tool [version v1.9.1] Usage: FLAGS [OPTIONS] [PATHS TO FILES AND DIRECTORIES...] or: FIND [REPLACE] [PATHS TO FILES AND DIRECTORIES...]