From 81ec11bf5aeb68c4a6d6ecec3bc9ffa28be5ba1d Mon Sep 17 00:00:00 2001 From: Robin Xiang Date: Tue, 29 Oct 2024 11:45:17 +0900 Subject: [PATCH] chore(deps): bump `lua-resty-ljsonschema` to 1.2.0 (#10537) * chore(deps): bump `lua-resty-ljsonschema` to 1.2.0 (#13783) * chore(deps): Bumped lua-resty-ljsonschema to 1.2.0, adding support for `null` as a valid option in `enum` types and properly calculation of utf8 string length instead of byte count. FTI-5870, FTI-6171 * updated .requirements * updated changelog --- .requirements | 2 +- changelog/unreleased/kong/bump-lua-resty-ljsonschema.yml | 2 ++ kong-3.9.0-0.rockspec | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 changelog/unreleased/kong/bump-lua-resty-ljsonschema.yml diff --git a/.requirements b/.requirements index dcd2fa7dd6c..3035237a106 100644 --- a/.requirements +++ b/.requirements @@ -57,7 +57,7 @@ RESTY_JSONSCHEMA_RS=be1cb91fdf9a5b686420ac3f23b0d1cdc050fa61 KONG_LICENSING=b6e4ca3ee3747d76c87a1c66825bf5dcb4fabdf3 -KONGROCKS=v1.2.74 +KONGROCKS=v1.2.75 # EE Debugging tools diff --git a/changelog/unreleased/kong/bump-lua-resty-ljsonschema.yml b/changelog/unreleased/kong/bump-lua-resty-ljsonschema.yml new file mode 100644 index 00000000000..eec64669b27 --- /dev/null +++ b/changelog/unreleased/kong/bump-lua-resty-ljsonschema.yml @@ -0,0 +1,2 @@ +message: "Updated lua-resty-ljsonschema to 1.2.0. Fixed UTF-8 string length calculation and added support for `null` in `enum` types." +type: dependency diff --git a/kong-3.9.0-0.rockspec b/kong-3.9.0-0.rockspec index d89c00dc0a5..edf4d0ffaac 100644 --- a/kong-3.9.0-0.rockspec +++ b/kong-3.9.0-0.rockspec @@ -57,7 +57,7 @@ dependencies = { "lua-resty-session == 4.0.5", "lua-resty-timer-ng == 0.2.7", "lpeg == 1.1.0", - "lua-resty-ljsonschema == 1.1.6-2", + "lua-resty-ljsonschema == 1.2.0", "lua-resty-jq == 0.1.0", "lua-resty-snappy == 1.0-1", "lua-resty-ada == 1.1.0",