Releases: Netflix/metaflow
2.18.6
What's Changed
- Refactor trigger decorator and deploy time evaluation logic by @talsperre in #2290
- Release 2.18.6 by @talsperre in #2610
Full Changelog: 2.18.5...2.18.6
2.18.5
Improvements
Fixes an issue with resuming flows executed with older versions
This release fixes an issue where flows that ran with Metaflow versions <2.17.4 could not be resumed by later versions.
What's Changed
- fix: resume backward compatibility by @saikonen in #2601
- Fix an issue where MetaflowCode.tarball would return a corrupted TarFile by @romain-intel in #2603
- release: 2.18.5 by @saikonen in #2604
Full Changelog: 2.18.4...2.18.5
2.18.4
What's Changed
- fix: error on delete argo deployment when template missing by @saikonen in #2593
- Bump metaflow version to 2.18.4 by @savingoyal in #2599
Full Changelog: 2.18.3...2.18.4
2.18.3
Features
Argo Events sensor namespace configuration
This release enables deploying the Argo sensor in its own namespace. The sensors are required when using Metaflow triggers when deploying to Argo Workflows.
The sensor namespace can be configured by either by the Metaflow config, or through an environment variable
export METAFLOW_ARGO_EVENTS_SENSOR_NAMESPACE=exampleCompressing of large commands on AWS Step Functions
AWS Step Functions has a maximum size for the step command that can become a problem with complex flows. To get around this limitation, this release introduces a way to compress the command being executed by offloading it to S3 instead.
Setting the following environment variable or Metaflow config value to true will enable the feature.
export METAFLOW_SFN_COMPRESS_STATE_MACHINE=TrueImprovements
Improve support for conditional steps with Argo Workflows
This release fixes an issue with conditional steps on Argo Workflows, where deployment would fail with a flow that had a conditional step where a case would not introduce its own steps, but instead skip ahead in the graph.
What's Changed
- Make argo events sensor namespace configurable by @dhpollack in #1463
- feat: add S3 command upload support for AWS Step Functions to handle large commands by @nlwstein in #2534
- Patch 2025-09-08-01 fix minor typos by @myatt83 in #2591
- Update metaflow client to accept both pathspec and _object together by @talsperre in #2590
- fix: argo conditional skip step parsing by @saikonen in #2587
- release: 2.18.3 by @saikonen in #2592
New Contributors
Full Changelog: 2.18.2...2.18.3
2.18.2
Improvements
Provide git-info metadata for deployed flows
Git repository information is not available during execution of a scheduled flow, such as with Argo Workflows or AWS Step Functions due to Metaflow only packaging files necessary for flow execution.
This release introduces a change where the git info is read during deployment time and retained as part of the deployment.
What's Changed
- fix: missing git info on remote flows by @saikonen in #2583
- fix: R test dependencies by @saikonen in #2586
- release: 2.18.2 by @saikonen in #2585
Full Changelog: 2.18.1...2.18.2
2.18.1
Features
Support custom AWS Batch tags
This release adds support for adding custom tags to AWS Batch.
In order to enable Batch tagging, a config flag needs to be set either in the environment, or in Metaflow config
export METAFLOW_BATCH_EMIT_TAGS=TrueThe supported ways for adding custom tags are
- Through the
@batchdecorator
@batch(aws_batch_tags={"my tag": "my custom value"})- Through the CLI when deploying to AWS Step Functions
python BatchTags.py step-functions create \
--aws-batch-tag "tagging from"="CLI with value" \
--aws-batch-tag another=value2- Specifying default through an environment variable
export METAFLOW_BATCH_DEFAULT_TAGS='{"envtag": "value123", "another":"from env"}'or in Metaflow config:
{
"METAFLOW_BATCH_DEFAULT_TAGS": {"envtag": "value123", "another":"from env"}
}What's Changed
- fix: Card dag breaking up in loops by @rsanteri in #2581
- feature: Batch tags [updated] by @RikishK, @Limess, @saikonen in #2578
- fix: shortened argo workflow name sanitising by @saikonen in #2580
- release: 2.18.1 by @saikonen in #2582
Full Changelog: 2.18.0...2.18.1
2.18.0
What's Changed
- chore: clarify argo conditionals exception by @saikonen in #2569
- Fix idiotic typo in exception handling by @romain-intel in #2567
- Fix an issue with storing sub-configs. by @romain-intel in #2566
- Fix save function to write package blob correctly by @savingoyal in #2575
- disallow conditional to join directly by @mt-ob in #2571
- Bump metaflow version to 2.18.0 by @savingoyal in #2577
Full Changelog: 2.17.5...2.18.0
2.17.5
What's Changed
- feature: support recursive conditionals on Argo Workflows by @saikonen in #2562
- Bump version to 2.17.5 by @savingoyal in #2565
Full Changelog: 2.17.4...2.17.5
2.17.4
What's Changed
- fix: DAG for default card with conditionals by @rsanteri in #2561
- Fix/allow raise in user decos by @romain-intel in #2555
- recursive conditionals with resume by @mt-ob in #2549
- Bump metaflow version to 2.17.4 by @savingoyal in #2563
New Contributors
Full Changelog: 2.17.3...2.17.4
2.17.3
What's Changed
- feature: conditionals for Argo Workflows by @saikonen in #2550
- fix: disallow unsupported conditional DAG structures by @saikonen in #2556
- fix: disable conditionals inside foreach on argo by @saikonen in #2559
- chore: re-enable conditionals in foreach on argo workflows by @saikonen in #2560
- patch release by @savingoyal in #2554
Full Changelog: 2.17.2...2.17.3