Releases: Netflix/metaflow
2.11.10
Improvements
Argo Events trigger improvements for parameters with default values
This release fixes an issue where partial or empty argo event payloads would incorrectly overwrite the default values for the parameters of a triggered flow.
For example a flow with
@trigger(events=["params_event"])
class DefaultParamEventFlow(FlowSpec):
param_a = Parameter(
name="param_a",
default="default value A",
)
param_b = Parameter(
name="param_b",
default="default value B",
)
will now correctly have the default values for its parameters when triggered by
from metaflow.integrations import ArgoEvent
ArgoEvent('params_event').publish()
or a default value for param_b and the supplied value for param_a when triggered by
ArgoEvent('params_event').publish({"param_a": "custom-value"})
What's Changed
- [Ready for review] replace pull_request_target by @darinyu in #1790
- [bug fix] Flow decorator click option names fix by @valayDave in #1775
- [@kubernetes port] Allow configurable port number by @valayDave in #1793
- Bump vite from 5.0.12 to 5.0.13 in /metaflow/plugins/cards/ui by @dependabot in #1791
- feature: add metadata for argo workflows template owner by @saikonen in #1798
- fix: support default parameter values with argo events by @saikonen in #1797
- release 2.11.10 by @saikonen in #1799
Full Changelog: 2.11.9...2.11.10
2.11.9
What's Changed
- check for falsy values instead of just None by @madhur-ob in #1786
- Bump version to 2.11.9 by @madhur-ob in #1787
Full Changelog: 2.11.8...2.11.9
2.11.8
2.11.7
What's Changed
- fix access to name and kwargs by @madhur-ob in #1773
- fix log options by @madhur-ob in #1777
- Bump version to 2.11.7 by @madhur-ob in #1780
Full Changelog: 2.11.6...2.11.7
2.11.6
What's Changed
- Generate stubs properly for extensions with lazy loaded modules by @romain-intel in #1765
- ability to customise log driver and log options by @madhur-ob in #1767
- Fix an issue when unpickling functions through the escape hatch by @romain-intel in #1770
Full Changelog: 2.11.5...2.11.6
2.11.5
What's Changed
- fix: allow dot files with
--package-suffixes
by @saikonen in #1742 - feat: add ephemeral_storage parameter for Batch (Fargate-only) by @stev-0 in #1739
- add security policy by @saikonen in #1508
- fix mypy tests failing by @madhur-ob in #1760
- [Ready for review] make default s3 worker count configurable by @darinyu in #1759
- [Ready for review] add an option to make sidecar send msg func threadsafe by @darinyu in #1757
- [Ready for review] Make Clone-only resume more efficient. by @darinyu in #1719
- [Ready for review] Retrieve original run tasks and clone successful ones directly by @darinyu in #1728
- feature: add alias for batch decorator inferentia by @saikonen in #1762
- Various fixes in the env escape code by @romain-intel in #1734
- upgrade versions to 2.11.5 by @wangchy27 in #1763
- fix format error for py3.5 by @wangchy27 in #1764
New Contributors
Full Changelog: 2.11.4...2.11.5
2.11.4
What's Changed
- fix: update list of reserved parameter names by @saikonen in #1736
- [card-client] make
Card.get_data
more efficient by @valayDave in #1750
Full Changelog: 2.11.3...2.11.4
2.11.3
What's Changed
- remove 3.5 and 3.6 from classifiers for stubs by @madhur-ob in #1727
- Distributed Map Support in AWS Step Functions by @savingoyal in #1720
- [card] bug fix when card type doesn't exist by @valayDave in #1725
- fix: add otel endpoint to batch env by @saikonen in #1747
- expose resolved dependencies through .environment_info by @savingoyal in #1740
- fix stubs version check by @madhur-ob in #1748
- Bump version to 2.11.3 by @madhur-ob in #1749
- [Ready for review] Add explicit max length control for foreach value. by @darinyu in #1733
- [Ready for review] Ignore _foreach_values in merge artifacts by @darinyu in #1729
- add alert details using slack block kit by @russellbrooks in #1751
Full Changelog: 2.11.2...2.11.3
2.11.2
What's Changed
- fix github action for publishing stubs by @madhur-ob in #1707
- add ability to terminate execution of a step-fn state machine by @madhur-ob in #1695
- Increase timeout to get card to reduce test failures by @romain-intel in #1717
- [kubernetes] Use KUBECONFIG if set by @leogargu in #1716
- publish action should be dependent on stubs tests by @madhur-ob in #1718
- fix overwrite of neuron devices when efa devices are also specified by @emattia in #1656
- Add support for shared_memory for Kubernetes workloads. by @shrinandj in #1709
- add repr and str methods to Parameter by @raybellwaves in #1714
- Release 2.11.2 by @saikonen in #1721
- fix missing long_description for setup.py for stubs by @madhur-ob in #1722
- fix pypi URL for stubs by @madhur-ob in #1723
- new token for publishing stubs by @madhur-ob in #1724
New Contributors
- @leogargu made their first contribution in #1716
- @raybellwaves made their first contribution in #1714
Full Changelog: 2.11.1...2.11.2
2.11.1
Features
Auto generated stubs
package
You can now install metaflow[stubs]
to install an additional metaflow-stubs
package that provides type hints for Metaflow decorators (and other objects). Some hints were previously included inline but this package expands their use.
What's Changed
- Set parameters for running flow instead of any imported by @madhur-ob in #1691
- Bump vite from 5.0.8 to 5.0.12 in /metaflow/plugins/cards/ui by @dependabot in #1692
- [Ready for Review] Support more convenient foreach variable/value search-ability. by @darinyu in #1664
- Add auto-generated pyi files to Metaflow by @romain-intel in #1557
- Bump version to 2.11.1 by @romain-intel in #1706
New Contributors
Full Changelog: 2.11.0...2.11.1