Debian Codegraph @

CHANGELOG.md

raw symbols SCIP
1 # Table of Contents
2
3 - [v0.14.0](#v0140---20210112)
4 - [v0.13.0](#v0130---20200804)
5 - [v0.12.0](#v0120---20200730)
6 - [v0.11.0](#v0110---20200117)
7 - [v0.10.0](#v0100---20191027)
8 - [v0.9.0](#v090---20190824)
9 - [v0.8.0](#v080---20190821)
10 - [v0.7.0](#v070---20190813)
11 - [v0.6.2](#v062---20190809)
12 - [v0.6.1](#v061---20190809)
13 - [v0.6.0](#v060---20190809)
14 - [v0.5.1](#v051---20190805)
15 - [v0.5.0](#v050---20190607)
16 - [v0.4.1](#v041---20190411)
17 - [v0.4.0](#v040---20190406)
18 - [0.3.0](#030---20181219)
19 - [0.2.0](#020---20181219)
20 - [0.1.0](#010---20181201)
21
22 ## [v0.14.0] - 2021/01/12
23
24 ### Breaking changes
25
26 - HTTP error format changed to feature HTTP codes
27
28 ### Added
29
30 - RBACUser support
31 - Support for auto-expiring key-auth key TTL
32 - Support for RBAC roles
33 - Support for RBAC permissions
34 - DeepCopy annotations for enterprise entities
35
36 ## [v0.13.0] - 2020/08/04
37
38 ### Summary
39
40 This release renames the package from `github.com/hbagdi/go-kong` to
41 `github.com/kong/go-kong`.
42
43 ## [v0.12.0] - 2020/07/30
44
45 ### Summary
46
47 This release adds support for Kong 2.1 series and
48 a number of enterprise entities.
49
50 ### Added
51
52 - Added `HTTPClientWithHeaders` helper function to inject authn/authz
53 related HTTP headers in requests to kong.
54
55 - New fields in types:
56 - `Service` struct has three new fields:
57 - `TLSVerifyDepth`
58 - `TLSVerify`
59 - `CACertificates`
60 - `ClientCertificate` field has been added to `Upstream` struct.
61 - `Type` field has been added to `PassiveHealthcheck` struct.
62
63 - Following new services for Kong Enterprise have been introduced:
64 - WorkspaceService to manage workspaces in kong
65 - AdminService to manage users of Kong Manager
66 - MTLSAuthService to manage MTLS credentials
67
68 ### Misc
69
70 - Changed the branch name from `master` to `main`
71 - Introduced linters to improve code health
72
73 ## [v0.11.0] - 2020/01/17
74
75 ### Summary
76
77 - This release adds support for Kong 2.0.0.
78
79 ### Added
80
81 - `Threshold` field has been added to Upstream struct.
82 - `PathHandling` field has been added to Route struct.
83
84 ## [v0.10.0] - 2019/10/27
85
86 ### Summary
87
88 - This release adds support for Kong 1.4.
89
90 ### Added
91
92 - `HostHeader` field has been added to Upstream struct.
93 - `Tags` field has been added to the following types:
94 - `KeyAuth`
95 - `Basicauth`
96 - `HMACAuth`
97 - `Oauth2Credential`
98 - `ACLGroup`
99 - `JWTAuth`
100
101 ## [v0.9.0] - 2019/08/24
102
103 ### Breaking changes
104
105 - `client.Do()` returns a response object even on errors so that
106 clients can inspect the response directly when needed.
107 The error condition has changed to include HTTP status codes 300 to 399
108 as success and not failure.
109 [b1f9eda31](https://github.com/hbagdi/go-kong/commit/b1f9eda311e1d9c9d6b0f5a5e33a3d399d85faf6)
110 - `String()` method has been dropped from all types defined in this package.
111
112 ### Added
113
114 - `NewRequest()` method helping with creating HTTP requests is now exported
115 - URLs parsed inside the package are more robust.
116 - New method `GetByCustomID` has been introduced to fetch Consumers by
117 `custom_id`.
118
119 ## [v0.8.0] - 2019/08/21
120
121 ### Added
122
123 - Oauth2Credential type and service has been added
124 which can be used to create Oauth2 credentials in Kong for some
125 Oauth2 flows.
126
127 ## [v0.7.0] - 2019/08/13
128
129 ### Summary
130
131 This release brings support for CRUD methods for
132 authentication credentials in Kong.
133
134 ### Added
135
136 - The following credentials and corresponding services have been added:
137 - `key-auth`
138 - `basic-auth`
139 - `hmac-auth`
140 - `jwt`
141 - `acl`
142
143 ## [v0.6.2] - 2019/08/09
144
145 ### Fix
146
147 - Add missing omitempty tag to ClientCertificate field
148
149 ## [v0.6.1] - 2019/08/09
150
151 ### Fix
152
153 - Fix a typo in Service struct definition for YAML tag
154
155 ## [v0.6.0] - 2019/08/09
156
157 ### Summary
158
159 - This release adds support for Kong 1.3.
160
161 ### Breaking change
162
163 - `Validator` Interface has been dropped and Valid() method from
164 all entities is dropped.
165 [#8](https://github.com/hbagdi/go-kong/pull/8)
166
167 ### Added
168
169 - `Headers` field has been added to Route struct.
170 [#5](https://github.com/hbagdi/go-kong/pull/5)
171 - `ClientCertificate` field has been added to Service struct.
172 [#5](https://github.com/hbagdi/go-kong/pull/5)
173 - `CACertificate` is a new core entity in Kong. A struct to represent
174 it and a corresponding new service is added.
175 [#5](https://github.com/hbagdi/go-kong/pull/5)
176 - `Algorithm` field has been added to Upstream struct.
177 [#9](https://github.com/hbagdi/go-kong/pull/9)
178
179 ## [v0.5.1] - 2019/08/05
180
181 ### Fix
182
183 - Add missing healthchecks.active.unhealthy.interval field to Upstream
184 [#6](https://github.com/hbagdi/go-kong/issues/6)
185
186 ## [v0.5.0] - 2019/06/07
187
188 ### Summary
189
190 - This release adds support for Kong 1.2.
191
192 ### Added
193
194 - Added HTTPSRedirectStatusCode property to Route struct.
195 [#3](https://github.com/hbagdi/go-kong/pull/3)
196
197 ### Breaking change
198
199 - `Create()` for Custom Entities now supports HTTP PUT method.
200 If `id` is specified in the object, it will be used to PUT the entity.
201 This was always POST previously.
202 [#3](https://github.com/hbagdi/go-kong/pull/3)
203
204 ## [v0.4.1] - 2019/04/11
205
206 ### Fix
207
208 - Add `omitempty` property to Upstream fields for Kong 1.0 compatibility
209
210 ## [v0.4.0] - 2019/04/06
211
212 ### Summary
213
214 - This release adds support for features released in Kong 1.1.
215 This version is compatible with Kong 1.0 and Kong 1.1.
216
217 ### Breaking Change
218
219 - Please note that the version naming scheme for this library has changed from
220 `x.y.z` to `vX.Y.Z`. This is to ensure compatibility with Go modules.
221
222 ### Added
223
224 - `Tags` field has been added to all Kong Core entity structs.
225 - List methods now support tag based filtering introduced in Kong 1.1.
226 Tags can be ANDed or ORed together. `ListOpt` struct can be used to
227 specify the tags for filtering.
228 - `Protocols` field has been added to Plugin struct.
229 - New fields `Type`, `HTTPSSni` and `HTTPSVerifyCertificate` have been
230 introduced for Active HTTPS healthchecks.
231 - `TargetService` has two new methods `MarkHealthy()` and `MarkUnhealthy()`
232 to change the health of a target.
233
234 ## [0.3.0] - 2018/12/19
235
236 ### Summary
237
238 - This release adds support for Kong 1.0.
239 It is not compatible with 0.x.y versions of Kong due to breaking
240 Admin API changes as the deprecated API entity is dropped.
241 - The code and API for the library is same as 0.2.0, with the exception
242 that struct defs and services related to `API` is dropped.
243
244 ### Breaking changes
245
246 - `API` struct definition is no longer available.
247 - `APIService` is no longer available. Please ensure your code doesn't rely
248 on these before upgrading.
249 - `Plugin` struct has dropped the `API` field.
250
251 ## [0.2.0] - 2018/12/19
252
253 ### Summary
254
255 - This release adds support for Kong 0.15.x.
256 It is not compatible with any other versions of Kong due to breaking
257 Admin API changes in Kong for Plugins, Upstreams and Targets entities.
258
259 ### Breaking changes
260
261 - `Target` struct now has an `Upstream` member in place of `UpstreamID`.
262 - `Plugin` struct now has `Consumer`, `API`, `Route`, `Service` members
263 instead of `ConsumerID`, `APIID`, `RouteID` and `ServiceID`.
264
265 ### Added
266
267 - `RunOn` property has been added to `Plugin`.
268 - New properties are added to `Route` for L4 proxy support.
269
270 ## [0.1.0] - 2018/12/01
271
272 ### Summary
273
274 - Debut release of this library
275 - This release comes with support for Kong 0.14.x
276 - The library is not expected to work with previous or later
277 releases of Kong since every release of Kong is introducing breaking changes
278 to the Admin API.
279
280 [v0.14.0]: https://github.com/Kong/go-kong/compare/v0.13.0...v0.14.0
281 [v0.13.0]: https://github.com/Kong/go-kong/compare/v0.12.0...v0.13.0
282 [v0.12.0]: https://github.com/Kong/go-kong/compare/v0.11.0...v0.12.0
283 [v0.11.0]: https://github.com/Kong/go-kong/compare/v0.10.0...v0.11.0
284 [v0.10.0]: https://github.com/Kong/go-kong/compare/v0.9.0...v0.10.0
285 [v0.9.0]: https://github.com/Kong/go-kong/compare/v0.8.0...v0.9.0
286 [v0.8.0]: https://github.com/Kong/go-kong/compare/v0.7.0...v0.8.0
287 [v0.7.0]: https://github.com/Kong/go-kong/compare/v0.6.2...v0.7.0
288 [v0.6.2]: https://github.com/Kong/go-kong/compare/v0.6.1...v0.6.2
289 [v0.6.1]: https://github.com/Kong/go-kong/compare/v0.6.0...v0.6.1
290 [v0.6.0]: https://github.com/Kong/go-kong/compare/v0.5.1...v0.6.0
291 [v0.5.1]: https://github.com/Kong/go-kong/compare/v0.5.0...v0.5.1
292 [v0.5.0]: https://github.com/Kong/go-kong/compare/v0.4.1...v0.5.0
293 [v0.4.1]: https://github.com/Kong/go-kong/compare/v0.4.0...v0.4.1
294 [v0.4.0]: https://github.com/Kong/go-kong/compare/0.3.0...v0.4.0
295 [0.3.0]: https://github.com/Kong/go-kong/compare/0.2.0...0.3.0
296 [0.2.0]: https://github.com/Kong/go-kong/compare/0.1.0...0.2.0
297 [0.1.0]: https://github.com/Kong/go-kong/compare/87666c7fe73477d1874d35d690301241cd23059f...0.1.0