Releases: nat-n/poethepoet
Releases · nat-n/poethepoet
0.11.0-beta3
0.11.0-beta2
Enhancements
- Add experimental implementation of task dependencies #26
- tasks now support addition options:
deps
to define a list of tasks that are run before this oneuses
to define a map of tasks by variable name, for tasks that are run before this one and their stdout is captured and exposed to this task via the environment variable with the given name.capture_stdout
to give the name of a file that the stdout of this file should be piped to.
- documentation and testing for this feature are still incomplete and the exact set of supported functionality might still change before it's considered production ready.
- tasks now support addition options:
0.11.0-beta1
Enhancements
- Add experimental implementation of named arguments #6
- tasks definitions now support the
args
options for defining CLI options to be accepted for that task, and exposed to the task in a manner appropriate for the task type - documentation and testing for this feature are still incomplete and the exact set of supported functionality might still change before it's considered production ready.
- tasks definitions now support the
0.10.0
Bugfixes
- Support passing arguments with glob characters to cmd tasks #16
- Always use utf-8 when opening config files #19
- Pass SIGINT through to the subprocess of the task for cleaner termination #20
Enhancements
- Support running tasks in any virtualenv (not just via poetry) #10
- Support optimised execution of multistage tasks on windows as well
0.9.0
0.8.0
Enhancements
- Add support for configuring global environment variables that are inherited by all tasks
- Add default_task_type option to sequence tasks.
This allows specifying sequences of cmd, script, or other task types without having to use inline object syntax or specify them as separate tasks to reference.
0.7.0
0.6.0
Enhancements
- Add support for task composition with new sequence and ref tasks types
- Add support for hard coded literal arguments to the target callable of script tasks
- Switch to tomlkit for toml parsing to get support for multiline task context (e.g. shell scripts) with dotted paths
- Make shell tasks raise an error if extra arguments are provided (since there's nothing constructive to do with them)
- Improved support for multiline shell tasks on windows
0.5.0
Enhancements
- Improve support for windows in general
- Shell tasks can run on windows if a suitable bash executable (such as git-bash or wsl bash) can be found
Breaking changes
- Drop support for the
run_in_project_root = false
global setting
Implementation changes
- Drop direct dependency on poetry
- Use the
poetry run
cli for running tasks from outside of the poetry shell