Releases: zk-org/zk
v0.14.1
Listed below are the major fixes and updates for v0.14.1.
However, many "behind the scenes" fixes and maintenance work from new maintainers @mcDevnagh, @julio-lopez and @jurica in particular were integral to this release as it marks the first release after having transferred the project from @mickael-menu's solo hands to zk-org. Thanks of course also goes to Mickael for his insight and allowing us to pester him a little bit more as we get to grips with the code base.
We also now have builds for Alpine Linux π
What's Changed
- Fixed parsing large notes @khimaros in #339
- fix day range parsing (#382) by @tjex in #384
- accept tripple dash file URIs as valid links by @tjex in #391
- fix(lsp): fix trigger completion of zk LSP by @Rahlir in #397
- fix(lsp): ignore diagnostic check within code blocks by @Rahlir in #399
- allow notebook as hidden dir by @tjex in #402
Documentation / Website
- Update documentation to restore GitHub Pages functionality by @hugginsio in #387
- Fix hyperlink from
README.md
todocs/getting-started.md
by @sumit-sahrawat in #395 - Doc: how to edit today's daily note by @apraga in #407
New Contributors
- @khimaros made their first contribution in #339
- @julio-lopez made their first contribution in #354
- @mcDevnagh made their first contribution in #374
- @tjex made their first contribution in #376
- @hugginsio made their first contribution in #387
- @sumit-sahrawat made their first contribution in #395
- @Rahlir made their first contribution in #397
- @apraga made their first contribution in #407
Full Changelog: v0.14.0...v0.14.1
0.14.0
Added
- New
tool.shell
configuration key to set a custom shell (contributed by @lsvmello). - New
notebook.dir
configuration key to set the default notebook (contributed by @lsvmello).
Changed
- The
note.ignore
configuration property was renamed tonote.exclude
, to be more consistent with the CLI flags.
Fixed
- Fixed LSP positions using UTF-16 offsets (contributed by @wrvsrx).
0.13.0
Added
- LSP:
zk.new
now returns the created note's content in its output (content
), and has two new options:dryRun
will preventzk.new
from creating the note on the file system.insertContentAtLocation
can be used to insert the created note's content into an arbitrary location.
- A new
zk.link
command to insert a link to a given note (contributed by @psanker).
0.12.0
Added
- LSP: Support for external URLs with
documentLink
. - New
{{date}}
template helper to obtain a date object from natural language (contributed by @zalegrala).Get a relative date using natural language: {{date "next week"}} Format a date returned by `get-date`: {{format-date (date "monday") "timestamp"}}
zk list
now support multiple--match
/-m
flags, which allows to search for several tokens appearing in any order in the notes (contributed by @rktjmp).
Changed
- Breaking change: The
{{date}}
template helper was renamed to{{format-date}}
. You might need to update your configuration and templates.
Fixed
0.11.1
Changed
zk new
now requires the--interactive
/-i
flag to read the note body from a pipe or standard input. See rational.
Fixed
0.11.0
Added
- Use regular expressions when searching for notes with
--match
.# Find notes containing emails. $ zk list --match-strategy re --match ".+@.+" $ zk list -Mr -m ".+@.+"
Changed
- The flags
--exact-match
/-e
are deprecated in favor of--match-strategy exact
/-Me
.
Deprecated
- The LSP server does not support resolving a wiki link to a note title anymore. See more info about this change.
- For example,
[[Planet]]
can match a note with filenamei4w0 Planet.md
but noti4w0.md
with a Markdown titlePlanet
anymore. - This "smart" fallback resolution based on note titles was too fragile and not supported by the
zk
CLI.
- For example,
Fixed
0.10.1
Changed
- Removed the dependency on
libicu
.
Fixed
- Indexed links are now automatically updated when adding a new note, if it is a better match than the previous link target.
0.10.0
Added
-
New
--date
flag forzk new
to set the current date manually. -
New
--id
flag forzk new
to skip ID generation and use a provided value (contributed by @skbolton). -
#144 LSP auto-completion of YAML frontmatter tags.
-
zk-nvim#26 The LSP server doesn't use
additionalTextEdits
anymore to remove the trigger characters when completing links.- You can customize the default behavior with the
use-additional-text-edits
configuration key.
- You can customize the default behavior with the
-
#163 Use the
ZK_SHELL
environment variable to override the shell forzk
only. -
#173 Support for double star globbing in
note.ignore
config option. -
#137 Customize the
fzf
options used byzk
's interactive modes with thefzf-options
config option (contributed by @Nelyah). -
#168 Customize the
fzf
key binding to create new notes with thefzf-bind-new
config option.
Changed
- The default
fzf
key binding to create a new note withzk edit --interactive
was changed toCtrl-E
, to avoid conflict with the defaultCtrl-N
binding.
Fixed
0.9.0
Added
- New LSP commands:
zk.list
to search for notes.zk.tag.list
to retrieve the list of tags.
--debug
mode which prints a stacktrace onSIGINT
.
Fixed
0.8.0
Added
- New
zk graph --format json
command which produces a JSON graph of the notes matching the given criteria. - New template variables
filename
andfilename-stem
when formatting notes (e.g. withzk list --format
) and for thefzf-line
config key. - Customize how LSP completion items appear in your editor when auto-completing links with the
[lsp.completion]
configuration section.[lsp.completion] # Show the note title in the completion pop-up, or fallback on its path if empty. note-label = "{{title-or-path}}" # Filter out the completion pop-up using the note title or its path. note-filter-text = "{{title}} {{path}}" # Show the note filename without extension as detail. note-detail = "{{filename-stem}}"
- New
--dry-run
flag forzk new
which prints out the path and content of the generated note instead of saving it to the file system. - New
--verbose
flag forzk index
which prints detailed information about the indexing process. - You can now filter through the YAML frontmatter with
zk list --interactive
.
Fixed
- #89 Calling
zk index
from outside the notebook (contributed by @adamreese). - #98 Index wiki links using partial paths for
--linked-by
and--link-to
. - #98 Ignore spaces around the pipe in wiki links for LSP diagnostics.