Skip to content

Remove deprecated configuration in the V3 #7482

Description

@spacewander

Description

Let's remove the deprecated configuration in the APISIX v3, including:

  • health_check_retry option
    -- TODO: remove deprecated health_check_retry option in APISIX v3
  • lua_shared_dicts

    apisix/apisix/cli/ops.lua

    Lines 654 to 655 in 2385768

    stderr:write("lua_shared_dicts is deprecated, " ..
    "use custom_lua_shared_dict instead\n")
  • audience in authz-keycloak
    -- Check for deprecated audience attribute and emit warnings if used.
    if conf.audience then
    log.warn("Plugin attribute `audience` is deprecated, use `client_id` instead.")
    if conf.client_id then
    log.warn("Ignoring `audience` attribute in favor of `client_id`.")
    end
    end
  • upstream in mqtt-proxy
  • scheme in proxy-rewrite
  • various apisix.real_ip_xxx options
    {% print("\nDeprecated: apisix.real_ip_header has been moved to nginx_config.http.real_ip_header. apisix.real_ip_header will be removed in the future version. Please use nginx_config.http.real_ip_header first.\n\n") %}
  • some configurations in syslog
    conf.max_retry_count = conf.max_retry_times or conf.max_retry_count
  • some configurations in error-log-logger
    host = {schema_def.host_def, description = "Deprecated, use `tcp.host` instead."},
    port = {type = "integer", minimum = 0, description = "Deprecated, use `tcp.port` instead."},
    tls = {type = "boolean", default = false,
    description = "Deprecated, use `tcp.tls` instead."},
    tls_server_name = {type = "string",
    description = "Deprecated, use `tcp.tls_server_name` instead."},
  • drop support of service_protocol
    service_protocol = {
  • move the disable to _meta
    -- TODO: move the `disable` to `_meta` too

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions