Skip to content

Commit 3b7f392

Browse files
authored
Doc: Add REST API v2 (api/v2) entry in Release Notes (#50264)
closes #50105
1 parent dcb0984 commit 3b7f392

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

RELEASE_NOTES.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,19 @@ The Airflow CLI has been split into two distinct interfaces:
555555

556556
This change improves security and modularity for deployments that use Airflow in a distributed or API-first context.
557557

558+
REST API v2 replaces v1
559+
"""""""""""""""""""""""
560+
561+
The legacy REST API v1, previously built with Connexion and Marshmallow, has been replaced by a modern FastAPI-based REST API v2.
562+
563+
This new implementation improves performance, aligns more closely with web standards, and provides a consistent developer experience across the API and UI.
564+
565+
Key changes include stricter validation (422 errors instead of 400), the removal of the ``execution_date`` parameter in favor of ``logical_date``, and more consistent query parameter handling.
566+
567+
The v2 API is now the stable, fully supported interface for programmatic access to Airflow, and also powers the new UI - achieving full feature parity between the UI and API.
568+
569+
For details, see the :doc:`Airflow REST API v2 </stable-rest-api-ref>` documentation.
570+
558571
REST API: DAG Trigger Behavior Updated
559572
""""""""""""""""""""""""""""""""""""""
560573

airflow-core/docs/installation/upgrading_to_airflow3.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ These include:
143143
- **CeleryKubernetesExecutor and LocalKubernetesExecutor**: Replaced by `Multiple Executor Configuration <https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/executor/index.html#using-multiple-executors-concurrently>`_
144144
- **SLAs**: Deprecated and removed; Will be replaced by forthcoming `Deadline Alerts <https://cwiki.apache.org/confluence/x/tglIEw>`_.
145145
- **Subdir**: Used as an argument on many CLI commands, ``--subdir`` or ``-S`` has been superseded by :doc:`DAG bundles </administration-and-deployment/dag-bundles>`.
146+
- **REST API** (``/api/v1``) replaced: Use the modern FastAPI-based stable ``/api/v2`` instead; see :doc:`Airflow API v2 </stable-rest-api-ref>` for details.
146147
- **Some Airflow context variables**: The following keys are no longer available in a :ref:`task instance's context <templates:variables>`. If not replaced, will cause dag errors:
147148
- ``tomorrow_ds``
148149
- ``tomorrow_ds_nodash``

docs/spelling_wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,7 @@ falsy
655655
faq
656656
Fargate
657657
fargate
658+
FastAPI
658659
fastapi
659660
fbee
660661
fc

reproducible_build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
release-notes-hash: 4a33893e65bbabc29d00816684bb9b78
2-
source-date-epoch: 1746029438
1+
release-notes-hash: 1b9fae6db6fdad0ea37c6473561bca29
2+
source-date-epoch: 1746549398

0 commit comments

Comments
 (0)