Release Notes¶
airflowctl 0.1.6 (2026-11-07)¶
Significant Changes¶
Add
dags statecommand that prints the state of a Dag run, selected by run ID or--logical-date(#68564, #69915)Add
dagrun deletecommand (#68046)Add
tasks states-for-dag-run,tasks clearandtaskinstances listcommands.tasks clearonly previews by default; pass--no-dry-runto actually clear task instances (#69366)Exit non-zero when
connections testreports a failed test. It used to exit 0, so check scripts that rely on the old exit code (#76281)Print the status messages of
dags pauseanddags unpauseto stderr. Scripts that read them from stdout must read stderr instead (#76133)Print the
auth tokenprompts and errors to stderr so stdout holds only the token. Without a terminal, it now exits with a clear message when--usernameis missing, instead of a traceback (#76134)Keep stdout parseable when a request is retried or fails, by sending those messages to stderr (#76347)
Retry writes only when the server could not have received them, and warn when a write may have succeeded despite an error (#74382)
Raise the default API request timeout from 5 to 30 seconds, configurable with
AIRFLOW_CLI_API_TIMEOUT. The connect timeout stays 5 seconds (#76125)Require
rich-argparse1.4.0 or later. Older versions made every command fail withImportError(#76661)
Bug Fixes¶
Stop
auth loginandauth tokensending the stored token to the URL given with--api-url(#76280)Stop a token from an earlier login being sent to a new API URL after
auth loginstored no token for it (#76287)Stop
connections update,pools updateandvariables updatefrom clearing fields you did not pass (#71333)Fix commands sending the wrong request when an ID contains
#,?,/or..(for examplevariables delete 'a#b'deleted variablea) (#76147)Fix
assets delete-queued-events,assets delete-dag-queued-eventsandassets delete-queued-eventcalling the wrong API path (#70461)Fix
backfillpause, unpause and cancel always failing with 405 (#73282)Fix
backfill create-dry-runfailing with a response-mismatch error instead of listing the runs it would create (#76224)Fix
dagrun listignoring--start-dateand--end-date(#76348)Fix
dags get-tagscrashing whenever a Dag has tags (#73743)Fix
poolsexport and import dropping pool team ownership (#73132)Fix
connections testbeing rejected with a 400 error for connections already stored on the server (#73098)Fix
connections create-defaultscrashing withAttributeErrorafter creating the connections; it now printsstatus: success(#68853)Fix
config lintnot warning about options that are only flagged when set to a specific value (#66370)Fix
config lint--section,--option,--ignore-sectionand--ignore-optionmatching names that only partly match; they now take comma-separated lists (#75690)Fix
variables importcrashing on a file that is not a JSON object; it now reports an invalid variable file (#67060)Fix
dags trigger --confrejecting a JSON object string (#68985)Fix
listcommands skipping entries when the server returns fewer items per page than requested (#76268)Fix options that take a list splitting comma-separated values into single characters (#72454)
Fix datetime options rejecting all input (#70249)
Fix
--envbeing ignored by commands other thanauth, includingversion --remote(#73808)Fix omitted optional flags overriding defaults such as the
--limitofdagrun list(#65062)Report a missing required option or an invalid option value as a readable error that names the flag, before any request is sent, instead of a validation traceback (#69317, #75177)
Fix
assets materialize,backfill pause,backfill unpause,backfill cancelandconnections testcrashing with a traceback instead of printing their result (#72675)Fix
dags pause,dags unpauseanddags next-executionprinting enum names such asDagRunType.MANUALand non-ISO dates in JSON output (#76354)Fix
--output tableand--output plaindropping text in square brackets or crashing on values like[/b](#76175)Fix
assetsandconfigcommands failing when a newer API server adds fields to the response (#75610)Accept the
awaiting_inputtask instance state from Airflow 3.3+ servers (#76118)Fix
dags list-warningandplugins listfailing against Airflow 3.4 servers (#76119)Fix Dag commands failing on Dags without a
fileloc, as returned by Airflow 3.4 servers (#69110)Accept null Variable values from servers that cannot decrypt them (#65452)
Send a request body with
assets materialize, which Airflow 3.4 requires (#73328)Reject
--max-active-runsvalues below 1 inbackfill create(#75071)Stop an invalid
AIRFLOW_CLI_API_RETRIES,AIRFLOW_CLI_API_RETRY_WAIT_MINorAIRFLOW_CLI_API_RETRY_WAIT_MAXfrom breaking every command; warn and use the default (#72429)Report unexpected keyring errors when saving credentials instead of ignoring them (#70991)
Fix connection, write and pool timeouts crashing with a traceback; they now print a clear error (#76132)
Show “No credentials file found. Please login first.” instead of a traceback when the credentials file is empty or corrupted (#75279)
Report an unusable credentials file without a traceback (#72468)
Report the server error instead of a traceback on 5xx responses (#70841)
Report redirects and non-JSON error bodies without a traceback (#73307)
Report response validation errors without a traceback (#76121)
Show the server’s error details when a reverse proxy changes the response
Content-Type(for example by adding a charset) (#75493)Report missing and invalid fields in
connections import(#76090)Reject a
connections importfile that is not a JSON object of connections with a clear error (#75176)Report invalid pools in
pools importas readable errors (#76173)Report invalid variables in
variables importas readable errors (#76174)Print error messages containing square brackets, such as
[red], as written instead of garbling them (#76264, #76265, #76419)
Improvements¶
Add
AIRFLOW_CLI_API_URLto set the default API URL forauth loginandauth tokenwhen--api-urlis not given, and for commands when the stored credentials have no URL (#76124)Flag the deprecated
expose_config=non-sensitive-onlyinconfig lint(#72507)Show why a request is being retried in the retry warning (#75059)
Make listing very large results faster by skipping a redundant validation pass (#71928)
Fix a wrong command example and wrong wording in the docs and in the
--api-urlandauth loginhelp texts (#75058)Fix typos, grammar and broken references in the docs (#73146)
Limit the CLI reference’s page contents to top-level commands (#75483)
Known Issues¶
dags updatewithout--is-pausedsendsis_paused: false, so it unpauses the Dag. Pass--is-pausedto keep a paused Dag paused.pools updatewithout--include-deferredsendsinclude_deferred: false, so it resets that setting. Pass--include-deferredto keep it on.
airflowctl 0.1.5 (2026-05-26)¶
Significant Changes¶
Add dags next execution command #66172 (#66188)
Add bulk delete Dag Runs (#67095)
Add
rerun_with_latest_versionconfig hierarchy for clear/rerun behavior (#63884)Implement patching of task group instances in API (#62812)
Allow remote version check without authentication (#65099)
Add cursor based pagination for get_dag_runs endpoint (#65604)
Enable queue up new tasks (#63484)
Add cursor based pagination for get_task_instances endpoint (#64845)
Add
is_backfillableproperty to DAG API responses (#64644)Expose required primitive parameters of auto-generated commands as positional arguments instead of
--flagoptions. Optional parameters keep the--flagform. Follows the dev-list lazy consensus on airflowctl parameter style (see https://lists.apache.org/thread/m1qvcvow3l17ytv40vhslh40wn3rntrm) (#66768)
Bug Fixes¶
Fix connections import schema handling (#67063)
Fix broken download URLs and variable names in docs (#67046)
Fix missing pyyaml runtime dependency (#65489)
Fix dagrun list crash when –state is omitted (#65608)
Fix backfill params not overriding existing DAG run conf (#64939)
Fix ruff on client-py (#64868)
Improvements¶
AIP-103: Add Core API endpoints for task state and asset state (#67041)
Comment to not edit RELEASE_NOTES.rst manually in PRs for airflowctl (#67128)
Align Dag capitalization from “DAG” to “Dag” for airflow-ctl/ (#66112)
Send backfill create and dry-run payloads as JSON (#65158)
Use existing safe_load function in airflowctl utils to load help texts (#65841)
Cap airflow-ctl httpx dependency below 1.0 (#65607)
Remove dead airflow-ctl/newsfragments directory (unused by changelog tooling) (#65507)
Incorrect fallback logic (#64586)
Run non-provider mypy as regular prek static checks instead of separate CI jobs (#64780)
Clear, Mark Success/Fail and delete multiple Task Instances (#64141)
airflowctl 0.1.4 (2026-04-21)¶
Significant Changes¶
Add YAML-based help texts for auto-generated airflowctl commands (#65073)
Added plugins command to airflowctl (#64935)
Python 3.14 support (#63520)
Bug Fixes¶
Declare
pyyamlas a runtime dependency soairflowctlstarts without crashing onModuleNotFoundError(#65489)Fix
airflowctl dagrun listcrash when--stateis omitted (#65608)Prevent path traversal via
AIRFLOW_CLI_ENVIRONMENTin airflowctl (#64618)Fix
is_alivedefault inairflowctl jobs listto show all jobs (#65065)Fix CLI error handling and exit codes for failed commands (#65052)
Fix
airflowctl connections importto return non-zero exit code on failure (#64416)Fix
airflowctl variables importto correctly handle falsy values (#64362)Fix
airflowctl versioncommand prompting for keyring credentials (#63772)Fix
airflowctlboolean flags on Python 3.14 (#63587)Allow
nulldag_run_confinBackfillResponseserialization (#63259)
Improvements¶
Use DAG form when materializing assets in airflowctl (#64211)
Mention Python 3.14 support in docs (#63950)
Miscellaneous¶
Cap
httpxbelow 1.0 to avoid pulling the pre-release rewrite on--prerelease=allowinstalls (#65607)Run non-provider mypy checks as regular prek static checks (#64780)
Add
*.imlto.gitignorein all distributions (#63636)Sync airflowctl from main to v3-2-test (#65069)
CI: Upgrade important CI environment (#64458, #65525)
airflowctl 0.1.3 (2026-03-09)¶
Significant Changes¶
Add airflowctl auth token command to print JWT access tokens (#62843)
Add
--action-on-existing-keytopools importandconnections import(#62702)Add retry mechanism to airflowctl and remove flaky integration mark (#63016)
airflowctl auth login: prompt for credentials interactively when none are provided (#62549)
feat(airflowctl): support on headless environments (#62217)
Bug Fixes¶
Fix
airflowctl pools exportignoring--outputtable/yaml/plain (#62665)Fix
airflowctl connections importfailure when JSON omitsextrafield (#62662)Amend compatibility issues for airflowctl (#63388)
Improvements¶
Send
limitparameter inexecute_listserver requests (#63048)Run test coverage when airflowctl command has any change (#63216)
airflow-ctl: add coverage tests for console formatting output (#62627)
Clean up stale Python 3.9 workaround in airflow-ctl CLI config parser (#62206)
Expose
timetable_partitionedin UI API (#62777)
Miscellaneous¶
CI: upgrade important CI environment (#62610)
Fix all build-system requirements including transitive dependencies (#62570)
Add DagRunType for asset materializations (#62276)
airflowctl 0.1.2 (2026-02-20)¶
Significant Changes¶
Add XCom CLI commands to airflowctl (#61021)
Add auth list-envs command to list CLI environments and their auth status (#61426)
Add allowed_run_types to whitelist specific dag run types (#61833)
Default logical_date to now in airflowctl dagrun trigger to match UI behavior (#61047)
Bug Fixes¶
Allow listing dag runs without specifying dag_id (#61525)
Fix infinite password retry loop in airflowctl EncryptedKeyring initialization (#61329)
Fix airflowctl auth login reporting success when keyring backend is unavailable (#61296)
Fix airflowctl crash when incorrect keyring password is entered (#61042)
Strip api-url for airflowctl auth login which fails with trailing slash (#61245)
Fix
airflow-ctl-testsfiles not triggering pre-commit integration tests (#61023)
Improvements¶
Print debug mode warning to stderr to avoid polluting stdout JSON output (#61302)
Refactor
datamodeldefaulting logic into dedicated method (#61236)Alias run_after for XComResponse (#61443)
Add test for sensitive config masking in airflowctl (#60361)
Miscellaneous¶
Update keyring>=25.7.0 (#61529)
Upgrade fastapi and conform openapi schema changes (#61476)
Use SQLA’s native Uuid/JSON instead of sqlalchemy-utils’ types (#61532)
Fix slots negative infinity (#61140)
Pool API improve slots validation (#61071)
Add
team_nameto Pool APIs (#60952)Add partition_key to DagRunAssetReference (#61725)
Promote release_notes.rst into documentation that replace changelog.rst (#60482)
Add HITLDetailHistory UI (#56760)
Add static checker for preventing to increase dag version (#59430)
airflowctl 0.1.1 (2026-01-09)¶
Significant Changes¶
Make pause/unpause commands positional for improved CLI consistency (#59936)
Remove deprecated export functionality from airflowctl (#59850)
Add
team_nameto connection commands (#59336)Add
team_idto variable commands (#57102)Add pre-commit checks for airflowctl test coverage (#58856)
Display active DAG run count in header with auto-refresh support (#58332)
Bug Fixes¶
Simplify airflowctl exception handling in
safe_call_command(#59808)Fix
backfilldefault behavior forrun_on_latest_version(#59304)Update
BulkDeleteActionto use generic typing (#59207)Bump minimum supported
prekversion to 0.2.0 (#58952)Fix RST formatting to ensure blank lines before bullet lists (#58760)
Update Python compatibility requirements and airflowctl documentation (#58653)
Consistently exclude unsupported Python 3.14 (#58657)
Improve cross-distribution dependency management (#58430)
Synchronize documentation between official and convenience source installs (#58379)
Add retry multiplier support (#56866)
Fix documentation issues for installing from source distributions (#58366)
Update
pyproject.tomlfiles to supportpytest>=9.0.0TOML syntax (#58182)
airflowctl 0.1.0 (2025-11-05)¶
Release of airflowctl, a command-line tool. There are lots of great features to use from start. Please check the documentation for quick start and usage instructions.
Please visit quick start guide: Quick Start
A new way of using Apache Airflow using CLI. Enhanced security is provided by using the Apache Airflow API to provide similar functionality to the Apache Airflow CLI. Integrated with Keyring to enhance password security.