jykae opened a new pull request, #154:
URL: https://github.com/apache/airflow-client-python/pull/154

   ## Summary
   
   Regenerates the Python client from the Apache Airflow 3.2.2 OpenAPI 
specification using openapi-generator **7.22.0** (upgraded from 5.4.0, which 
does not support OpenAPI 3.1.0 used since Airflow 3.x).
   
   ## Changes
   
   - `spec/v2.yaml` — updated to Airflow 3.2.2 OpenAPI spec (OpenAPI 3.1.0, 
sourced from `apache/[email protected]`)
   - `airflow_client/client/` — all generated files regenerated against the new 
spec
   - `version.txt` — `3.2.1` → `3.2.2`
   - `CHANGELOG.md` — v3.2.2 section added with upstream bug-fix references
   - `uv.lock` — updated
   - `.openapi-generator/VERSION` — `5.4.0` → `7.22.0`
   
   ### New models
   
   Four new models introduced in Airflow 3.2.x:
   - `ClearTaskInstanceCollectionResponse`
   - `ExtraLinksValue`
   - `NewTaskResponse`
   - `TaskInstancesInner`
   
   All four are exported from `airflow_client/client/__init__.py`.
   
   ### Hand-maintained files preserved
   
   `pyproject.toml`, `README.md`, `uv.lock`, `.gitignore`, `.github/workflows/` 
— none of these were overwritten by the generator.
   
   ### Post-generation corrections
   
   openapi-generator 7.x templates hardcode `1.0.0` as the artifact version 
when `--artifact-version` is not passed. The following version strings were 
corrected after generation:
   - `airflow_client/client/api_client.py`: `user_agent` set to 
`'OpenAPI-Generator/3.2.2/python'`
   - `airflow_client/client/__init__.py`: `__version__` set to `"3.2.2"`; ASF 
license header restored (stripped by generator)
   - `airflow_client/client/configuration.py`: debug report string corrected to 
`3.2.2`
   
   ## Testing
   
   - [ ] All generated model/API classes import cleanly
   - [ ] `sanitize_for_serialization` dict early-return refactor verified — no 
functional regression
   - [ ] Pydantic v2 `model_config = ConfigDict()` pattern used throughout
   
   ## Key Airflow changes in 3.2.x (3.2.1 → 3.2.2)
   
   - Fix starlette `ServerErrorMiddleware` host-header injection
   - JWT tokens revoked on `/auth/logout` regardless of auth manager
   - Fix `max_active_runs` serialization in REST API
   - Fix N+1 query in bulk pool delete endpoint
   - Fix N+1 query in task instance states endpoint


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to