MyGit

v5.0.0

pypyr/pypyr

版本发布时间: 2021-11-20 21:17:39

pypyr/pypyr最新发布版本:v5.9.1(2023-09-22 11:13:53)

Implement adr2 relative pipelines + api changes.

In brief, this release lets pipelines reference custom modules & child pipelines relative to the pipeline itself, rather than the current directory. This lets you create portable, re-usable & composable pipeline libraries.

Breaking Changes

This is a major version increment because it comes with BREAKING CHANGES:

  1. API: pipelinerunner.run() replaces both pipelinerunner.main() and pipelinerunner.main_with_context()
  2. API: def get_pipeline_definition(pipeline_name, working_directory) signature for custom pype loaders changes to def get_pipeline_definition(pipeline_name, parent)
  3. CLI: the —dir flag now only sets the directory for ad hoc custom Python modules, it does NOT also set the directory for pipelines anymore
  4. Final removal of deprecated get_formatted_iterable, get_formatted_string #195 & pypyr.steps.contextset #184. Where previously these would just give deprecation warnings, they are now completely removed.
  5. pypyr.pypeloaders.fileloader renamed pypyr.loaders.file

Non-Breaking Changes

Detailed Technical Breakdown:

What's Changed

Full Changelog: https://github.com/pypyr/pypyr/compare/v4.6.0...v5.0.0

相关地址:原始地址 下载(tar) 下载(zip)

查看:2021-11-20发行的版本