Skip to content

Commit

Permalink
release: version 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
natecraddock committed Feb 11, 2023
1 parent 76adc61 commit 2999185
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion doc/zf.1
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 2999185

Please sign in to comment.