Releases: veonik/squircy3
Releases · veonik/squircy3
Improved first-run experience
Changes since v0.9.0:
config
: AddpostSetupOption
for SetupOptions that should run after all others (ie.WithValuesFrom*
methods).config
: AddWithValuesFromFlagSet
and support for mapping flags to config options and sections.config
: AddWithValuesFromMap
and support for populating a config with data from an arbitrary map.config
: AddSelf
method toconfig.Config
interface.config
: Rename (unexport)config.Configurable
toconfig.configurable
.cli
: AddPluginOptions
andLogLevel
tocli.Config
struct.cli
: LogLevel can be set from the TOML config file.plugin
: RenameInitHandler
interface toPluginInitHandler
to make obvious the difference between it andShutdownHandler
- PluginInitHandlers are called whenever a single plugin is initialized while ShutdownHandlers are called all at once and only once when the application is shutting down.
cmd/squircy
: Add command line flags for all options available in built-inirc
andvm
plugins.- Flags follow the convention of
-<plugin>-<option>
with all underscores_
replaced with dashes-
. - For example, configure the
irc
plugin:squircy -irc-nick johndoe -irc-username notrealjohn -irc-network weber.freenode.org:6697
- Flags follow the convention of
cmd/squircy
: Add command line flag-plugin-option
for configuring extra plugins from the command line.- For example, to change the
enable_exec
option of thenode_compat
plugin, pass:Or setsquircy -plugin-option node-compat-enable-exec=true
enabled
for thebabel
plugin:squircy -plugin-option babel-enabled=false
- For example, to change the
cmd/squircy
: Fix root directory creation so the directory is created with the proper FileMode.cmd/squircy
: Add automatic creation of default starting files in root directory, if they do not exist.- Static files are embedded using packr2.
cmd/squircy
: Add minimal config.toml and package.json to embedded static files.node_compat
: Add check to ensure babel is loaded and enabled before node_compat will function.vm
,script
,squircy2_compat
: InheritRootDir
option and prefix relative paths in plugin configs with RootDir.- various: added godocs, improved logging output consistency
- updated README!
Pre-release
This is the first tagged release of squircy3 mostly just as a line in the sand. The codebase has been pretty stable with no major changes and this marks the first step toward a v1.0.0 release.