Kong Functions (Pre-Plugins)

Related Documentation
Made by
Kong Inc.
Supported Gateway Topologies
hybrid db-less traditional
Supported Konnect Deployments
hybrid cloud-gateways serverless
Compatible Protocols
grpc grpcs http https tcp tls tls_passthrough udp ws wss

Changelog

Kong Gateway 3.10.x

  • Fixed an issue where a duplicate protocols field was accidentally added to the pre-function schema.

Kong Gateway 3.3.x

  • kong.cache now points to a cache instance that is dedicated to the Serverless Functions plugins. It does not provide access to the global Kong Gateway cache. Access to certain fields in kong.conf has also been restricted.

Kong Gateway 3.0.x

  • The deprecated config.functions parameter has been removed from the plugin. Use config.access instead.
  • The pre-function plugin changed priority from +inf to 1000000.

Kong Gateway 2.8.x

  • Added the missing protocols field to the plugin.

Kong Gateway 2.3.x

  • Introduced sandboxing, which is enabled by default. Only the Kong PDK, OpenResty ngx APIs, and Lua standard libraries are allowed. To change the default setting, see the untrusted_lua parameter in kong.conf.

    This change was also introduced into previous releases through patch versions: 1.5.0.9, 2.1.4.3, and 2.2.1.0.

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!