Skip to content

Releases: goyek/goyek

0.5.0

21 Jun 17:12
8570728
Compare
Choose a tag to compare

Added

  • Add the stack trace when a task panics.

Changed

  • Names of parameters now have to follow goyek.ParamNamePattern.
    They were allowed to start with an underscore (_), and now no longer are.
  • The PowerShell wrapper scripts goyek.ps1 better handles stderr redirection.

0.4.0

26 May 15:35
bdd3a6d
Compare
Choose a tag to compare

Added

  • Add Bash and PowerShell wrapper scripts.
  • Add -wd global parameter allowing to change the working directory.
    The new Taskflow.WorkDirParam method can be used to get its value in a task's command.

0.3.0

03 May 21:44
70f8154
Compare
Choose a tag to compare

The repository has migrated to https://github.com/goyek/goyek.

This release contains multiple breaking changes for both the CLI and the Go API.

The biggest change is a redesign of the parameters API, so they have to be explicitly registered.
It makes the usage of the parameters more controlled and provides a better help output.
Moreover, the parameters are set via CLI using the flag syntax.

Added

  • Help is printed when -h, --help or help is passed.
  • Help contains parameters' information.
  • The tasks and parameters can be passed via CLI in any order.
  • Taskflow.Run handles nil passed as context.Context argument.
  • Taskflow.Run panics when a registered parameter is not assigned to any task.

Changed

  • Module path changed to github.com/goyek/goyek.
  • Rename package task to goyek.
  • Use the flag syntax for setting parameters via CLI.
  • Rename Task.Description field to Usage.
  • Rename Task.Dependencies field to Deps.
  • Rename CodeFailure constant to CodeFail.
  • Rename Taskflow.MustRegister method to Register and remove previous Taskflow.Register implementation.
  • Remove Taskflow.Params field and TF.Params method, add Taskflow.Register*Param methods and Task.Params field instead.
  • Remove TF.Verbose, add Taskflow.VerboseParam instead.
  • Remove New function, create instance using &Taskflow{} instead.
  • Unexport Runner type, use Taskflow in tests instead.
  • Enforce patterns for task names (TaskNamePattern) and parameter names (ParamNamePattern).
  • Drop official support for Go 1.10.

0.2.0

14 Mar 06:40
f5a9537
Compare
Choose a tag to compare

Added

  • Add the possibility to set a default task.

0.1.1

28 Feb 14:37
edbc8de
Compare
Choose a tag to compare

Fixed

  • Make concurrent printing thread-safe.

0.1.0

14 Jan 18:19
40244da
Compare
Choose a tag to compare

Added

  • First release version after the experiential phase.