Metaflow

Latest version: v2.13

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 28

2.12.10

Release Notes

This patch release introduces support for emitting run heartbeats for the entire duration of a run's lifecycle on Argo Workflows. Metaflow's UI relies on a complex state machine to ascertain the correct state of any run, step, task, and attempt. For runs executed on [Workflow Orchestrators like AWS Step Functions, Argo Workflows, and Airflow](https://docs.metaflow.org/production/scheduling-metaflow-flows/introduction), by design - there is no execution-wide supervisor process that can monitor and keep track of the state of the execution for Metaflow. We instead rely on a task-local process to exfiltrate this state to Metaflow - which aids in effortlessly scaling Metaflow to millions of tasks. However, if no task is scheduled for a while, Metaflow's UI might temporarily show the run as failed (red) before correcting it (green) when the task is scheduled, which can be confusing.

With the latest release, executions on Argo Workflows can kick off a daemon process that is alive for the entire duration of the execution. This daemon process will ensure that a liveness signal is emitted reliably throughout the entire duration of the execution. You can enable this by simply adding the `--enable-heartbeat-daemon` flag -


python flow.py argo-workflows create --enable-heartbeat-daemon


The next release will enable this functionality as default. If this turns out to be useful for you, or if you have any feedback, ping us at chat.metaflow.org!

2.12.9

What's Changed
* [card] bug fix in error card rendering by valayDave in https://github.com/Netflix/metaflow/pull/1923
* [parallel-fixes] tag-catch test and secrets simplification for parallel by valayDave in https://github.com/Netflix/metaflow/pull/1917
* [parallel-fixes] core + test changes by valayDave in https://github.com/Netflix/metaflow/pull/1925
* [refactor-jobsets] refactor to new implementation by valayDave in https://github.com/Netflix/metaflow/pull/1914
* [argo] support for parallel by valayDave in https://github.com/Netflix/metaflow/pull/1927
* [ubf] bug fix when using `merge_artifacts` in UBF joins by valayDave in https://github.com/Netflix/metaflow/pull/1928
* [Ready for Review] Improve native resume by darinyu in https://github.com/Netflix/metaflow/pull/1884
* deployer with new injection mechanism by madhur-ob in https://github.com/Netflix/metaflow/pull/1910
* [flowspec] add artifacts to exclude in `merge_artifacts` by valayDave in https://github.com/Netflix/metaflow/pull/1929
* new release 2.12.9 by savingoyal in https://github.com/Netflix/metaflow/pull/1933


**Full Changelog**: https://github.com/Netflix/metaflow/compare/2.12.8...2.12.9

2.12.8

What's Changed
* pin micromamba version by savingoyal in https://github.com/Netflix/metaflow/pull/1920
* bump to 2.12.8 by savingoyal in https://github.com/Netflix/metaflow/pull/1921


**Full Changelog**: https://github.com/Netflix/metaflow/compare/2.12.7...2.12.8

2.12.7

Improvements
Fix Argo Events escaping HTML characters
This release fixes an issue where values passed to flow parameters from an Argo event would unintentionally escape HTML characters. The value in the payload should now be passed as-is to the flow parameter.

What's Changed
* fix: do not escape html in Argo Events payload by saikonen in https://github.com/Netflix/metaflow/pull/1911
* Fix issue with current_namespace when the namespace is None by romain-intel in https://github.com/Netflix/metaflow/pull/1901
* Expose metaflow logger and monitor via singleton by talsperre in https://github.com/Netflix/metaflow/pull/1794
* remove old py versions for s3 tests by savingoyal in https://github.com/Netflix/metaflow/pull/1906
* bump version to 2.12.7 by saikonen in https://github.com/Netflix/metaflow/pull/1912

New Contributors
* talsperre made their first contribution in https://github.com/Netflix/metaflow/pull/1794

**Full Changelog**: https://github.com/Netflix/metaflow/compare/2.12.6...2.12.7

2.12.6

Improvements
Fix Argo Workflows issue with long static splits
This release fixes an issue where a join step of a static split would fail on Argo Workflows in rare cases where the length of step names exceeded a threshold.

Argo Events support for parameter names with dashes
Fixes an issue where values from an Argo Event payload did not correctly map to flow Parameters if the parameter name contained dashes.

More specific PyPI errors for package resolving
The errors for `pypi` should now be more clear in cases where it is unable to successfully resolve an environment due to not finding a suitable package.

What's Changed
* Bump braces from 3.0.2 to 3.0.3 in /metaflow/plugins/cards/ui by dependabot in https://github.com/Netflix/metaflow/pull/1898
* feature: polish pypi package errors by saikonen in https://github.com/Netflix/metaflow/pull/1905
* fix: long names with static split fails join step on Argo Workflows by saikonen in https://github.com/Netflix/metaflow/pull/1907
* feature: Conda env extension hooks by saikonen in https://github.com/Netflix/metaflow/pull/1902
* fix: support for dashed parameters through argo events by saikonen in https://github.com/Netflix/metaflow/pull/1908
* bump version to 2.12.6 by saikonen in https://github.com/Netflix/metaflow/pull/1909


**Full Changelog**: https://github.com/Netflix/metaflow/compare/2.12.5...2.12.6

2.12.5

What's Changed
* add timestamps to conda debug logs by savingoyal in https://github.com/Netflix/metaflow/pull/1889
* fix: decorator attributes being modified in get_environment by saikonen in https://github.com/Netflix/metaflow/pull/1895
* bump version to 2.12.5 by saikonen in https://github.com/Netflix/metaflow/pull/1896
* [cards] bug fix with error card renders by valayDave in https://github.com/Netflix/metaflow/pull/1893


**Full Changelog**: https://github.com/Netflix/metaflow/compare/2.12.4...2.12.5

Page 6 of 28

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.