Critical changes

This topic highlights changes that are made that might impact compatibility with an earlier version in IBM® Application Gateway version 26.06.0.

v26.06

  • Lua HTTP Transformation table indexing
    The following Lua HTTP transformation functions now return tables using 1-based indexing (in accordance with Lua conventions) instead of 0-based indexing. This change ensures compatibility with Lua’s ipairs iterator and standard table operations:
    • Session.getCredentialAttributeNames()
    • Session.getMvCredentialAttribute(string name)
    • Session.getSessionAttributeNames()
    • HTTPRequest.getHeaderNames()
    • HTTPRequest.getCookieNames()
    • HTTPResponse.getHeaderNames()
    • HTTPResponse.getCookieNames()
    Note:
    • If your Lua HTTP transformation scripts access these tables using numeric indices starting at 0, you must update them to use 1-based indexing. For example, replace table[0] with table[1], and table[1] with table[2].
    • Scripts that use the ipairs or pairs iterators do not require modification. These iterators will correctly process all elements, including the first element, which may have been skipped previously.