From 2999185c7f8a5bf1ffffadb57498a603d8fd582d Mon Sep 17 00:00:00 2001 From: Nathan Craddock Date: Sat, 11 Feb 2023 14:30:17 -0700 Subject: [PATCH] release: version 0.7.0 --- CHANGELOG.md | 4 +++- doc/zf.1 | 2 +- src/main.zig | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48b0100..a456820 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # master +# 0.7.0 + The headline feature of this release is strict path matching, another way that zf is optimized for filtering filepaths with accuracy and precision. With strict path matching, when a query token contains a `/` character, any other characters after the slash must appear in a single path segment. As an example, the query `/foo` would match `/foo/bar/` but not `/fo/obar` because the characters `"foo"` must appear in a single path segment. @@ -13,7 +15,7 @@ app/models/foo-bar-baz.rb app/monsters/dungeon/foo/bar/baz.rb ``` -The query `a/m/f/b/baz` filters to only `app/models/foo/bar/baz.rb` whereas in previous versions of zf the string `app/monsters/dungeon/foo/bar/baz.rb` is also included in the results. If you want to end strict path matching, just add a space to start a new token. +The query `a/m/f/b/baz` filters to only `app/models/foo/bar/baz.rb` whereas in previous versions of zf the string `app/monsters/dungeon/foo/bar/baz.rb` is also included in the results. To end strict path matching, just add a space to start a new token. This release also includes many fixes, refactors, optimizations, unicode support, and a few other small features. Here's an overview of the biggest changes: diff --git a/doc/zf.1 b/doc/zf.1 index d112cbf..8c5bdd8 100644 --- a/doc/zf.1 +++ b/doc/zf.1 @@ -1,4 +1,4 @@ -.TH ZF 1 "2022-12-10" "zf 0.7.0" +.TH ZF 1 "2023-02-11" "zf 0.7.0" .SH NAME zf -\ a commandline fuzzy finder that prioritizes matches on filenames diff --git a/src/main.zig b/src/main.zig index 5f4cdcc..967bb25 100644 --- a/src/main.zig +++ b/src/main.zig @@ -14,7 +14,7 @@ const filter = @import("filter.zig"); const term = @import("term.zig"); const ui = @import("ui.zig"); -const version = "0.7.0-dev"; +const version = "0.7.0"; const version_str = std.fmt.comptimePrint("zf {s} Nathan Craddock", .{version}); const help =