Skip to content

feat: upgrade OpenResty to 1.29.x #13289

@nic-6443

Description

@nic-6443

Description

APISIX currently uses a custom apisix-runtime built on OpenResty 1.27.1.2 (via apisix-build-tools main branch). The latest upstream OpenResty release is 1.29.2.3 (March 2026), which includes significant improvements:

  • nginx core upgraded (security patches, HTTP/2 & HTTP/3 improvements)
  • LuaJIT improvements (better GC, new bytecodes, arm64 optimizations)
  • OpenSSL 3.x enhancements
  • Various ngx_lua module bugfixes and enhancements

What needs to happen:

  1. Update apisix-build-tools (main branch for apisix-runtime) to build against OpenResty 1.29.x
  2. Verify all APISIX test suites pass with the new runtime
  3. Check for any Lua API compatibility issues (especially ngx.ssl, ngx.pipe, ngx.balancer modules)
  4. Validate arm64 builds alongside amd64
  5. Update CI workflows to test against the new version

Why this matters:

  • Security: newer nginx/OpenSSL patches
  • Performance: LuaJIT improvements benefit all Lua plugin execution
  • Ecosystem: staying current with upstream makes it easier to adopt new OpenResty features (e.g., ngx.pipe enhancements, privileged agent improvements)

This is a foundational change that benefits the entire plugin ecosystem. Happy to help if the direction makes sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions