- v0.12.0
- v0.11.0
- v0.10.0
- v0.9.0
- v0.8.0
- v0.7.0
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.1
- v0.5.0
- v0.4.1
- v0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
v0.12.0 - 2020/07/30
This release adds support for Kong 2.1 series and a number of enterprise entities.
-
Added
HTTPClientWithHeaders
helper function to inject authn/authz related HTTP headers in requests to kong. -
New fields in types:
Service
struct has three new fields:TLSVerifyDepth
TLSVerify
CACertificates
ClientCertificate
field has been added toUpstream
struct.Type
field has been added toPassiveHealthcheck
struct.
-
Following new services for Kong Enterprise have been introduced:
- WorkspaceService to manage workspaces in kong
- AdminService to manage users of Kong Manager
- MTLSAuthService to manage MTLS credentials
- Changed the branch name from
master
tomain
- Introduced linters to improve code health
v0.11.0 - 2020/01/17
- This release adds support for Kong 2.0.0.
Threshold
field has been added to Upstream struct.PathHandling
field has been added to Route struct.
v0.10.0 - 2019/10/27
- This release adds support for Kong 1.4.
HostHeader
field has been added to Upstream struct.Tags
field has been added to the following types:KeyAuth
Basicauth
HMACAuth
Oauth2Credential
ACLGroup
JWTAuth
v0.9.0 - 2019/08/24
client.Do()
returns a response object even on errors so that clients can inspect the response directly when needed. The error condition has changed to include HTTP status codes 300 to 399 as success and not failure. b1f9eda31String()
method has been dropped from all types defined in this package.
NewRequest()
method helping with creating HTTP requests is now exported- URLs parsed inside the package are more robust.
- New method
GetByCustomID
has been introduced to fetch Consumers bycustom_id
.
v0.8.0 - 2019/08/21
- Oauth2Credential type and service has been added which can be used to create Oauth2 credentials in Kong for some Oauth2 flows.
v0.7.0 - 2019/08/13
This release brings support for CRUD methods for authentication credentials in Kong.
- The following credentials and corresponding services have been added:
key-auth
basic-auth
hmac-auth
jwt
acl
v0.6.2 - 2019/08/09
- Add missing omitempty tag to ClientCertificate field
v0.6.1 - 2019/08/09
- Fix a typo in Service struct definition for YAML tag
v0.6.0 - 2019/08/09
- This release adds support for Kong 1.3.
Validator
Interface has been dropped and Valid() method from all entities is dropped. #8
Headers
field has been added to Route struct. #5ClientCertificate
field has been added to Service struct. #5CACertificate
is a new core entity in Kong. A struct to represent it and a corresponding new service is added. #5Algorithm
field has been added to Upstream struct. #9
v0.5.1 - 2019/08/05
- Add missing healthchecks.active.unhealthy.interval field to Upstream #6
v0.5.0 - 2019/06/07
- This release adds support for Kong 1.2.
- Added HTTPSRedirectStatusCode property to Route struct. #3
Create()
for Custom Entities now supports HTTP PUT method. Ifid
is specified in the object, it will be used to PUT the entity. This was always POST previously. #3
v0.4.1 - 2019/04/11
- Add
omitempty
property to Upstream fields for Kong 1.0 compatibility
v0.4.0 - 2019/04/06
- This release adds support for features released in Kong 1.1. This version is compatible with Kong 1.0 and Kong 1.1.
- Please note that the version naming scheme for this library has changed from
x.y.z
tovX.Y.Z
. This is to ensure compatibility with Go modules.
Tags
field has been added to all Kong Core entity structs.- List methods now support tag based filtering introduced in Kong 1.1.
Tags can be ANDed or ORed together.
ListOpt
struct can be used to specify the tags for filtering. Protocols
field has been added to Plugin struct.- New fields
Type
,HTTPSSni
andHTTPSVerifyCertificate
have been introduced for Active HTTPS healthchecks. TargetService
has two new methodsMarkHealthy()
andMarkUnhealthy()
to change the health of a target.
0.3.0 - 2018/12/19
- This release adds support for Kong 1.0. It is not compatible with 0.x.y versions of Kong due to breaking Admin API changes as the deprecated API entity is dropped.
- The code and API for the library is same as 0.2.0, with the exception
that struct defs and services related to
API
is dropped.
API
struct definition is no longer available.APIService
is no longer available. Please ensure your code doesn't rely on these before upgrading.Plugin
struct has dropped theAPI
field.
0.2.0 - 2018/12/19
- This release adds support for Kong 0.15.x. It is not compatible with any other versions of Kong due to breaking Admin API changes in Kong for Plugins, Upstreams and Targets entities.
Target
struct now has anUpstream
member in place ofUpstreamID
.Plugin
struct now hasConsumer
,API
,Route
,Service
members instead ofConsumerID
,APIID
,RouteID
andServiceID
.
RunOn
property has been added toPlugin
.- New properties are added to
Route
for L4 proxy support.
0.1.0 - 2018/12/01
- Debut release of this library
- This release comes with support for Kong 0.14.x
- The library is not expected to work with previous or later releases of Kong since every release of Kong is introducing breaking changes to the Admin API.