Skip to content

Releases: janmartendeboer/nv

Release v0.9.1

06 Oct 19:21
Compare
Choose a tag to compare

Fix scope name resolution. Fixes janmarten.name/nv/config.WithEncoding nv/config.WithEncoding -> janmarten.name/nv/config.init.0 nv/config.init.0

Previously the scope name inherited from any function call that ran before debug.RegisterCallback within the same scope.

Release v0.9.0

06 Oct 18:25
Compare
Choose a tag to compare

In this release, the debug callbacks are registered in a simplified manner. Instead of the caller of debug.RegisterCallback determining the name of the scope, the callee determines the name of the scope by reading the call stack at runtime. The function name of the determined call frame is used as scope identifier. Function names that start with janmarten.name/ are trimmed accordingly. E.g.: janmarten.name/nv/config.init.0 becomes nv/config.init.0.

Compared to the previous release, this translates the following manually registered scopes into the new automatically determined scopes:

Previous scope name Function name New scope name
Main janmarten.name/nv.init.0 nv.init.0
Plugins janmarten.name/nv.init.1 nv.init.1
Debug janmarten.name/nv/debug.init.0 nv/debug.init.0
Config janmarten.name/nv/config.WithEncoding nv/config.WithEncoding

Release v0.8.0

30 Aug 17:14
Compare
Choose a tag to compare

This release introduces a debug command for Nv during runtime.

Example output of nv debug:

Nv debug:

Config      Env         [HOME HOSTTYPE LANG LESSCLOSE LESSOPEN LOGNAME LS_COLORS MOTD_SHOWN NAME PATH PWD SHELL SHLVL TERM USER WSLENV XDG_DATA_DIRS _]

Debug       Callbacks   [Config Debug Encoding Main Plugins]

Encoding    Default     text
            Formats     [json text]

Main        Args               [bin/nv debug]
            Compiler           gc
            DevMode            false
            Hostname           GOPHER
            Platform           linux/amd64
            Runtime            go1.13.8
            Threads            12
            User               gopher
            Version            0.8.0
            Working directory  /home/gopher

Plugins     FileMap     map[/usr/lib/nv/*.so:[] /usr/local/lib/nv/*.so:[]]
            Loaded      []
            Rejected    []

Release v0.7.0

16 Aug 16:42
Compare
Choose a tag to compare

Install man pages using nv_amd64.deb

Release v0.6.0

16 Aug 14:58
Compare
Choose a tag to compare

This version focuses on improving the quality of the base program and to both document and test all existing features.

Release v0.5.0

01 Aug 21:16
Compare
Choose a tag to compare

Re-implement commands using Cobra

Release v0.4.0

14 Jul 21:24
Compare
Choose a tag to compare

Add plugin system and first plugin to add XML encoding.

Release v0.3.0

14 Jul 21:21
Compare
Choose a tag to compare

Convert formatters to encodings

Release v0.2.1

13 Jul 14:19
Compare
Choose a tag to compare

Improve documentation for developers.

Release 0.2.0

12 Jul 20:18
Compare
Choose a tag to compare

Add support for multiple outputs. The get command now uses an exporter for configuration variables, which uses a formatter that can be swapped out.

The current supported output formats are:

  • text
  • json

The following formats are currently considered:

  • yaml
  • xml
  • ascii (Colored output using ASCII escapes)