Skip to content

Releases: nat-n/poethepoet

0.11.0-beta3

13 Jun 21:26
Compare
Choose a tag to compare
0.11.0-beta3 Pre-release
Pre-release

Enhancements

  • Support task level and global options for loading an envfile (#29)
  • Add ability to declare default values for env vars in pyproject.toml (#30)
    • similar to ?= in a makefile
  • Switch from tomlkit to tomli for performance and more complete toml support

0.11.0-beta2

28 Apr 21:56
Compare
Choose a tag to compare
0.11.0-beta2 Pre-release
Pre-release

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 one
      • uses 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.

0.11.0-beta1

14 Feb 18:56
Compare
Choose a tag to compare
0.11.0-beta1 Pre-release
Pre-release

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.

0.10.0

07 Feb 18:06
Compare
Choose a tag to compare

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

29 Sep 21:33
Compare
Choose a tag to compare

Enhancements

  • Add basic tab completion scripts for bash and fish
  • Optimise execution of sequence tasks

0.8.0

02 Sep 20:23
Compare
Choose a tag to compare

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

16 Aug 10:40
Compare
Choose a tag to compare

Enhancements

  • Add support for zsh tab completion. Includes global options and task names derived from the present pyproject.toml if any.

0.6.0

09 Aug 18:39
Compare
Choose a tag to compare

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

02 Aug 13:44
Compare
Choose a tag to compare

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

0.4.0

11 Jul 16:38
Compare
Choose a tag to compare
  • Add support for specifying environmental variables for a task
  • Add support for specifying a help message per task