Skip to content

Releases: LanternCX/codex-gateway

codex-gateway v1.0.0

05 Mar 05:56
c0471e0

Choose a tag to compare

codex-gateway v1.0.0 is the first stable production release.
This release consolidates the beta cycle improvements into a reliable baseline, with stronger API compatibility, better network operability, and improved observability for real-world deployments.

Features & Enhancements / 功能与增强

  • 🚀 Responses API support
    Added stable POST /v1/responses support in both upstream modes:
    • codex_oauth: proxies to configurable upstream.codex_responses_path
    • openai_api: proxies to configurable upstream.responses_path
      It supports both JSON and SSE pass-through.
  • 🧠 Codex chat-compat tool parity
    Improved chat compatibility by mapping tool-related fields end to end, including tools, tool_choice, parallel_tool_calls, reasoning_effort, and tool_call_id.
    Tool-call semantics are now consistent in both streaming and non-streaming responses.
  • 🌐 Outbound proxy support
    Introduced network.proxy_url with support for http, https, socks5, and socks5h.
    The proxy setting now applies consistently to both auth login and serve outbound traffic.
  • 📊 Observability upgrades
    Enhanced structured logging (level, format, output, color, file rotation), added sensitive-field redaction, and improved request tracing with X-Request-ID propagation (preserve, generate, echo, and forward).
    Startup logging now includes api_prefix and discovered available_models to simplify operations and troubleshooting.
  • 📚 Documentation and spec alignment
    Updated README, API reference, OpenAPI spec, OAuth setup, privacy boundary, and config examples (EN/zh-CN) to stay aligned with runtime behavior.

Compatibility Notes / 兼容性说明

  • Existing OpenAI-compatible client integrations remain supported.
  • In codex_oauth mode, compatibility fields such as max_output_tokens and max_completion_tokens are accepted but intentionally removed before upstream forwarding.
  • Default upstream mode remains codex_oauth.

Verification / 验证情况

  • go test ./...
  • go test -race ./...
  • go build ./cmd/codex-gateway

Full Changelog: https://github.com/LanternCX/codex-gateway/commits/v1.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/LanternCX/codex-gateway/commits/v1.0.0