v0.3.0
New packages:
log
: The new log
package provides a simple yet powerful structured logger that can log at different levels.
The Logger type implements the progress.Logger
and progress.OutputLogger
interfaces, making it easy to use with the progress
package.
Minor Changes:
progress
:
- Added
RunOptions.Count
field to allow specifying a count for the spinner run byRun
.
Breaking Changes:
command
:
- Renamed
IsAvailable
toExists
.
fatal
:
- Redesigned
fatal
package. - The
Error
type can be used to represent a fatal error that requires the application to terminate with context. - The
Exiter
type allows exiting the application, with different options.
progress
:
SpinnerTracker
has been moved to thespinner
package. Usespinner.Tracker
instead now.RunParallelOptions.Concurrency
is now typeint
instead ofuint
.DefaultConcurrency
now returns anint
instead of auint
.