0.52.0
Important
This release has been updated (16th January, 2024)
A bug was introduced in the helm chart starting from version 0.50.0. All releases from that version have been updated with the fix. More details: #2234
This release adds the ability to pass in pipeline parameters as YAML configuration and fixes a couple of minor issues affecting the W&B integration and the way expiring credentials are refreshed when service connectors are used.
Breaking Change
The current pipeline YAML configurations are now being validated to ensure that configured parameters match what is available in the code. This means that if you have a pipeline that is configured with a parameter that has a different value that what is provided through code, the pipeline will fail to run. This is a breaking change, but it is a good thing as it will help you catch errors early on.
This is an example of a pipeline configuration that will fail to run:
parameters:
some_param: 24
steps:
my_step:
parameters:
input_2: 42
# run.py
@step
def my_step(input_1: int, input_2: int) -> None:
pass
@pipeline
def my_pipeline(some_param: int):
# here an error will be raised since `input_2` is
# `42` in config, but `43` was provided in the code
my_step(input_1=42, input_2=43)
if __name__=="__main__":
# here an error will be raised since `some_param` is
# `24` in config, but `23` was provided in the code
my_pipeline(23)
What's Changed
- Passing pipeline parameters as yaml config by @avishniakov in #2058
- Side-effect free tests by @avishniakov in #2065
- Fix various bugs by @stefannica in #2124
Full Changelog: 0.51.0...0.52.0