Skip to content

Releases: zk-org/zk

v0.14.2

07 Feb 21:13
Compare
Choose a tag to compare

This is a particularly exciting release, as it's the first one to be completely automated.
HUGE thanks to @jurica for putting the time into making this possible (pr).

The changelog is still manual though. The bottlneck here is me...
If I've missed your PR and you feel it should be included in the changelog, please let me (@tjex) know!

Added

  • Path in .zk/config.toml for the default note template now accepts UNIX "~/paths" (by @WhyNotHugo, a50d533)
  • Find notes without tags with zk list --tagless (by @njnygaard, 0787930)

Fixed

v0.14.1

26 May 11:36
578894f
Compare
Choose a tag to compare

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 to docs/getting-started.md by @sumit-sahrawat in #395
  • Doc: how to edit today's daily note by @apraga in #407

New Contributors

Full Changelog: v0.14.0...v0.14.1

0.14.0

20 May 13:21
Compare
Choose a tag to compare

Added

Changed

  • The note.ignore configuration property was renamed to note.exclude, to be more consistent with the CLI flags.

Fixed

  • Fixed LSP positions using UTF-16 offsets (contributed by @wrvsrx).

0.13.0

13 Feb 07:33
Compare
Choose a tag to compare

Added

  • LSP:
    • zk.new now returns the created note's content in its output (content), and has two new options:
      • dryRun will prevent zk.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

04 Dec 09:26
Compare
Choose a tag to compare

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

  • #243 LSP: Fixed finding backlink references for notes in a folder.
  • #254 Fixed SQL error when pairing --link-to and --linked-by.

0.11.1

13 Jul 12:50
Compare
Choose a tag to compare

Changed

  • zk new now requires the --interactive/-i flag to read the note body from a pipe or standard input. See rational.

Fixed

  • #244 Fixed zk new waiting for Ctrl-D to proceed (contributed by @pkazmier).

0.11.0

11 Jul 08:12
Compare
Choose a tag to compare

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 filename i4w0 Planet.md but not i4w0.md with a Markdown title Planet anymore.
    • This "smart" fallback resolution based on note titles was too fragile and not supported by the zk CLI.

Fixed

  • #233 Hide index progress in non-interactive shells.
  • #235 Fix LSP link recognition with unicode (contributed by @zkbpkp).
  • #236 Fix updating links after creating a new note.
  • #239 Support standard input via shell redirection with zk new.

0.10.1

22 May 15:27
Compare
Choose a tag to compare

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

26 Apr 11:07
d8c9031
Compare
Choose a tag to compare

Added

  • New --date flag for zk new to set the current date manually.

  • New --id flag for zk 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.

  • #163 Use the ZK_SHELL environment variable to override the shell for zk only.

  • #173 Support for double star globbing in note.ignore config option.

  • #137 Customize the fzf options used by zk's interactive modes with the fzf-options config option (contributed by @Nelyah).

  • #168 Customize the fzf key binding to create new notes with the fzf-bind-new config option.

Changed

  • The default fzf key binding to create a new note with zk edit --interactive was changed to Ctrl-E, to avoid conflict with the default Ctrl-N binding.

Fixed

  • #126 Embedded image links shown as not found.
  • #152 Incorrect timezone for natural dates.
  • #170 Broken wiki links in subdirectories.
  • #185 Don't parse a Markdown table header as a colon tag.

0.9.0

19 Dec 11:46
Compare
Choose a tag to compare

Added

  • New LSP commands:
  • --debug mode which prints a stacktrace on SIGINT.

Fixed

  • #111 Filenames take precedence over folders when matching a sub-path with wiki links.
  • #118 Fix infinite loop when parsing a single-character hashtag.
  • #121 Take into account the --no-input flag with zk init.
  • #120 Support RFC 3339 dates with the time flags (e.g. --created-before).