Releases: veonik/squircy3
Releases · veonik/squircy3
Improved first-run experience
Changes since v0.9.0:
config: AddpostSetupOptionfor SetupOptions that should run after all others (ie.WithValuesFrom*methods).config: AddWithValuesFromFlagSetand support for mapping flags to config options and sections.config: AddWithValuesFromMapand support for populating a config with data from an arbitrary map.config: AddSelfmethod toconfig.Configinterface.config: Rename (unexport)config.Configurabletoconfig.configurable.cli: AddPluginOptionsandLogLeveltocli.Configstruct.cli: LogLevel can be set from the TOML config file.plugin: RenameInitHandlerinterface toPluginInitHandlerto 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-inircandvmplugins.- Flags follow the convention of
-<plugin>-<option>with all underscores_replaced with dashes-. - For example, configure the
ircplugin: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-optionfor configuring extra plugins from the command line.- For example, to change the
enable_execoption of thenode_compatplugin, pass:Or setsquircy -plugin-option node-compat-enable-exec=trueenabledfor thebabelplugin: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: InheritRootDiroption 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.