Releases: janmartendeboer/nv
Release v0.9.1
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
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
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
Install man pages using nv_amd64.deb
Release v0.6.0
This version focuses on improving the quality of the base program and to both document and test all existing features.
Release v0.5.0
Re-implement commands using Cobra
Release v0.4.0
Add plugin system and first plugin to add XML encoding.
Release v0.3.0
Convert formatters to encodings
Release v0.2.1
Improve documentation for developers.
Release 0.2.0
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)