Skip to content

Releases: nat-n/poethepoet

0.16.0

17 Jul 20:38
Compare
Choose a tag to compare

Enhancements

  • Add print_result option for script tasks (#61)

Fixes

  • Fix validation to always check the configured type for an arg (#80)
  • Fix poetry plugin crash on windows when no pyproject.toml is present (#81)

Full Changelog: v0.15.0...v0.16.0

0.15.0

03 Jul 11:56
Compare
Choose a tag to compare

Enhancements

  • Add use_exec option to execute cmd or script tasks with exec instead of a subprocess on supported systems (#47)
  • Add cwd task option to support setting the working directory for a task (#ab134327)
  • Remove new lines from captured task output when adding it to the env (#29d91de6)

Fixes

  • Refactor generated python scripts to avoid new lines which may have been causing errors on windows (#51)
  • Fix bug preventing use of correct python interpreter in shell tasks (#62b5b3dc )

Full Changelog: v0.14.0...v0.15.0

0.14.0

18 Jun 19:29
Compare
Choose a tag to compare

Enhancements

  • Add option to specify that a named argument should accept multiple values (#70)
  • The envfile option now also accept lists of files to load. (#a4a21bb9)
  • Included config files no-longer have to be under the project directory. This improves support for mono-repos. (#2a2b856b)
  • Improve validation of sequence tasks (#e8159be5)

Breaking changes

Full Changelog: v0.13.1...v0.14.0

0.13.1

01 Mar 21:01
Compare
Choose a tag to compare

Fixes

  • Remove the upper bound of dependency on tomli (#57)

Full Changelog: v0.13.0...v0.13.1

0.13.0

27 Feb 20:36
Compare
Choose a tag to compare

Enhancements

  • Add support for variable templating in configured env vars by (#56)

Full Changelog: v0.12.3...v0.13.0

0.12.3

09 Feb 20:22
Compare
Choose a tag to compare

Bugfixes

  • Fix crash of poetry plugin when invoked outside of a project (#53)

0.12.2

16 Jan 13:56
Compare
Choose a tag to compare

Fixes

  • Fix issue preventing include option from working if no tasks are declared in pyproject.toml (#50)

0.12.1

13 Jan 19:58
Compare
Choose a tag to compare

Fixes

  • Update dependency on python to remove the upper bound on 4.0 (#49)

0.12.0

08 Jan 15:02
Compare
Choose a tag to compare

Enhancements

  • Poe the Poet now works as a plugin for poetry >= 1.2 (#46)
    • Supports running poe tasks as poetry commands, and registering them as hooks on other poetry commands
  • Improve interpreter resolution logic and configuration for shell tasks (#45)
    • Add support for powershell, pwsh, fish, and python interpreters
    • Better defaults for finding bash on windows
  • Add ability to include tasks and env vars from another toml or json file (#44)

Breaking changes

  • No longer give precedence to the $SHELL env var when selecting an interpreter in shell tasks (#27)

0.11.0

14 Nov 20:42
Compare
Choose a tag to compare

Enhancements

  • Add support for of named arguments (#6)
    • task definitions may now include the args options to defining CLI options to be accepted for that task, and exposed to the task in a manner appropriate for the task type
  • Support task level and global options for loading an var vars from an envfile (#29)
  • Add ability to declare default values for env vars in pyproject.toml, similar to ?= in a makefile (#30)
  • 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.
  • Add global option for overriding the default verbosity level (#34)
  • Make the -v and -q global CLI options incremental (#35)
  • Update ignore_fail option to support non-zero exit status from sequences (#40)

Dependency updates

  • Switch from tomlkit to tomli for performance and more complete toml support
  • Update pastel dependency to latest version

Breaking changes

  • drop support for python < 3.6.2

Full Changelog: v0.10.0...v0.11.0