| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor(*): use kong.tools.string whenever possible (#13188) ### Summary `kong.tools.string` has a faster implementation of e.g. `strip`. This makes our code use the `kong.tools.string` whenever possible and removes `pl.stringx` usage in those cases. Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com> | 2 年前 | |
fix(certificates): validate the certificates schema failed if `snis` was in the request body (#13357) KM-223 | 2 年前 | |
fix(admin): reject AdminAPI call with empty tags (#13723) | 1 年前 | |
refactor(tools/uuid): update UUID reference (#12952) | 2 年前 | |
tests(*): use `.test` domain in most of the tests (#12152) * tests(*): use `.test` domain in most of the tests Following Vinicius's [advocation](https://github.com/Kong/kong-ee/pull/7467#discussion_r1410706385), change most of url the tests to use `.test` domain to avoid external influencies. [Ref](https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml) Except: - `example`, `example.com`, `example.net`, `example.org` - tests that are used to verify the format, validity or wildcard of the url itself (sni/router related tests), to prevent inadvertent change of the test logic - true external urls that may be accessed (service host, dns/balancer related tests) - some urls that are not sure if they will be accessed or not | 2 年前 | |
fix(certificates): validate the certificates schema failed if `snis` was in the request body (#13357) KM-223 | 2 年前 | |
fix(dao): page size `1` now works correctly for DB-less (#13908) KAG-5875 | 1 年前 | |
refactor(tools/uuid): update UUID reference (#12952) | 2 年前 | |
refactor(tools/uuid): update UUID reference (#12952) | 2 年前 | |
refactor(tools/uuid): update UUID reference (#12952) | 2 年前 | |
feat(dns): use new `resolver_*` directives for new DNS client (#13427) This avoids confusion with old DNS client config as not all of them works in the new client. KAG-4994 | 2 年前 | |
perf(*): faster string splitting and an iterator (#14388) ### Summary On my testing the `splitn` implemented here is about 10x faster than the Penlight's `stringx.split`. splitn: 193 ms (new function) isplitn: 379 ms (iterator over splitn) split: 1638 ms (penlight) re.split: 1072 ms (ngx.re) I also tested implementing `isplit` iterator without splitn and table allocation, but in my testing that didn't yield better performance. Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com> | 1 年前 | |
fix(admin-api): nested parameters can be parsed correctly when using form-urlencoded requests (#13668) When using curl to send a form-urlencoded request with nested parameters, such as $ curl -X POST http://localhost:8001/parsed_params \ --data 'items[1]=foo' \ --data 'items[2]=bar' the expected response is {"items":["foo","bar"]}, but instead, it returns {"items":{}}. This is actually an EE issue, but I see that there is a risk of this in CE even though it doesn't currently occur. So I initiated that fix on CE. The cause of the problem is due to the fact that nested parameters are lost when the decode_args method is called twice, without this fix. FTI-6165 | 1 年前 | |
feat(dbless): restore the removed tags based query support (#13907) KAG-5725 --------- Co-authored-by: chronolaw <chrono_cpp@me.com> Co-authored-by: xumin <xumin.zhou@konghq.com> | 1 年前 | |
chore(deps): bump openssl, libexpat and pcre2. (#15004) * chore(deps): bump openssl from 3.4.1 to 3.5.5 (#16322) KAG-8526 (cherry picked from commit e4de0f903f5509b6ef4e8e7d72baabd4e54e7bbd) (cherry picked from commit 771265488fb421474a2334cbc3500631c2acd9fe) * chore(deps): bump libexpat from 2.6.4 to 2.7.3 (#14901) Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com> (cherry picked from commit 63be051b995403dd25e1cbd3ced877b6570d2790) (cherry picked from commit 4d76a5589e4219883f62eb0deb45e62fcb3c99eb) * [backport -> next/3.10.x.x] chore(deps): bump openssl to 3.5.6 and bump libexpat to 2.8.1 (#18229) * chore(deps): bump openssl to 3.5.6 Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com> (cherry picked from commit f86ed11fefdb928d858609467bb1122def40a383) * chore(deps): bump expat to 2.8.1 (cherry picked from commit 27ed4bfdd24e2a0df917cf73207b494bc664eec1) --------- Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com> Co-authored-by: Aapo Talvensaari <aapo.talvensaari@gmail.com> (cherry picked from commit a9d51050116c71b1841850938dfc1aeee20f3073) * chore(deps): bump openssl to 3.5.7 Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com> (cherry picked from commit b8bbdbb057a40a753fa875bb676cc259b105e43b) * chore(deps): bump openssl to 3.5.8 (#21603) Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com> (cherry picked from commit 7369e7b330a2be9d48ccbe50cd4423b00d7cb5a4) * chore(deps): bump libexpat to 2.8.3 (#21605) Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com> (cherry picked from commit 2f1e4ae71450e1dc1a79b32cf5f630221423354d) * chore(deps): bump libexpat to 2.8.4 Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com> (cherry picked from commit 8aeddca0b2486b855e095f50deb4dfc7aea65219) * chore(deps): bump PCRE2 from 10.45 to 10.47 to address CVE-2025-58050 (PCRE2) (cherry picked from commit 2e30012124c2e6fc23398cccdbe780b7d3a1ca97) * chore(deps): bump pcre2 to 10.48 Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com> (cherry picked from commit de201e3b91b3e7640a2c2b4c9bd2c6122926a822) * docs: update changelog --------- Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com> Co-authored-by: Niklaus Schen <8458369+Water-Melon@users.noreply.github.com> Co-authored-by: Aapo Talvensaari <aapo.talvensaari@gmail.com> Co-authored-by: Aklis <aklis@qq.com> | 1 个月前 | |
fix(ca_certificates): invalidate ca store caches when a ca cert is updated and prevent ca_certificates that are still being referenced by other entities from being deleted (#11789) * fix(ca_certificates): invalidate ca store caches when a ca cert is updated and prevent ca_certificates that are still being referenced by other entities from being deleted. Fix [FTI-2060](https://konghq.atlassian.net/browse/FTI-2060) * apply comments * change plugin tables from maps to arrays * fix plugin_name double check * remove `search_fields` for now as it is EE-only * do the iteration and filtering in dao by adding `select_by_ca_certificate` * auto-detect the entities and plugins that reference ca certificates to make it more generic. create a custom ca_certificates dao and put the check_ca_reference logic into the `:delete()` method instead of a custom API route * update the schema of ca_certificates * fix: fields in schema is an array and cert_pk is a table * add services:select_by_ca_certificate() tests * fix lint * add custom plugin "reference-ca-cert" and plugins:select_by_ca_certificate() tests * add ca_certificates:delete() tests * Apply suggestions from code review Co-authored-by: Michael Martin <flrgh@protonmail.com> * fix typo * remove plugins.lua and services.lua for `off` as they're not currently being used --------- Co-authored-by: Michael Martin <flrgh@protonmail.com> | 2 年前 | |
refactor(tools/uuid): update UUID reference (#12952) | 2 年前 | |
refactor(tools/uuid): update UUID reference (#12952) | 2 年前 | |
fix(admin) add the worker info to the response of `/timers` | 4 年前 | |
chore(lint): fix remaining helpers-outside-of-setup warnings This is a follow-up to d1a8e41ab7923605510c8ca1ebc6692a65a90bd8 that fixes the remainder of the files with warnings. ``` $ ast-grep scan | wc -l 0 ``` | 1 年前 | |
chore(test): remove prefix directory when stop_kong called (#12691) If the prefix is not cleaned up when stop_kong is called, it could impact subsequent tests, especially when later tests start Kong by a shell command, the Kong instance might be started up with the default `servroot` prefix. KAG-3808 | 2 年前 | |
tests(*): remove useless strategy arg from reload_kong helper function | 1 年前 | |
feat(core): Admin GUI integration (#11131) Serve static assets from the Canopy project Changes include: * new nginx config template for static file serving * new configuration items under admin_gui_* namespace * bundle canopy assets during the build stage * more CORS support for Admin API * tests and more tests KAG-1940 | 3 年前 | |
chore(test): remove prefix directory when stop_kong called (#12691) If the prefix is not cleaned up when stop_kong is called, it could impact subsequent tests, especially when later tests start Kong by a shell command, the Kong instance might be started up with the default `servroot` prefix. KAG-3808 | 2 年前 | |
fix(core): disallow delete or create workspaces (#12374) Fix FTI-5620 Co-authored-by: Guilherme Salazar <gsz@acm.org> | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 4 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 3 年前 | ||
| 2 年前 | ||
| 2 年前 |