Releases: lordofscripts/goapp
Release list
v1.5.1
News
- Added
MenuandButtonnew tags to themtagpackage, they serve better for GUI logging to indicate the source of the trigger. - Some minor fix on parsing GO stack frames to determine the source location (package, struct, function/method) when anonymous closure functions are present. This update was made on
zlogand backported tomlog - The
FrameComponentobject was added to theutilpackage. It is used for parsing stack frames.
Full Changelog: v1.5.0...v1.5.1
v1.5.0
News
- The standalone
mtagpackage has been enhanced with new useful Tags that can be used in MLog, ZLog or standalone:Float,Date/DateUTC,Time/TimeUTCandMoney. Money comes in several flavors: American, European, Swiss/Liechtenstein for thousands and decimal separators. - First check-in of my new Flexible Logger ZLog in the
app/zlogpackage. It merges functionality ofapp/mlogandapp/logxbut as objects. It also brings new functionality and a demo program I started using this in my in-house applications. This is major work on issue #7 "Merge MLog and LogX into ZLog" - Full migration to the TaskFile runner which will eventually replace
Makefilein all my projects. Great find indeed as Makefiles tend to get too convoluted.
Full Change Log
Full Changelog: v1.4.6...v1.5.0
v1.4.6
News
- Some optimizations and linting
- Closed #8 Key-Value pair tags moved to new
mtagpackage. Refactoredmlogto use that which was previously built-in. - Rewrote Makefile
- Added and configured
Taskfile.ymlto migrate to TaskFile runner. Does the same as Makefile now. go.ymlworkflow improved to build and test all scenarios.- Reorganized examples and added example for MLog demo
Planning to deprecate logx and mlog in favor of zlog which is in late phase of development
Full Log
Full Changelog: v1.4.5...v1.4.6
v1.4.5
News
Enhancements to the app.PackageVersion object that is useful to report your own module's version
information (and why not using other GoApp functionalities):
- Added
Version()which unlikeShort()reports only your module's version number without prefix:1.4.0 - Fixed the
Short()method which was reporting a double prefix, now it is correct:v0.1.2 - Fixed the lack of description which was used in the constructors but not stored.
- Added
Info()which reports your module name, version and description:myapp v0.5.7 An ACME product - Added the
goapp.RegisterModule()function which accepts your module's ownPackageVersioninstance to notify its existance.
Then if you have several modules that use GoApp,
- In your application's support or help page, you can enumerate
goapp.CustomImportsstring slice with all the infos of modules that use GoApp'sPackageVersionthat have registered themselves. NOTE: The register functionality does NOT send any information over the Internet, it is information LOCAL to your application.
Full Changes
Full Changelog: v1.4.4...v1.4.5
v1.4.4
News
A small update with new functionality promoted from another pet project.
- Fixed #5 Call Tree can now be outputted together with the rest of the log, or separately to a (different) file if
WithCallTree(filename)is called during initialization. Previously, it was only possible to use a separate file. - Closed #6 Brought in the
timex.NewChronometerandtimex.NewChronometerItemconstructors into the new packagetimex
Full Change Log
Full Changelog: v1.4.3...v1.4.4
v1.4.3
News
- Fixed #4 and introduced several
app.Prefer*()to specify which logging subpackage theapp.Die*()functions should use. - Added a
util.Filenameobject with a fluent API modeutil.IFilenameQueryto manipulate filenames or paths either in single operations or multiple chained operations. An ample set of test cases were included for this object. I promoted it from another module that I am developing.
A nice capuccino would be nice LOL to help continue development of public packages in my repository.
Full Change Log
Full Changelog: v1.4.2...v1.4.3
v1.4.3-RC.1
News
- Fixed #3 the
IsHiddenFilefunction was broken in the non-Windows builds.
Full Change Full
Full Changelog: v1.4.2...v1.4.3-RC.1
v1.4.2
In a Nutshell
- By default error messages of type
stringorerrorgiven toapp.Die*()functions are as of now rendered as a neat ASCII box - Added
app.ErrorMessageRenderAsBox(bool)which set tofalsemakes theapp.Dierendering work as they did prior tov1.4.2
Full Log
Full Changelog: v1.4.1...v1.4.2
v1.4.1
Patch #1 v1.4.1
- Added a helper for
flag.FlagSetinflagx.FlagSetCommander - Beautified application termination messages and error rendering.
- Updated documentation
Full Change Log
Full Changelog: v1.4.0...v1.4.1
v1.4.0
News
- Added
app.WarningCodetype aliased toint. You can create your own custom Warning Code enumeration on this type. - Added
app.Warningobject which implementserrorinterface. You can create a formatted warning with its warning code, or if returning anerrorin a method or function, you could useapp.NewWarningAsErr()function together withapp.IsWarning() - Added
app.IsHiddenFile()function which is OS-agnostic, in Unix/Linux/MacOS hidden files start with a leading.whereas in Windows it is a file attribute.
A nice capuccino would be nice LOL to help continue development of public packages in my repository.
Full Change Log
Full Changelog: v1.3.3...v1.4.0