Skip to content

NGINX Declarative API v5.7.2

Latest

Choose a tag to compare

@fabriziofiorucci fabriziofiorucci released this 19 Nov 14:33
b3d6fc8

Added:

  • Release set to 5.7.2
  • API Gateway use case - OpenAPI servers specification support (v5.7)
    • Multiple root .servers[].url entries in the default upstream block
    • Dedicated upstreams and proxy_pass overrides for path-level .servers[]
    • Operation-level .servers[] overrides via direct routing or $request_method maps
    • Server {variable} placeholder resolution (HTTP 422 if unresolved) and relative URL normalization
  • API Gateway use case - NJS-based OpenAPI request body schema validation (apigateway-body-validator.js.tmpl) and internal post-validation proxy locations, with automatic ngx_http_js_module inclusion for NGINX Instance Manager and NGINX One Console
  • OpenAPI 3.2.x support for QUERY and additionalOperations
  • ARCHITECTURE.md documenting system components, rendering pipeline, API Gateway request flow, GitOps autosync, and queueing
  • Unit tests for API Gateway servers specification and request body schema validation (test_v5_7_apigateway_servers.py, test_v5_7_request_body_schema.py, and TestOpenAPIServersV57)

Updated:

  • API Gateway Jinja2 templates reorganized under templates/v5.7/apigateway/
  • Documentation refactored across README.md, FEATURES.md, USAGE-v5.7.md, SECURITY.md, MCP README, and Helm chart README (including updated docs.f5.com links)
  • Kubernetes deployment manifest and documentation (contrib/kubernetes/nginx-declarative-api.yaml, contrib/kubernetes/README.md)
  • Postman collection and README (added OpenAPI Servers Spec examples for NGINX Instance Manager and NGINX One Console)
  • WebUI dependencies (@rjsf/* 6.11.1, @testing-library/jest-dom 7.0.1, eslint 10.15.0, typescript ^6.0.0) and vite.config.ts (import.meta.dirname) in #176
  • GitHub Actions CI/CD workflows (build-pr.yml, build-containers.yml, build-release.yml)

Fixed:

  • OpenAPI 2.0 handling for upstream URLs, request body enforcement, and parameter enums
  • HTTP method name sanitization in generated NGINX variables for custom methods
  • WebUI npm run lint compatibility (typescript aligned to ^6.0.0 for @typescript-eslint/eslint-plugin)

Removed:

  • Legacy templates/v5.7/apigateway-upstreams.tmpl (moved to templates/v5.7/apigateway/apigateway-upstreams.tmpl)

Notes:

  • Resolves the previous API Gateway known issue with per-location upstream servers in OpenAPI schemas (implemented in #178)

Known issues:

  • None