1
0
mirror of https://github.com/go-task/task.git synced 2025-08-08 22:36:57 +02:00

chore: changelog for #2082

This commit is contained in:
Pete Davison
2025-02-22 16:09:53 +00:00
parent 4d15a8be8f
commit 25f9299d0a

View File

@ -51,6 +51,18 @@ stabilize the API in the future. #121 now tracks this piece of work.
- Renamed `TaskNotAllowedVars` to
[`TaskNotAllowedVarsError`](https://pkg.go.dev/github.com/go-task/task/v3/errors#TaskNotAllowedVarsError)
(#2052 by @vmaerten).
- The
[`taskfile.Reader`](https://pkg.go.dev/github.com/go-task/task/v3/taskfile#Reader)
is now constructed using the functional options pattern (#2082 by @pd93).
- Removed our internal `logger.Logger` from the entire `v3/taskfile` package
(#2082 by @pd93).
- Users are now expected to pass a custom debug/prompt functions into
[`taskfile.Reader`](https://pkg.go.dev/github.com/go-task/task/v3/taskfile#Reader)
if they want this functionality by using the new
[`WithDebugFunc`](https://pkg.go.dev/github.com/go-task/task/v3/taskfile#WithDebugFunc)
and
[`WithPromptFunc`](https://pkg.go.dev/github.com/go-task/task/v3/taskfile#WithPromptFunc)
functional options.
## v3.41.0 - 2025-01-18