Releases: Kong/go-pdk
Releases · Kong/go-pdk
v0.5.0
Released 2020/05/27
Changes
- Methods for
kong.ctx.shared
manipulation were moved fromkong.Node
to a new module namedkong.Ctx
, mirroring Kong's Lua PDK structure
Additions
- Add
kong.Ctx
module, counterpart of Kong's Lua PDK kong.ctx module.
It contains the following methods:SetShared
: sets a value (of any type) intokong.ctx.shared
GetSharedAny
: gets a value (of any type) fromkong.ctx.shared
GetSharedString
: gets a string fromkong.ctx.shared
GetSharedFloat
: gets a float fromkong.ctx.shared
GetSharedInt
: gets an integer fromkong.ctx.shared
- Add new methods to
kong.Nginx
, allowing direct manipulation of the request context (ngx.ctx
):SetCtx
: sets a value (of any type) into the request contextGetCtxInt
: gets an integer value from the request context
v0.4.0
v0.3.1
v0.3.0
0.1 - Tech preview for Kong 2.0.0 alpha
This is the version used in the 2.0.0alpha demos presented at Kong Summit 2019.